public class StringToken extends Token
Constructor and Description |
---|
StringToken(java.lang.String source,
java.lang.String uquote,
char delim,
boolean incQuotes)
Build a string token.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCompleteString() |
char |
getQuoteChar() |
java.lang.String |
getUnquotedString()
Gets the string without quote marks.
|
boolean |
isString() |
equals, getColumnNumber, getLength, getLineNumber, getSource, hashCode, isBinary, isComment, isFunction, isIdentifier, isImplicitMulRhs, isNumber, isOperator, isPrefix, isSuffix, isSymbol, isTerminal, isTernary, isWhiteSpace, setPosition, toString
public StringToken(java.lang.String source, java.lang.String uquote, char delim, boolean incQuotes)
source
- the source text which matches, includes quote marksuquote
- the unquoted text, does not include quote marksdelim
- the delimiter character usedincQuotes
- wether quotes should be includedCopyright © 2018 Singular Systems http://www.singularsys.com/jep