public override bool VisitQuotedLiteralArgument([NotNull] sphereScript99Parser.QuotedLiteralArgumentContext context)
        {
            var literalTranspiler = new LiteralArgumentTranspiler(parentTranspiler, builder, true);

            literalTranspiler.Visit(context);

            return(true);
        }
Esempio n. 2
0
        public override bool VisitQuotedLiteralArgument([NotNull] sphereScript99Parser.QuotedLiteralArgumentContext context)
        {
            if (!stripDoubleQuotes)
            {
                builder.Append('"');
            }

            if (context.innerQuotedLiteralArgument() != null)
            {
                Visit(context.innerQuotedLiteralArgument());
            }

            if (!stripDoubleQuotes)
            {
                builder.Append('"');
            }

            return(true);
        }
        public override bool VisitQuotedLiteralArgument([NotNull] sphereScript99Parser.QuotedLiteralArgumentContext context)
        {
            arguments.Add($"quoted: {context.innerQuotedLiteralArgument()?.GetText() ?? string.Empty}");

            return(true);
        }