public override void accept(CSTVisitor visitor)
 {
     if (expressionNodeCS != null)
     {
         expressionNodeCS.accept(visitor);
         visitor.visitCollectionLiteralSinglePart(this);
     }
 }
Ejemplo n.º 2
0
 public override void accept(CSTVisitor visitor)
 {
     if ((firstNodeCS != null) && (lastNodeCS != null))
     {
         firstNodeCS.accept(visitor);
         lastNodeCS.accept(visitor);
         visitor.visitCollectionLiteralRange(this);
     }
 }
Ejemplo n.º 3
0
 /* (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 (oclExpressionNodeCS != null)
     {
         visitor.visitExpressionInOcl(this);
         oclExpressionNodeCS.accept(visitor);
         visitor.visitExpressionInOclEnd(this);
     }
 }
        /* (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);
            }
        }