|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TokenSource | |
openjava.syntax |
Uses of TokenSource in openjava.syntax |
Classes in openjava.syntax that implement TokenSource | |
class |
RestorableTokenSource
The class RestorableTokenSource
For example
|
Methods in openjava.syntax with parameters of type TokenSource | |
abstract ParseTree |
AbstractSyntaxRule.consume(TokenSource token_src)
Consumes tokens from the given token source following the rule. |
boolean |
AbstractSyntaxRule.lookahead(TokenSource token_src)
Tests if the given token source follows this rule. |
ParseTree |
CompositeRule.consume(TokenSource token_src)
Consumes token source. |
ParseTree |
TokenRule.consume(TokenSource token_src)
Consumes token source. |
ParseTree |
BlockRule.consume(TokenSource token_src)
|
ParseTree |
SyntaxRule.consume(TokenSource token_src)
Consumes tokens from the given token source following the rule. |
boolean |
SyntaxRule.lookahead(TokenSource token_src)
Tests if the given token source follows this rule. |
ParseTree |
SeparatedListRule.consume(TokenSource token_src)
Consumes token source. |
ParseTree |
SelectionRule.consume(TokenSource token_src)
|
ParseTree |
NameRule.consume(TokenSource token_src)
Consumes a dot-separated name like java.lang.String. |
Variable |
NameRule.consumeQualifiedName(TokenSource token_src)
To override for modifying rule. |
protected static boolean |
NameRule.lookaheadRest(TokenSource token_src)
A hard-coded lookahead for performance reason. ( |
ParseTree |
StatementRule.consume(TokenSource token_src)
|
Statement |
StatementRule.consumeStatement(TokenSource token_src)
|
ParseTree |
TypeNameRule.consume(TokenSource token_src)
|
TypeName |
TypeNameRule.consumeTypeName(TokenSource token_src)
|
ParseTree |
IdentifierRule.consume(TokenSource token_src)
|
Variable |
IdentifierRule.consumeIdentifier(TokenSource token_src)
|
ParseTree |
IterationRule.consume(TokenSource token_src)
Consumes token source. |
ParseTree |
PrepPhraseRule.consume(TokenSource token_src)
|
static Expression |
JavaSyntaxRules.consumeExpression(TokenSource token_src,
Environment env)
Consumes a single expression from given token source. |
static Expression |
JavaSyntaxRules.consumeExpression(TokenSource token_src)
|
static Statement |
JavaSyntaxRules.consumeStatement(TokenSource token_src,
Environment env)
Consumes a statement. |
static Statement |
JavaSyntaxRules.consumeStatement(TokenSource token_src)
|
static Block |
JavaSyntaxRules.consumeBlock(TokenSource token_src,
Environment env)
Consumes a block. |
static Block |
JavaSyntaxRules.consumeBlock(TokenSource token_src)
|
static TypeName |
JavaSyntaxRules.consumeTypeName(TokenSource token_src)
Consumes a type name. |
ParseTree |
ExpressionRule.consume(TokenSource token_src)
|
Expression |
ExpressionRule.consumeExpression(TokenSource token_src)
Subclasses of this class can override this method to extend its returnable expressions. |
Constructors in openjava.syntax with parameters of type TokenSource | |
RestorableTokenSource(TokenSource src,
Environment env)
|
|
RestorableTokenSource(TokenSource src)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |