public override void Accept(AstRoot root) { base.Accept(root); root.VisitChildren(this); }
/// <summary> /// Analyze the specified root. /// </summary> /// <param name="root">Root.</param> public void Analyze(AstRoot root) { Accept(root); }
/// <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); }
public virtual void Accept(AstRoot root) => Update(root);
public static LoreLLVMCompiler Create(AstRoot root, LoreModule module) { return(new LoreLLVMCompiler(root, module)); }
public static LoreLLVMCompiler Create(SymbolTable symbols, AstRoot root, LoreModule module) { return(new LoreLLVMCompiler(root, module, symbols)); }