internal SemanticFunctions(NormalizeTree normalizeTree, PegNode rule) { normalizeTree_ = normalizeTree; LinkSemanticFunctionsToSemanticBlocks(rule); }
internal TryFuseCharsets(NormalizeTree normalizeTree, PegNode rule) { normalizeTree_ = normalizeTree; FuseAlternativeCharsets(rule); }
internal GenericParameters(NormalizeTree normalizeTree, PegNode rule) { normalizeTree_ = normalizeTree; genericParam_ = null; LinkToGenericParams(rule); }
void IParserPostProcessor.Postprocess(ParserPostProcessParams postProcessorParams) { TreeContext context = new TreeContext(postProcessorParams); var checker = new CheckGrammar(context); if (!checker.bOk_) return; var normalize = new NormalizeTree(context,checker.setRules_); if (!normalize.bOk_) return; Peg.CSharp.PegCSharpGenerator cSharpGenerator = new Peg.CSharp.PegCSharpGenerator(context); }