org.duelengine.duel.codedom
Class CodeVariableCompoundDeclarationStatement

java.lang.Object
  extended by org.duelengine.duel.codedom.CodeObject
      extended by org.duelengine.duel.codedom.CodeStatement
          extended by org.duelengine.duel.codedom.CodeVariableCompoundDeclarationStatement

public class CodeVariableCompoundDeclarationStatement
extends CodeStatement

Represents a compound variable declaration statement Note: the first var determines the type


Constructor Summary
CodeVariableCompoundDeclarationStatement()
           
CodeVariableCompoundDeclarationStatement(CodeVariableDeclarationStatement... vars)
           
 
Method Summary
 void addVar(CodeVariableDeclarationStatement value)
           
 boolean equals(Object arg)
           
 CodeVariableDeclarationStatement getVar(int index)
           
 List<CodeVariableDeclarationStatement> getVars()
           
 int hashCode()
           
 void visit(CodeVisitor visitor)
           
 
Methods inherited from class org.duelengine.duel.codedom.CodeStatement
withUserData
 
Methods inherited from class org.duelengine.duel.codedom.CodeObject
getUserData, putUserData, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CodeVariableCompoundDeclarationStatement

public CodeVariableCompoundDeclarationStatement()

CodeVariableCompoundDeclarationStatement

public CodeVariableCompoundDeclarationStatement(CodeVariableDeclarationStatement... vars)
Method Detail

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.