Uses of Interface
org.fife.rsta.ac.java.rjc.lexer.Token
-
Packages that use Token Package Description org.fife.rsta.ac.java.rjc.ast Nodes making an abstract syntax tree for Java code.org.fife.rsta.ac.java.rjc.lang Classes representing Java language constructs.org.fife.rsta.ac.java.rjc.lexer A lexer/scanner for Java source code.org.fife.rsta.ac.java.rjc.notices Notices from a Java parser.org.fife.rsta.ac.java.rjc.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 Token Modifier and Type Method Description voidCompilationUnit. addParserNotice(Token t, java.lang.String msg)Shorthand for "addParserNotice(new ParserNotice(t, msg))".Constructors in org.fife.rsta.ac.java.rjc.ast with parameters of type Token Constructor Description Field(Scanner s, Modifiers modifiers, Type type, Token t)Method(Scanner s, Modifiers modifiers, Type type, Token nameToken, java.util.List<FormalParameter> params, java.util.List<java.lang.String> thrownTypeNames) -
Uses of Token in org.fife.rsta.ac.java.rjc.lang
Fields in org.fife.rsta.ac.java.rjc.lang declared as Token Modifier and Type Field Description private TokenTypeParameter. nameprivate TokenVariable. nameConstructors in org.fife.rsta.ac.java.rjc.lang with parameters of type Token Constructor Description TypeParameter(Token name)Variable(boolean isFinal, Type type, Token name) -
Uses of Token in org.fife.rsta.ac.java.rjc.lexer
Classes in org.fife.rsta.ac.java.rjc.lexer that implement Token Modifier and Type Class Description (package private) classTokenImplImplementation of a token in a Java source file.Fields in org.fife.rsta.ac.java.rjc.lexer declared as Token Modifier and Type Field Description private TokenScanner. mostRecentTokenThe most recently lexed token, ornullif EOS was reached.Fields in org.fife.rsta.ac.java.rjc.lexer with type parameters of type Token Modifier and Type Field Description private java.util.Stack<Token>Scanner. currentResetTokenStackprivate java.util.Stack<java.util.Stack<Token>>Scanner. resetPositionsprivate java.util.Stack<Token>Scanner. stackStack of tokens that have been "pushed back".Methods in org.fife.rsta.ac.java.rjc.lexer that return Token Modifier and Type Method Description private TokenSourceCodeScanner. createToken(int type)private TokenSourceCodeScanner. createToken(int type, boolean invalid)TokenScanner. eatThroughNextSkippingBlocks(int tokenType1, int tokenType2)Eats all tokens up to (and including) the next token of one of the specified types.TokenScanner. eatThroughNextSkippingBlocksAndStuffInParens(int tokenType1, int tokenType2)Eats all tokens up to (and including) the next token of one of the specified types.TokenScanner. getMostRecentToken()Returns the most recently-lexed token.TokenScanner. yylex()Returns the next token from the input stream.TokenSourceCodeScanner. yylex()Resumes scanning until the next regular expression is matched, the end of input is encountered or an I/O-Error occurs.TokenScanner. yylexNonNull(int type1, int type2, int type3, java.lang.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.TokenScanner. yylexNonNull(int type1, int type2, java.lang.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.TokenScanner. yylexNonNull(int type, java.lang.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.TokenScanner. yylexNonNull(java.lang.String error)Returns the next token from the input stream, or throws an exception if the end of stream is reached.TokenScanner. yyPeek()Returns the next token, but does not take it off of the stream.TokenScanner. yyPeek(int depth)Returns the depth-th token, but does not anything off of the stream.TokenScanner. yyPeekNonNull(int type1, int type2, int type3, java.lang.String error)Returns the next token, but does not take it off of the stream.TokenScanner. yyPeekNonNull(int type1, int type2, java.lang.String error)Returns the next token, but does not take it off of the stream.TokenScanner. yyPeekNonNull(int type, java.lang.String error)Returns the next token, but does not take it off of the stream.TokenScanner. yyPeekNonNull(java.lang.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 Token Modifier and Type Method Description private 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 Constructor Description Scanner(java.util.List<Token> tokens)Constructor. -
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 Constructor Description ParserNotice(Token t, java.lang.String msg) -
Uses of Token in org.fife.rsta.ac.java.rjc.parser
Methods in org.fife.rsta.ac.java.rjc.parser with parameters of type Token Modifier and Type Method Description private 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 Token Modifier and Type Method Description private java.util.List<FormalParameter>ASTFactory. getFormalParameters(CompilationUnit cu, java.util.List<Token> tokenList)
-