Antlr4.Tool.BuildDependencyGenerator.LoadDependencyTemplates C# (CSharp) Method

LoadDependencyTemplates() public method

public LoadDependencyTemplates ( ) : void
return void
        public virtual void LoadDependencyTemplates()
        {
            if (templates != null)
                return;

            string fileName = Path.Combine("Tool", "Templates", "depend.stg");
            templates = new TemplateGroupFile(
                Path.Combine(
                    Path.GetDirectoryName(typeof(AntlrTool).GetTypeInfo().Assembly.Location),
                    fileName),
                Encoding.UTF8);
        }