public interface TokenType
| Modifier and Type | Method and Description |
|---|---|
Optional<Path> |
getFile() |
Position |
getPosition() |
<A,E extends Exception> |
matchToken(TokenMatcherType<A,E> m)
Match a token.
|
Position getPosition()
<A,E extends Exception> A matchToken(TokenMatcherType<A,E> m) throws E extends Exception
A - 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 © 2015 <code@io7m.com> http://io7m.com