예제 #1
0
        private void CompileConstructors(CompileManager manager)
        {
            foreach (Constructor constructor in @class.Constructors)
            {
                CompileMethodInfo methodInfo = new ConstructorCompiler(constructor).Compile(manager);

                manager.AddMethod(methodInfo);
            }
        }
예제 #2
0
        private void CompileMethods(CompileManager manager)
        {
            foreach (Method method in @class.Methods)
            {
                CompileMethodInfo methodInfo = new MethodCompiler(method).Compile(manager);

                manager.AddMethod(methodInfo);
            }
        }