Package com.io7m.jsx.api.tokens
Class TokenRightParenthesis
java.lang.Object
com.io7m.jsx.api.tokens.TokenRightParenthesis
- All Implemented Interfaces:
TokenType
Right parenthesis ')'.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.io7m.jlexing.core.LexicalPosition<URI>lexical()<A,E extends Exception>
AmatchToken(TokenMatcherType<A, E> m) Match a token.toString()
-
Constructor Details
-
TokenRightParenthesis
- Parameters:
in_lex- The lexical information
-
-
Method Details
-
lexical
-
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
-