public PegLoader(IEnumerable <string> paths, CaptureKeyAllocator captureKeyAllocator = null) { grammar = new ExtendedPegGrammar { CaptureKeyAllocator = captureKeyAllocator }; BasePaths = paths.ToList(); CaptureKeyAllocator = captureKeyAllocator; }
public CapturesToNodesConverter(string inputData, CaptureKeyAllocator captureKeyAllocator, IEnumerable <Capture> captures) { InputData = inputData; CaptureKeyAllocator = captureKeyAllocator; Captures = captures.ToList(); }