public TestParser(ITokenStream input, RecognizerSharedState state) : base(input, state) { this.state.ruleMemo = new System.Collections.Generic.Dictionary <int, int> [12 + 1]; CstBuilderForAntlr3 treeAdaptor = default(CstBuilderForAntlr3); CreateTreeAdaptor(ref treeAdaptor); TreeAdaptor = treeAdaptor; OnCreated(); }
// Implement this function in your helper file to use a custom tree adaptor partial void CreateTreeAdaptor(ref CstBuilderForAntlr3 adaptor);