DataStore used in Clava.

Hierarchy (view full)

Constructors

Properties

allowedKeys: any
checkKeys: boolean
definition: any
javaDataStoreInstance: DataStore
keyAliases: Record<string, string>

Methods

  • Parameters

    • key: string
    • alias: string

    Returns void

  • Parameters

    • key: string

    Returns any

    the value corresponding to the given key, or undefined if no value or null value is found

  • Returns undefined | File

    The configuration file, if one was used, or undefined otherwise.

  • Returns undefined | File

    The folder of the configuration file, if one was used, or undefined otherwise.

  • The folder that is considered the working folder of the current context.

    1. If a configuration file was used, returns the path of the configuration file;
    2. Otherwise, returns the folder from where the weaver was launched.

    Returns File

    The folder where the code represented by the AST will be written at the end of execution.

  • Returns any

  • Returns any

  • Returns any

    a java.io.File representing the current output folder of the weaver

  • Parameters

    • key: string

    Returns any

    java.lang.Class representing the type of the value of the given key

  • Returns any

    a number between 0 and 3, representing the verbose level (0 - less information, 3 - more information)

  • Checks if the given key has an associated value in the DataStore.

    Parameters

    • key: string

      The name of the key to check

    Returns boolean

    true if the data store has a value for the given key, false otherwise

  • Parameters

    • fileOrBaseFolder: any
    • OptionaloptionalFile: any

    Returns dataStore

  • Store the given value with the given key.

    Parameters

    • key: string
    • value: any

    Returns void

  • Parameters

    • fileOrBaseFolder: any
    • OptionaloptionalFile: any

    Returns void

  • Parameters

    • includeFolders: any

    Returns void

  • Parameters

    • logPath: any

    Returns void

  • Parameters

    • outputFolder: any

      a java.io.File or a String, representing the current output folder of the weaver

    Returns void

  • Parameters

    • sourceFolders: any

    Returns void

  • Parameters

    • toolsPath: any

    Returns void

  • Parameters

    • verboseLevel: number

      a number between 0 and 3, representing the verbose level (0 - less information, 3 - more information)

    Returns void