public override bool VisitCustomFunctionEnclosedArgument([NotNull] sphereScript99Parser.CustomFunctionEnclosedArgumentContext context)
        {
            var literalTranspiler = new LiteralArgumentTranspiler(parentTranspiler, builder, false);

            literalTranspiler.Visit(context);

            return(true);
        }
Пример #2
0
        public override bool VisitCustomFunctionEnclosedArgument([NotNull] sphereScript99Parser.CustomFunctionEnclosedArgumentContext context)
        {
            if (context.quotedLiteralArgument() != null)
            {
                return(new LiteralArgumentTranspiler(parentTranspiler, builder, true).Visit(context));
            }

            return(parentTranspiler.Visit(context));
        }