Inheritance: NodeExpr
Exemplo n.º 1
0
 public void Visit(NodeSuffix suffix)
 {
     log.Error(suffix.Span, "Expressions are not valid in this placement. Perhaps you meant to put it in a function?");
 }
Exemplo n.º 2
0
 public void Visit(NodeSuffix suffix)
 {
     suffix.target.Accept(this);
 }
Exemplo n.º 3
0
 public void Visit(NodeSuffix suffix)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 4
0
 public void Visit(NodeSuffix suffix)
 {
     var image = suffix.op.Image;
     Write("'(' ");
     suffix.target.Accept(this);
     Write(" ')'");
     // TODO(kai): maybe use something different
     if (Lex.Util.IsIdentifierStart(image[0]))
         Write(" `" + image + " ");
     else Write(" " + image + " ");
 }