Function resolveVariableIdentifier

  • If the identifier can be successfully resolved as a variable, the result is returned as a Uint8Array. If the identifier references a known variable, but an error occurs in resolving it, the error is returned as a string. Otherwise, the identifier is not recognized as a variable, and this method simply returns false.

    Type Parameters

    • CompilationContext

    • Environment extends CompilerConfiguration<CompilationContext, string | false, string | false, string | false, string | false, string | false, string | false, Environment>

    Parameters

    • __namedParameters: {
          configuration: Environment;
          data: CompilationData<CompilationContext>;
          identifier: string;
      }
      • configuration: Environment
      • data: CompilationData<CompilationContext>
      • identifier: string

    Returns CompilerOperationError | CompilerOperationSkip | CompilerOperationSuccess

Generated using TypeDoc