public override string ToString(string indent, bool last) { return (indent + NodePrefix(last) + (TypeOfCall == CallType.VALUE ? "." : "->") + "\r\n" + PostfixNode.ToString(indent + ChildrenPrefix(last), false) + Id.ToString(indent + ChildrenPrefix(last), true)); }
public override string ToString(string indent, bool last) { return (indent + NodePrefix(last) + $"[]" + "\r\n" + PostfixNode.ToString(indent + ChildrenPrefix(last), false) + Exp.ToString(indent + ChildrenPrefix(last), true)); }
public override string ToString(string indent, bool last) { return (indent + NodePrefix(last) + $"()" + "\r\n" + PostfixNode.ToString(indent + ChildrenPrefix(last), ExpList is NullStat) + ExpList.ToString(indent + ChildrenPrefix(last), true)); }