Skip to content

@aldea/sdk / Exports / abi / AbiQuery

Class: AbiQuery

abi.AbiQuery

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new AbiQuery(abi): AbiQuery

Parameters

NameType
abiAbi

Returns

AbiQuery

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

NameType
idxnumber

Returns

AbiQuery

Defined in

packages/core/dist/abi/query.d.ts:29


byKind

byKind(kind): AbiQuery

Parameters

NameType
kindCodeKind

Returns

AbiQuery

Defined in

packages/core/dist/abi/query.d.ts:27

byKind(kinds): AbiQuery

Parameters

NameType
kindsCodeKind[]

Returns

AbiQuery

Defined in

packages/core/dist/abi/query.d.ts:28


byName

byName(name): AbiQuery

Parameters

NameType
namestring

Returns

AbiQuery

Defined in

packages/core/dist/abi/query.d.ts:30


fromExports

fromExports(): AbiQuery

Returns

AbiQuery

Defined in

packages/core/dist/abi/query.d.ts:31


fromImports

fromImports(): AbiQuery

Returns

AbiQuery

Defined in

packages/core/dist/abi/query.d.ts:32


getClass

getClass(): ClassNode

Returns

ClassNode

Defined in

packages/core/dist/abi/query.d.ts:9


getClassFull

getClassFull(): ClassNode

Returns

ClassNode

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

ClassNode[]

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

NameType
namestring

Returns

FieldNode

Defined in

packages/core/dist/abi/query.d.ts:15

getField(idx): FieldNode

Parameters

NameType
idxnumber

Returns

FieldNode

Defined in

packages/core/dist/abi/query.d.ts:16


getFieldIdx

getFieldIdx(name): number

Parameters

NameType
namestring

Returns

number

Defined in

packages/core/dist/abi/query.d.ts:17


getFieldsFull

getFieldsFull(): FieldNode[]

Returns

FieldNode[]

Defined in

packages/core/dist/abi/query.d.ts:18


getFunction

getFunction(): FunctionNode

Returns

FunctionNode

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

InterfaceNode

Defined in

packages/core/dist/abi/query.d.ts:12


getInterfaceFull

getInterfaceFull(): InterfaceNode

Returns

InterfaceNode

Defined in

packages/core/dist/abi/query.d.ts:13


getInterfaceParents

getInterfaceParents(): InterfaceNode[]

Returns

InterfaceNode[]

Defined in

packages/core/dist/abi/query.d.ts:25


getMethod

getMethod(name): MethodNode

Parameters

NameType
namestring

Returns

MethodNode

Defined in

packages/core/dist/abi/query.d.ts:19

getMethod(idx): MethodNode

Parameters

NameType
idxnumber

Returns

MethodNode

Defined in

packages/core/dist/abi/query.d.ts:20


getMethodIdx

getMethodIdx(name): number

Parameters

NameType
namestring

Returns

number

Defined in

packages/core/dist/abi/query.d.ts:21


getMethodsFull

getMethodsFull(): MethodNode[]

Returns

MethodNode[]

Defined in

packages/core/dist/abi/query.d.ts:22


getObject

getObject(): ObjectNode

Returns

ObjectNode

Defined in

packages/core/dist/abi/query.d.ts:14


reset

reset(): AbiQuery

Returns

AbiQuery

Defined in

packages/core/dist/abi/query.d.ts:35


search(name): MethodNode | FunctionNode | ClassNode | InterfaceNode | ObjectNode | ProxyNode | FieldNode

Parameters

NameType
namestring

Returns

MethodNode | FunctionNode | ClassNode | InterfaceNode | ObjectNode | ProxyNode | FieldNode

Defined in

packages/core/dist/abi/query.d.ts:34


toClassParent

toClassParent(): AbiQuery

Returns

AbiQuery

Defined in

packages/core/dist/abi/query.d.ts:33