org.codehaus.jparsec
Class Terminals.StringLiteral

java.lang.Object
  extended by org.codehaus.jparsec.Terminals.StringLiteral
Enclosing class:
Terminals

public static final class Terminals.StringLiteral
extends Object

Entry point for parser and tokenizers of string literal.


Field Summary
static Parser<String> DOUBLE_QUOTE_TOKENIZER
          A tokenizer that parses double quoted string literal (escaped by '\'), and transforms the quoted content by applying escape characters.
static Parser<String> PARSER
          Parser that recognizes String tokens.
static Parser<String> SINGLE_QUOTE_TOKENIZER
          A tokenizer that parses single quoted string literal (single quote is escaped with another single quote), and transforms the quoted content by applying escape characters.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARSER

public static final Parser<String> PARSER
Parser that recognizes String tokens.


DOUBLE_QUOTE_TOKENIZER

public static final Parser<String> DOUBLE_QUOTE_TOKENIZER
A tokenizer that parses double quoted string literal (escaped by '\'), and transforms the quoted content by applying escape characters.


SINGLE_QUOTE_TOKENIZER

public static final Parser<String> SINGLE_QUOTE_TOKENIZER
A tokenizer that parses single quoted string literal (single quote is escaped with another single quote), and transforms the quoted content by applying escape characters.



Copyright © 2014. All rights reserved.