Ejemplo n.º 1
0
        public override string VisitSignedEvalOperand([NotNull] sphereScript99Parser.SignedEvalOperandContext context)
        {
            if (context.evalOperand() != null)
            {
                return(Visit(context.evalOperand()));
            }

            return(base.VisitSignedEvalOperand(context));
        }
Ejemplo n.º 2
0
        public override bool VisitSignedEvalOperand([NotNull] sphereScript99Parser.SignedEvalOperandContext context)
        {
            if (context.ChildCount != 1 || context.evalOperand() == null)
            {
                return(false);
            }

            return(Visit(context.evalOperand()));
        }
            public override bool VisitSignedEvalOperand([NotNull] sphereScript99Parser.SignedEvalOperandContext context)
            {
                result.Append(context.unaryOperator()?.GetText() ?? string.Empty);

                return(base.VisitSignedEvalOperand(context));
            }