public class XobjList extends Xobject implements java.lang.Iterable<Xobject>, XobjContainer
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
コンストラクタと説明 |
---|
XobjList()
Constructor for the empty XobjList with Xcode.LIST
|
XobjList(Xcode code)
Constructor with only code
|
XobjList(Xcode code,
XobjArgs a)
Constructor with code and argument
|
XobjList(Xcode code,
Xobject... a)
Constructor with one argument
|
XobjList(Xcode code,
Xtype type)
Constructor for the empty XobjList with code and type
|
XobjList(Xcode code,
Xtype type,
XobjArgs a)
Constructor for the argument list
|
XobjList(Xcode code,
Xtype type,
Xobject... a)
Constructor with one argument
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
add(Xobject a)
Add object at the end of list
|
Xobject |
cfold(Block block) |
void |
clear()
remove all arguments
|
void |
cons(Xobject a) |
Xobject |
copy()
Dummy method at base class, it causes exception.
|
boolean |
equals(Xobject x)
check the equality of two Xobjects.
|
Ident |
find(java.lang.String name,
int find_kind) |
Ident |
findIdent(java.lang.String name,
int find_kind) |
Xobject |
getArg(int i)
Get the i-th argument
|
Xobject |
getArgOrNull(int i)
Get the i-th argument or null if no i-th argument
|
XobjArgs |
getArgs()
Get the argument list
|
Xobject |
getArgWithKeyword(java.lang.String keyword,
int i)
Get the argument that has the keyword or the i-th argument.
|
int |
getFrank(Block block)
Get rank in the term of Fortran.
|
Ident |
getIdent(java.lang.String name) |
LineNo |
getLineNo()
get the line number information.
|
Ident |
getMember(java.lang.String name) |
java.lang.String |
getName()
Returns Name of Xobject.
|
Ident |
getStructTypeName(Xtype type) |
Xobject |
getSubscripts() |
Xobject |
getTail()
Gets tail of list
|
boolean |
has(Xobject x) |
boolean |
hasIdent(java.lang.String name) |
boolean |
hasNullArg() |
void |
insert(Xobject a)
Inserty object at the first of list
|
boolean |
isEmpty()
Returns true if no argument in XobjArgs.
|
java.util.Iterator<Xobject> |
iterator() |
Xobject |
left()
returns the left argument (the first argument)
|
void |
mergeList(XobjList l) |
int |
Nargs()
Return the number of arugments.
|
Xobject |
operand()
returns the first argument
|
Xobject |
removeArgs(XobjArgs a)
Remove the specified argument in XobjArgs
Dummy method at base class, it causes exception.
|
Xobject |
removeFirstArgs()
Remove the first argument in XobjArgs
Dummy method at base class, it causes exception.
|
Xobject |
removeLastArgs()
Remove the last argument in XobjArgs
Dummy method at base class, it causes exception.
|
void |
reverse() |
Xobject |
right()
returns the right argment (the second argument)
|
void |
setArg(int i,
Xobject x)
Sets the i-th argument
|
void |
setArgs(XobjArgs l)
Sets the argument list
|
void |
setLeft(Xobject x)
sets the left (first) argument
|
void |
setLineNo(LineNo ln)
set the line number information.
|
void |
setOperand(Xobject x)
sets the first argument
|
void |
setParentRecursively(IXobject parent) |
void |
setRight(Xobject x)
sets the right (second) argument
|
java.lang.String |
toString()
convert to the printable string
|
bottomupIterator, canGetInt, copyTo, enter, equals, extent, extent, extents, extents, findCommonIdent, findVarIdent, getFloat, getFloatString, getIdentList, getInt, getLong, getLongHigh, getLongLow, getOptionalFlag, getOptionalFlags, getParent, getScope, getString, getSym, isArray, isArrayAddr, isAsgOp, isAtomicStmt, isBinaryOp, isCglobalVarOrFvar, isConstant, isDelayedDecl, isEmptyList, isExternalCode, isFmoduleVar, isGccExtension, isGccSyntax, isGccThread, isIndexRange, isInductionVar, isIntConstant, isLocalOrParamVar, isLocalOrParamVarAddr, isLogicalOp, isOneConstant, isParsed, isPragma, isRewrittedByXmp, isScopeGlobal, isScopeLocal, isScopeParam, isSet, isSyntaxModified, isTempVar, isTerminal, isToBeFcommon, isUnaryOp, isVarAddr, isVariable, isVarRef, isZeroConstant, lbound, lbound, lbounds, lbounds, newCode, Opcode, OpcodeName, setIsAtomicStmt, setIsDelayedDecl, setIsFmoduleVar, setIsGccExtension, setIsGccSyntax, setIsGccThread, setIsGlobal, setIsInductionVar, setIsParsed, setIsRewrittedByXmp, setIsSyntaxModified, setIsToBeFcommon, setName, setOptionalFlag, setOptionalFlags, setScope, setType, topdownIterator, Type, ubound, ubound, ubounds, ubounds
getProp, getProperties, Id, remProp, remProperties, setId, setProp, setProperties
public XobjList()
public XobjList(Xcode code, Xtype type)
public XobjList(Xcode code)
public void cons(Xobject a)
public void add(Xobject a)
add
インタフェース内 XobjContainer
add
クラス内 Xobject
public void insert(Xobject a)
insert
インタフェース内 XobjContainer
insert
クラス内 Xobject
public Xobject left()
public Xobject right()
public void setOperand(Xobject x)
setOperand
クラス内 Xobject
public void setRight(Xobject x)
public Xobject removeArgs(XobjArgs a)
Xobject
removeArgs
クラス内 Xobject
public Xobject removeFirstArgs()
Xobject
removeFirstArgs
クラス内 Xobject
public Xobject removeLastArgs()
Xobject
removeLastArgs
クラス内 Xobject
public void clear()
public Xobject getArgOrNull(int i)
getArgOrNull
クラス内 Xobject
public Xobject getArgWithKeyword(java.lang.String keyword, int i)
public void setLineNo(LineNo ln)
public LineNo getLineNo()
public boolean equals(Xobject x)
public java.lang.String getName()
Xobject
public int getFrank(Block block)
Xobject
public Xobject getSubscripts()
getSubscripts
クラス内 Xobject
public void reverse()
public boolean isEmpty()
Xobject
public java.lang.String toString()
public java.util.Iterator<Xobject> iterator()
iterator
インタフェース内 java.lang.Iterable<Xobject>
public void setParentRecursively(IXobject parent)
setParentRecursively
クラス内 Xobject
public Ident findIdent(java.lang.String name, int find_kind)
public boolean has(Xobject x)
public boolean hasIdent(java.lang.String name)
public Ident getIdent(java.lang.String name)
public void mergeList(XobjList l)
public boolean hasNullArg()
hasNullArg
クラス内 Xobject