void Trace() { if (list == nillable) { list = new List <ast.Identity>(); } var identity = new ast.Identity(); identity.name = ToString(); identity.line = Leaf.identity.line; identity.col = Leaf.identity.col; list.Add(identity); }
void Log(Identity identity, string message) { Console.Out.WriteLine("{0}:{1}: {2}", identity.line, identity.col, message); }
public static void Error(ast.Identity identity, string message) { Console.Out.WriteLine("{0}:{1}: {2}", identity.line, identity.col, message); }