Package | Description |
---|---|
cetus.hir |
Modifier and Type | Field and Description |
---|---|
static ClassDeclaration.Key |
ClassDeclaration.CLASS
Keyword for class type declaration.
|
static ClassDeclaration.Key |
ClassDeclaration.INTERFACE
Keyword for interface type declaration.
|
static ClassDeclaration.Key |
ClassDeclaration.STRUCT
Keyword for struct type declaration.
|
static ClassDeclaration.Key |
ClassDeclaration.UNION
Keyword for union type declaration.
|
Modifier and Type | Method and Description |
---|---|
ClassDeclaration.Key |
ClassDeclaration.getKey()
Returns the type keyword for the class declaration
|
Constructor and Description |
---|
ClassDeclaration(ClassDeclaration.Key type,
IDExpression name)
Constructs an empty class declaration with the given type and name ID.
|
ClassDeclaration(ClassDeclaration.Key type,
IDExpression name,
boolean no_body)
Constructs a class declaration with the given type, name ID, and the flag
for forward declaration.
|
ClassDeclaration(java.util.List class_specs,
ClassDeclaration.Key type,
IDExpression name)
Constructs a class declaration from the given list of specifiers, type
keyword, and name ID.
|