public override void visit(StringLiteral n)
 {
     if (!stringTable.ContainsKey(n.Value))
         stringTable.Add(n.Value, ".LC" + stringTable.Count);
     Add(new StringAsParameter(stringTable[n.Value], parameterNum++));
 }
Пример #2
0
 public abstract void visit(StringLiteral n);
 public void visit(StringLiteral n)
 {
     throw new NotImplementedException();
 }
Пример #4
0
 public virtual void visit(StringLiteral n)
 {
     // Do nothing; leave the implementation to the main class
 }
 public override void visit(StringLiteral n)
 {
     n.Scope = Scope;
 }
Пример #6
0
 public ASTType visit(StringLiteral n)
 {
     return new StringType();
 }