public void BeginMethod(
            string name,
            IrisType returnType,
            Variable[] parameters,
            Variable[] locals,
            bool entryPoint,
            string methodFileName)
        {
            if (!_outputEnabled)
                return;

            _emitter.BeginMethod(name, returnType, parameters, locals.ToArray(), entryPoint);
            if (_emitDebugInfo)
                _emitter.EmitMethodLanguageInfo();

            _methodFileName = methodFileName;
        }
 public ParametricCompiledTerm(Term term, Variable[] variables, Variable[] parameters)
 {
     compiledTerm = term.Compile(variables.Concat(parameters).ToArray());
     Variables = Array.AsReadOnly(variables.ToArray());
     Parameters = Array.AsReadOnly(parameters.ToArray());
 }