public class VarDeclStmt extends Stmt
Constructor and Description |
---|
VarDeclStmt(String varName,
Expr value) |
Modifier and Type | Method and Description |
---|---|
Expr |
getValue() |
String |
getVarName() |
void |
visit(ASTNodeVisitor v)
Visits the
ASTNode . |
addChild, appendFlag, becomeParentOf, getAttribute, getAttributes, getChildren, getFlags, getLineNumber, getParentNode, getSourceLine, hasAttribute, hasFlag, isMemberAccessChild, isRootNode, setAttribute, setAttributes, setChildren, setFlags, setLineNumber, setMemberAccess, setParentNode, setSourceLine, toString
public void visit(ASTNodeVisitor v) throws EvalException
ASTNode
ASTNode
.visit
in class ASTNode
EvalException
public String getVarName()
public Expr getValue()
Copyright © 2010–2015. All rights reserved.