| Package | Description |
|---|---|
| xtc.type |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<VariableT> |
StructOrUnionT.members
The list of members represents as
VariableT. |
| Modifier and Type | Method and Description |
|---|---|
VariableT |
VariableT.copy() |
VariableT |
StructOrUnionT.getMember(int index) |
static VariableT |
VariableT.newBitfield(Type type,
java.lang.String name,
int width)
Create a new bitfield.
|
static VariableT |
VariableT.newField(Type type,
java.lang.String name)
Create a new field.
|
static VariableT |
VariableT.newGlobal(Type type,
java.lang.String name)
Create a new global variable.
|
static VariableT |
VariableT.newLocal(Type type,
java.lang.String name)
Create a new local variable.
|
static VariableT |
VariableT.newParam(Type type,
java.lang.String name)
Create a new parameter.
|
VariableT |
Type.toVariable()
Get this type as a variable.
|
VariableT |
VariableT.toVariable() |
VariableT |
WrappedT.toVariable() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<VariableT> |
StructOrUnionT.getMembers() |
| Modifier and Type | Method and Description |
|---|---|
void |
SourcePrinter.visit(VariableT t)
Print the specified variable type.
|
void |
TypePrinter.visit(VariableT t)
Print the specified variable type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
StructOrUnionT.setMembers(java.util.List<VariableT> members)
Set the members.
|
| Constructor and Description |
|---|
StructOrUnionT(Type template,
Nonce nonce,
java.lang.String name,
java.util.List<VariableT> members)
Create a new struct or union type.
|
StructT(java.lang.String tag,
java.util.List<VariableT> members)
Create a new struct type.
|
StructT(Type template,
Nonce nonce,
java.lang.String tag,
java.util.List<VariableT> members)
Create a new struct type.
|
UnionT(java.lang.String tag,
java.util.List<VariableT> members)
Create a new union type with a fresh nonce.
|
UnionT(Type template,
Nonce nonce,
java.lang.String tag,
java.util.List<VariableT> members)
Create a new union type.
|
Copyright © 2014. All Rights Reserved.