Uses of Interface
org.fife.rsta.ac.java.rjc.lexer.Token
Packages that use Token
Package
Description
Nodes making an abstract syntax tree for Java code.
Classes representing Java language constructs.
A lexer/scanner for Java source code.
Notices from a Java parser.
A parser for Java source code.
-
Uses of Token in org.fife.rsta.ac.java.rjc.ast
Methods in org.fife.rsta.ac.java.rjc.ast with parameters of type TokenModifier and TypeMethodDescriptionvoidCompilationUnit.addParserNotice(Token t, String msg) Shorthand for "addParserNotice(new ParserNotice(t, msg))".Constructors in org.fife.rsta.ac.java.rjc.ast with parameters of type Token -
Uses of Token in org.fife.rsta.ac.java.rjc.lang
Fields in org.fife.rsta.ac.java.rjc.lang declared as TokenConstructors in org.fife.rsta.ac.java.rjc.lang with parameters of type Token -
Uses of Token in org.fife.rsta.ac.java.rjc.lexer
Classes in org.fife.rsta.ac.java.rjc.lexer that implement TokenModifier and TypeClassDescription(package private) classImplementation of a token in a Java source file.Fields in org.fife.rsta.ac.java.rjc.lexer declared as TokenModifier and TypeFieldDescriptionprivate TokenScanner.mostRecentTokenThe most recently lexed token, ornullif EOS was reached.Fields in org.fife.rsta.ac.java.rjc.lexer with type parameters of type TokenModifier and TypeFieldDescriptionScanner.currentResetTokenStackScanner.resetPositionsScanner.stackStack of tokens that have been "pushed back".Methods in org.fife.rsta.ac.java.rjc.lexer that return TokenModifier and TypeMethodDescriptionprivate TokenSourceCodeScanner.createToken(int type) private TokenSourceCodeScanner.createToken(int type, boolean invalid) Scanner.eatThroughNextSkippingBlocks(int tokenType1, int tokenType2) Eats all tokens up to (and including) the next token of one of the specified types.Scanner.eatThroughNextSkippingBlocksAndStuffInParens(int tokenType1, int tokenType2) Eats all tokens up to (and including) the next token of one of the specified types.Scanner.getMostRecentToken()Returns the most recently-lexed token.Scanner.yylex()Returns the next token from the input stream.SourceCodeScanner.yylex()Resumes scanning until the next regular expression is matched, the end of input is encountered or an I/O-Error occurs.Scanner.yylexNonNull(int type1, int type2, int type3, String error) Returns the next token from the input stream, or throws an exception if the end of stream is reached or if the token is not of three given types.Scanner.yylexNonNull(int type1, int type2, String error) Returns the next token from the input stream, or throws an exception if the end of stream is reached or if the token is not of two given types.Scanner.yylexNonNull(int type, String error) Returns the next token from the input stream, or throws an exception if the end of stream is reached or if the token is not of a given type.Scanner.yylexNonNull(String error) Returns the next token from the input stream, or throws an exception if the end of stream is reached.Scanner.yyPeek()Returns the next token, but does not take it off of the stream.Scanner.yyPeek(int depth) Returns the depth-th token, but does not anything off of the stream.Scanner.yyPeekNonNull(int type1, int type2, int type3, String error) Returns the next token, but does not take it off of the stream.Scanner.yyPeekNonNull(int type1, int type2, String error) Returns the next token, but does not take it off of the stream.Scanner.yyPeekNonNull(int type, String error) Returns the next token, but does not take it off of the stream.Scanner.yyPeekNonNull(String error) Returns the next token, but does not take it off of the stream.Methods in org.fife.rsta.ac.java.rjc.lexer with parameters of type TokenModifier and TypeMethodDescriptionprivate voidScanner.debugPrintToken(Token t) private voidScanner.pushOntoStack(Token t) This method is just here for debugging purposes to make sure our parser is sound.voidScanner.yyPushback(Token t) Pushes a token back onto the stream.Constructor parameters in org.fife.rsta.ac.java.rjc.lexer with type arguments of type Token -
Uses of Token in org.fife.rsta.ac.java.rjc.notices
Constructors in org.fife.rsta.ac.java.rjc.notices with parameters of type Token -
Uses of Token in org.fife.rsta.ac.java.rjc.parser
Methods in org.fife.rsta.ac.java.rjc.parser with parameters of type TokenModifier and TypeMethodDescriptionprivate voidASTFactory.checkForDuplicateLocalVarNames(CompilationUnit cu, Token lVar, CodeBlock block, Method m) Checks whether a local variable's name collides with a local variable defined earlier.private intASTFactory.isModifier(Token t) Method parameters in org.fife.rsta.ac.java.rjc.parser with type arguments of type TokenModifier and TypeMethodDescriptionprivate List<FormalParameter> ASTFactory.getFormalParameters(CompilationUnit cu, List<Token> tokenList)