- <init>
Creates a new instance of Terser
- get
Gets the string value of the field specified. See the class docs for syntax of
the location spec.
- set
Sets the string value of the field specified. See class docs for location spec
syntax.
- getFinder
Returns the segment finder used by this Terser. Navigating the finder will
influence the behaviour o
- numComponents
Returns the number of components in the given type, i.e. the number of standard
components (e.g. 6 f
- numSubComponents
Returns the number of sub-components in the specified component, i.e. the number
of standard sub-com
- getComponent
Returns the component (or sub-component, as the case may be) at the given index.
If it does not exis
- getIndices
Given a Terser path, returns an array containing field num, field rep,
component, and subcomponent.
- getPrimitive
Returns the Primitive object at the given location in the given field. It is
intended that the given
- getSegment
Returns the segment specified in the given segment_path_spec.
- numStandardComponents