Module mscript

Interface IFunctionContext

  • All Known Subinterfaces:
    IScriptContext
    All Known Implementing Classes:
    FunctionModel, ScriptModel

    public interface IFunctionContext
    This interface defines what compilation context is to be provided by the current compiled function.
    • Method Detail

      • resolveRegister

        java.lang.String resolveRegister​(java.lang.String variableName,
                                         FileContext ctx)
        Converts a local variable name to the corresponding register.
        Parameters:
        variableName - The name of the local variable or parameter.
        ctx - The file context of the access to the variable or parameter for error handling.
        Returns:
        The register at which the variable is located.