| Constructor | Description |
|---|---|
TokenComment(com.io7m.jlexing.core.LexicalPosition<URI> in_lex,
JSXLexerComment in_comment,
String in_text) |
| Modifier and Type | Method | Description |
|---|---|---|
JSXLexerComment |
comment() |
|
com.io7m.jlexing.core.LexicalPosition<URI> |
lexical() |
|
<A,E extends Exception> |
matchToken(TokenMatcherType<A,E> m) |
Match a token.
|
String |
text() |
|
String |
toString() |
public TokenComment(com.io7m.jlexing.core.LexicalPosition<URI> in_lex, JSXLexerComment in_comment, String in_text)
in_lex - The lexical informationin_comment - The comment typein_text - The token textpublic JSXLexerComment comment()
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