Java Doc for JavaParser.java in  » IDE » tIDE » japa » parser » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE » tIDE » japa.parser 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   japa.parser.JavaParser

JavaParser
final public class JavaParser implements JavaParserConstants(Code)
Grammar to parse Java version 1.5
author:
   Sreenivasa Viswanadha - Simplified and enhanced for 1.5
author:
   Júlio Vilmar Gesser (jgesser@gmail.com) - bug fixes and added AST generation

Inner Class :final static class JJCalls

Field Summary
 JavaCharStreamjj_input_stream
    
public  booleanlookingAhead
    
public  JavaParserTokenManagertoken_source
    
public  Tokentokenjj_nt
    

Constructor Summary
public  JavaParser(java.io.InputStream stream)
    
public  JavaParser(java.io.InputStream stream, String encoding)
    
public  JavaParser(java.io.Reader stream)
    
public  JavaParser(JavaParserTokenManager tm)
    

Method Summary
final public  ExpressionAdditiveExpression()
    
final public  ExpressionAllocationExpression(Expression scope)
    
final public  ExpressionAndExpression()
    
final public  AnnotationExprAnnotation()
    
final public  BodyDeclarationAnnotationBodyDeclaration()
    
final public  ListAnnotationTypeBody()
    
final public  AnnotationDeclarationAnnotationTypeDeclaration(Modifier modifier)
    
final public  AnnotationMemberDeclarationAnnotationTypeMemberDeclaration(Modifier modifier)
    
final public  ListArgumentList()
    
final public  ListArguments()
    
final public  Object[]ArrayDimsAndInits()
    
final public  ArrayInitializerExprArrayInitializer()
    
final public  AssertStmtAssertStatement()
    
final public  AssignExpr.OperatorAssignmentOperator()
    
final public  BlockStmtBlock()
    
final public  StatementBlockStatement()
    
final public  ExpressionBooleanLiteral()
    
final public  BreakStmtBreakStatement()
    
final public  ExpressionCastExpression()
    
final public  voidCastLookahead()
    
final public  ListClassOrInterfaceBody(boolean isInterface)
    
final public  BodyDeclarationClassOrInterfaceBodyDeclaration(boolean isInterface)
    
final public  ClassOrInterfaceDeclarationClassOrInterfaceDeclaration(Modifier modifier)
    
final public  ClassOrInterfaceTypeClassOrInterfaceType()
    
final public  CompilationUnitCompilationUnit()
    
final public  ExpressionConditionalAndExpression()
    
final public  ExpressionConditionalExpression()
    
final public  ExpressionConditionalOrExpression()
    
final public  ConstructorDeclarationConstructorDeclaration(Modifier modifier)
    
final public  ContinueStmtContinueStatement()
    
final public  ExpressionDefaultValue()
    
final public  DoStmtDoStatement()
    
final public  EmptyStmtEmptyStatement()
    
final public  EnumConstantDeclarationEnumConstant()
    
final public  EnumDeclarationEnumDeclaration(Modifier modifier)
    
final public  ExpressionEqualityExpression()
    
final public  ExpressionExclusiveOrExpression()
    
final public  ExplicitConstructorInvocationStmtExplicitConstructorInvocation()
    
final public  ExpressionExpression()
    
final public  ListExpressionList()
    
final public  ListExtendsList(boolean isInterface)
    
final public  FieldDeclarationFieldDeclaration(Modifier modifier)
    
final public  ListForInit()
    
final public  StatementForStatement()
    
final public  ListForUpdate()
    
final public  ParameterFormalParameter()
    
final public  ListFormalParameters()
    
final public  IfStmtIfStatement()
    
final public  ListImplementsList(boolean isInterface)
    
final public  ImportDeclarationImportDeclaration()
    
final public  ExpressionInclusiveOrExpression()
    
final public  InitializerDeclarationInitializer()
    
final public  ExpressionInstanceOfExpression()
    
final public  LabeledStmtLabeledStatement()
    
final public  ExpressionLiteral()
    
final public  MarkerAnnotationExprMarkerAnnotation()
    
final public  ExpressionMemberValue()
    
final public  ExpressionMemberValueArrayInitializer()
    
final public  MemberValuePairMemberValuePair()
    
final public  ListMemberValuePairs()
    
final public  MethodDeclarationMethodDeclaration(Modifier modifier)
    
final public  ModifierModifiers()
    
final public  ExpressionMultiplicativeExpression()
    
final public  NameExprName()
    
final public  ListNameList()
    
final public  NormalAnnotationExprNormalAnnotation()
    
final public  ExpressionNullLiteral()
    
final public  PackageDeclarationPackageDeclaration()
    
final public  ExpressionPostfixExpression()
    
final public  ExpressionPreDecrementExpression()
    
