SPeCS Packages Documentation
    Preparing search index...

    DataStore used in Clava.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    allowedKeys: Set<string>
    checkKeys: boolean
    definition: any
    javaDataStoreInstance: JavaClasses.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 File | undefined

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

    • Returns File | undefined

      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 string[]

    • 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

    • 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: string | File
      • OptionaloptionalFile: string | File

      Returns DataStore

    • Store the given value with the given key.

      Parameters

      • key: string
      • value: any

      Returns void

    • Parameters

      • fileOrBaseFolder: string | File
      • OptionaloptionalFile: string | File

      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