src code

instance method SpahQL.Token.SelectionQuery#evaluate

SpahQL.Token.SelectionQuery#evaluate(rootData, scopeData, scopePath) → Array
  • rootData (Object) – The entire root-level data structure being queried
  • scopeData (Object) – The data for the scope at which this query is being executed.
  • scopePath (String) – The string path for the root of the scopeData argument.

Evaluates all the path components in the given query in turn.