Java Doc for ExpressionParser.java in  » Net » Terracotta » com » tc » aspectwerkz » expression » ast » 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 » Net » Terracotta » com.tc.aspectwerkz.expression.ast 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.tc.aspectwerkz.expression.ast.ExpressionParser

ExpressionParser
public class ExpressionParser implements ExpressionParserTreeConstants,ExpressionParserConstants(Code)
Usage:
 ExpressionParser parser = new ExpressionParser(System.in); // can be only one
 ASTRoot root = parser.parse("call(@RequiresNew public * foo.Bar.*(String, ..) AND withincode(* foo.Baz.within(..)");
 Expression expression = new Expression(root);
 ...
 

TODO: the grammar is still fragile
author:
   Jonas BonŽr
author:
   Alexandre Vasseur
author:
   Alex Popescu


Inner Class :final static class LookaheadSuccess extends java.lang.Error
Inner Class :final static class JJCalls

Field Summary
static  SimpleCharStreamjj_input_stream
    
protected static  JJTExpressionParserStatejjtree
    
public static  booleanlookingAhead
    
public static  ExpressionParserTokenManagertoken_source
    
public static  Tokentokenjj_nt
    

Constructor Summary
public  ExpressionParser(java.io.InputStream stream)
    
public  ExpressionParser(java.io.Reader stream)
    
public  ExpressionParser(ExpressionParserTokenManager tm)
    

Method Summary
final public static  voidAndExpression()
     AndExpression.
final public static  voidArgParameter()
     ArgParameter.
final public static  voidArgs()
     Args.
final public static  voidArgsParameters()
     ArgsParameters.
final public static  voidCall()
     Call.
final public static  voidCflow()
     Cflow.
final public static  voidCflowBelow()
     CflowBelow.
final public static  voidClassAttribute()
     Class annotation.
final public static  voidClassModifier()
     Class modifier.
final public static  voidClassPattern()
     Class pattern.
final public static  voidConstructorModifier()
     Constructor modifier.
final public static  voidConstructorPattern()
     Constructor pattern.
final public static  voidExecution()
     Execution.
final public static  voidExpression()
     Expression.
final public static  voidFieldAttribute()
     Field annotation.
final public static  voidFieldModifier()
     Field modifier.
final public static  voidFieldPattern()
     Field pattern.
final public static  voidGet()
     Get.
final public static  voidHandler()
     Handler.
final public static  voidHasField()
     HasField.
final public static  voidHasMethod()
     HasMethod.
final public static  voidIf()
    
final public static  voidMethodAttribute()
     Method annotation.
final public static  voidMethodModifier()
     Method modifier.
final public static  voidMethodPattern()
     Method pattern.
final public static  voidNotExpression()
     NotExpression.
final public static  voidOrExpression()
     OrExpression.
final public static  voidParameter()
     Parameter pattern.
final public static  voidParameters()
     Parameters.
final public static  voidPointcut()
     Pointcut.
final public static  voidPointcutReference()
     Pointcut reference.
public static  voidReInit(java.io.InputStream stream)
    
public static  voidReInit(java.io.Reader stream)
    
public  voidReInit(ExpressionParserTokenManager tm)
    
final public static  ASTRootRoot()
     Entry point.
final public static  voidSet()
     Set.
final public static  voidStaticInitialization()
     StaticInitialization.
final public static  voidStaticInitializationPattern()
    
final public static  voidStaticInitializationPatternModifier()
     Method modifier.
final public static  voidTarget()
    
final public static  voidThis()
    
final public static  voidUnaryExpression()
     UnaryExpression.
final public static  voidWithin()
     Within.
final public static  voidWithinCode()
     WithinCode.
final public static  voidWithinStaticInitialization()
    
final public static  voiddisable_tracing()
    
final public static  voidenable_tracing()
    
public static  ParseExceptiongenerateParseException()
    
final public static  TokengetNextToken()
    
final public static  TokengetToken(int index)
    
public  ASTRootparse(String expression)
    
public  ASTRootparse(Reader reader)
    

Field Detail
jj_input_stream
static SimpleCharStream jj_input_stream(Code)



jjtree
protected static JJTExpressionParserState jjtree(Code)