final public  ExpressionPreIncrementExpression()
    
final public  ExpressionPrimaryExpression()
    
final public  ExpressionPrimaryExpressionWithoutSuperSuffix()
    
final public  ExpressionPrimaryPrefix()
    
final public  ExpressionPrimarySuffix(Expression scope)
    
final public  ExpressionPrimarySuffixWithoutSuper(Expression scope)
    
final public  PrimitiveTypePrimitiveType()
    
final public  voidRSIGNEDSHIFT()
    
final public  voidRUNSIGNEDSHIFT()
    
public  voidReInit(java.io.InputStream stream)
    
public  voidReInit(java.io.InputStream stream, String encoding)
    
public  voidReInit(java.io.Reader stream)
    
public  voidReInit(JavaParserTokenManager tm)
    
final public  ReferenceTypeReferenceType()
    
final public  ExpressionRelationalExpression()
    
final public  TypeResultType()
    
final public  ReturnStmtReturnStatement()
    
final public  ExpressionShiftExpression()
    
final public  SingleMemberAnnotationExprSingleMemberAnnotation()
    
final public  StatementStatement()
    
final public  ExpressionStmtStatementExpression()
    
final public  ListStatements()
    
final public  SwitchEntryStmtSwitchEntry()
    
final public  SwitchStmtSwitchStatement()
    
final public  SynchronizedStmtSynchronizedStatement()
    
final public  ThrowStmtThrowStatement()
    
final public  TryStmtTryStatement()
    
final public  TypeType()
    
final public  TypeTypeArgument()
    
final public  ListTypeArguments()
    
final public  ListTypeBound()
    
final public  TypeDeclarationTypeDeclaration()
    
final public  TypeParameterTypeParameter()
    
final public  ListTypeParameters()
    
final public  ExpressionUnaryExpression()
    
final public  ExpressionUnaryExpressionNotPlusMinus()
    
final public  VariableDeclarationExprVariableDeclarationExpression()
    
final public  VariableDeclaratorVariableDeclarator()
    
final public  VariableDeclaratorIdVariableDeclaratorId()
    
final public  ExpressionVariableInitializer()
    
final public  WhileStmtWhileStatement()
    
final public  WildcardTypeWildcard()
    
final public  voiddisable_tracing()
    
final public  voidenable_tracing()
    
public  ParseExceptiongenerateParseException()
    
final public  TokengetNextToken()
    
final public  TokengetToken(int index)
    
public static  CompilationUnitparse(InputStream in, String encoding)
    
public static  CompilationUnitparse(Reader in)
    
public static  CompilationUnitparse(InputStream in)
    
public static  CompilationUnitparse(File file, String encoding)
    
public static  CompilationUnitparse(File file)
    

Field Detail
jj_input_stream
JavaCharStream jj_input_stream(Code)



lookingAhead
public boolean lookingAhead(Code)



token_source
public JavaParserTokenManager token_source(Code)



tokenjj_nt
public Token tokenjj_nt(Code)




Constructor Detail
JavaParser
public JavaParser(java.io.InputStream stream)(Code)



JavaParser
public JavaParser(java.io.InputStream stream, String encoding)(Code)



JavaParser
public JavaParser(java.io.Reader stream)(Code)



JavaParser
public JavaParser(JavaParserTokenManager tm)(Code)




Method Detail
AdditiveExpression
final public Expression AdditiveExpression() throws ParseException(Code)



AllocationExpression
final public Expression AllocationExpression(Expression scope) throws ParseException(Code)



AndExpression
final public Expression AndExpression() throws ParseException(Code)



Annotation
final public AnnotationExpr Annotation() throws ParseException(Code)



AnnotationBodyDeclaration
final public BodyDeclaration AnnotationBodyDeclaration() throws ParseException(Code)



AnnotationTypeBody
final public List AnnotationTypeBody() throws ParseException(Code)



AnnotationTypeDeclaration
final public AnnotationDeclaration AnnotationTypeDeclaration(Modifier modifier) throws ParseException(Code)



AnnotationTypeMemberDeclaration
final public AnnotationMemberDeclaration AnnotationTypeMemberDeclaration(Modifier modifier) throws ParseException(Code)



ArgumentList
final public List ArgumentList() throws ParseException(Code)



Arguments
final public List Arguments() throws ParseException(Code)



ArrayDimsAndInits
final public Object[] ArrayDimsAndInits() throws ParseException(Code)



ArrayInitializer
final public ArrayInitializerExpr ArrayInitializer() throws ParseException(Code)



AssertStatement
final public AssertStmt AssertStatement() throws ParseException(Code)



AssignmentOperator
final public AssignExpr.Operator AssignmentOperator() throws ParseException(Code)



Block
final public BlockStmt Block() throws ParseException(Code)



