Package eu.bandm.tools.ramus.runtime2
Class Parser.Test.Token
java.lang.Object
eu.bandm.tools.ramus.runtime2.Parser.Test.Token
- All Implemented Interfaces:
Token<Void,Parser.Test.TokenType>
- Enclosing class:
Parser.Test
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Token
Token(Parser.Test.TokenType type)
-
-
Method Details
-
getText
Description copied from interface:TokenReturns the text content of this token.The default implementation returns
null.- Specified by:
getTextin interfaceToken<Void,Parser.Test.TokenType> - Returns:
- the text content of this token, or
nullif not available.
-
getType
Description copied from interface:TokenReturns the type of this token.- Specified by:
getTypein interfaceToken<Void,Parser.Test.TokenType> - Returns:
- the type of this token.
-
getLocation
Description copied from interface:TokenReturns the source location of this token.The default implementation returns
null.- Specified by:
getLocationin interfaceToken<Void,Parser.Test.TokenType> - Returns:
- the source location of this token, or
nullif not available.
-
toString
-