Java Doc for JavaParser.java in  » XML-UI » JAXX » jaxx » 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 » XML UI » JAXX » jaxx.parser 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   jaxx.parser.JavaParser

JavaParser
public class JavaParser implements JavaParserTreeConstants,JavaParserConstants(Code)
Grammar to parse Java version 1.5
author:
   Sreenivasa Viswanadha - Simplified and enhanced for 1.5

Inner Class :final public static class ModifierSet

Field Summary
 JavaCharStreamjj_input_stream
    
protected  JJTJavaParserStatejjtree
    
public  booleanlookingAhead
    
public  JavaParserTokenManagertoken_source
    
public  Tokentokenjj_nt
    

Constructor Summary
public  JavaParser(String fileName)
    
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  voidAdditiveExpression()
    
final public  voidAllocationExpression()
    
final public  voidAndExpression()
    
final public  voidAnnotation()
    
final public  voidAnnotationTypeBody()
    
final public  voidAnnotationTypeDeclaration(int modifiers)
    
final public  voidAnnotationTypeMemberDeclaration()
    
final public  voidArgumentList()
    
final public  voidArguments()
    
final public  voidArrayDimsAndInits()
    
final public  voidArrayInitializer()
    
final public  voidAssertStatement()
    
final public  voidAssignmentExpression()
    
final public  voidAssignmentOperator()
    
final public  voidBlock()
    
final public  voidBlockStatement()
    
final public  voidBooleanLiteral()
    
final public  voidBreakStatement()
    
final public  voidCastExpression()
    
final public  voidCastLookahead()
    
final public  voidClassOrInterfaceBody(boolean isInterface)
    
final public  voidClassOrInterfaceBodyDeclaration(boolean isInterface)
    
final public  voidClassOrInterfaceDeclaration(int modifiers)
    
final public  voidClassOrInterfaceType()
    
final public  voidCompilationUnit()
    
final public  voidConditionalAndExpression()
    
final public  voidConditionalExpression()
    
final public  voidConditionalOrExpression()
    
final public  voidConstructorDeclaration()
    
final public  voidContinueStatement()
    
final public  voidDefaultValue()
    
final public  voidDoStatement()
    
final public  voidEmptyStatement()
    
final public  voidEnumBody()
    
final public  voidEnumConstant()
    
final public  voidEnumDeclaration(int modifiers)
    
final public  voidEqualityExpression()
    
final public  voidExclusiveOrExpression()
    
final public  voidExplicitConstructorInvocation()
    
final public  voidExpression()
    
final public  voidExtendsList(boolean isInterface)
    
final public  voidFieldDeclaration(int modifiers)
    
final public  voidForInit()
    
final public  voidForStatement()
    
final public  voidForUpdate()
    
final public  voidFormalParameter()
    
final public  voidFormalParameters()
    
final public  voidIfStatement()
    
final public  voidImplementsList(boolean isInterface)
    
final public  voidImportDeclaration()
    
final public  voidInclusiveOrExpression()
    
final public  voidInitializer()
    
final public  voidInstanceOfExpression()
    
final public  voidLabeledStatement()
    
final public  booleanLine()
    
final public  voidLiteral()
    
final public  voidLocalVariableDeclaration()
    
final public  voidMarkerAnnotation()
    
final public  voidMemberSelector()
    
final public  voidMemberValue()
    
final public  voidMemberValueArrayInitializer()
    
final public  voidMemberValuePair()
    
final public  voidMemberValuePairs()
    
final public  voidMethodDeclaration(int modifiers)
    
final public  voidMethodDeclarator()
    
final public  intModifiers()
    
final public  voidMultiplicativeExpression()
    
final public  voidName()
    
final public  voidNameList()
    
final public  voidNormalAnnotation()
    
final public  voidNullLiteral()
    
final public  voidPackageDeclaration()
    
final public  voidPostfixExpression()
    
final public  voidPostfixOperator()
    
final public  voidPreDecrementExpression()
    
final public  voidPreIncrementExpression()
    
final public  voidPrimaryExpression()
    
final public  voidPrimaryPrefix()
    
final public  voidPrimarySuffix()
    
final public  voidPrimitiveType()
    
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  voidReferenceType()
    
final public  voidRelationalExpression()
    
final public  voidResultType()
    
final public  voidReturnStatement()
    
final public  voidShiftExpression()
    
final public  voidSingleMemberAnnotation()
    
final public  voidStatement()
    
final public  voidStatementExpression()
    
final public  voidStatementExpressionList()
    
final public  voidSwitchLabel()
    
final public  voidSwitchStatement()
    
final public  voidSynchronizedStatement()
    
final public  voidThrowStatement()
    
final public  voidTryStatement()
    
final public  voidType()
    
final public  voidTypeArgument()
    
final public  voidTypeArguments()
    
final public  voidTypeBound()
    
final public  voidTypeDeclaration()
    
final public  voidTypeParameter()
    
final public  voidTypeParameters()
    
final public  voidUnaryExpression()
    
final public  voidUnaryExpressionNotPlusMinus()
    
final public  voidVariableDeclarator()
    
final public  voidVariableDeclaratorId()
    
final public  voidVariableInitializer()
    
final public  voidWhileStatement()
    
final public  voidWildcardBounds()
    
final public  voiddisable_tracing()
    
final public  voidenable_tracing()
    
public  ParseExceptiongenerateParseException()
    
final public  TokengetNextToken()
    
final public  TokengetToken(int index)
    
 voidjjtreeCloseNodeScope(Node n)
    
 voidjjtreeOpenNodeScope(Node n)
    
public static  voidmain(String args)
    
public  SimpleNodepopNode()
    

Field Detail
jj_input_stream
JavaCharStream jj_input_stream(Code)



jjtree
protected JJTJavaParserState jjtree(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(String fileName)(Code)



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 void AdditiveExpression() throws ParseException(Code)



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



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



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



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



AnnotationTypeDeclaration
final public void AnnotationTypeDeclaration(int modifiers) throws ParseException(Code)



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



ClassOrInterfaceDeclaration
final public void ClassOrInterfaceDeclaration(int modifiers) throws ParseException(Code)



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



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



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



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



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



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



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



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



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



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



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



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



EnumDeclaration
final public void EnumDeclaration(int modifiers) throws ParseException(Code)



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



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



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



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



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



FieldDeclaration
final public void FieldDeclaration(int modifiers) throws ParseException(Code)



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



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



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



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



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



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



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



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



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



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



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



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



Line
final public boolean Line() throws ParseException(Code)



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



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



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



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



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



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



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



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



MethodDeclaration
final public void MethodDeclaration(int modifiers) throws ParseException(Code)



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



PrimitiveType
final public void 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 void ReferenceType() throws ParseException(Code)



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



WildcardBounds
final public void WildcardBounds() 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)



jjtreeCloseNodeScope
void jjtreeCloseNodeScope(Node n)(Code)



jjtreeOpenNodeScope
void jjtreeOpenNodeScope(Node n)(Code)



main
public static void main(String args)(Code)



popNode
public SimpleNode popNode()(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.