Java Doc for CPPParser.java in  » UML » jrefactory » org » acm » seguin » pmd » cpd » cppast » 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 » UML » jrefactory » org.acm.seguin.pmd.cpd.cppast 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.acm.seguin.pmd.cpd.cppast.CPPParser

CPPParser
final public class CPPParser implements CPPParserConstants(Code)

Inner Class :final static class JJCalls

Field Summary
static  SimpleCharStreamjj_input_stream
    
public static  booleanlookingAhead
    
static  SymtabManagersym
     A symbol table manager object.
public static  CPPParserTokenManagertoken_source
    
public static  Tokentokenjj_nt
    

Constructor Summary
public  CPPParser(java.io.InputStream stream)
    
public  CPPParser(java.io.Reader stream)
    
public  CPPParser(CPPParserTokenManager tm)
    

Method Summary
static  StringGetFullyScopedName()
     Reads a fully qualified name (since it is used during lookahead, we cannot use token.
static  booleanIsCtor()
     This method first tries to read a sequence of tokens of the form ("::")? ("::" )* and if it succeeds then asks the symbol table manager if this is the name of a constructor.
public static  voidReInit(java.io.InputStream stream)
    
public static  voidReInit(java.io.Reader stream)
    
public  voidReInit(CPPParserTokenManager tm)
    
final public static  voidabstract_declarator()
    
final public static  voidabstract_declarator_suffix()
    
final public static  voidaccess_specifier()
    
final public static  voidadditive_expression()
    
final public static  voidand_expression()
    
final public static  voidassignment_expression()
    
final public static  voidbase_clause(ClassScope scope)
    
final public static  voidbase_specifier(ClassScope scope)
    
final public static  voidbuiltin_type_specifier()
    
final public static  voidcast_expression()
    
final public static  voidclass_head()
    
final public static  voidclass_specifier()
    
final public static  voidcompound_statement()
    
final public static  voidconditional_expression()
    
final public static  voidconstant()
    
final public static  voidconstant_expression()
    
final public static  voidconversion_function_decl_or_def()
    
final public static  Scopector_declarator()
    
final public static  voidctor_declarator_lookahead()
    
final public static  voidctor_definition()
    
final public static  voidctor_initializer()
    
final public static  voidcv_qualifier_seq()
    
final public static  voiddeclaration()
    
final public static  booleandeclaration_specifiers()
     Very temporary.
final public static  Stringdeclarator()
    
final public static  voiddeclarator_suffixes()
    
final public static  voiddelete_expression()
    
final public static  Stringdirect_declarator()
    
final public static  voiddirect_new_declarator()
    
final public static  voiddisable_tracing()
    
final public static  voiddtor_ctor_decl_spec()
    
final public static  voiddtor_declarator()
    
final public static  voiddtor_definition()
    
final public static  voidenable_tracing()
    
final public static  voidenum_specifier()
    
final public static  voidenumerator()
    
final public static  voidenumerator_list()
    
final public static  voidequality_expression()
    
final public static  voidexception_declaration()
    
final public static  voidexception_list()
    
final public static  voidexception_spec()
    
final public static  voidexclusive_or_expression()
    
final public static  voidexpression()
    
final public static  voidexpression_list()
    
final public static  voidexternal_declaration()
    
final public static  voidfunc_decl_def(Scope sc)
    
final public static  Scopefunction_declarator(boolean isTypedef)
    
final public static  voidfunction_declarator_lookahead()
     Used only for lookahead.
final public static  voidfunction_definition()
    
final public static  Scopefunction_direct_declarator(boolean isTypedef)
    
public static  ParseExceptiongenerateParseException()
    
final public static  TokengetNextToken()
    
final public static  TokengetToken(int index)
    
final public static  voidhandler()
    
final public static  voidid_expression()
    
final public static  voidinclusive_or_expression()
    
final public static  voidinit_declarator(boolean isTypedef)
    
final public static  voidinit_declarator_list(boolean isTypedef)
    
final public static  voidinitializer()
    
final public static  voiditeration_statement()
    
final public static  voidjump_statement()
    
final public static  voidlabeled_statement()
    
final public static  voidlinkage_specification()
    
final public static  voidlogical_and_expression()
    
final public static  voidlogical_or_expression()
    
public static  voidmain(String args)
    
final public static  voidmember_declaration()
    
final public static  voidmember_declarator(boolean isTypedef)
    
final public static  voidmember_declarator_list(boolean isTypedef)
    
final public static  voidmultiplicative_expression()
    
final public static  voidnew_declarator()
    
final public static  voidnew_expression()
    
final public static  voidnew_initializer()
    
final public static  voidnew_type_id()
    
final public static  voidoptor()
    
final public static  voidparameter_declaration()
    
final public static  voidparameter_declaration_list()
    
final public static  voidparameter_list()
    
final public static  voidpm_expression()
    
final public static  voidpostfix_expression()
    
final public static  voidprimary_expression()
    
final public static  voidptr_operator()
    
final public static  voidptr_to_member()
    
final public static  Stringqualified_id()
    
final public static  voidqualified_type()
    
final public static  voidrelational_expression()
    
final public static  Stringscope_override()
    
final public static  voidscope_override_lookahead()
    
final public static  voidselection_statement()
    
final public static  voidshift_expression()
    
final public static  voidsimple_dtor_declarator()
    
final public static  voidsimple_type_specifier()
    
final public static  voidstatement()
    
final public static  voidstatement_list()
    
final public static  booleanstorage_class_specifier()
     Very temporary.
final public static  voidsuperclass_init()
    
final public static  voidtemplate_argument()
    
final public static  voidtemplate_argument_list()
    
final public static  voidtemplate_head()
    
final public static  voidtemplate_id()
    
final public static  voidtemplate_parameter()
    
final public static  voidtemplate_parameter_list()
    
final public static  voidthrow_statement()
    
final public static  voidtranslation_unit()
    
final public static  voidtry_block()
    
final public static  booleantype_modifiers()
     Very temporary.
final public static  voidtype_name()
    
final public static  voidtype_qualifier()
    
final public static  voidunary_expression()
    
final public static  voidunary_operator()
    

Field Detail
jj_input_stream
static SimpleCharStream jj_input_stream(Code)



lookingAhead
public static boolean lookingAhead(Code)



sym
static SymtabManager sym(Code)
A symbol table manager object. Currently only types are recorded for doing semantic predicates for parsing.



token_source
public static CPPParserTokenManager token_source(Code)



tokenjj_nt
public static Token tokenjj_nt(Code)




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



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



CPPParser
public CPPParser(CPPParserTokenManager tm)(Code)




Method Detail
GetFullyScopedName
static String GetFullyScopedName() throws ParseException(Code)
Reads a fully qualified name (since it is used during lookahead, we cannot use token. We have to explicitly use getToken).



IsCtor
static boolean IsCtor() throws ParseException(Code)
This method first tries to read a sequence of tokens of the form ("::")? ("::" )* and if it succeeds then asks the symbol table manager if this is the name of a constructor.



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



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



ReInit
public void ReInit(CPPParserTokenManager tm)(Code)



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



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



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



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



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



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



base_clause
final public static void base_clause(ClassScope scope) throws ParseException(Code)



base_specifier
final public static void base_specifier(ClassScope scope) throws ParseException(Code)



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



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



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



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



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



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



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



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



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



ctor_declarator
final public static Scope ctor_declarator() throws ParseException(Code)



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



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



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



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



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



declaration_specifiers
final public static boolean declaration_specifiers() throws ParseException(Code)
Very temporary. Just returns true if it sees a typedef. Finally, we will need a structure that stores all the attributes.



declarator
final public static String declarator() throws ParseException(Code)



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



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



direct_declarator
final public static String direct_declarator() throws ParseException(Code)



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



disable_tracing
final public static void disable_tracing()(Code)



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



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



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



enable_tracing
final public static void enable_tracing()(Code)



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



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



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



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



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



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



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



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



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



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



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



func_decl_def
final public static void func_decl_def(Scope sc) throws ParseException(Code)



function_declarator
final public static Scope function_declarator(boolean isTypedef) throws ParseException(Code)



function_declarator_lookahead
final public static void function_declarator_lookahead() throws ParseException(Code)
Used only for lookahead.



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



function_direct_declarator
final public static Scope function_direct_declarator(boolean isTypedef) throws ParseException(Code)



generateParseException
public static ParseException generateParseException()(Code)



getNextToken
final public static Token getNextToken()(Code)



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



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



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



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



init_declarator
final public static void init_declarator(boolean isTypedef) throws ParseException(Code)



init_declarator_list
final public static void init_declarator_list(boolean isTypedef) throws ParseException(Code)



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



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



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



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



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



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



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



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



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



member_declarator
final public static void member_declarator(boolean isTypedef) throws ParseException(Code)



member_declarator_list
final public static void member_declarator_list(boolean isTypedef) throws ParseException(Code)



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



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



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



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



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



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



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



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



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



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



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



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



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



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



qualified_id
final public static String qualified_id() throws ParseException(Code)



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



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



scope_override
final public static String scope_override() throws ParseException(Code)



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



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



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



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



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



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



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



storage_class_specifier
final public static boolean storage_class_specifier() throws ParseException(Code)
Very temporary. Just returns true if it sees a typedef. Finally, we will need a structure that stores all the attributes.



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



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



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



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



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



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



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



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



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



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



type_modifiers
final public static boolean type_modifiers() throws ParseException(Code)
Very temporary. Just returns true if it sees a typedef. Finally, we will need a structure that stores all the attributes.



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



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



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



unary_operator
final public static void unary_operator() 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.