Antlr4.Codegen.DefaultOutputModelFactory.DefaultOutputModelFactory C# (CSharp) Méthode

DefaultOutputModelFactory() protected méthode

protected DefaultOutputModelFactory ( [ gen ) : System.Collections.Generic
gen [
Résultat System.Collections.Generic
        protected DefaultOutputModelFactory([NotNull] CodeGenerator gen)
        {
            this.gen = gen;
            this.g = gen.g;

            if (gen.GetTarget() == null)
            {
                throw new NotSupportedException("Cannot build an output model without a target.");
            }
        }