Class PatternToken
- java.lang.Object
-
- com.googlecode.aviator.lexer.token.AbstractToken<java.lang.String>
-
- com.googlecode.aviator.lexer.token.StringToken
-
- com.googlecode.aviator.lexer.token.PatternToken
-
- All Implemented Interfaces:
Token<java.lang.String>
,java.io.Serializable
public class PatternToken extends StringToken
A pattern 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 static long
serialVersionUID
-
Fields inherited from class com.googlecode.aviator.lexer.token.AbstractToken
lexeme
-
-
Constructor Summary
Constructors Constructor Description PatternToken(java.lang.String lexeme, int lineNo, int startIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Token.TokenType
getType()
-
Methods inherited from class com.googlecode.aviator.lexer.token.StringToken
getValue
-
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
-
-
Method Detail
-
getType
public Token.TokenType getType()
- Specified by:
getType
in interfaceToken<java.lang.String>
- Overrides:
getType
in classStringToken
-
-