File: path.coffee
Defined in: |
Method Summary
- ? (void) makeKey(model, path, subclasses) Produce a key suitable for indexing paths with.
- ? (PathInfo) PathInfo.parse(model, path, subclasses = {}) Parse a string, or stringable thing, into a PathInfo object, given a model to describe the data model and a listing of the optional subclass constraints.
- ? (void) PathInfo.flushCache() Remove cached instances from memory.
Method Details
? (void) makeKey(model, path, subclasses)
Produce a key suitable for indexing paths with.
? (PathInfo) PathInfo.parse(model, path, subclasses = {})
Parse a string, or stringable thing, into a PathInfo object, given a model to describe the data model and a listing of the optional subclass constraints.
@subclasses [Object
@throws if this path is invalid.
? (void) PathInfo.flushCache()
Remove cached instances from memory. Could be useful in long lived instances.