public override void DeclareGlobal(TypeDecl declaration) { var type = OutSet.CreateType(convertToType(declaration)); OutSet.DeclareGlobal(type); }
/// <summary> /// Declare function into global context /// </summary> /// <param name="declaration">Declared function</param> public virtual void DeclareGlobal(FunctionDecl declaration) { OutSet.DeclareGlobal(declaration, Flow.CurrentScript); }