bool Exec(PegCharParser.Matcher startRule, out PegNode tree) { bool bMatches = startRule(); tree = ((PegCharParser)startRule.Target).GetRoot(); return(bMatches); }
internal SampleInfo(ESampleId grammarId,PegCharParser.Matcher startRule, string grammarName, string grammarDescription, string samplesDirectory, List<IParserPostProcessor> postProcessors) { this.grammarId = grammarId; this.startRule = startRule; grammarName_ = grammarName; grammarDescription_ = grammarDescription; this.samplesDirectory = samplesDirectory; postProcessors_ = postProcessors; }