Ejemplo n.º 1
0
 public override void DumpFields(Indenter stream)
 {
     foreach (Declaration declaration in _declarations)
     {
         stream.WriteLine("Declaration = {0,4:D4}", declaration.Id);
     }
     stream.WriteLine("Command = {0,4:D4}", _command.Id);
 }
Ejemplo n.º 2
0
 public override void DumpFields(Indenter stream)
 {
     stream.WriteLine("Name = {0}", _identifier);
     foreach (Expression argument in _arguments)
     {
         stream.WriteLine("Argument = {0,4:D4}", argument.Id);
     }
 }
Ejemplo n.º 3
0
        public override void DumpFields(Indenter stream)
        {
            base.DumpFields(stream);

            System.Text.StringBuilder mangled = new System.Text.StringBuilder(64);
            this.Encode(mangled);
            stream.WriteLine("Mangled = {0}", mangled.ToString());
            stream.WriteLine("Demangled = {0}", Demangler.Decode(mangled.ToString()));

            foreach (ParameterDeclaration parameter in _parameters)
                stream.WriteLine("Parameter = {0,4:D4}", parameter.Id);
            stream.WriteLine("Body = {0,4:D4}", (_body == null) ? "null" : _body.Id.ToString("D4"));
        }
Ejemplo n.º 4
0
Archivo: Node.cs Proyecto: bencz/Beryl
 public void Dump(Indenter stream)
 {
     // display the nodes in reverse order of creation as we create the tree bottom-up so the last are the topmost nodes
     for (int i = _count - 1; i >= 0; i--)
     {
         Node node = _index[i];
         stream.WriteLine("{0,4:D4} {1} {2}:", node.Id, node.ToString(), node.Position.ToString());
         stream.Indent();
         node.DumpFields(stream);
         stream.Dedent();
         stream.WriteLine();
     }
 }
Ejemplo n.º 5
0
 public void Dump(Indenter stream)
 {
     // display the nodes in reverse order of creation as we create the tree bottom-up so the last are the topmost nodes
     for (int i = _count - 1; i >= 0; i--)
     {
         Node node = _index[i];
         stream.WriteLine("{0,4:D4} {1} {2}:", node.Id, node.ToString(), node.Position.ToString());
         stream.Indent();
         node.DumpFields(stream);
         stream.Dedent();
         stream.WriteLine();
     }
 }
Ejemplo n.º 6
0
        public override void DumpFields(Indenter stream)
        {
            base.DumpFields(stream);

            System.Text.StringBuilder mangled = new System.Text.StringBuilder(64);
            this.Encode(mangled);
            stream.WriteLine("Mangled = {0}", mangled.ToString());
            stream.WriteLine("Demangled = {0}", Demangler.Decode(mangled.ToString()));

            foreach (ParameterDeclaration parameter in _parameters)
            {
                stream.WriteLine("Parameter = {0,4:D4}", parameter.Id);
            }
            stream.WriteLine("Body = {0,4:D4}", (_body == null) ? "null" : _body.Id.ToString("D4"));
        }
Ejemplo n.º 7
0
 public override void DumpFields(Indenter stream)
 {
     foreach (Command command in _commands)
     {
         stream.WriteLine("Command = {0,4:D4}", command.Id);
     }
 }
Ejemplo n.º 8
0
 public override void DumpFields(Indenter stream)
 {
     stream.WriteLine("Commands = {0,4:D4}", _commands.Id);
 }
Ejemplo n.º 9
0
 public override void DumpFields(Indenter stream)
 {
     stream.WriteLine("Name = {0}", _name);
 }
Ejemplo n.º 10
0
 public override void DumpFields(Indenter stream)
 {
     foreach (Command command in _commands)
         stream.WriteLine("Command = {0,4:D4}", command.Id);
 }
Ejemplo n.º 11
0
 public override void DumpFields(Indenter stream)
 {
     stream.WriteLine("Expression = {0,4:D4}", _expression.Id);
 }
Ejemplo n.º 12
0
 public override void DumpFields(Indenter stream)
 {
     stream.WriteLine("Expression = {0,4:D4}", _expression.Id);
 }
Ejemplo n.º 13
0
 public override void DumpFields(Indenter stream)
 {
     stream.WriteLine("Name = {0}", _identifier);
     foreach (Expression argument in _arguments)
         stream.WriteLine("Argument = {0,4:D4}", argument.Id);
 }
Ejemplo n.º 14
0
 public override void DumpFields(Indenter stream)
 {
     stream.WriteLine("Value = {0}", _value);
 }
Ejemplo n.º 15
0
 public override void DumpFields(Indenter stream)
 {
     stream.WriteLine("Commands = {0,4:D4}", _commands.Id);
 }
Ejemplo n.º 16
0
 public override void DumpFields(Indenter stream)
 {
     stream.WriteLine("Value = {0}", _value);
 }
Ejemplo n.º 17
0
 public override void DumpFields(Indenter stream)
 {
     stream.WriteLine("Name = {0}", _name);
 }
Ejemplo n.º 18
0
 public override void DumpFields(Indenter stream)
 {
     stream.WriteLine("Name = {0}", _name);
     stream.WriteLine("Kind = {0}", _kind.ToString());
     stream.WriteLine("Type = {0,4:D4}", _type.Id);
 }
Ejemplo n.º 19
0
 public override void DumpFields(Indenter stream)
 {
     stream.WriteLine("Value = {0}", _value ? "true" : "false");
 }
Ejemplo n.º 20
0
 public override void DumpFields(Indenter stream)
 {
     stream.WriteLine("Kind = {0}", _kind.ToString());
 }
Ejemplo n.º 21
0
 public override void DumpFields(Indenter stream)
 {
     stream.WriteLine("Value = {0}", _value ? "true" : "false");
 }
Ejemplo n.º 22
0
Archivo: Type.cs Proyecto: bencz/Beryl
 public override void DumpFields(Indenter stream)
 {
     stream.WriteLine("Kind = {0}", _kind.ToString());
 }
Ejemplo n.º 23
0
 public override void DumpFields(Indenter stream)
 {
     foreach (Declaration declaration in _declarations)
         stream.WriteLine("Declaration = {0,4:D4}", declaration.Id);
 }
Ejemplo n.º 24
0
 public override void DumpFields(Indenter stream)
 {
     stream.WriteLine("Name = {0}", _name);
     stream.WriteLine("Kind = {0}", _kind.ToString());
     stream.WriteLine("Type = {0,4:D4}", _type.Id);
 }