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
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Token
Token(Parser.Test.TokenType type)
-
-
Method Details
-
getText
Description copied from interface:Token
Returns the text content of this token.The default implementation returns
null
.- Specified by:
getText
in interfaceToken<Void,
Parser.Test.TokenType> - Returns:
- the text content of this token, or
null
if not available.
-
getType
Description copied from interface:Token
Returns the type of this token.- Specified by:
getType
in interfaceToken<Void,
Parser.Test.TokenType> - Returns:
- the type of this token.
-
getLocation
Description copied from interface:Token
Returns the source location of this token.The default implementation returns
null
.- Specified by:
getLocation
in interfaceToken<Void,
Parser.Test.TokenType> - Returns:
- the source location of this token, or
null
if not available.
-
toString
-