public void Visit(NodeInfix infix) { log.Error(infix.Span, "Expressions are not valid in this placement. Perhaps you meant to put it in a function?"); }
public void Visit(NodeInfix infix) { infix.left.Accept(this); infix.right.Accept(this); }
public void Visit(NodeInfix infix) { throw new NotImplementedException(); }
public void Visit(NodeInfix infix) { var image = infix.op.Image; Write("'(' "); infix.left.Accept(this); Write(" ')'"); // TODO(kai): maybe use something different if (Lex.Util.IsIdentifierStart(image[0])) Write(" `" + image + " "); else Write(" " + image + " "); Write("'(' "); infix.right.Accept(this); Write(" ')'"); }