| Package | Description |
|---|---|
| xtc.parser | |
| xtc.type |
| Modifier and Type | Field and Description |
|---|---|
protected Type |
CodeGenerator.bindingType
The type of the element being bound.
|
protected Type |
ListMaker.element
The current production's element type.
|
Type |
Production.type
The production's actual type, which must be filled in after
parsing a module.
|
protected Type |
Transformer.Typer.type
The current type.
|
Type |
ProperListValue.type
The type of the proper list.
|
protected Type |
VariantSorter.Typer.type
The type.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Type> |
MetaDataSetter.boundRepetitions
The structure of bound repetitions.
|
java.util.List<Type> |
MetaData.boundRepetitions
The structure of bound repetitions for this production.
|
protected java.util.List<Type> |
MetaDataSetter.options
The structure of options.
|
java.util.List<Type> |
MetaData.options
The structure of options for this production.
|
protected java.util.List<Type> |
CodeGenerator.optionTypes
The types of bound options, i.e.
|
protected java.util.List<Type> |
CodeGenerator.repetitionTypes
The types of bound repetitions, i.e.
|
protected java.util.List<Type> |
VariantSorter.types
The current types.
|
| Modifier and Type | Method and Description |
|---|---|
protected Type |
VariantSorter.merge(VariantT v1,
VariantT v2,
Production p)
Merge the two variants.
|
Type |
Analyzer.type(Element element)
Type the specified element.
|
Type |
VariantSorter.Typer.type(Production p,
boolean create)
Determine the specified generic production's variant type.
|
Type |
VariantSorter.Typer.visit(FullProduction p)
Visit the specified full production.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
CodeGenerator.extern(Type type)
Extern the specified type.
|
static boolean |
Annotator.isList(Type type)
Determine whether the specified type is a list type that can be
processed by this visitor.
|
protected void |
Transformer.Lifter.lift(Type type,
NonTerminal nt,
OrderedChoice c)
Create a new production with the specified type, nonterminal,
and ordered choice.
|
protected void |
VariantSorter.setType(Production p,
Type t)
Set the specified production's type to the specified type.
|
| Constructor and Description |
|---|
FullProduction(java.util.List<Attribute> attributes,
Type type,
NonTerminal name,
NonTerminal qName,
OrderedChoice choice)
Create a new full production.
|
Production(java.util.List<Attribute> attributes,
Type type,
NonTerminal name,
NonTerminal qName,
OrderedChoice choice)
Create a new production.
|
ProperListValue(Type type,
Binding element)
Create a new singleton list value.
|
ProperListValue(Type type,
Binding element,
Binding tail)
Create a new list value.
|
ProperListValue(Type type,
java.util.List<Binding> elements,
Binding tail)
Create a new proper list value.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AliasT
A type alias.
|
class |
AnnotatedT
An annotated type.
|
class |
ArrayT
An array type.
|
class |
BooleanT
A boolean type.
|
class |
ClassOrInterfaceT
The superclass of class and interface types.
|
class |
ClassT
A class type.
|
class |
DerivedT
The superclass of all derived types.
|
class |
EnumeratorT
An enumerator.
|
class |
EnumT
An enumerated type.
|
class |
ErrorT
The pseudo-type indicating a malformed type.
|
class |
FloatT
A floating point type.
|
class |
FunctionOrMethodT
The superclass of function and method types.
|
class |
FunctionT
A function type.
|
class |
InstantiatedT
An instantiated type.
|
class |
IntegerT
An integer type.
|
class |
InterfaceT
An interface type.
|
class |
InternalParameter
An internal parameter.
|
class |
InternalT
An internal type, identified by its name.
|
class |
LabelT
A label type.
|
class |
MethodT
A method type.
|
class |
NamedParameter
A named parameter.
|
class |
NumberT
The superclass of all number types.
|
class |
PackageT
A package type.
|
class |
Parameter
The superclass of all type parameters.
|
class |
ParameterizedT
A parameterized type.
|
class |
PointerT
A pointer type.
|
class |
StructOrUnionT
The superclass of struct and union types.
|
class |
StructT
A struct type.
|
class |
TupleT
A tuple type.
|
class |
UnionT
A union type.
|
class |
UnitT
A unit type.
|
class |
VariableT
A variable.
|
class |
VariantT
A variant type.
|
class |
VoidT
A void type.
|
class |
Wildcard
A type wildcard.
|
class |
WrappedT
The superclass of all wrapped types.
|
| Modifier and Type | Field and Description |
|---|---|
static Type |
AST.ACTION
The canonical parameterized action type.
|
static Type |
AST.ANY
The canonical any type.
|
protected Type |
SourcePrinter.base
The base type.
|
static Type |
AST.CHAR
The canonical character reference type.
|
static Type |
AST.FORMATTING
The canonical formatting node type.
|
static Type |
AST.GENERIC
The canonical dynamically typed generic node type.
|
static Type |
AST.LIST
The canonical parameterized list type.
|
static Type |
AST.NODE
The canonical dynamically typed node type.
|
static Type |
AST.NULL_NODE
The canonical null node type.
|
protected Type |
FunctionOrMethodT.result
The result type.
|
static Type |
AST.STRING
The canonical string type.
|
static Type |
AST.TOKEN
The canonical token type.
|
protected Type |
Reference.type
The type.
|
static Type |
AST.VOID
The canonical void type, which is
VoidT.TYPE. |
static Type |
AST.WILD_ACTION
The canonical action instantiated with a wildcard element type.
|
static Type |
AST.WILD_LIST
The canonical list instantiated with a wildcard element type.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Type> |
SourcePrinter.derived
The list of derived types, with the outer-most type first.
|
protected java.util.List<Type> |
FunctionOrMethodT.exceptions
The optional list of exceptions.
|
protected java.util.Map<java.lang.String,Type> |
AST.externToIntern
The map from strings to type representations.
|
protected java.util.List<Type> |
ClassOrInterfaceT.fields
The list of
fields. |
protected java.util.List<Type> |
ClassOrInterfaceT.interfaces
The list of
interfaces. |
protected java.util.List<Type> |
ClassOrInterfaceT.methods
The list of
methods. |
protected java.util.List<Type> |
FunctionOrMethodT.parameters
The list of parameter types.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends Type> |
Type.copy(java.util.List<T> types)
Copy the specified list of types.
|
static <T extends Type> |
Type.seal(java.util.List<T> types)
Seal the specified list of types.
|
| Modifier and Type | Method and Description |
|---|---|
static Type |
AST.actionOf(Type element)
Create a new action type.
|
Type |
Type.annotate()
Annotate this type.
|
Type |
Type.attribute(Attribute att)
Annotate this type with the specified attribute.
|
Type |
Type.attribute(java.util.List<Attribute> attributes)
Annotate this type with the specified attributes.
|
Type |
Type.attribute(Type template)
Annotate this type with the specified type's attributes.
|
Type |
CFactory.builtin(Type type)
Mark the specified type as builtin.
|
Type |
CFactory.c()
Get the canonical char type.
|
static Type |
Type.cast(java.lang.Object type)
Cast the specified object to a type.
|
Type |
CFactory.cc()
Get a constant char type.
|
Type |
AST.combine(TupleT tuple1,
TupleT tuple2,
boolean flatten,
boolean strict)
Combine the specified tuple types into a consistent type.
|
Type |
C.compose(Type t1,
Type t2,
boolean pedantic)
Compose the specified types.
|
protected Type |
C.compose(Type t1,
Type t2,
boolean pedantic,
boolean recursive)
Compose the specified types.
|
protected Type |
C.composeArrays(ArrayT a1,
ArrayT a2)
Compose the specified array types (C99 6.2.7).
|
protected Type |
C.composeFunctions(FunctionT f1,
FunctionT f2,
boolean pedantic)
Compose the specified function types (C99 6.2.7).
|
Type |
AST.concretize(Type type,
Type concrete)
Ensure that the specified type is concrete.
|
Type |
Type.constant(boolean value)
Set this type's constant.
|
Type |
Type.constant(java.lang.Object value)
Set this type's constant.
|
Type |
CFactory.constant(Type type)
Mark the specified type as constant.
|
Type |
C.convert(Type t1,
Type t2)
Perform the usual arithmetic conversions.
|
abstract Type |
Type.copy()
Create a deep copy of this type.
|
Type |
CFactory.cv()
Get a constant void type.
|
Type |
Type.deannotate()
Deannotate this type.
|
Type |
CFactory.f()
Create a new function type with no parameters and a void return
type.
|
Type |
CFactory.f(Type result)
Create a new function type with no parameters.
|
Type |
CFactory.f(Type result,
Type param)
Create a new function type.
|
Type |
CFactory.f(Type result,
Type param1,
Type param2)
Create a new function type.
|
Type |
CFactory.f(Type result,
Type param1,
Type param2,
Type param3)
Create a new function type.
|
Type |
CFactory.f(Type result,
Type param1,
Type param2,
Type param3,
Type param4)
Create a new function type.
|
Type |
C.fit(java.math.BigInteger number)
Fit the specified number to the closest integer type, starting
with
int. |
Type |
AST.flatten(TupleT tuple,
boolean strict)
Flatten the specified tuple type.
|
static Type |
AST.getArgument(Type type)
Get the specified instantiated type's only argument.
|
Type |
Tagged.getMember(int index)
Get the member with the specified index.
|
Type |
ClassT.getParent()
Get the parent class.
|
Type |
FunctionOrMethodT.getResult()
Get the result type.
|
Type |
ArrayT.getType()
Get the element type.
|
Type |
Reference.getType()
Get this reference's type.
|
Type |
PointerT.getType()
Get the pointed-to type.
|
Type |
WrappedT.getType()
Get the type.
|
Type |
CFactory.i()
Get the canonical int type.
|
Type |
AST.intern(java.lang.String s)
Convert the specified string representation of a type into the
type.
|
protected abstract Type |
AST.internAction(java.lang.String s)
Convert the specified string representation of an action type
into the type.
|
protected Type |
JavaAST.internAction(java.lang.String s) |
protected abstract Type |
AST.internList(java.lang.String s)
Convert the specified string representation of a list type into
the type.
|
protected Type |
JavaAST.internList(java.lang.String s) |
protected abstract Type |
AST.internUser(java.lang.String s)
Convert the specified string representation of a user-defined
type into its internal representation.
|
protected Type |
JavaAST.internUser(java.lang.String s) |
Type |
Type.language(Language language)
Set this type's language.
|
static Type |
AST.listOf(Type element)
Create a new list type.
|
Type |
Type.locate(Locatable locatable)
Set this type's location.
|
Type |
Type.locate(Location location)
Set this type's location.
|
Type |
Parameter.lookup()
Look up this parameter's binding.
|
Type |
StructOrUnionT.lookup(java.lang.String name) |
Type |
EnumT.lookup(java.lang.String name) |
Type |
Tagged.lookup(java.lang.String name)
Look up the member with the specified name.
|
Type |
VariantT.lookup(java.lang.String name)
Look up the tuple with the specified name.
|
Type |
VariantT.lookupSimple(java.lang.String name)
Look up the tuple with the specified simple name.
|
static Type |
AST.markOptional(Type type)
Mark the specified type as optional.
|
static Type |
AST.markVariable(Type type)
Mark the specified type as variable.
|
Type |
CFactory.p2c()
Get a pointer to char.
|
Type |
CFactory.p2cc()
Get a pointer to constant char.
|
Type |
CFactory.p2cv()
Get a pointer to a constant void.
|
Type |
CFactory.p2v()
Get a pointer to void.
|
Type |
C.pointerize(Type type)
Pointerize the specified type.
|
Type |
CFactory.pr(Type type)
Create a new restricted pointer type.
|
Type |
C.promote(Type type)
Integer promote the specified type.
|
Type |
C.promoteArgument(Type type)
Argument promote this type.
|
Type |
C.qualify(Type type,
Type template)
Qualify the specified type with the qualifiers of the specified
template.
|
Type |
C.reattribute(Type type,
Type template)
Reattribute the specified type with the specified template's GCC
attributes.
|
Type |
Type.resolve()
Resolve this type.
|
Type |
WrappedT.resolve() |
static Type |
Type.resolve(java.lang.Object type)
Resolve the specified object as type.
|
Type |
Type.scope(java.lang.String scope)
Set this type's scope.
|
Type |
TupleT.seal() |
Type |
ParameterizedT.seal() |
Type |
StructOrUnionT.seal()
Seal this struct or union.
|
Type |
EnumT.seal()
Seal this enum.
|
Type |
ArrayT.seal() |
Type |
PointerT.seal() |
Type |
Type.seal()
Seal this type.
|
Type |
FunctionOrMethodT.seal() |
Type |
ClassOrInterfaceT.seal() |
Type |
AliasT.seal()
Seal this alias.
|
Type |
VariantT.seal() |
Type |
WrappedT.seal() |
Type |
InstantiatedT.seal() |
Type |
Type.shape(boolean isStatic,
java.lang.String name)
Set this type's shape to a variable reference with the specified
name.
|
Type |
Type.shape(Reference shape)
Set this type's shape.
|
Type |
CFactory.size()
Get the canonical sizeof type.
|
Type |
C.toRValue(Type type)
Convert the specified type to an rvalue.
|
Type |
C.typeCharacter(java.lang.String literal)
Type the specified C character literal.
|
Type |
C.typeFloat(java.lang.String literal)
Type the specified floating point literal.
|
Type |
C.typeInteger(java.lang.String literal)
Type the specified integer literal.
|
Type |
AST.unify(Type t1,
Type t2,
boolean strict)
Unify the specified types.
|
protected Type |
AST.unify(VariantT v1,
VariantT v2)
Unify the specified statically typed nodes.
|
protected abstract Type |
AST.unifyUser(Type t1,
Type t2,
boolean strict)
Unify the specified user-defined types.
|
protected Type |
JavaAST.unifyUser(Type t1,
Type t2,
boolean strict) |
Type |
CFactory.v()
Get the canonical void type.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Type> |
InstantiatedT.getArguments()
Get this instantiated type's arguments.
|
java.util.List<Type> |
FunctionOrMethodT.getExceptions()
Get the list of exceptions.
|
java.util.List<Type> |
ClassOrInterfaceT.getFields()
Get the list of fields.
|
java.util.List<Type> |
ClassOrInterfaceT.getInterfaces()
Get the list of interfaces.
|
java.util.List<? extends Type> |
Tagged.getMembers()
Get the members of the tagged type.
|
java.util.List<Type> |
ClassOrInterfaceT.getMethods()
Get the list of methods.
|
java.util.List<Type> |
FunctionOrMethodT.getParameters()
Get the list of parameter types.
|
java.util.List<Type> |
TupleT.getTypes()
Get the element types.
|
| Modifier and Type | Method and Description |
|---|---|
static Type |
AST.actionOf(Type element)
Create a new action type.
|
protected void |
SourcePrinter.addDerived(Type type)
Add the specified type to the list of derived types.
|
Type |
Type.attribute(Type template)
Annotate this type with the specified type's attributes.
|
void |
Wildcard.bind(Type type)
Bind this wildcard.
|
void |
Parameter.bind(Type type)
Bind this parameter to the specified type.
|
Type |
CFactory.builtin(Type type)
Mark the specified type as builtin.
|
Type |
C.compose(Type t1,
Type t2,
boolean pedantic)
Compose the specified types.
|
protected Type |
C.compose(Type t1,
Type t2,
boolean pedantic,
boolean recursive)
Compose the specified types.
|
Type |
AST.concretize(Type type,
Type concrete)
Ensure that the specified type is concrete.
|
void |
AST.concretizeTuples(VariantT variant,
Type concrete)
Concretize the specified variant type's tuples.
|
Type |
CFactory.constant(Type type)
Mark the specified type as constant.
|
Type |
C.convert(Type t1,
Type t2)
Perform the usual arithmetic conversions.
|
CFactory |
CFactory.decl(boolean nofix,
java.lang.String name,
Type type)
Add the specified declaration to this factory's symbol table
scope.
|
boolean |
C.equal(Type t1,
Type t2)
Determine whether the specified types are equal to each other.
|
java.lang.String |
AST.extern(Type type)
Convert the specified type to a string.
|
protected abstract java.lang.String |
AST.externAction(Type type)
Convert the specified action type to a string.
|
protected java.lang.String |
JavaAST.externAction(Type type) |
protected abstract java.lang.String |
AST.externList(Type type)
Convert the specified list type to a string.
|
protected java.lang.String |
JavaAST.externList(Type type) |
protected abstract java.lang.String |
AST.externUser(Type type)
Convert the specified user-defined type to a string.
|
protected java.lang.String |
JavaAST.externUser(Type type) |
Type |
CFactory.f(Type result)
Create a new function type with no parameters.
|
Type |
CFactory.f(Type result,
Type param)
Create a new function type.
|
Type |
CFactory.f(Type result,
Type param1,
Type param2)
Create a new function type.
|
Type |
CFactory.f(Type result,
Type param1,
Type param2,
Type param3)
Create a new function type.
|
Type |
CFactory.f(Type result,
Type param1,
Type param2,
Type param3,
Type param4)
Create a new function type.
|
boolean |
C.fits(java.math.BigInteger number,
Type type)
Determine whether the specified number fits the specified integer
type.
|
protected long |
C.getAligned(Type type)
Get the specified type's alignment.
|
long |
C.getAlignment(Type type)
Get the specified type's alignment in bytes.
|
long |
C.getAlignment(Type type,
boolean natural)
Get the specified type's alignment in bytes.
|
static Type |
AST.getArgument(Type type)
Get the specified instantiated type's only argument.
|
Reference |
C.getConstRef(Type type)
Get the specified type's constant reference.
|
long |
C.getSize(Type type)
Get the specified type's size in bytes.
|
long |
C.getWidth(Type number)
Get the specified number's size in bits.
|
static boolean |
SourcePrinter.hasAttributes(Type type)
Determine whether the specified type or any wrapped types have
any printable attributes.
|
boolean |
C.hasConstRef(Type type)
Determine whether this type has a constant reference.
|
Constants.FuzzyBoolean |
AST.hasLocation(Type type)
Determine whether instances of the specified type have a source
location.
|
protected abstract Constants.FuzzyBoolean |
AST.hasLocationUser(Type type)
Determine whether instances of the specified user-defined type
have a source location.
|
protected Constants.FuzzyBoolean |
JavaAST.hasLocationUser(Type type) |
boolean |
C.hasQualifiers(Type type)
Determine whether the specified type has any qualifiers.
|
boolean |
C.hasQualifiers(Type type,
Type template)
Determine whether the specified type has at least the qualifiers
of the specified template.
|
boolean |
C.hasSameQualifiers(Type type,
Type template)
Determine whether the specified type has the same qualifiers as
the specified template.
|
boolean |
C.hasTrailingArray(Type type)
Determine whether the specified type has a trailing array.
|
Reference |
Reference.indirect(Type type)
Indirect this reference.
|
static boolean |
AST.isAction(Type type)
Determine whether the specified type is an action.
|
static boolean |
AST.isAny(Type type)
Determine whether the specified type is the any type.
|
boolean |
C.isArithmetic(Type type)
Determine whether the specified type is arithmetic.
|
static boolean |
AST.isChar(Type type)
Determine whether the specified type is a character.
|
boolean |
C.isChar(Type type)
Determine whether the specified type is a char.
|
boolean |
C.isConstant(Type type)
Determine whether the specified type is qualified as constant.
|
static boolean |
AST.isDynamicNode(Type type)
Determine whether the specified type is a dynamically typed node.
|
static boolean |
AST.isFormatting(Type type)
Determine whether the specified type is a formatting node.
|
static boolean |
AST.isGenericNode(Type type)
Determine whether the specified type is a generic node.
|
boolean |
C.isIncomplete(Type type)
Determine whether the specified type is incomplete.
|
boolean |
C.isIntegral(Type type)
Determine whether the specified type is integral.
|
static boolean |
AST.isList(Type type)
Determine whether the specified type is a list.
|
boolean |
C.isModifiable(Type type)
Determine whether the specified type represents a modifiable
lvalue.
|
static boolean |
AST.isNode(Type type)
Determine whether the specified type is a node.
|
static boolean |
AST.isNullNode(Type type)
Determine whether the specified type is a null node.
|
static boolean |
AST.isOptional(Type type)
Determine whether the specified type is optional.
|
protected boolean |
C.isPacked(Type type)
Determine whether the specified type has a GCC packed attribute.
|
boolean |
C.isReal(Type type)
Determine whether the specified type is real.
|
boolean |
C.isScalar(Type type)
Determine whether the specified type is scalar.
|
static boolean |
AST.isStaticNode(Type type)
Determine whether the specified type is a statically typed node.
|
static boolean |
AST.isString(Type type)
Determine whether the specified type is a string.
|
boolean |
C.isString(Type type)
Determine whether the specified type is a string.
|
boolean |
C.isStringLiteral(Type type)
Determine whether the specified type is a string literal.
|
static boolean |
AST.isToken(Type type)
Determine whether the specified type is a token.
|
static boolean |
AST.isUser(Type type)
Determine whether the specified type is user-defined.
|
static boolean |
AST.isVariable(Type type)
Determine whether the specified type is variable.
|
boolean |
C.isVariablyModified(Type type)
Determine whether the specified type is variably modified.
|
static boolean |
AST.isVoid(Type type)
Determine whether the specified type is the void type.
|
boolean |
C.isWideChar(Type type)
Determine whether the specified type is a wide char.
|
boolean |
C.isWideString(Type type)
Determine whether the specified type is a wide string.
|
static Type |
AST.listOf(Type element)
Create a new list type.
|
static Type |
AST.markOptional(Type type)
Mark the specified type as optional.
|
static Type |
AST.markVariable(Type type)
Mark the specified type as variable.
|
java.math.BigInteger |
C.mask(java.math.BigInteger number,
Type type)
Mask the specified number as a value of this integer type.
|
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.
|
PointerT |
CFactory.p(Type type)
Create a new pointer type.
|
Type |
C.pointerize(Type type)
Pointerize the specified type.
|
Type |
CFactory.pr(Type type)
Create a new restricted pointer type.
|
void |
SourcePrinter.print(Type type)
Print the specified type.
|
void |
AST.print(Type type,
Printer printer,
boolean refIsDecl,
boolean qualified,
java.lang.String module)
Print the specified type.
|
void |
SourcePrinter.print(Type type,
java.lang.String variable)
Print the specified type and variable as a declaration.
|
boolean |
TypePrinter.printAnnotations(Type t)
Print the specified type's annotations.
|
protected void |
SourcePrinter.printArray(Type type)
Print the specified array type.
|
protected void |
SourcePrinter.printAttributes(Type type)
Print the attributes for the specified type and any wrapped
types.
|
protected void |
SourcePrinter.printFunction(Type type)
Print the specified function type.
|
protected void |
SourcePrinter.printPointer(Type type)
Print the specified pointer type.
|
Type |
C.promote(Type type)
Integer promote the specified type.
|
Type |
C.promoteArgument(Type type)
Argument promote this type.
|
Type |
C.qualify(Type type,
Type template)
Qualify the specified type with the qualifiers of the specified
template.
|
Type |
C.reattribute(Type type,
Type template)
Reattribute the specified type with the specified template's GCC
attributes.
|
void |
FunctionOrMethodT.setResult(Type result)
Set the result type.
|
void |
EnumT.setType(Type type)
Set the type.
|
void |
WrappedT.setType(Type type)
Set the type.
|
java.lang.String |
C.toDesignation(Type type)
Get the specified type's designation.
|
Type |
C.toRValue(Type type)
Convert the specified type to an rvalue.
|
Type |
AST.unify(Type t1,
Type t2,
boolean strict)
Unify the specified types.
|
protected abstract Type |
AST.unifyUser(Type t1,
Type t2,
boolean strict)
Unify the specified user-defined types.
|
protected Type |
JavaAST.unifyUser(Type t1,
Type t2,
boolean strict) |
| Modifier and Type | Method and Description |
|---|---|
void |
FunctionOrMethodT.setExceptions(java.util.List<Type> exceptions)
Set the list of parameter types.
|
void |
FunctionOrMethodT.setParameters(java.util.List<Type> parameters)
Set the list of parameter types.
|
void |
TupleT.setTypes(java.util.List<Type> types)
Set the element types.
|
| Constructor and Description |
|---|
AliasT(java.lang.String name,
Type type)
Create a new type alias.
|
AliasT(Type template,
java.lang.String name,
Type type)
Create a new type alias.
|
AnnotatedT(Type type)
Create a new annotated type.
|
AnnotatedT(Type template,
Type type)
Create a new annotated type.
|
ArrayT(Type type)
Create a new, incomplete array type.
|
ArrayT(Type type,
boolean varlength)
Create a new variable length array.
|
ArrayT(Type type,
long length)
Create a new array type.
|
ArrayT(Type template,
Type type,
boolean varlength,
long length)
Create a new array type.
|
BooleanT(Type template)
Create a new boolean type.
|
CastReference(Type type,
Reference base)
Create a new cast reference.
|
ClassOrInterfaceT(Type template,
java.lang.String qname,
java.util.List<Type> interfaces,
java.util.List<Type> fields,
java.util.List<Type> methods)
Create a new class or interface type.
|
ClassT(java.lang.String qname,
Type parent,
java.util.List<Type> interfaces,
java.util.List<Type> fields,
java.util.List<Type> methods)
Create a new class type.
|
ClassT(Type template,
java.lang.String qname,
Type parent,
java.util.List<Type> interfaces,
java.util.List<Type> fields,
java.util.List<Type> methods)
Create a new class type.
|
DerivedT(Type template)
Create a new derived type.
|
DynamicReference(java.lang.String name,
Type type)
Create a new dynamic reference.
|
DynamicReference(Type type)
Create a new anonymous dynamic reference.
|
EnumeratorT(Type type,
java.lang.String name,
java.math.BigInteger value)
Create a new enumerator.
|
EnumeratorT(Type template,
Type type,
java.lang.String name,
java.math.BigInteger value)
Create a new enumerator.
|
EnumT(Type type,
java.lang.String name,
java.util.List<EnumeratorT> enumerators)
Create a new enum type.
|
EnumT(Type template,
Type type,
Nonce nonce,
java.lang.String name,
java.util.List<EnumeratorT> enumerators)
Create a new enum type.
|
ErrorT(Type template)
Create a new error type.
|
FloatT(Type template,
NumberT.Kind kind)
Create a new flaoting point type.
|
FunctionOrMethodT(Type template,
Type result,
java.lang.String name,
java.util.List<Type> parameters,
boolean varargs,
java.util.List<Type> exceptions)
Create a new function or method type.
|
FunctionT(Type result)
Create a new function type.
|
FunctionT(Type result,
java.util.List<Type> parameters,
boolean varargs)
Create a new function type.
|
FunctionT(Type template,
Type result,
java.util.List<Type> parameters,
boolean varargs)
Create a new function type.
|
InstantiatedT(java.util.List<Type> arguments,
Type type)
Create a new instantiated type.
|
InstantiatedT(Type template,
java.util.List<Type> arguments,
Type type)
Create a new instantiated type.
|
InstantiatedT(Type argument,
Type type)
Create a new instantiated type.
|
IntegerT(Type template,
NumberT.Kind kind)
Create a new integer type.
|
InterfaceT(Type template,
java.lang.String qname,
java.util.List<Type> interfaces,
java.util.List<Type> fields,
java.util.List<Type> methods)
Create a new interface type.
|
InternalParameter(Type template)
Create a new internal parameter.
|
InternalT(Type template,
java.lang.String name)
Create a new internal type.
|
LabelT(Type template,
java.lang.String name)
Create a new label type.
|
MethodT(Type result,
java.lang.String name,
java.util.List<Type> parameters,
boolean varargs,
java.util.List<Type> exceptions)
Create a new method type.
|
MethodT(Type template,
Type result,
java.lang.String name,
java.util.List<Type> parameters,
boolean varargs,
java.util.List<Type> exceptions)
Create a new method type.
|
NumberT(Type template,
NumberT.Kind kind)
Create a new number type.
|
PackageT(Type template,
java.lang.String name)
Create a new package type.
|
Parameter(Type template)
Create a new parameter.
|
ParameterizedT(java.util.List<Parameter> parameters,
Type type)
Create a new parameterized type.
|
ParameterizedT(Parameter parameter,
Type type)
Create a new parameterized type.
|
ParameterizedT(Type template,
java.util.List<Parameter> parameters,
Type type)
Create a new parameterized type.
|
PointerT(Type type)
Create a new pointer type.
|
PointerT(Type template,
Type type)
Create a new pointer type.
|
Reference(Type type)
Create a new reference.
|
RelativeReference(Type type,
Reference base)
Create a new relative reference.
|
StaticReference(java.lang.String name,
Type type)
Create a new static reference.
|
StaticReference(Type type)
Create a new anonymous static reference.
|
StringReference(java.lang.String literal,
Type type)
Create a new string reference.
|
StructOrUnionT(Type template,
Nonce nonce,
java.lang.String name,
java.util.List<VariableT> members)
Create a new struct or union type.
|
StructT(Type template,
Nonce nonce,
java.lang.String tag,
java.util.List<VariableT> members)
Create a new struct type.
|
TupleT(java.lang.String name,
Type type)
Create a new tuple type.
|
TupleT(Type template,
java.lang.String name,
java.util.List<Type> types)
Create a new tuple type.
|
Type(Type template)
Create a new type.
|
UnionT(Type template,
Nonce nonce,
java.lang.String tag,
java.util.List<VariableT> members)
Create a new union type.
|
UnitT(Type template)
Create a new unit type.
|
VariableReference(java.lang.String name,
Type type)
Create a new variable reference.
|
VariableReference(Type type)
Create a new anonymous variable reference.
|
VariableT(Type template,
Type type,
java.lang.String name,
int width)
Create a new bit-field.
|
VariableT(Type template,
Type type,
VariableT.Kind kind,
java.lang.String name)
Create a new variable type.
|
VariantT(Type template,
java.lang.String name,
boolean polymorphic,
java.util.List<TupleT> tuples)
Create a new variant type.
|
VoidT(Type template)
Create a new void type.
|
Wildcard(Type template)
Create a new wildcard.
|
WrappedT(Type type)
Create a new wrapped type.
|
WrappedT(Type template,
Type type)
Create a new wrapped type.
|
| Constructor and Description |
|---|
ClassOrInterfaceT(Type template,
java.lang.String qname,
java.util.List<Type> interfaces,
java.util.List<Type> fields,
java.util.List<Type> methods)
Create a new class or interface type.
|
ClassOrInterfaceT(Type template,
java.lang.String qname,
java.util.List<Type> interfaces,
java.util.List<Type> fields,
java.util.List<Type> methods)
Create a new class or interface type.
|
ClassOrInterfaceT(Type template,
java.lang.String qname,
java.util.List<Type> interfaces,
java.util.List<Type> fields,
java.util.List<Type> methods)
Create a new class or interface type.
|
ClassT(java.lang.String qname,
Type parent,
java.util.List<Type> interfaces,
java.util.List<Type> fields,
java.util.List<Type> methods)
Create a new class type.
|
ClassT(java.lang.String qname,
Type parent,
java.util.List<Type> interfaces,
java.util.List<Type> fields,
java.util.List<Type> methods)
Create a new class type.
|
ClassT(java.lang.String qname,
Type parent,
java.util.List<Type> interfaces,
java.util.List<Type> fields,
java.util.List<Type> methods)
Create a new class type.
|
ClassT(Type template,
java.lang.String qname,
Type parent,
java.util.List<Type> interfaces,
java.util.List<Type> fields,
java.util.List<Type> methods)
Create a new class type.
|
ClassT(Type template,
java.lang.String qname,
Type parent,
java.util.List<Type> interfaces,
java.util.List<Type> fields,
java.util.List<Type> methods)
Create a new class type.
|
ClassT(Type template,
java.lang.String qname,
Type parent,
java.util.List<Type> interfaces,
java.util.List<Type> fields,
java.util.List<Type> methods)
Create a new class type.
|
FunctionOrMethodT(Type template,
Type result,
java.lang.String name,
java.util.List<Type> parameters,
boolean varargs,
java.util.List<Type> exceptions)
Create a new function or method type.
|
FunctionOrMethodT(Type template,
Type result,
java.lang.String name,
java.util.List<Type> parameters,
boolean varargs,
java.util.List<Type> exceptions)
Create a new function or method type.
|
FunctionT(Type result,
java.util.List<Type> parameters,
boolean varargs)
Create a new function type.
|
FunctionT(Type template,
Type result,
java.util.List<Type> parameters,
boolean varargs)
Create a new function type.
|
InstantiatedT(java.util.List<Type> arguments,
Type type)
Create a new instantiated type.
|
InstantiatedT(Type template,
java.util.List<Type> arguments,
Type type)
Create a new instantiated type.
|
InterfaceT(java.lang.String qname,
java.util.List<Type> interfaces,
java.util.List<Type> fields,
java.util.List<Type> methods)
Create a new interface type.
|
InterfaceT(java.lang.String qname,
java.util.List<Type> interfaces,
java.util.List<Type> fields,
java.util.List<Type> methods)
Create a new interface type.
|
InterfaceT(java.lang.String qname,
java.util.List<Type> interfaces,
java.util.List<Type> fields,
java.util.List<Type> methods)
Create a new interface type.
|
InterfaceT(Type template,
java.lang.String qname,
java.util.List<Type> interfaces,
java.util.List<Type> fields,
java.util.List<Type> methods)
Create a new interface type.
|
InterfaceT(Type template,
java.lang.String qname,
java.util.List<Type> interfaces,
java.util.List<Type> fields,
java.util.List<Type> methods)
Create a new interface type.
|
InterfaceT(Type template,
java.lang.String qname,
java.util.List<Type> interfaces,
java.util.List<Type> fields,
java.util.List<Type> methods)
Create a new interface type.
|
MethodT(Type result,
java.lang.String name,
java.util.List<Type> parameters,
boolean varargs,
java.util.List<Type> exceptions)
Create a new method type.
|
MethodT(Type result,
java.lang.String name,
java.util.List<Type> parameters,
boolean varargs,
java.util.List<Type> exceptions)
Create a new method type.
|
MethodT(Type template,
Type result,
java.lang.String name,
java.util.List<Type> parameters,
boolean varargs,
java.util.List<Type> exceptions)
Create a new method type.
|
MethodT(Type template,
Type result,
java.lang.String name,
java.util.List<Type> parameters,
boolean varargs,
java.util.List<Type> exceptions)
Create a new method type.
|
TupleT(java.util.List<Type> types)
Create a new anonymous tuple type.
|
TupleT(java.lang.String name,
java.util.List<Type> types)
Create a new tuple type.
|
TupleT(Type template,
java.lang.String name,
java.util.List<Type> types)
Create a new tuple type.
|
Copyright © 2014. All Rights Reserved.