public class XobjInt extends XobjConst
OPT_ATOMIC_STMT, OPT_DELAYED_DECL, OPT_F_MODULE_VAR, OPT_GCC_EXTENSION, OPT_GCC_SYNTAX, OPT_GCC_THREAD, OPT_GLOBAL, OPT_INDUCTION_VAR, OPT_PARSED, OPT_REWRITTED_XMP, OPT_SYNTAX_MODIFIED, OPT_TO_BE_FCOMMON, OPT_USED_IN_ARRAY_SIZE, parent
id
FINDKIND_ANY, FINDKIND_COMMON, FINDKIND_TAGNAME, FINDKIND_TYPEDEF_NAME, FINDKIND_VAR
Constructor and Description |
---|
XobjInt(Xcode code,
int value) |
XobjInt(Xcode code,
Xtype type,
int value,
java.lang.String fkind) |
Modifier and Type | Method and Description |
---|---|
boolean |
canGetInt() |
Xobject |
copy()
Dummy method at base class, it causes exception.
|
boolean |
equals(Xobject x) |
int |
getInt()
Returns integer value in XobjInt.
|
java.lang.String |
getName()
Returns Name of Xobject.
|
boolean |
isOneConstant()
return true if this object is one integer constant.
|
boolean |
isZeroConstant()
return true if this object is zero integer constant.
|
java.lang.String |
toString() |
add, bottomupIterator, cfold, copyTo, enter, equals, extent, extent, extents, extents, find, findCommonIdent, findVarIdent, getArg, getArgOrNull, getArgs, getFloat, getFloatString, getIdentList, getLineNo, getLong, getLongHigh, getLongLow, getMember, getOptionalFlag, getOptionalFlags, getParent, getScope, getString, getSubscripts, getSym, getTail, hasNullArg, insert, isArray, isArrayAddr, isAsgOp, isAtomicStmt, isBinaryOp, isCglobalVarOrFvar, isConstant, isDelayedDecl, isEmpty, isEmptyList, isExternalCode, isFmoduleVar, isGccExtension, isGccSyntax, isGccThread, isIndexRange, isInductionVar, isIntConstant, isLocalOrParamVar, isLocalOrParamVarAddr, isLogicalOp, isParsed, isPragma, isRewrittedByXmp, isScopeGlobal, isScopeLocal, isScopeParam, isSet, isSyntaxModified, isTempVar, isTerminal, isToBeFcommon, isUnaryOp, isVarAddr, isVariable, isVarRef, lbound, lbound, lbounds, lbounds, left, Nargs, newCode, Opcode, OpcodeName, operand, removeArgs, removeFirstArgs, removeLastArgs, right, setArg, setArgs, setIsAtomicStmt, setIsDelayedDecl, setIsFmoduleVar, setIsGccExtension, setIsGccSyntax, setIsGccThread, setIsGlobal, setIsInductionVar, setIsParsed, setIsRewrittedByXmp, setIsSyntaxModified, setIsToBeFcommon, setLeft, setLineNo, setName, setOperand, setOptionalFlag, setOptionalFlags, setParentRecursively, setRight, setScope, setType, topdownIterator, Type, ubound, ubound, ubounds, ubounds
getProp, getProperties, Id, remProp, remProperties, setId, setProp, setProperties
public XobjInt(Xcode code, int value)
public int getInt()
Xobject
public Xobject copy()
Xobject
public java.lang.String getName()
Xobject
public boolean isZeroConstant()
Xobject
isZeroConstant
in class Xobject
public boolean isOneConstant()
Xobject
isOneConstant
in class Xobject