Package org.jparsec
Class Terminals.StringLiteral
java.lang.Object
org.jparsec.Terminals.StringLiteral
- Enclosing class:
Terminals
Entry point for parser and tokenizers of string literal.
-
Field Summary
FieldsModifier and TypeFieldDescriptionA tokenizer that parses double quoted string literal (escaped by'\'
), and transforms the quoted content by applying escape characters.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. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PARSER
-
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
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.
-
-
Constructor Details
-
StringLiteral
private StringLiteral()
-