public override Lazy <object> VisitStringLiteral(QuestScriptParser.StringLiteralContext context)
 {
     return(new Lazy <object>(() =>
     {
         var stringValue = context.GetText().Trim('"').Replace("\\\"", "\"");
         return stringValue;
     }));
 }
Beispiel #2
0
 public override ObjectType VisitStringLiteral(QuestScriptParser.StringLiteralContext context)
 {
     return(ObjectType.String);
 }