org.duelengine.duel.codedom
Class CodeVariableCompoundDeclarationStatement
java.lang.Object
org.duelengine.duel.codedom.CodeObject
org.duelengine.duel.codedom.CodeStatement
org.duelengine.duel.codedom.CodeVariableCompoundDeclarationStatement
public class CodeVariableCompoundDeclarationStatement
- extends CodeStatement
Represents a compound variable declaration statement
Note: the first var determines the type
CodeVariableCompoundDeclarationStatement
public CodeVariableCompoundDeclarationStatement()
CodeVariableCompoundDeclarationStatement
public CodeVariableCompoundDeclarationStatement(CodeVariableDeclarationStatement... vars)
addVar
public void addVar(CodeVariableDeclarationStatement value)
getVars
public List<CodeVariableDeclarationStatement> getVars()
getVar
public CodeVariableDeclarationStatement getVar(int index)
visit
public void visit(CodeVisitor visitor)
- Overrides:
visit in class CodeObject
equals
public boolean equals(Object arg)
- Overrides:
equals in class CodeObject
hashCode
public int hashCode()
- Overrides:
hashCode in class CodeObject
Copyright © 2012. All Rights Reserved.