| Package | Description |
|---|---|
| cetus.base.grammars | |
| cetus.hir |
| Modifier and Type | Method and Description |
|---|---|
Declarator |
NewCParser.declarator() |
Declarator |
NewCParser.enumerator() |
Declarator |
NewCParser.initDecl() |
Declarator |
NewCParser.nonemptyAbstractDeclarator() |
Declarator |
NewCParser.structDeclarator() |
| Modifier and Type | Class and Description |
|---|---|
class |
NestedDeclarator
Represents a nested declarator that may contain another declarator within
itself.
|
class |
ProcedureDeclarator
Represents a declarator for a Procedure in a VariableDeclaration.
|
class |
VariableDeclarator
Represents a declarator for a variable in a VariableDeclaration.
|
| Modifier and Type | Method and Description |
|---|---|
Declarator |
Declarator.clone() |
Declarator |
Procedure.getDeclarator()
Returns the procedure declarator of the procedure.
|
Declarator |
NestedDeclarator.getDeclarator()
Returns the child declarator of the nested declarator.
|
Declarator |
VariableDeclaration.getDeclarator(int n)
Returns the nth declarator in this declaration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
VariableDeclaration.addDeclarator(Declarator declarator)
Adds another declarator to this declaration.
|
static void |
Declarator.defaultPrint(Declarator d,
java.io.PrintWriter o)
Prints a declarator to a stream.
|
| Constructor and Description |
|---|
NestedDeclarator(Declarator nested_decl)
Constructs a new nested declarator with the given child declarator.
|
NestedDeclarator(Declarator nested_decl,
java.util.List params)
Constructs a new nested declarator with the given child declarator and the
list of parameters.
|
NestedDeclarator(java.util.List leading_specs,
Declarator nested_decl,
java.util.List params)
Constructs a new nested declarator with the given list of leading
specifiers, the child declarator, and the list of parameters.
|
NestedDeclarator(java.util.List leading_specs,
Declarator nested_decl,
java.util.List params,
java.util.List trailing_specs)
Constructs a new nested declarator with the given list of leading
specifers, the child declarator, the list of parameters, and the list of
trailing specifiers.
|
NestedDeclarator(Specifier spec,
Declarator nested_decl,
java.util.List params)
Constructs a new nested declarator with the given leading specifier, the
child declarator, and the list of parameters.
|
Procedure(Declarator declarator,
CompoundStatement body)
Creates a constructor definition (declaration plus body).
|
Procedure(java.util.List leading_specs,
Declarator declarator,
CompoundStatement body)
Creates a procedure definition (declaration plus body).
|
Procedure(java.util.List leading_specs,
Declarator declarator,
CompoundStatement body,
boolean is_old_style_function)
Constructor that can preserve the old style of the declaration
|
Procedure(Specifier spec,
Declarator declarator,
CompoundStatement body)
Creates a procedure definition (declaration plus body).
|
VariableDeclaration(Declarator declarator)
Creates a variable declaration that does not use specifiers, such
as for a constructor prototype.
|
VariableDeclaration(java.util.List specs,
Declarator declarator)
Creates a variable declaration that has multiple specifiers, such
as for unsigned int x.
|
VariableDeclaration(Specifier spec,
Declarator declarator)
Creates a variable declaration that has only one specifier, such
as for int x.
|