|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrelaxngcc.javabody.JavaBodyParser
public class JavaBodyParser
Parses Java code fragment inside <cc:java-body> and records all field declarations.
Field Summary | |
---|---|
java.util.Set |
fields
|
Token |
jj_nt
Next token. |
Token |
token
Current token. |
JavaBodyParserTokenManager |
token_source
Generated Token Manager. |
Constructor Summary | |
---|---|
JavaBodyParser(java.io.InputStream stream)
Constructor with InputStream. |
|
JavaBodyParser(java.io.InputStream stream,
java.lang.String encoding)
Constructor with InputStream and supplied encoding |
|
JavaBodyParser(JavaBodyParserTokenManager tm)
Constructor with generated Token Manager. |
|
JavaBodyParser(java.io.Reader stream)
Constructor. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final java.util.Set fields
public JavaBodyParserTokenManager token_source
public Token token
public Token jj_nt
Constructor Detail |
---|
public JavaBodyParser(java.io.InputStream stream)
public JavaBodyParser(java.io.InputStream stream, java.lang.String encoding)
public JavaBodyParser(java.io.Reader stream)
public JavaBodyParser(JavaBodyParserTokenManager tm)
Method Detail |
---|
public static void main(java.lang.String[] args)
public final void CompilationUnit() throws ParseException
ParseException
public final void PackageDeclaration() throws ParseException
ParseException
public final void ImportDeclaration() throws ParseException
ParseException
public final void TypeDeclaration() throws ParseException
ParseException
public final void ClassDeclaration() throws ParseException
ParseException
public final void UnmodifiedClassDeclaration() throws ParseException
ParseException
public final void ClassBody() throws ParseException
ParseException
public final void NestedClassDeclaration() throws ParseException
ParseException
public final void ClassBodyDeclaration() throws ParseException
ParseException
public final void MethodDeclarationLookahead() throws ParseException
ParseException
public final void InterfaceDeclaration() throws ParseException
ParseException
public final void NestedInterfaceDeclaration() throws ParseException
ParseException
public final void UnmodifiedInterfaceDeclaration() throws ParseException
ParseException
public final void InterfaceMemberDeclaration() throws ParseException
ParseException
public final void FieldDeclaration() throws ParseException
ParseException
public final java.lang.String VariableDeclarator() throws ParseException
ParseException
public final java.lang.String VariableDeclaratorId() throws ParseException
ParseException
public final void VariableInitializer() throws ParseException
ParseException
public final void ArrayInitializer() throws ParseException
ParseException
public final void MethodDeclaration() throws ParseException
ParseException
public final void MethodDeclarator() throws ParseException
ParseException
public final void FormalParameters() throws ParseException
ParseException
public final void FormalParameter() throws ParseException
ParseException
public final void ConstructorDeclaration() throws ParseException
ParseException
public final void ExplicitConstructorInvocation() throws ParseException
ParseException
public final void Initializer() throws ParseException
ParseException
public final void Type() throws ParseException
ParseException
public final void PrimitiveType() throws ParseException
ParseException
public final void ResultType() throws ParseException
ParseException
public final void Name() throws ParseException
ParseException
public final void NameList() throws ParseException
ParseException
public final void Expression() throws ParseException
ParseException
public final void AssignmentOperator() throws ParseException
ParseException
public final void ConditionalExpression() throws ParseException
ParseException
public final void ConditionalOrExpression() throws ParseException
ParseException
public final void ConditionalAndExpression() throws ParseException
ParseException
public final void InclusiveOrExpression() throws ParseException
ParseException
public final void ExclusiveOrExpression() throws ParseException
ParseException
public final void AndExpression() throws ParseException
ParseException
public final void EqualityExpression() throws ParseException
ParseException
public final void InstanceOfExpression() throws ParseException
ParseException
public final void RelationalExpression() throws ParseException
ParseException
public final void ShiftExpression() throws ParseException
ParseException
public final void AdditiveExpression() throws ParseException
ParseException
public final void MultiplicativeExpression() throws ParseException
ParseException
public final void UnaryExpression() throws ParseException
ParseException
public final void PreIncrementExpression() throws ParseException
ParseException
public final void PreDecrementExpression() throws ParseException
ParseException
public final void UnaryExpressionNotPlusMinus() throws ParseException
ParseException
public final void CastLookahead() throws ParseException
ParseException
public final void PostfixExpression() throws ParseException
ParseException
public final void CastExpression() throws ParseException
ParseException
public final void PrimaryExpression() throws ParseException
ParseException
public final void PrimaryPrefix() throws ParseException
ParseException
public final void PrimarySuffix() throws ParseException
ParseException
public final void Literal() throws ParseException
ParseException
public final void BooleanLiteral() throws ParseException
ParseException
public final void NullLiteral() throws ParseException
ParseException
public final void Arguments() throws ParseException
ParseException
public final void Semicolon() throws ParseException
ParseException
public final void ArgumentList() throws ParseException
ParseException
public final void AllocationExpression() throws ParseException
ParseException
public final void ArrayDimsAndInits() throws ParseException
ParseException
public final void Statement() throws ParseException
ParseException
public final void LabeledStatement() throws ParseException
ParseException
public final void Block() throws ParseException
ParseException
public final void BlockStatement() throws ParseException
ParseException
public final void LocalVariableDeclaration() throws ParseException
ParseException
public final void EmptyStatement() throws ParseException
ParseException
public final void StatementExpression() throws ParseException
ParseException
public final void SwitchStatement() throws ParseException
ParseException
public final void SwitchLabel() throws ParseException
ParseException
public final void IfStatement() throws ParseException
ParseException
public final void WhileStatement() throws ParseException
ParseException
public final void DoStatement() throws ParseException
ParseException
public final void ForStatement() throws ParseException
ParseException
public final void ForInit() throws ParseException
ParseException
public final void StatementExpressionList() throws ParseException
ParseException
public final void ForUpdate() throws ParseException
ParseException
public final void BreakStatement() throws ParseException
ParseException
public final void ContinueStatement() throws ParseException
ParseException
public final void ReturnStatement() throws ParseException
ParseException
public final void ThrowStatement() throws ParseException
ParseException
public final void SynchronizedStatement() throws ParseException
ParseException
public final void TryStatement() throws ParseException
ParseException
public final void AssertStatement() throws ParseException
ParseException
public final void JavaBody() throws ParseException
ParseException
public void ReInit(java.io.InputStream stream)
public void ReInit(java.io.InputStream stream, java.lang.String encoding)
public void ReInit(java.io.Reader stream)
public void ReInit(JavaBodyParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |