public void defineLocalMethod() { try { FunctionSignature signature = new Signature(hasModifier(Modifier.VARARGS), _returnType, _argumentDefinitions); _scope .functions() .defineLocalMethod(this.getMethodName(), this.getInternalName(), signature, _modifiers); } catch (LookupException e) { throw new CompileException(_node, e.getMessage(), e); } }
public VariableResolution[] declareParameters() { return _scope.variables().declareParameters(_argumentDefinitions); }