public override void accept(CSTVisitor visitor) { if (elementType != null) { elementType.accept(visitor); visitor.visitCollectionTypeCS(this); } }
/** * @return */ //public VariableDeclaration getAst() { // return ast; //} /** * @param declaration */ //public void setAst(VariableDeclaration declaration) { // ast = declaration; //} /* (non-Javadoc) * @see br.cos.ufrj.lens.odyssey.tools.psw.parser.cst.CSTNode#accept(br.cos.ufrj.lens.odyssey.tools.psw.parser.cst.CSTVisitor) */ public override void accept(CSTVisitor visitor) { if (typeNodeCS != null) { typeNodeCS.accept(visitor); } if (expressionNodeCS != null) { expressionNodeCS.accept(visitor); } if (getNameNodeCS() != null) { visitor.visitVariableDeclaration(this); } }