Antlr4.Codegen.Model.Decl.StructDecl.StructDecl C# (CSharp) Method

StructDecl() public method

public StructDecl ( OutputModelFactory factory, Rule r ) : System.Collections.Generic
factory OutputModelFactory
r Antlr4.Tool.Rule
return System.Collections.Generic
        public StructDecl(OutputModelFactory factory, Rule r)
            : base(factory, factory.GetTarget().GetRuleFunctionContextStructName(r))
        {
            AddDispatchMethods(r);
            derivedFromName = r.name;
            provideCopyFrom = r.HasAltSpecificContexts();
        }