|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pmd.cpd.cppast.CPPParser
Nested Class Summary | |
(package private) static class |
CPPParser.JJCalls
|
Field Summary | |
(package private) static SimpleCharStream |
jj_input_stream
|
static Token |
jj_nt
|
static boolean |
lookingAhead
|
(package private) static SymtabManager |
sym
A symbol table manager object. |
static Token |
token
|
static CPPParserTokenManager |
token_source
|
Constructor Summary | |
CPPParser(CPPParserTokenManager tm)
|
|
CPPParser(java.io.InputStream stream)
|
|
CPPParser(java.io.Reader stream)
|
Method Summary | |
static void |
abstract_declarator_suffix()
|
static void |
abstract_declarator()
|
static void |
access_specifier()
|
static void |
additive_expression()
|
static void |
and_expression()
|
static void |
assignment_expression()
|
static void |
base_clause(ClassScope scope)
|
static void |
base_specifier(ClassScope scope)
|
static void |
builtin_type_specifier()
|
static void |
cast_expression()
|
static void |
class_head()
|
static void |
class_specifier()
|
static void |
compound_statement()
|
static void |
conditional_expression()
|
static void |
constant_expression()
|
static void |
constant()
|
static void |
conversion_function_decl_or_def()
|
static void |
ctor_declarator_lookahead()
|
static Scope |
ctor_declarator()
|
static void |
ctor_definition()
|
static void |
ctor_initializer()
|
static void |
cv_qualifier_seq()
|
static boolean |
declaration_specifiers()
Very temporary. |
static void |
declaration()
|
static void |
declarator_suffixes()
|
static java.lang.String |
declarator()
|
static void |
delete_expression()
|
static java.lang.String |
direct_declarator()
|
static void |
direct_new_declarator()
|
static void |
disable_tracing()
|
static void |
dtor_ctor_decl_spec()
|
static void |
dtor_declarator()
|
static void |
dtor_definition()
|
static void |
enable_tracing()
|
static void |
enum_specifier()
|
static void |
enumerator_list()
|
static void |
enumerator()
|
static void |
equality_expression()
|
static void |
exception_declaration()
|
static void |
exception_list()
|
static void |
exception_spec()
|
static void |
exclusive_or_expression()
|
static void |
expression_list()
|
static void |
expression()
|
static void |
external_declaration()
|
static void |
func_decl_def(Scope sc)
|
static void |
function_declarator_lookahead()
Used only for lookahead. |
static Scope |
function_declarator(boolean isTypedef)
|
static void |
function_definition()
|
static Scope |
function_direct_declarator(boolean isTypedef)
|
static ParseException |
generateParseException()
|
(package private) static java.lang.String |
GetFullyScopedName()
Reads a fully qualified name (since it is used during lookahead, we cannot use token. |
static Token |
getNextToken()
|
static Token |
getToken(int index)
|
static void |
handler()
|
static void |
id_expression()
|
static void |
inclusive_or_expression()
|
static void |
init_declarator_list(boolean isTypedef)
|
static void |
init_declarator(boolean isTypedef)
|
static void |
initializer()
|
(package private) static boolean |
IsCtor()
This method first tries to read a sequence of tokens of the form ("::")? |
static void |
iteration_statement()
|
static void |
jump_statement()
|
static void |
labeled_statement()
|
static void |
linkage_specification()
|
static void |
logical_and_expression()
|
static void |
logical_or_expression()
|
static void |
main(java.lang.String[] args)
|
static void |
member_declaration()
|
static void |
member_declarator_list(boolean isTypedef)
|
static void |
member_declarator(boolean isTypedef)
|
static void |
multiplicative_expression()
|
static void |
new_declarator()
|
static void |
new_expression()
|
static void |
new_initializer()
|
static void |
new_type_id()
|
static void |
optor()
|
static void |
parameter_declaration_list()
|
static void |
parameter_declaration()
|
static void |
parameter_list()
|
static void |
pm_expression()
|
static void |
postfix_expression()
|
static void |
primary_expression()
|
static void |
ptr_operator()
|
static void |
ptr_to_member()
|
static java.lang.String |
qualified_id()
|
static void |
qualified_type()
|
void |
ReInit(CPPParserTokenManager tm)
|
static void |
ReInit(java.io.InputStream stream)
|
static void |
ReInit(java.io.Reader stream)
|
static void |
relational_expression()
|
static void |
scope_override_lookahead()
|
static java.lang.String |
scope_override()
|
static void |
selection_statement()
|
static void |
shift_expression()
|
static void |
simple_dtor_declarator()
|
static void |
simple_type_specifier()
|
static void |
statement_list()
|
static void |
statement()
|
static boolean |
storage_class_specifier()
Very temporary. |
static void |
superclass_init()
|
static void |
template_argument_list()
|
static void |
template_argument()
|
static void |
template_head()
|
static void |
template_id()
|
static void |
template_parameter_list()
|
static void |
template_parameter()
|
static void |
throw_statement()
|
static void |
translation_unit()
|
static void |
try_block()
|
static boolean |
type_modifiers()
Very temporary. |
static void |
type_name()
|
static void |
type_qualifier()
|
static void |
unary_expression()
|
static void |
unary_operator()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static SymtabManager sym
public static CPPParserTokenManager token_source
static SimpleCharStream jj_input_stream
public static Token token
public static Token jj_nt
public static boolean lookingAhead
Constructor Detail |
public CPPParser(java.io.InputStream stream)
public CPPParser(java.io.Reader stream)
public CPPParser(CPPParserTokenManager tm)
Method Detail |
public static void main(java.lang.String[] args)
static java.lang.String GetFullyScopedName() throws ParseException
ParseException
static boolean IsCtor() throws ParseException
ParseException
public static final void translation_unit() throws ParseException
ParseException
public static final void external_declaration() throws ParseException
ParseException
public static final void function_definition() throws ParseException
ParseException
public static final void func_decl_def(Scope sc) throws ParseException
ParseException
public static final void linkage_specification() throws ParseException
ParseException
public static final void declaration() throws ParseException
ParseException
public static final boolean type_modifiers() throws ParseException
ParseException
public static final boolean declaration_specifiers() throws ParseException
ParseException
public static final void simple_type_specifier() throws ParseException
ParseException
public static final void scope_override_lookahead() throws ParseException
ParseException
public static final java.lang.String scope_override() throws ParseException
ParseException
public static final java.lang.String qualified_id() throws ParseException
ParseException
public static final void ptr_to_member() throws ParseException
ParseException
public static final void qualified_type() throws ParseException
ParseException
public static final void type_qualifier() throws ParseException
ParseException
public static final boolean storage_class_specifier() throws ParseException
ParseException
public static final void builtin_type_specifier() throws ParseException
ParseException
public static final void init_declarator_list(boolean isTypedef) throws ParseException
ParseException
public static final void init_declarator(boolean isTypedef) throws ParseException
ParseException
public static final void class_head() throws ParseException
ParseException
public static final void class_specifier() throws ParseException
ParseException
public static final void base_clause(ClassScope scope) throws ParseException
ParseException
public static final void base_specifier(ClassScope scope) throws ParseException
ParseException
public static final void access_specifier() throws ParseException
ParseException
public static final void member_declaration() throws ParseException
ParseException
public static final void member_declarator_list(boolean isTypedef) throws ParseException
ParseException
public static final void member_declarator(boolean isTypedef) throws ParseException
ParseException
public static final void conversion_function_decl_or_def() throws ParseException
ParseException
public static final void enum_specifier() throws ParseException
ParseException
public static final void enumerator_list() throws ParseException
ParseException
public static final void enumerator() throws ParseException
ParseException
public static final void ptr_operator() throws ParseException
ParseException
public static final void cv_qualifier_seq() throws ParseException
ParseException
public static final java.lang.String declarator() throws ParseException
ParseException
public static final java.lang.String direct_declarator() throws ParseException
ParseException
public static final void declarator_suffixes() throws ParseException
ParseException
public static final void function_declarator_lookahead() throws ParseException
ParseException
public static final Scope function_declarator(boolean isTypedef) throws ParseException
ParseException
public static final Scope function_direct_declarator(boolean isTypedef) throws ParseException
ParseException
public static final void dtor_ctor_decl_spec() throws ParseException
ParseException
public static final void dtor_definition() throws ParseException
ParseException
public static final void ctor_definition() throws ParseException
ParseException
public static final void ctor_declarator_lookahead() throws ParseException
ParseException
public static final Scope ctor_declarator() throws ParseException
ParseException
public static final void ctor_initializer() throws ParseException
ParseException
public static final void superclass_init() throws ParseException
ParseException
public static final void dtor_declarator() throws ParseException
ParseException
public static final void simple_dtor_declarator() throws ParseException
ParseException
public static final void parameter_list() throws ParseException
ParseException
public static final void parameter_declaration_list() throws ParseException
ParseException
public static final void parameter_declaration() throws ParseException
ParseException
public static final void initializer() throws ParseException
ParseException
public static final void type_name() throws ParseException
ParseException
public static final void abstract_declarator() throws ParseException
ParseException
public static final void abstract_declarator_suffix() throws ParseException
ParseException
public static final void template_head() throws ParseException
ParseException
public static final void template_parameter_list() throws ParseException
ParseException
public static final void template_parameter() throws ParseException
ParseException
public static final void template_id() throws ParseException
ParseException
public static final void template_argument_list() throws ParseException
ParseException
public static final void template_argument() throws ParseException
ParseException
public static final void statement_list() throws ParseException
ParseException
public static final void statement() throws ParseException
ParseException
public static final void labeled_statement() throws ParseException
ParseException
public static final void compound_statement() throws ParseException
ParseException
public static final void selection_statement() throws ParseException
ParseException
public static final void iteration_statement() throws ParseException
ParseException
public static final void jump_statement() throws ParseException
ParseException
public static final void try_block() throws ParseException
ParseException
public static final void handler() throws ParseException
ParseException
public static final void exception_declaration() throws ParseException
ParseException
public static final void throw_statement() throws ParseException
ParseException
public static final void expression() throws ParseException
ParseException
public static final void assignment_expression() throws ParseException
ParseException
public static final void conditional_expression() throws ParseException
ParseException
public static final void constant_expression() throws ParseException
ParseException
public static final void logical_or_expression() throws ParseException
ParseException
public static final void logical_and_expression() throws ParseException
ParseException
public static final void inclusive_or_expression() throws ParseException
ParseException
public static final void exclusive_or_expression() throws ParseException
ParseException
public static final void and_expression() throws ParseException
ParseException
public static final void equality_expression() throws ParseException
ParseException
public static final void relational_expression() throws ParseException
ParseException
public static final void shift_expression() throws ParseException
ParseException
public static final void additive_expression() throws ParseException
ParseException
public static final void multiplicative_expression() throws ParseException
ParseException
public static final void pm_expression() throws ParseException
ParseException
public static final void cast_expression() throws ParseException
ParseException
public static final void unary_expression() throws ParseException
ParseException
public static final void new_expression() throws ParseException
ParseException
public static final void new_type_id() throws ParseException
ParseException
public static final void new_declarator() throws ParseException
ParseException
public static final void direct_new_declarator() throws ParseException
ParseException
public static final void new_initializer() throws ParseException
ParseException
public static final void delete_expression() throws ParseException
ParseException
public static final void unary_operator() throws ParseException
ParseException
public static final void postfix_expression() throws ParseException
ParseException
public static final void id_expression() throws ParseException
ParseException
public static final void primary_expression() throws ParseException
ParseException
public static final void expression_list() throws ParseException
ParseException
public static final void constant() throws ParseException
ParseException
public static final void optor() throws ParseException
ParseException
public static final void exception_spec() throws ParseException
ParseException
public static final void exception_list() throws ParseException
ParseException
public static void ReInit(java.io.InputStream stream)
public static void ReInit(java.io.Reader stream)
public void ReInit(CPPParserTokenManager tm)
public static final Token getNextToken()
public static final Token getToken(int index)
public static ParseException generateParseException()
public static final void enable_tracing()
public static final void disable_tracing()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |