예제 #1
0
파일: CodeRange.cs 프로젝트: hultqvist/lax
        public CodeRange(CodePosition start, CodePosition end)
        {
            Debug.Assert(start.Line < end.Line || start.Line == end.Line && start.Column <= end.Column);

            this.Start = start;
            this.End = end;
        }
예제 #2
0
파일: CodeRange.cs 프로젝트: hultqvist/lax
 public CodeRange(CodePosition pos)
     : this(pos, pos)
 {
 }
예제 #3
0
파일: CodeRange.cs 프로젝트: hultqvist/lax
 public CodeRange()
 {
     Start = new CodePosition();
     End = new CodePosition();
 }