lookingAhead
public static boolean lookingAhead(Code)



token_source
public static ExpressionParserTokenManager token_source(Code)



tokenjj_nt
public static Token tokenjj_nt(Code)




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



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



ExpressionParser
public ExpressionParser(ExpressionParserTokenManager tm)(Code)




Method Detail
AndExpression
final public static void AndExpression() throws ParseException(Code)
AndExpression.



ArgParameter
final public static void ArgParameter() throws ParseException(Code)
ArgParameter.



Args
final public static void Args() throws ParseException(Code)
Args.



ArgsParameters
final public static void ArgsParameters() throws ParseException(Code)
ArgsParameters.



Call
final public static void Call() throws ParseException(Code)
Call.



Cflow
final public static void Cflow() throws ParseException(Code)
Cflow.



CflowBelow
final public static void CflowBelow() throws ParseException(Code)
CflowBelow.



ClassAttribute
final public static void ClassAttribute() throws ParseException(Code)
Class annotation.



ClassModifier
final public static void ClassModifier() throws ParseException(Code)
Class modifier.



ClassPattern
final public static void ClassPattern() throws ParseException(Code)
Class pattern.



ConstructorModifier
final public static void ConstructorModifier() throws ParseException(Code)
Constructor modifier.



ConstructorPattern
final public static void ConstructorPattern() throws ParseException(Code)
Constructor pattern.



Execution
final public static void Execution() throws ParseException(Code)
Execution.



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



FieldAttribute
final public static void FieldAttribute() throws ParseException(Code)
Field annotation.



FieldModifier
final public static void FieldModifier() throws ParseException(Code)
Field modifier.



FieldPattern
final public static void FieldPattern() throws ParseException(Code)
Field pattern.



Get
final public static void Get() throws ParseException(Code)
Get.



Handler
final public static void Handler() throws ParseException(Code)
Handler.



HasField
final public static void HasField() throws ParseException(Code)
HasField.



HasMethod
final public static void HasMethod() throws ParseException(Code)
HasMethod.



If
final public static void If() throws ParseException(Code)
If() marker



MethodAttribute
final public static void MethodAttribute() throws ParseException(Code)
Method annotation.



MethodModifier
final public static void MethodModifier() throws ParseException(Code)
Method modifier.



MethodPattern
final public static void MethodPattern() throws ParseException(Code)
Method pattern.



NotExpression
final public static void NotExpression() throws ParseException(Code)
NotExpression.



OrExpression
final public static void OrExpression() throws ParseException(Code)
OrExpression.



Parameter
final public static void Parameter() throws ParseException(Code)
Parameter pattern.



Parameters
final public static void Parameters() throws ParseException(Code)
Parameters.



Pointcut
final public static void Pointcut() throws ParseException(Code)
Pointcut.



PointcutReference
final public static void PointcutReference() throws ParseException(Code)
Pointcut reference.



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



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



ReInit
public void ReInit(ExpressionParserTokenManager tm)(Code)



Root
final public static ASTRoot Root() throws ParseException(Code)
Entry point.



Set
final public static void Set() throws ParseException(Code)
Set.



StaticInitialization
final public static void StaticInitialization() throws ParseException(Code)
StaticInitialization.



StaticInitializationPattern
final public static void StaticInitializationPattern() throws ParseException(Code)



StaticInitializationPatternModifier
final public static void StaticInitializationPatternModifier() throws ParseException(Code)
Method modifier.



Target
final public static void Target() throws ParseException(Code)
Target



This
final public static void This() throws ParseException(Code)
This



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



Within
final public static void Within() throws ParseException(Code)
Within.



WithinCode
final public static void WithinCode() throws ParseException(Code)
WithinCode.



WithinStaticInitialization
final public static void WithinStaticInitialization() throws ParseException(Code)



disable_tracing
final public static void disable_tracing()(Code)



enable_tracing
final public static void enable_tracing()(Code)



generateParseException
public static ParseException generateParseException()(Code)



getNextToken
final public static Token getNextToken()(Code)



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



parse
public ASTRoot parse(String expression) throws ParseException(Code)



parse
public ASTRoot parse(Reader reader) 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.