示例#1
0
 public static PkgdefSegment LineComment(int startIndex, string text)
 {
     return(PkgdefTextSegment.Create(startIndex, text, PkgdefSegmentType.LineComment));
 }
示例#2
0
 public static PkgdefSegment NewLine(int startIndex, string text)
 {
     return(PkgdefTextSegment.Create(startIndex, text, PkgdefSegmentType.NewLine));
 }
示例#3
0
 public static PkgdefSegment Unrecognized(int startIndex, string text)
 {
     return(PkgdefTextSegment.Create(startIndex, text, PkgdefSegmentType.Unrecognized));
 }
示例#4
0
 public static PkgdefSegment Whitespace(int startIndex, string text)
 {
     return(PkgdefTextSegment.Create(startIndex, text, PkgdefSegmentType.Whitespace));
 }