Ejemplo n.º 1
0
    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();
    }
Ejemplo n.º 2
0
 // Implement this function in your helper file to use a custom tree adaptor
 partial void CreateTreeAdaptor(ref CstBuilderForAntlr3 adaptor);