Beispiel #1
0
    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);
    }
Beispiel #2
0
 void Log(Identity identity, string message)
 {
     Console.Out.WriteLine("{0}:{1}: {2}", identity.line, identity.col, message);
 }
Beispiel #3
0
 public static void Error(ast.Identity identity, string message)
 {
     Console.Out.WriteLine("{0}:{1}: {2}", identity.line, identity.col, message);
 }