Пример #1
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);
        }