public override Node VisitLogicalAndExpression(ECMAScriptParser.LogicalAndExpressionContext context)
 {
     return(new LogicalExpression(
                context,
                LogicalOperator.LogicalAnd,
                (Expression)Visit(context.singleExpression()[0]),
                (Expression)Visit(context.singleExpression()[1])
                ));
 }
示例#2
0
 public UstNode VisitLogicalAndExpression([NotNull] ECMAScriptParser.LogicalAndExpressionContext context)
 {
     return(CreateBinaryOperatorExpression(
                context.singleExpression(0), context.GetChild <ITerminalNode>(0), context.singleExpression(1)));
 }