public override ASTNode VisitIsvoid([NotNull] CoolParser.IsvoidContext context)
 {
     return(new IsVoidNode(context.ISVOID().Symbol.Line, context.ISVOID().Symbol.Column)
     {
         Operand = Visit(context.expr()) as ExpressionNode
     });
 }
Пример #2
0
 public override AST_Node VisitIsvoid([NotNull] CoolParser.IsvoidContext context)
 {
     return(new AST_Isvoid(context, (AST_Expresion)Visit(context.expr())));
 }