コード例 #1
0
 public SemanticAtom Visit(Ast.String n)
 {
     AddToStringTable(n.Str);
     return(null);
 }
コード例 #2
0
 public void Visit(Ast.String n)
 {
     Helpers.WriteColor(n.Str, ConsoleColor.DarkMagenta, ConsoleColor.Black);
 }
コード例 #3
0
 public void Visit(Ast.String n)
 {
     Globals.Builder.WriteBinaryOp("lea", "rax", Globals.StringTable[n.Str], $"[{n.Location.StartLine}, {n.Location.StartColumn}] Explicit string.");
 }
コード例 #4
0
 public SemanticAtom Visit(Ast.String n)
 {
     n.RealizedType = Primitive.String;
     return(n.RealizedType);
 }