예제 #1
0
        public override void DeclareGlobal(TypeDecl declaration)
        {
            var type = OutSet.CreateType(convertToType(declaration));

            OutSet.DeclareGlobal(type);
        }
예제 #2
0
 /// <summary>
 /// Declare function into global context
 /// </summary>
 /// <param name="declaration">Declared function</param>
 public virtual void DeclareGlobal(FunctionDecl declaration)
 {
     OutSet.DeclareGlobal(declaration, Flow.CurrentScript);
 }