| Constructor | Description |
|---|---|
TokenQuotedString(com.io7m.jlexing.core.LexicalPosition<java.nio.file.Path> in_lex,
java.lang.String in_text) |
| Modifier and Type | Method | Description |
|---|---|---|
com.io7m.jlexing.core.LexicalPosition<java.nio.file.Path> |
lexical() |
|
<A,E extends java.lang.Exception> |
matchToken(TokenMatcherType<A,E> m) |
Match a token.
|
java.lang.String |
text() |
|
java.lang.String |
toString() |
public TokenQuotedString(com.io7m.jlexing.core.LexicalPosition<java.nio.file.Path> in_lex,
java.lang.String in_text)
in_lex - The lexical informationin_text - The token textpublic com.io7m.jlexing.core.LexicalPosition<java.nio.file.Path> lexical()
public java.lang.String text()
public <A,E extends java.lang.Exception> A matchToken(TokenMatcherType<A,E> m) throws E extends java.lang.Exception
TokenTypematchToken in interface TokenTypeA - The type of values returned by the matcherE - The type of exceptions raised by the matcherm - The matcherE - If the matcher raises EE extends java.lang.Exceptionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2017 <code@io7m.com> http://io7m.com