Java Doc for AstRenderer.java in  » IDE-Netbeans » cnd » org » netbeans » modules » cnd » modelimpl » csm » core » 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 Netbeans » cnd » org.netbeans.modules.cnd.modelimpl.csm.core 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.modules.cnd.modelimpl.csm.core.AstRenderer

AstRenderer
public class AstRenderer (Code)

author:
   Vladimir Kvasihn



Constructor Summary
public  AstRenderer(FileImpl fileImpl)
    

Method Summary
protected  voidaddTypedefs(CsmTypedef[] typedefs, NamespaceImpl currentNamespace, MutableDeclarationsContainer container)
    
protected  CsmTypedefcreateTypedef(AST ast, FileImpl file, CsmObject container, CsmType type, String name)
    
protected  VariableImplcreateVariable(AST offsetAst, CsmFile file, CsmType type, String name, boolean _static, MutableDeclarationsContainer container1, MutableDeclarationsContainer container2, CsmScope scope)
    
public static  CsmCompoundStatementfindCompoundStatement(AST ast, CsmFile file, CsmFunction owner)
    
public static  ASTgetFirstChildSkipQualifiers(AST ast)
    
public static  intgetFirstChildType(AST token)
    
public static  ASTgetFirstSiblingSkipQualifiers(AST ast)
    
public static  String[]getNameTokens(AST qid)
    
public static  CharSequencegetQualifiedName(AST qid)
    
public static  intgetType(AST token)
    
public static  booleanisCVQualifier(int tokenType)
    
public static  booleanisConstQualifier(int tokenType)
    
public static  booleanisExpression(AST ast)
    
public static  booleanisExpression(int tokenType)
    
protected  booleanisMemberDefinition(AST ast)
    
public static  booleanisQualifier(int tokenType)
    
public static  booleanisStatement(AST ast)
    
public static  booleanisStatement(int tokenType)
    
public static  booleanisStorageClassSpecifier(int tokenType)
    
public static  booleanisVoidParameter(AST ast)
    
public static  booleanisVolatileQualifier(int tokenType)
    
protected  voidprocessVariable(AST varAst, AST ptrOperator, AST offsetAst, AST classifier, MutableDeclarationsContainer container1, MutableDeclarationsContainer container2, FileImpl file, boolean _static)
    
public  voidrender(AST root)
    
public  voidrender(AST tree, NamespaceImpl currentNamespace, MutableDeclarationsContainer container)
    
public  CsmConditionrenderCondition(AST ast, CsmScope scope)
    
public static  List<CsmExpression>renderConstructorInitializersList(AST ast, CsmScope scope, CsmFile file)
    
public  ExpressionBaserenderExpression(AST ast, CsmScope scope)
    
public static  booleanrenderForwardClassDeclaration(AST ast, NamespaceImpl currentNamespace, MutableDeclarationsContainer container, FileImpl file)
    
public static  booleanrenderForwardMemberDeclaration(AST ast, NamespaceImpl currentNamespace, MutableDeclarationsContainer container, FileImpl file)
    
public static  booleanrenderNSP(AST token, NamespaceImpl currentNamespace, MutableDeclarationsContainer container, FileImpl file)
    
public static  List<ParameterImpl>renderParameter(AST ast, CsmFile file, CsmScope scope1)
    
public static  List<CsmParameter>renderParameters(AST ast, CsmFile file, CsmScope scope)
    
public static  StatementBaserenderStatement(AST ast, CsmFile file, CsmScope scope)
    
public static  TypeImplrenderType(AST tokType, CsmFile file)
    
protected  CsmTypedef[]renderTypedef(AST ast, CsmClass cls, CsmObject container)
    
protected  CsmTypedef[]renderTypedef(AST ast, FileImpl file, CsmObject container)
    
public  booleanrenderVariable(AST ast, MutableDeclarationsContainer namespaceContainer, MutableDeclarationsContainer container2)
     Checks whether the given AST is a variable declaration(s), if yes, creates variable(s), adds to conteiner(s), returns true, otherwise returns false; There might be two containers, in which the given variable should be added.
protected  voidrenderVariableInClassifier(AST ast, CsmClassifier classifier, MutableDeclarationsContainer container1, MutableDeclarationsContainer container2)
    


Constructor Detail
AstRenderer
public AstRenderer(FileImpl fileImpl)(Code)




Method Detail
addTypedefs
protected void addTypedefs(CsmTypedef[] typedefs, NamespaceImpl currentNamespace, MutableDeclarationsContainer container)(Code)



createTypedef
protected CsmTypedef createTypedef(AST ast, FileImpl file, CsmObject container, CsmType type, String name)(Code)



