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; }
public CaptureTokenCharRangeStructuralItem(ICharRangeTokenItem source) { this.sources = new ControlledCollection <ICharRangeTokenItem>(); this.sources.baseList.Add(source); this.ResultType = ResultedDataType.Character; }