Package pascal.taie.ir
Class DefaultIR
java.lang.Object
pascal.taie.util.AbstractResultHolder
pascal.taie.ir.DefaultIR
- All Implemented Interfaces:
Serializable
,Iterable<Stmt>
,IR
,Indexer<Stmt>
,ResultHolder
Default implementation of IR.
The data structures in this class are immutable.
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class pascal.taie.util.AbstractResultHolder
clearAll, clearResult, getKeys, getResult, getResult, getResult, hasResult, storeResult
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface pascal.taie.util.ResultHolder
clearAll, clearResult, getKeys, getResult, getResult, getResult, hasResult, storeResult
-
Constructor Details
-
DefaultIR
-
-
Method Details
-
getMethod
-
getThis
-
getParams
-
getParam
-
isParam
-
isThisOrParam
- Specified by:
isThisOrParam
in interfaceIR
- Returns:
true
ifvar
is "this" variable or a parameter of this IR.
-
getReturnVars
- Specified by:
getReturnVars
in interfaceIR
- Returns:
- all returned variables. If the method return type is void, then returns empty list.
-
getVar
-
getVars
-
getVarIndexer
- Specified by:
getVarIndexer
in interfaceIR
- Returns:
- an indexer for the variables in this IR.
-
getStmt
-
getStmts
-
getIndex
-
getObject
-
getExceptionEntries
- Specified by:
getExceptionEntries
in interfaceIR
- Returns:
- the exception entries in this IR.
- See Also:
-