BlockStatement
final public Statement BlockStatement() throws ParseException(Code)



BooleanLiteral
final public Expression BooleanLiteral() throws ParseException(Code)



BreakStatement
final public BreakStmt BreakStatement() throws ParseException(Code)



CastExpression
final public Expression CastExpression() throws ParseException(Code)



CastLookahead
final public void CastLookahead() throws ParseException(Code)



ClassOrInterfaceBody
final public List ClassOrInterfaceBody(boolean isInterface) throws ParseException(Code)



ClassOrInterfaceBodyDeclaration
final public BodyDeclaration ClassOrInterfaceBodyDeclaration(boolean isInterface) throws ParseException(Code)



ClassOrInterfaceDeclaration
final public ClassOrInterfaceDeclaration ClassOrInterfaceDeclaration(Modifier modifier) throws ParseException(Code)



ClassOrInterfaceType
final public ClassOrInterfaceType ClassOrInterfaceType() throws ParseException(Code)



CompilationUnit
final public CompilationUnit CompilationUnit() throws ParseException(Code)
THE JAVA LANGUAGE GRAMMAR STARTS HERE *



ConditionalAndExpression
final public Expression ConditionalAndExpression() throws ParseException(Code)



ConditionalExpression
final public Expression ConditionalExpression() throws ParseException(Code)



ConditionalOrExpression
final public Expression ConditionalOrExpression() throws ParseException(Code)



ConstructorDeclaration
final public ConstructorDeclaration ConstructorDeclaration(Modifier modifier) throws ParseException(Code)



ContinueStatement
final public ContinueStmt ContinueStatement() throws ParseException(Code)



DefaultValue
final public Expression DefaultValue() throws ParseException(Code)



DoStatement
final public DoStmt DoStatement() throws ParseException(Code)



EmptyStatement
final public EmptyStmt EmptyStatement() throws ParseException(Code)



EnumConstant
final public EnumConstantDeclaration EnumConstant() throws ParseException(Code)



EnumDeclaration
final public EnumDeclaration EnumDeclaration(Modifier modifier) throws ParseException(Code)



EqualityExpression
final public Expression EqualityExpression() throws ParseException(Code)



ExclusiveOrExpression
final public Expression ExclusiveOrExpression() throws ParseException(Code)



ExplicitConstructorInvocation
final public ExplicitConstructorInvocationStmt ExplicitConstructorInvocation() throws ParseException(Code)



Expression
final public Expression Expression() throws ParseException(Code)



ExpressionList
final public List ExpressionList() throws ParseException(Code)



ExtendsList
final public List ExtendsList(boolean isInterface) throws ParseException(Code)



FieldDeclaration
final public FieldDeclaration FieldDeclaration(Modifier modifier) throws ParseException(Code)



ForInit
final public List ForInit() throws ParseException(Code)



ForStatement
final public Statement ForStatement() throws ParseException(Code)



ForUpdate
final public List ForUpdate() throws ParseException(Code)



FormalParameter
final public Parameter FormalParameter() throws ParseException(Code)



FormalParameters
final public List FormalParameters() throws ParseException(Code)



IfStatement
final public IfStmt IfStatement() throws ParseException(Code)



ImplementsList
final public List ImplementsList(boolean isInterface) throws ParseException(Code)



ImportDeclaration
final public ImportDeclaration ImportDeclaration() throws ParseException(Code)



InclusiveOrExpression
final public Expression InclusiveOrExpression() throws ParseException(Code)



Initializer
final public InitializerDeclaration Initializer() throws ParseException(Code)



InstanceOfExpression
final public Expression InstanceOfExpression() throws ParseException(Code)



LabeledStatement
final public LabeledStmt LabeledStatement() throws ParseException(Code)



Literal
final public Expression Literal() throws ParseException(Code)



MarkerAnnotation
final public MarkerAnnotationExpr MarkerAnnotation() throws ParseException(Code)



MemberValue
final public Expression MemberValue() throws ParseException(Code)



MemberValueArrayInitializer
final public Expression MemberValueArrayInitializer() throws ParseException(Code)



MemberValuePair
final public MemberValuePair MemberValuePair() throws ParseException(Code)



MemberValuePairs
final public List MemberValuePairs() throws ParseException(Code)



MethodDeclaration
final public MethodDeclaration MethodDeclaration(Modifier modifier) throws ParseException(Code)



Modifiers
final public Modifier Modifiers() throws ParseException(Code)



MultiplicativeExpression
final public Expression MultiplicativeExpression() throws ParseException(Code)



Name
final public NameExpr Name() throws ParseException(Code)



NameList
final public List NameList() throws ParseException(Code)



NormalAnnotation
final public NormalAnnotationExpr NormalAnnotation() throws ParseException(Code)



