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
JavaCharStream
jj_input_stream
protected
JJTJavaParserState
jjtree
public
boolean
lookingAhead
public
JavaParserTokenManager
token_source
public
Token
tokenjj_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
void
AdditiveExpression
()
final
public
void
AllocationExpression
()
final
public
void
AndExpression
()
final
public
void
Annotation
()
final
public
void
AnnotationTypeBody
()
final
public
void
AnnotationTypeDeclaration
(int modifiers)
final
public
void
AnnotationTypeMemberDeclaration
()
final
public
void
ArgumentList
()
final
public
void
Arguments
()
final
public
void
ArrayDimsAndInits
()
final
public
void
ArrayInitializer
()
final
public
void
AssertStatement
()
final
public
void
AssignmentExpression
()
final
public
void
AssignmentOperator
()
final
public
void
Block
()
final
public
void
BlockStatement
()
final
public
void
BooleanLiteral
()
final
public
void
BreakStatement
()
final
public
void
CastExpression
()
final
public
void
CastLookahead
()
final
public
void
ClassOrInterfaceBody
(boolean isInterface)
final
public
void
ClassOrInterfaceBodyDeclaration
(boolean isInterface)
final
public
void
ClassOrInterfaceDeclaration
(int modifiers)
final
public
void
ClassOrInterfaceType
()
final
public
void
CompilationUnit
()
final
public
void
ConditionalAndExpression
()
final
public
void
ConditionalExpression
()
final
public
void
ConditionalOrExpression
()
final
public
void
ConstructorDeclaration
()
final
public
void
ContinueStatement
()
final
public
void
DefaultValue
()
final
public
void
DoStatement
()
final
public
void
EmptyStatement
()
final
public
void
EnumBody
()
final
public
void
EnumConstant
()
final
public
void
EnumDeclaration
(int modifiers)
final
public
void
EqualityExpression
()
final
public
void
ExclusiveOrExpression
()
final
public
void
ExplicitConstructorInvocation
()
final
public
void
Expression
()
final
public
void
ExtendsList
(boolean isInterface)
final
public
void
FieldDeclaration
(int modifiers)
final
public
void
ForInit
()
final
public
void
ForStatement
()
final
public
void
ForUpdate
()
final
public
void
FormalParameter
()
final
public
void
FormalParameters
()
final
public
void
IfStatement
()
final
public
void
ImplementsList
(boolean isInterface)
final
public
void
ImportDeclaration
()
final
public
void
InclusiveOrExpression
()
final
public
void
Initializer
()
final
public
void
InstanceOfExpression
()
final
public
void
LabeledStatement
()
final
public
boolean
Line
()
final
public
void
Literal
()
final
public
void
LocalVariableDeclaration
()
final
public
void
MarkerAnnotation
()
final
public
void
MemberSelector
()
final
public
void
MemberValue
()
final
public
void
MemberValueArrayInitializer
()
final
public
void
MemberValuePair
()
final
public
void
MemberValuePairs
()
final
public
void
MethodDeclaration
(int modifiers)
final
public
void
MethodDeclarator
()
final
public
int
Modifiers
()
final
public
void
MultiplicativeExpression
()
final
public
void
Name
()
final
public
void
NameList
()
final
public
void
NormalAnnotation
()
final
public
void
NullLiteral
()
final
public
void
PackageDeclaration
()
final
public
void
PostfixExpression
()
final
public
void
PostfixOperator
()
final
public
void
PreDecrementExpression
()
final
public
void
PreIncrementExpression
()
final
public
void
PrimaryExpression
()
final
public
void
PrimaryPrefix
()
final
public
void
PrimarySuffix
()
final
public
void
PrimitiveType
()
final
public
void
RSIGNEDSHIFT
()
final
public
void
RUNSIGNEDSHIFT
()
public
void
ReInit
(
java.io.InputStream
stream)
public
void
ReInit
(
java.io.InputStream
stream,
String
encoding)
public
void
ReInit
(
java.io.Reader
stream)
public
void
ReInit
(
JavaParserTokenManager
tm)
final
public
void
ReferenceType
()
final
public
void
RelationalExpression
()
final
public
void
ResultType
()
final
public
void
ReturnStatement
()
final
public
void
ShiftExpression
()
final
public
void
SingleMemberAnnotation
()
final
public
void
Statement
()
final
public
void
StatementExpression
()
final
public
void
StatementExpressionList
()
final
public
void
SwitchLabel
()
final
public
void
SwitchStatement
()
final
public
void
SynchronizedStatement
()
final
public
void
ThrowStatement
()
final
public
void
TryStatement
()
final
public
void
Type
()
final
public
void
TypeArgument
()
final
public
void
TypeArguments
()
final
public
void
TypeBound
()
final
public
void
TypeDeclaration
()
final
public
void
TypeParameter
()
final
public
void
TypeParameters
()
final
public
void
UnaryExpression
()
final
public
void
UnaryExpressionNotPlusMinus
()
final
public
void
VariableDeclarator
()
final
public
void
VariableDeclaratorId
()
final
public
void
VariableInitializer
()
final
public
void
WhileStatement
()
final
public
void
WildcardBounds
()
final
public
void
disable_tracing
()
final
public
void
enable_tracing
()
public
ParseException
generateParseException
()
final
public
Token
getNextToken
()
final
public
Token
getToken
(int index)
void
jjtreeCloseNodeScope
(
Node
n)
void
jjtreeOpenNodeScope
(
Node
n)
public
static void
main
(
String
args)
public
SimpleNode
popNode
()
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.