| Constructor | Description |
|---|---|
TokenSymbol(com.io7m.jlexing.core.LexicalPosition<URI> in_lex,
String in_text) |
| Modifier and Type | Method | Description |
|---|---|---|
com.io7m.jlexing.core.LexicalPosition<URI> |
lexical() |
|
<A,E extends Exception> |
matchToken(TokenMatcherType<A,E> m) |
Match a token.
|
String |
text() |
|
String |
toString() |
public com.io7m.jlexing.core.LexicalPosition<URI> lexical()
public String text()
public <A,E extends Exception> A matchToken(TokenMatcherType<A,E> m) throws E extends 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 ExceptionCopyright © 2017 <code@io7m.com> http://io7m.com