Esempio n. 1
0
        public PegLoader(IEnumerable <string> paths, CaptureKeyAllocator captureKeyAllocator = null)
        {
            grammar = new ExtendedPegGrammar
            {
                CaptureKeyAllocator = captureKeyAllocator
            };

            BasePaths           = paths.ToList();
            CaptureKeyAllocator = captureKeyAllocator;
        }
Esempio n. 2
0
 public CapturesToNodesConverter(string inputData, CaptureKeyAllocator captureKeyAllocator, IEnumerable <Capture> captures)
 {
     InputData           = inputData;
     CaptureKeyAllocator = captureKeyAllocator;
     Captures            = captures.ToList();
 }