Ejemplo n.º 1
0
        public CodePath CreateCodePath(CodePathType Type, int EndOffset, int BreakOffset)
        {
            CodePath C = new CodePath(this, Type, EndOffset, BreakOffset);

            this.ChildPaths.Add(C);
            return(C);
        }
Ejemplo n.º 2
0
        public CodePath CreateCodePath(CodePathType type, int endOffset, int breakOffset)
        {
            var c = new CodePath(this, type, endOffset, breakOffset);

            ChildPaths.Add(c);
            return(c);
        }
Ejemplo n.º 3
0
 public CodePath(CodePath Parent, CodePathType Type, int EndOffset, int BreakOffset)
 {
     this.Parent      = Parent;
     this.Type        = Type;
     this.EndOffset   = EndOffset;
     this.BreakOffset = BreakOffset;
     ChildPaths       = new List <CodePath>();
 }
Ejemplo n.º 4
0
 public CodePath(CodePath parent, CodePathType type, int endOffset, int breakOffset)
 {
     Parent      = parent;
     Type        = type;
     EndOffset   = endOffset;
     BreakOffset = breakOffset;
     ChildPaths  = new List <CodePath>();
 }
Ejemplo n.º 5
0
 public SwitchPath(CodePath Parent, CodePathType Type, int EndOffset, int BreakOffset)
     : base(Parent, Type, EndOffset, BreakOffset)
 {
     Offsets = new List <int>();
     Cases   = new Dictionary <int, List <string> >();
 }
Ejemplo n.º 6
0
 public SwitchPath(CodePath parent, CodePathType type, int endOffset, int breakOffset)
     : base(parent, type, endOffset, breakOffset)
 {
     Offsets = new List <int>();
     Cases   = new Dictionary <int, List <string> >();
 }