cetus.hir
Class UserSpecifier
java.lang.Object
cetus.hir.Specifier
cetus.hir.UserSpecifier
- All Implemented Interfaces:
- Printable
public class UserSpecifier
- extends Specifier
Represents the name of a user-defined type, such
as created by a typedef, class declaration, etc.
| Fields inherited from class cetus.hir.Specifier |
ABSTRACT, AUTO, BOOL, BOOLEAN, BYTE, CBOOL, CCOMPLEX, CHAR, CIMAGINARY, CONST, DOUBLE, EXPLICIT, EXTERN, FINAL, FLOAT, FRIEND, INLINE, INT, LONG, MUTABLE, NATIVE, PRIVATE, PROTECTED, PUBLIC, REFERENCE, REGISTER, RESTRICT, SHORT, SIGNED, STATIC, STRICTFP, SYNCHRONIZED, THREADSAFE, TRANSIENT, TYPEDEF, UNSIGNED, value, VIRTUAL, VOID, VOLATILE, WCHAR_T |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UserSpecifier
public UserSpecifier(IDExpression usertype)
getIDExpression
public IDExpression getIDExpression()
isStructure
public boolean isStructure()
print
public void print(java.io.OutputStream stream)
- Description copied from interface:
Printable
- Print the code for the IR represented by the object.
Always calls object_print_method(this, stream). If
the object's print method is null, nothing is printed;
this provides an easy mechanism to temporarily hide
something.
- Specified by:
print in interface Printable- Overrides:
print in class Specifier
- Parameters:
stream - The stream on which to print the data.
toString
public java.lang.String toString()
- Overrides:
toString in class Specifier