Class OperatorToken
- java.lang.Object
-
- com.googlecode.aviator.lexer.token.AbstractToken<OperatorType>
-
- com.googlecode.aviator.lexer.token.OperatorToken
-
- All Implemented Interfaces:
Token<OperatorType>
,java.io.Serializable
public class OperatorToken extends AbstractToken<OperatorType>
Operator token- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.googlecode.aviator.lexer.token.Token
Token.TokenType
-
-
Field Summary
Fields Modifier and Type Field Description private OperatorType
operatorType
private static long
serialVersionUID
-
Fields inherited from class com.googlecode.aviator.lexer.token.AbstractToken
lexeme
-
-
Constructor Summary
Constructors Constructor Description OperatorToken(Token<?> lookhead, OperatorType operatorType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperatorType
getOperatorType()
Token.TokenType
getType()
OperatorType
getValue(java.util.Map<java.lang.String,java.lang.Object> env)
-
Methods inherited from class com.googlecode.aviator.lexer.token.AbstractToken
equals, getEndIndex, getLexeme, getLineNo, getMeta, getMeta, getMetaMap, getStartIndex, hashCode, setMetaMap, toString, withMeta
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
operatorType
private final OperatorType operatorType
-
-
Constructor Detail
-
OperatorToken
public OperatorToken(Token<?> lookhead, OperatorType operatorType)
-
-
Method Detail
-
getOperatorType
public OperatorType getOperatorType()
-
getType
public Token.TokenType getType()
-
getValue
public OperatorType getValue(java.util.Map<java.lang.String,java.lang.Object> env)
-
-