createVariable
protected VariableImpl createVariable(AST offsetAst, CsmFile file, CsmType type, String name, boolean _static, MutableDeclarationsContainer container1, MutableDeclarationsContainer container2, CsmScope scope)(Code)



findCompoundStatement
public static CsmCompoundStatement findCompoundStatement(AST ast, CsmFile file, CsmFunction owner)(Code)



getFirstChildSkipQualifiers
public static AST getFirstChildSkipQualifiers(AST ast)(Code)
Returns first child, skipps cv-qualifiers and storage class specifiers



getFirstChildType
public static int getFirstChildType(AST token)(Code)



getFirstSiblingSkipQualifiers
public static AST getFirstSiblingSkipQualifiers(AST ast)(Code)
Returns first sibling (or just passed ast), skipps cv-qualifiers and storage class specifiers



getNameTokens
public static String[] getNameTokens(AST qid)(Code)



getQualifiedName
public static CharSequence getQualifiedName(AST qid)(Code)



getType
public static int getType(AST token)(Code)



isCVQualifier
public static boolean isCVQualifier(int tokenType)(Code)



isConstQualifier
public static boolean isConstQualifier(int tokenType)(Code)



isExpression
public static boolean isExpression(AST ast)(Code)



isExpression
public static boolean isExpression(int tokenType)(Code)



isMemberDefinition
protected boolean isMemberDefinition(AST ast)(Code)



isQualifier
public static boolean isQualifier(int tokenType)(Code)



isStatement
public static boolean isStatement(AST ast)(Code)



isStatement
public static boolean isStatement(int tokenType)(Code)



isStorageClassSpecifier
public static boolean isStorageClassSpecifier(int tokenType)(Code)



isVoidParameter
public static boolean isVoidParameter(AST ast)(Code)



isVolatileQualifier
public static boolean isVolatileQualifier(int tokenType)(Code)



processVariable
protected void processVariable(AST varAst, AST ptrOperator, AST offsetAst, AST classifier, MutableDeclarationsContainer container1, MutableDeclarationsContainer container2, FileImpl file, boolean _static)(Code)



render
public void render(AST root)(Code)



render
public void render(AST tree, NamespaceImpl currentNamespace, MutableDeclarationsContainer container)(Code)



renderCondition
public CsmCondition renderCondition(AST ast, CsmScope scope)(Code)



renderConstructorInitializersList
public static List<CsmExpression> renderConstructorInitializersList(AST ast, CsmScope scope, CsmFile file)(Code)



renderExpression
public ExpressionBase renderExpression(AST ast, CsmScope scope)(Code)



renderForwardClassDeclaration
public static boolean renderForwardClassDeclaration(AST ast, NamespaceImpl currentNamespace, MutableDeclarationsContainer container, FileImpl file)(Code)



renderForwardMemberDeclaration
public static boolean renderForwardMemberDeclaration(AST ast, NamespaceImpl currentNamespace, MutableDeclarationsContainer container, FileImpl file)(Code)



renderNSP
public static boolean renderNSP(AST token, NamespaceImpl currentNamespace, MutableDeclarationsContainer container, FileImpl file)(Code)



renderParameter
public static List<ParameterImpl> renderParameter(AST ast, CsmFile file, CsmScope scope1)(Code)



renderParameters
public static List<CsmParameter> renderParameters(AST ast, CsmFile file, CsmScope scope)(Code)



renderStatement
public static StatementBase renderStatement(AST ast, CsmFile file, CsmScope scope)(Code)



renderType
public static TypeImpl renderType(AST tokType, CsmFile file)(Code)



renderTypedef
protected CsmTypedef[] renderTypedef(AST ast, CsmClass cls, CsmObject container)(Code)



renderTypedef
protected CsmTypedef[] renderTypedef(AST ast, FileImpl file, CsmObject container)(Code)



renderVariable
public boolean renderVariable(AST ast, MutableDeclarationsContainer namespaceContainer, MutableDeclarationsContainer container2)(Code)
Checks whether the given AST is a variable declaration(s), if yes, creates variable(s), adds to conteiner(s), returns true, otherwise returns false; There might be two containers, in which the given variable should be added. For example, global variables should beadded both to file and to global namespace; variables, declared in some namespace definition, should be added to both this definition and correspondent namespace as well. On the other hand, local variables are added only to it's containing scope, so either container1 or container2 might be null.
Parameters:
  ast - AST to process
Parameters:
  container1 - container to add created variable into (may be null)
Parameters:
  container2 - container to add created variable into (may be null)



renderVariableInClassifier
protected void renderVariableInClassifier(AST ast, CsmClassifier classifier, MutableDeclarationsContainer container1, MutableDeclarationsContainer container2)(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)

w_w__w.__j_a_va___2s_._c__o__m___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.