Class TokenQuotedString
java.lang.Object
com.io7m.jsx.api.tokens.TokenQuotedString
- All Implemented Interfaces:
TokenType
-
Constructor Summary
ConstructorsConstructorDescriptionTokenQuotedString(com.io7m.jlexing.core.LexicalPosition<URI> in_lex, String in_text) -
Method Summary
Modifier and TypeMethodDescriptioncom.io7m.jlexing.core.LexicalPosition<URI> lexical()<A, E extends Exception>
AmatchToken(TokenMatcherType<A, E> m) Match a token.text()toString()
-
Constructor Details
-
TokenQuotedString
-
-
Method Details
-
lexical
-
text
- Returns:
- The text content of the token
-
matchToken
Description copied from interface:TokenTypeMatch a token.- Specified by:
matchTokenin interfaceTokenType- Type Parameters:
A- The type of values returned by the matcherE- The type of exceptions raised by the matcher- Parameters:
m- The matcher- Returns:
- The value returned by the matcher
- Throws:
E- If the matcher raisesE
-
toString
-