示例#1
0
 public Scope(Scope parent, string tag)
 {
     _parent = parent;
     _job = parent._job;
     _currentPath = parent._currentPath + "/" + tag;
     _inRow = parent._inRow || _job.IsRowScope(_currentPath);
     _captures = (parent._inRow) ? parent._captures : new Dictionary<String, String>(parent._captures);
 }
示例#2
0
 public Scope(Job job)
 {
     _job = job;
     _captures = new Dictionary<string, string>();
 }