Package eu.bandm.tools.ramus.runtime2
Class HonnefDemo.Token
java.lang.Object
eu.bandm.tools.ramus.runtime2.HonnefDemo.Token
- All Implemented Interfaces:
Parser.Token<Void,
HonnefDemo.TokenType>
- Enclosing class:
- HonnefDemo
-
Method Details
-
getType
Description copied from interface:Parser.Token
Returns the type of this token.- Specified by:
getType
in interfaceParser.Token<Void,
HonnefDemo.TokenType> - Returns:
- the type of this token.
-
getText
Description copied from interface:Parser.Token
Returns the text content of this token.- Specified by:
getText
in interfaceParser.Token<Void,
HonnefDemo.TokenType> - Returns:
- the text content of this token.
-
getLocation
Description copied from interface:Parser.Token
Returns the source location of this token.The default implementation returns
null
.- Specified by:
getLocation
in interfaceParser.Token<Void,
HonnefDemo.TokenType> - Returns:
- the source location of this token, or
null
if not available.
-
toString
-