public override Node VisitBitShiftExpression(ECMAScriptParser.BitShiftExpressionContext context)
 {
     return(new BinaryExpression(
                context,
                OperatorsUtils.BinaryOperatorFromString(context.children[1].GetText()),
                (Expression)Visit(context.singleExpression()[0]),
                (Expression)Visit(context.singleExpression()[1])
                ));
 }
Exemplo n.º 2
0
 public UstNode VisitBitShiftExpression([NotNull] ECMAScriptParser.BitShiftExpressionContext context)
 {
     return(CreateBinaryOperatorExpression(
                context.singleExpression(0), context.GetChild <ITerminalNode>(0), context.singleExpression(1)));
 }