Java Doc for JCExpression.java in  » Swing-Library » abeille-forms-designer » org » netbeans » editor » ext » java » 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 » Swing Library » abeille forms designer » org.netbeans.editor.ext.java 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.editor.ext.java.JCExpression

JCExpression
public class JCExpression (Code)
Expression generated by parsing text by java completion
author:
   Miloslav Metelka
version:
   1.00


Field Summary
final public static  intARRAY
    
final public static  intARRAY_OPEN
    
final public static  intCONSTANT
     Constant - int/long/String/char etc.
final public static  intCONSTRUCTOR
    
final public static  intCONVERSION
    
final public static  intDOT
    
final public static  intDOT_OPEN
    
final public static  intINSTANCEOF
    
final public static  intMETHOD
    
final public static  intMETHOD_OPEN
    
final public static  intNEW
    
final public static  intOPERATOR
    
final public static  intPARENTHESIS
    
final public static  intPARENTHESIS_OPEN
    
final public static  intTYPE
    
final public static  intUNARY_OPERATOR
    
final public static  intVARIABLE
    

Constructor Summary
 JCExpression(int expID)
    

Method Summary
 voidaddParameter(JCExpression prm)
    
 voidaddToken(TokenID tokenID, int tokenOffset, String tokenText)
    
static  JCExpressioncreateEmptyVariable(int pos)
     Create empty variable.
public  intgetExpID()
    
static  StringgetIDName(int expID)
    
static  intgetOperatorID(TokenID tokenID)
     Return id of the operator or 'new' or 'instance' keywords or -1 for the rest.
static  intgetOperatorID(JCExpression exp)
    
static  intgetOperatorPrecedence(int opID)
    
public  JCExpressiongetParameter(int index)
    
public  intgetParameterCount()
    
public  JCExpressiongetParent()
    
public  intgetTokenCount()
    
public  TokenIDgetTokenID(int tokenInd)
    
public  intgetTokenLength(int tokenInd)
    
public  intgetTokenOffset(int tokenInd)
    
public  StringgetTokenText(int tokenInd)
    
public  JCTypegetType()
    
static  booleanisOperatorRightAssociative(int opID)
    
static  booleanisValidType(JCExpression exp)
     Is the expression a valid type.
 voidsetExpID(int expID)
    
 voidsetParent(JCExpression parent)
    
 voidsetType(JCType type)
    
 voidswapOperatorParms()
    
public  StringtoString(int indent)
    
public  StringtoString()
    

Field Detail
ARRAY
final public static int ARRAY(Code)
Array 'a[0]' or 'a.b.c[d.e]'



ARRAY_OPEN
final public static int ARRAY_OPEN(Code)
Opened array 'a[0' or 'a.b.c[d.e'



CONSTANT
final public static int CONSTANT(Code)
Constant - int/long/String/char etc.



CONSTRUCTOR
final public static int CONSTRUCTOR(Code)
Constructor closed by right parentheses 'new String()' or 'new String("hello")'



CONVERSION
final public static int CONVERSION(Code)
Conversion '(int)a.b()'



DOT
final public static int DOT(Code)
Dot between method calls 'a().b()' or 'a().b.c.d(e, f)'



DOT_OPEN
final public static int DOT_OPEN(Code)
Dot between method calls and dot at the end 'a().b().' or 'a().b.c.d(e, f).'



INSTANCEOF
final public static int INSTANCEOF(Code)
'instanceof' operator



METHOD
final public static int METHOD(Code)
Method closed by right parentheses 'a()' or 'a.b.c(d, e, f)'



METHOD_OPEN
final public static int METHOD_OPEN(Code)
Opened method 'a(' or 'a.b.c(d, e'



NEW
final public static int NEW(Code)
'new' keyword



OPERATOR
final public static int OPERATOR(Code)
Operator '+' or '--'



PARENTHESIS
final public static int PARENTHESIS(Code)
Closed parenthesis holding the subexpression or conversion



PARENTHESIS_OPEN
final public static int PARENTHESIS_OPEN(Code)
Left opened parentheses



TYPE
final public static int TYPE(Code)
Data type



UNARY_OPERATOR
final public static int UNARY_OPERATOR(Code)
Special value for unary operators



VARIABLE
final public static int VARIABLE(Code)
Variable 'a' or 'a.b.c'




Constructor Detail
JCExpression
JCExpression(int expID)(Code)




Method Detail
addParameter
void addParameter(JCExpression prm)(Code)



addToken
void addToken(TokenID tokenID, int tokenOffset, String tokenText)(Code)



createEmptyVariable
static JCExpression createEmptyVariable(int pos)(Code)
Create empty variable.



getExpID
public int getExpID()(Code)
Get expression ID



getIDName
static String getIDName(int expID)(Code)



getOperatorID
static int getOperatorID(TokenID tokenID)(Code)
Return id of the operator or 'new' or 'instance' keywords or -1 for the rest.



getOperatorID
static int getOperatorID(JCExpression exp)(Code)



getOperatorPrecedence
static int getOperatorPrecedence(int opID)(Code)



getParameter
public JCExpression getParameter(int index)(Code)



getParameterCount
public int getParameterCount()(Code)



getParent
public JCExpression getParent()(Code)



getTokenCount
public int getTokenCount()(Code)



getTokenID
public TokenID getTokenID(int tokenInd)(Code)



getTokenLength
public int getTokenLength(int tokenInd)(Code)



getTokenOffset
public int getTokenOffset(int tokenInd)(Code)



getTokenText
public String getTokenText(int tokenInd)(Code)



getType
public JCType getType()(Code)



isOperatorRightAssociative
static boolean isOperatorRightAssociative(int opID)(Code)



isValidType
static boolean isValidType(JCExpression exp)(Code)
Is the expression a valid type. It can be either datatype or array.



setExpID
void setExpID(int expID)(Code)
Set expression ID



setParent
void setParent(JCExpression parent)(Code)



setType
void setType(JCType type)(Code)



swapOperatorParms
void swapOperatorParms()(Code)



toString
public String toString(int indent)(Code)



toString
public String toString()(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.