Scale JS / @scale-codec/definition-runtime / DecodeTrace
Class: DecodeTrace
@scale-codec/definition-runtime.DecodeTrace
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new DecodeTrace(loc
)
Parameters
Name | Type |
---|---|
loc | string |
Defined in
packages/definition-runtime/src/tracking/decode-trace.ts:18
Properties
children
• children: DecodeTrace
[] = []
Defined in
packages/definition-runtime/src/tracking/decode-trace.ts:16
error
• Optional
error: unknown
Defined in
packages/definition-runtime/src/tracking/decode-trace.ts:15
input
• Optional
input: Object
Type declaration
Name | Type |
---|---|
offset | number |
Defined in
packages/definition-runtime/src/tracking/decode-trace.ts:13
loc
• loc: string
[]
Location
Defined in
packages/definition-runtime/src/tracking/decode-trace.ts:12
parent
• parent: null
| DecodeTrace
= null
Defined in
packages/definition-runtime/src/tracking/decode-trace.ts:7
result
• Optional
result: Object
Type declaration
Name | Type |
---|---|
offset | number |
value | unknown |
Defined in
packages/definition-runtime/src/tracking/decode-trace.ts:14
Accessors
isRoot
• get
isRoot(): boolean
Returns
boolean
Defined in
packages/definition-runtime/src/tracking/decode-trace.ts:26
Methods
findRoot
▸ findRoot(): DecodeTrace
Returns
Defined in
packages/definition-runtime/src/tracking/decode-trace.ts:22
refineLoc
▸ refineLoc(loc
): DecodeTrace
Parameters
Name | Type |
---|---|
loc | string |
Returns
Defined in
packages/definition-runtime/src/tracking/decode-trace.ts:35
setInput
▸ setInput(offset
): DecodeTrace
Parameters
Name | Type |
---|---|
offset | number |
Returns
Defined in
packages/definition-runtime/src/tracking/decode-trace.ts:40
setParent
▸ setParent(trace
): DecodeTrace
Parameters
Name | Type |
---|---|
trace | DecodeTrace |