public void Method(string methodName, string parameterList, Action <JSBlock> methodBodyAction) { SetCurrentState(State.Method); builder.Method(methodName, parameterList, methodBodyAction); }