NullLiteral
final public Expression NullLiteral() throws ParseException(Code)



PackageDeclaration
final public PackageDeclaration PackageDeclaration() throws ParseException(Code)



PostfixExpression
final public Expression PostfixExpression() throws ParseException(Code)



PreDecrementExpression
final public Expression PreDecrementExpression() throws ParseException(Code)



PreIncrementExpression
final public Expression PreIncrementExpression() throws ParseException(Code)



PrimaryExpression
final public Expression PrimaryExpression() throws ParseException(Code)



PrimaryExpressionWithoutSuperSuffix
final public Expression PrimaryExpressionWithoutSuperSuffix() throws ParseException(Code)



PrimaryPrefix
final public Expression PrimaryPrefix() throws ParseException(Code)



PrimarySuffix
final public Expression PrimarySuffix(Expression scope) throws ParseException(Code)



PrimarySuffixWithoutSuper
final public Expression PrimarySuffixWithoutSuper(Expression scope) throws ParseException(Code)



PrimitiveType
final public PrimitiveType PrimitiveType() throws ParseException(Code)



RSIGNEDSHIFT
final public void RSIGNEDSHIFT() throws ParseException(Code)



RUNSIGNEDSHIFT
final public void RUNSIGNEDSHIFT() throws ParseException(Code)



ReInit
public void ReInit(java.io.InputStream stream)(Code)



ReInit
public void ReInit(java.io.InputStream stream, String encoding)(Code)



ReInit
public void ReInit(java.io.Reader stream)(Code)



ReInit
public void ReInit(JavaParserTokenManager tm)(Code)



ReferenceType
final public ReferenceType ReferenceType() throws ParseException(Code)



RelationalExpression
final public Expression RelationalExpression() throws ParseException(Code)



ResultType
final public Type ResultType() throws ParseException(Code)



ReturnStatement
final public ReturnStmt ReturnStatement() throws ParseException(Code)



ShiftExpression
final public Expression ShiftExpression() throws ParseException(Code)



SingleMemberAnnotation
final public SingleMemberAnnotationExpr SingleMemberAnnotation() throws ParseException(Code)



Statement
final public Statement Statement() throws ParseException(Code)



StatementExpression
final public ExpressionStmt StatementExpression() throws ParseException(Code)



Statements
final public List Statements() throws ParseException(Code)



SwitchEntry
final public SwitchEntryStmt SwitchEntry() throws ParseException(Code)



SwitchStatement
final public SwitchStmt SwitchStatement() throws ParseException(Code)



SynchronizedStatement
final public SynchronizedStmt SynchronizedStatement() throws ParseException(Code)



ThrowStatement
final public ThrowStmt ThrowStatement() throws ParseException(Code)



TryStatement
final public TryStmt TryStatement() throws ParseException(Code)



Type
final public Type Type() throws ParseException(Code)



TypeArgument
final public Type TypeArgument() throws ParseException(Code)



TypeArguments
final public List TypeArguments() throws ParseException(Code)



TypeBound
final public List TypeBound() throws ParseException(Code)



TypeDeclaration
final public TypeDeclaration TypeDeclaration() throws ParseException(Code)



TypeParameter
final public TypeParameter TypeParameter() throws ParseException(Code)



TypeParameters
final public List TypeParameters() throws ParseException(Code)



UnaryExpression
final public Expression UnaryExpression() throws ParseException(Code)



UnaryExpressionNotPlusMinus
final public Expression UnaryExpressionNotPlusMinus() throws ParseException(Code)



VariableDeclarationExpression
final public VariableDeclarationExpr VariableDeclarationExpression() throws ParseException(Code)



VariableDeclarator
final public VariableDeclarator VariableDeclarator() throws ParseException(Code)



VariableDeclaratorId
final public VariableDeclaratorId VariableDeclaratorId() throws ParseException(Code)



VariableInitializer
final public Expression VariableInitializer() throws ParseException(Code)



WhileStatement
final public WhileStmt WhileStatement() throws ParseException(Code)



Wildcard
final public WildcardType Wildcard() throws ParseException(Code)



disable_tracing
final public void disable_tracing()(Code)



enable_tracing
final public void enable_tracing()(Code)



generateParseException
public ParseException generateParseException()(Code)



getNextToken
final public Token getNextToken()(Code)



getToken
final public Token getToken(int index)(Code)



parse
public static CompilationUnit parse(InputStream in, String encoding) throws ParseException(Code)



parse
public static CompilationUnit parse(Reader in) throws ParseException(Code)



parse
public static CompilationUnit parse(InputStream in) throws ParseException(Code)



parse
public static CompilationUnit parse(File file, String encoding) throws ParseException(Code)



parse
public static CompilationUnit parse(File file) throws ParseException(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.