@aldea/sdk / Exports / abi / AbiQuery
Class: AbiQuery
abi.AbiQuery
Table of contents
Constructors
Properties
Accessors
Methods
- allCode
- byIndex
- byKind
- byName
- fromExports
- fromImports
- getClass
- getClassFull
- getClassInterfaces
- getClassParents
- getCode
- getField
- getFieldIdx
- getFieldsFull
- getFunction
- getIndex
- getInterface
- getInterfaceFull
- getInterfaceParents
- getMethod
- getMethodIdx
- getMethodsFull
- getObject
- reset
- search
- toClassParent
Constructors
constructor
• new AbiQuery(abi
): AbiQuery
Parameters
Name | Type |
---|---|
abi | Abi |
Returns
Defined in
packages/core/dist/abi/query.d.ts:5
Properties
#private
• Private
#private: any
Defined in
packages/core/dist/abi/query.d.ts:3
abi
• abi: Abi
Defined in
packages/core/dist/abi/query.d.ts:4
Accessors
hasResult
• get
hasResult(): boolean
Returns
boolean
Defined in
packages/core/dist/abi/query.d.ts:6
Methods
allCode
▸ allCode(): (FunctionNode
| ClassNode
| InterfaceNode
| ObjectNode
| ProxyNode
)[]
Returns
(FunctionNode
| ClassNode
| InterfaceNode
| ObjectNode
| ProxyNode
)[]
Defined in
packages/core/dist/abi/query.d.ts:7
byIndex
▸ byIndex(idx
): AbiQuery
Parameters
Name | Type |
---|---|
idx | number |
Returns
Defined in
packages/core/dist/abi/query.d.ts:29
byKind
▸ byKind(kind
): AbiQuery
Parameters
Name | Type |
---|---|
kind | CodeKind |
Returns
Defined in
packages/core/dist/abi/query.d.ts:27
▸ byKind(kinds
): AbiQuery
Parameters
Name | Type |
---|---|
kinds | CodeKind [] |
Returns
Defined in
packages/core/dist/abi/query.d.ts:28
byName
▸ byName(name
): AbiQuery
Parameters
Name | Type |
---|---|
name | string |
Returns
Defined in
packages/core/dist/abi/query.d.ts:30
fromExports
▸ fromExports(): AbiQuery
Returns
Defined in
packages/core/dist/abi/query.d.ts:31
fromImports
▸ fromImports(): AbiQuery
Returns
Defined in
packages/core/dist/abi/query.d.ts:32
getClass
▸ getClass(): ClassNode
Returns
Defined in
packages/core/dist/abi/query.d.ts:9
getClassFull
▸ getClassFull(): ClassNode
Returns
Defined in
packages/core/dist/abi/query.d.ts:10
getClassInterfaces
▸ getClassInterfaces(): (InterfaceNode
| ProxyInterfaceNode
)[]
Returns
(InterfaceNode
| ProxyInterfaceNode
)[]
Defined in
packages/core/dist/abi/query.d.ts:23
getClassParents
▸ getClassParents(): ClassNode
[]
Returns
Defined in
packages/core/dist/abi/query.d.ts:24
getCode
▸ getCode(): FunctionNode
| ClassNode
| InterfaceNode
| ObjectNode
| ProxyNode
Returns
FunctionNode
| ClassNode
| InterfaceNode
| ObjectNode
| ProxyNode
Defined in
packages/core/dist/abi/query.d.ts:8
getField
▸ getField(name
): FieldNode
Parameters
Name | Type |
---|---|
name | string |
Returns
Defined in
packages/core/dist/abi/query.d.ts:15
▸ getField(idx
): FieldNode
Parameters
Name | Type |
---|---|
idx | number |
Returns
Defined in
packages/core/dist/abi/query.d.ts:16
getFieldIdx
▸ getFieldIdx(name
): number
Parameters
Name | Type |
---|---|
name | string |
Returns
number
Defined in
packages/core/dist/abi/query.d.ts:17
getFieldsFull
▸ getFieldsFull(): FieldNode
[]
Returns
Defined in
packages/core/dist/abi/query.d.ts:18
getFunction
▸ getFunction(): FunctionNode
Returns
Defined in
packages/core/dist/abi/query.d.ts:11
getIndex
▸ getIndex(): number
Returns
number
Defined in
packages/core/dist/abi/query.d.ts:26
getInterface
▸ getInterface(): InterfaceNode
Returns
Defined in
packages/core/dist/abi/query.d.ts:12
getInterfaceFull
▸ getInterfaceFull(): InterfaceNode
Returns
Defined in
packages/core/dist/abi/query.d.ts:13
getInterfaceParents
▸ getInterfaceParents(): InterfaceNode
[]
Returns
Defined in
packages/core/dist/abi/query.d.ts:25
getMethod
▸ getMethod(name
): MethodNode
Parameters
Name | Type |
---|---|
name | string |
Returns
Defined in
packages/core/dist/abi/query.d.ts:19
▸ getMethod(idx
): MethodNode
Parameters
Name | Type |
---|---|
idx | number |
Returns
Defined in
packages/core/dist/abi/query.d.ts:20
getMethodIdx
▸ getMethodIdx(name
): number
Parameters
Name | Type |
---|---|
name | string |
Returns
number
Defined in
packages/core/dist/abi/query.d.ts:21
getMethodsFull
▸ getMethodsFull(): MethodNode
[]
Returns
Defined in
packages/core/dist/abi/query.d.ts:22
getObject
▸ getObject(): ObjectNode
Returns
Defined in
packages/core/dist/abi/query.d.ts:14
reset
▸ reset(): AbiQuery
Returns
Defined in
packages/core/dist/abi/query.d.ts:35
search
▸ search(name
): MethodNode
| FunctionNode
| ClassNode
| InterfaceNode
| ObjectNode
| ProxyNode
| FieldNode
Parameters
Name | Type |
---|---|
name | string |
Returns
MethodNode
| FunctionNode
| ClassNode
| InterfaceNode
| ObjectNode
| ProxyNode
| FieldNode
Defined in
packages/core/dist/abi/query.d.ts:34
toClassParent
▸ toClassParent(): AbiQuery
Returns
Defined in
packages/core/dist/abi/query.d.ts:33