class SpahQL
Description
General instance wrapper for SpahQL data objects.
Classes
-
SpahQL.Callbacks
Stores and manages the dispatch of modification callbacks on any data source that can be queried with SpahQL.
-
SpahQL.DataHelper
This is a singleton helper dedicated to deep-merging complex JSON structures and returning both the merged data and a digest of modified paths within the structure.
-
SpahQL.Errors
A containing namespace for all exceptions generated within the SpahQL library.
-
SpahQL.Query
A
Query
instance is the result of running a string state query such as “/foo/bar/baz == 1” through theSpahQL.QueryParser
. Queries are parsed only once, upon registration. The QueryParser maintains a cache of pre-existing parsed queries keyed by the original query string. -
SpahQL.QueryParser
Parses string queries from data-*-if attributes and client-side responders and produces parsed
SpahQL.Query
instances. Maintains a cache of previously-parsed queries for speed. -
SpahQL.QueryRunner
Class responsible for executing parsed
SpahQL.Query
queries and returning sets ofSpahQL
instances. -
SpahQL.Strategiser
A generic handler class for managing SpahQL Strategies and applying them to SpahQL objects.
-
SpahQL.Token
A containing module for all token types - queries, filters, comparison operators, sets, literals etc. that are encountered during the parsing process.