/// <summary> /// Analyze the specified compiler and root. /// </summary> /// <param name="compiler">Compiler.</param> /// <param name="root">Root.</param> public static void Analyze(LoreLLVMCompiler compiler, AstRoot root) { var visitor = new PrototypeCompiler(compiler); visitor.Analyze(root); }
/// <summary> /// Initializes a new instance of the <see cref="PrototypeCompiler"/> class. /// </summary> /// <param name="compiler">Compiler.</param> PrototypeCompiler(LoreLLVMCompiler compiler) { Compiler = compiler; }