Interface extending ParseConfigHost to support ParseConfigFile that reads config file and reports errors
Interface extending ParseConfigHost to support ParseConfigFile that reads config file and reports errors
(current-directory parse-config-file-host)
Returns: string
**Returns:** `string`
(directories parse-config-file-host path)
Parameters:
path
: string
Returns: string[]
**Parameters:** - `path`: `string` **Returns:** `string[]`
(directory-exists? parse-config-file-host directory-name)
Parameters:
directory-name
: string
Returns: boolean
**Parameters:** - `directory-name`: `string` **Returns:** `boolean`
(file-exists? parse-config-file-host path)
Gets a value indicating whether the specified path exists and is a file.
Parameters:
path
: string
- The path to test.Returns: boolean
Gets a value indicating whether the specified path exists and is a file. **Parameters:** - `path`: `string` - The path to test. **Returns:** `boolean`
(on-un-recoverable-config-file-diagnostic parse-config-file-host)
Reports unrecoverable error when parsing config file
Returns: DiagnosticReporter
Reports unrecoverable error when parsing config file **Returns:** `DiagnosticReporter`
(read-directory parse-config-file-host root-dir extensions)
(read-directory parse-config-file-host root-dir extensions excludes)
(read-directory parse-config-file-host root-dir extensions excludes includes)
(read-directory parse-config-file-host
root-dir
extensions
excludes
includes
depth)
Parameters:
root-dir
: string
extensions
: readonly string[]
excludes
: readonly string[] | undefined
includes
: readonly string[]
depth
: number | undefined
Returns: readonly string[]
**Parameters:** - `root-dir`: `string` - `extensions`: `readonly string[]` - `excludes`: `readonly string[] | undefined` - `includes`: `readonly string[]` - `depth`: `number | undefined` **Returns:** `readonly string[]`
(read-file parse-config-file-host path)
Parameters:
path
: string
Returns: string | undefined
**Parameters:** - `path`: `string` **Returns:** `string | undefined`
(realpath parse-config-file-host path)
Resolve a symbolic link.
Parameters:
path
: string
Returns: string
Resolve a symbolic link. **Parameters:** - `path`: `string` **Returns:** `string`
(set-on-un-recoverable-config-file-diagnostic! parse-config-file-host value)
Reports unrecoverable error when parsing config file
Reports unrecoverable error when parsing config file
(set-use-case-sensitive-file-names! parse-config-file-host value)
(trace parse-config-file-host s)
Parameters:
s
: string
Returns: void
**Parameters:** - `s`: `string` **Returns:** `void`
(use-case-sensitive-file-names? parse-config-file-host)
Returns: boolean
**Returns:** `boolean`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close