예제 #1
0
 public HostLine(HostLineKind kind, HostEntry? entry_ = null, string comment_ = null, HostLineError? error_ = null, string line_ = null)
 {
     Kind = kind;
     Entry_ = entry_;
     Comment_ = comment_;
     Error_ = error_;
     Line = line_ ?? mkLine(Entry_, Comment_);
 }
예제 #2
0
 static HostLine Error(HostLineError error, string line)
 {
     return new HostLine(HostLineKind.ParseError, error_: error, line_: line);
 }