Constructor
new SourcesCache()
Construct a new source cache instace.
- Source:
Extends
- NixASTNode
Methods
addSource(source)
Checks whether a given source exists and if not, adds it to the cache.
Parameters:
| Name | Type | Description |
|---|---|---|
source |
Source | Any source object |
- Source:
toNixAST()
- Source:
- See:
-
- NixASTNode#toNixAST