Package eu.bandm.tools.lljava.codec
Class SignatureParser.Token
java.lang.Object
eu.bandm.tools.lljava.codec.SignatureParser.Token
- All Implemented Interfaces:
Token<SourceId,SignatureParser.TokenType>
- Enclosing class:
SignatureParser
public static class SignatureParser.Token
extends Object
implements Token<SourceId,SignatureParser.TokenType>
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Token
-
-
Method Details
-
getLocation
Description copied from interface:TokenReturns the source location of this token.The default implementation returns
null.- Specified by:
getLocationin interfaceToken<SourceId,SignatureParser.TokenType> - Returns:
- the source location of this token, or
nullif not available.
-
getType
Description copied from interface:TokenReturns the type of this token.- Specified by:
getTypein interfaceToken<SourceId,SignatureParser.TokenType> - Returns:
- the type of this token.
-
getText
Description copied from interface:TokenReturns the text content of this token.The default implementation returns
null.- Specified by:
getTextin interfaceToken<SourceId,SignatureParser.TokenType> - Returns:
- the text content of this token, or
nullif not available.
-