Uses of Class
com.schibsted.spt.data.jslt.parser.Token
-
Packages that use Token Package Description com.schibsted.spt.data.jslt.parser The implementation of the JSLT parser. -
-
Uses of Token in com.schibsted.spt.data.jslt.parser
Fields in com.schibsted.spt.data.jslt.parser declared as Token Modifier and Type Field Description Token
ParseException. currentToken
This is the last token that has been consumed successfully.(package private) Token
JsltParser.JJCalls. first
protected Token
SimpleNode. firstToken
private Token
JsltParser. jj_lastpos
Token
JsltParser. jj_nt
Next token.private Token
JsltParser. jj_scanpos
protected Token
SimpleNode. lastToken
Token
Token. next
A reference to the next regular (non-special) token from the input stream.Token
Token. specialToken
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.Token
JsltParser. token
Current token.Methods in com.schibsted.spt.data.jslt.parser that return Token Modifier and Type Method Description Token
JsltParser. getNextToken()
Get the next Token.Token
JsltParserTokenManager. getNextToken()
Get the next Token.Token
JsltParser. getToken(int index)
Get the specific Token.private Token
JsltParser. jj_consume_token(int kind)
protected Token
JsltParserTokenManager. jjFillToken()
Token
SimpleNode. jjtGetFirstToken()
Token
SimpleNode. jjtGetLastToken()
static Token
Token. newToken(int ofKind)
static Token
Token. newToken(int ofKind, java.lang.String image)
Returns a new Token object, by default.Methods in com.schibsted.spt.data.jslt.parser with parameters of type Token Modifier and Type Method Description private static java.lang.String
ParserImpl. identOrString(ParseContext ctx, Token token)
private static java.lang.String
ParseException. initialise(Token currentToken, int[][] expectedTokenSequences, java.lang.String[] tokenImage)
It uses "currentToken" and "expectedTokenSequences" to generate a parse error message and returns it.void
SimpleNode. jjtSetFirstToken(Token token)
void
SimpleNode. jjtSetLastToken(Token token)
private static Location
ParserImpl. makeLocation(ParseContext ctx, Token token)
private static java.lang.String
ParserImpl. makeString(ParseContext ctx, Token literal)
(package private) void
JsltParserTokenManager. SkipLexicalActions(Token matchedToken)
(package private) void
JsltParserTokenManager. TokenLexicalActions(Token matchedToken)
Constructors in com.schibsted.spt.data.jslt.parser with parameters of type Token Constructor Description ParseException(Token currentTokenVal, int[][] expectedTokenSequencesVal, java.lang.String[] tokenImageVal)
This constructor is used by the method "generateParseException" in the generated parser.
-