Class StringToken
java.lang.Object
com.singularsys.jep.configurableparser.tokens.Token
com.singularsys.jep.configurableparser.tokens.StringToken
- All Implemented Interfaces:
Serializable
Single or double-quoted strings.
- Author:
- Richard Morris
- See Also:
-
Constructor Summary
ConstructorDescriptionStringToken
(String source, String uquote, char delim, boolean incQuotes) Build a string token. -
Method Summary
Methods inherited from class com.singularsys.jep.configurableparser.tokens.Token
equals, getColumnNumber, getLength, getLineNumber, getSource, hashCode, isBinary, isComment, isFunction, isIdentifier, isImplicitMulRhs, isNumber, isOperator, isPrefix, isSuffix, isSymbol, isTerminal, isTernary, isWhiteSpace, setPosition, toString
-
Constructor Details
-
StringToken
Build a string token.- Parameters:
source
- the source text which matches, includes quote marksuquote
- the unquoted text, does not include quote marksdelim
- the delimiter character usedincQuotes
- whether quotes should be included
-
-
Method Details