SDTFClient
The client to use SDTFEngine and Parsers Pipeline APIs. It provides methods for interacting with the token tree of a repository.
Properties
engine
readonly engine: SDTFEngine;repository
readonly repository: {
readonly id: string;
readonly name: string;
readonly version: number;
readonly createdAt: string;
readonly updatedAt: string;
};Methods
getJSONTokenTree
clone
pick
query
renameNode
Example
update
withQuery
resolveAliases
remove
reset
executeEngine
forEachTokenState
mapTokenStates
getTokenState
getAllTokenStates
forEachCollectionState
mapCollectionStates
getCollectionState
getAllCollectionStates
forEachGroupState
mapGroupStates
getGroupState
getAllGroupStates
forEachQueryResult
mapQueryResults
createParsersPipelines
createParsersPipelinesFromRules
Last updated
Was this helpful?