Method Summary |
|
protected void | addDerived(Type type) Add the specified type to the list of derived types. |
public static boolean | hasAttributes(Type type) Determine whether the specified type or any wrapped types have
any printable attributes.
Parameters: type - The type. |
public static boolean | isPrintable(Attribute att) Determine whether the specified attribute is printable.
Parameters: att - The attribute. |
public void | print(Type type) Print the specified type. |
public void | print(Type type, String variable) Print the specified type and variable as a declaration. |
protected void | printArray(Type type) Print the specified array type. |
protected void | printAttributes(Type type) Print the attributes for the specified type and any wrapped
types. |
protected void | printDerived() Emit any derived types. |
protected void | printFunction(Type type) Print the specified function type. |
protected void | printPointer(Type type) Print the specified pointer type. |
protected void | setVariable(String variable) Set the variable name. |
protected void | space() Emit a space. |
public void | visit(Attribute att) Print the specified attribute. |
public void | visit(VoidT t) Print the specified void type. |
public void | visit(NumberT t) Print the specified number type. |
public void | visit(StructT t) Print the specified struct type. |
public void | visit(UnionT t) Print the specified union type. |
public void | visit(EnumT t) Print the specified enum type. |
public void | visit(ClassOrInterfaceT t) Print the specified class or interface type. |
public void | visit(AliasT t) Print the specified alias type. |
public void | visit(InternalT t) Print the specified internal type. |
public void | visit(PointerT t) Print the specified pointer type. |
public void | visit(ArrayT t) Print the specified array type. |
public void | visit(FunctionT t) Print the specified function type. |
public void | visit(VariableT t) Print the specified variable type. |
public void | visit(WrappedT t) Print the specified wrapped type. |
public void | visit(ErrorT t) Print the specified error type. |