public static object VisitLiteral(NyaParser.StringLiteralContext context) { string rawString = context.GetText(); rawString = rawString.Substring(1, rawString.Length - 2); string unescaped = StringHelper.StringFromCSharpLiteral(rawString); return(unescaped); }
public override object VisitStringLiteral([NotNull] NyaParser.StringLiteralContext context) { return(LiteralHelper.VisitLiteral(context)); }