Class InitStmt
java.lang.Object
EDU.purdue.cs.bloat.tree.Node
EDU.purdue.cs.bloat.tree.Stmt
EDU.purdue.cs.bloat.tree.InitStmt
- All Implemented Interfaces:
Assign
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()DefExpr[]defs()Returns the local variables (LocalExprs) defined by this InitStmt.targets()Returns the local variables (LocalExprs) initialized by this InitStmt.voidvisit(TreeVisitor visitor) voidvisitForceChildren(TreeVisitor visitor) Visit the children of this node.Methods inherited from class Stmt
cleanupOnlyMethods inherited from class Node
block, cleanup, copyInto, hasParent, key, parent, replaceWith, replaceWith, setKey, setParent, setValueNumber, toString, valueNumber, visitChildren, visitOnly
-
Constructor Details
-
InitStmt
Constructor.- Parameters:
targets- The instances of LocalExpr that are to be initialized.
-
-
Method Details
-
targets
Returns the local variables (LocalExprs) initialized by this InitStmt. -
defs
-
visitForceChildren
Description copied from class:NodeVisit the children of this node. Not all Nodes will have children to visit.- Specified by:
visitForceChildrenin classNode
-
visit
-
clone
-