Exemplo n.º 1
0
        public override string ToString()
        {
            switch (Type)
            {
            case JumpType.Normal:
                return("#" + Target.BlockIndex);

            default:
                return(Type.ToString() + ":#" + Target.BlockIndex);
            }
        }
Exemplo n.º 2
0
 public Block(int start, string [] s, JumpType jt) : base(s, start, jt.ToString())
 {
     this.start = start;
     this.end   = end;
 }