コード例 #1
0
 public InlinedCharRangeTokenItem(ICharRangeTokenItem source, IOilexerGrammarTokenEntry sourceRoot, InlinedTokenEntry root)
     : base(source.Inverted, source.Range, source.Line, source.Column, source.Position)
 {
     this.Source           = source;
     this.SourceRoot       = sourceRoot;
     this.Root             = root;
     this.RepeatOptions    = source.RepeatOptions;
     this.Name             = source.Name;
     this.SiblingAmbiguity = source.SiblingAmbiguity;
 }
コード例 #2
0
 public CaptureTokenCharRangeStructuralItem(ICharRangeTokenItem source)
 {
     this.sources = new ControlledCollection <ICharRangeTokenItem>();
     this.sources.baseList.Add(source);
     this.ResultType = ResultedDataType.Character;
 }