Example
GitHub
Preparing search index...
The search index is not available
ic-reactor
ic-reactor
visitor
VisitArgDetail
Class VisitArgDetail<A>
Visit the candid file and extract the details. It returns the extracted service details.
Type Parameters
A
=
types
.
BaseActor
Hierarchy (
view full
)
types
.
IDL
.
Visitor
<
string
,
ArgDetailRecord
<
A
>
|
MethodArgDetail
<
A
>
|
FieldDetailWithChild
|
FieldDetail
>
VisitArgDetail
Index
Constructors
constructor
Properties
counter
visited
Recursive
visit
Int
visit
Nat
visit
Float
visit
Fixed
Int
visit
Fixed
Nat
Methods
visit
Primitive
visit
Empty
visit
Reserved
visit
Construct
visit
Func
visit
Record
visit
Tuple
visit
Variant
visit
Rec
visit
Opt
visit
Vec
visit
Null
visi
Generic
Type
visit
Bool
visit
Type
visit
Principal
visit
Text
visit
Number
visit
Service
Constructors
constructor
new
Visit
Arg
Detail
<
A
>
(
)
:
VisitArgDetail
<
A
>
Type Parameters
A
=
types
.
BaseActor
Returns
VisitArgDetail
<
A
>
Properties
counter
counter
:
number
= 0
Private
visited
Recursive
visited
Recursive
:
Record
<
string
,
true
>
= {}
visit
Int
visit
Int
:
(
<
T
>
(
_t
,
label
)
=>
FieldDetail
)
= ...
Type declaration
<
T
>
(
_t
,
label
)
:
FieldDetail
Type Parameters
T
Parameters
_t
:
types
.
IDL
.
Type
<
T
>
label
:
string
Returns
FieldDetail
visit
Nat
visit
Nat
:
(
<
T
>
(
_t
,
label
)
=>
FieldDetail
)
= ...
Type declaration
<
T
>
(
_t
,
label
)
:
FieldDetail
Type Parameters
T
Parameters
_t
:
types
.
IDL
.
Type
<
T
>
label
:
string
Returns
FieldDetail
visit
Float
visit
Float
:
(
<
T
>
(
_t
,
label
)
=>
FieldDetail
)
= ...
Type declaration
<
T
>
(
_t
,
label
)
:
FieldDetail
Type Parameters
T
Parameters
_t
:
types
.
IDL
.
Type
<
T
>
label
:
string
Returns
FieldDetail
visit
Fixed
Int
visit
Fixed
Int
:
(
<
T
>
(
_t
,
label
)
=>
FieldDetail
)
= ...
Type declaration
<
T
>
(
_t
,
label
)
:
FieldDetail
Type Parameters
T
Parameters
_t
:
types
.
IDL
.
Type
<
T
>
label
:
string
Returns
FieldDetail
visit
Fixed
Nat
visit
Fixed
Nat
:
(
<
T
>
(
_t
,
label
)
=>
FieldDetail
)
= ...
Type declaration
<
T
>
(
_t
,
label
)
:
FieldDetail
Type Parameters
T
Parameters
_t
:
types
.
IDL
.
Type
<
T
>
label
:
string
Returns
FieldDetail
Methods
visit
Primitive
visit
Primitive
<
T
>
(
t
,
data
)
:
FieldDetail
|
FieldDetailWithChild
|
ArgDetailRecord
<
A
>
|
MethodArgDetail
<
A
>
Type Parameters
T
Parameters
t
:
types
.
IDL
.
PrimitiveType
<
T
>
data
:
string
Returns
FieldDetail
|
FieldDetailWithChild
|
ArgDetailRecord
<
A
>
|
MethodArgDetail
<
A
>
visit
Empty
visit
Empty
(
t
,
data
)
:
FieldDetail
|
FieldDetailWithChild
|
ArgDetailRecord
<
A
>
|
MethodArgDetail
<
A
>
Parameters
t
:
types
.
IDL
.
EmptyClass
data
:
string
Returns
FieldDetail
|
FieldDetailWithChild
|
ArgDetailRecord
<
A
>
|
MethodArgDetail
<
A
>
visit
Reserved
visit
Reserved
(
t
,
data
)
:
FieldDetail
|
FieldDetailWithChild
|
ArgDetailRecord
<
A
>
|
MethodArgDetail
<
A
>
Parameters
t
:
types
.
IDL
.
ReservedClass
data
:
string
Returns
FieldDetail
|
FieldDetailWithChild
|
ArgDetailRecord
<
A
>
|
MethodArgDetail
<
A
>
visit
Construct
visit
Construct
<
T
>
(
t
,
data
)
:
FieldDetail
|
FieldDetailWithChild
|
ArgDetailRecord
<
A
>
|
MethodArgDetail
<
A
>
Type Parameters
T
Parameters
t
:
types
.
IDL
.
ConstructType
<
T
>
data
:
string
Returns
FieldDetail
|
FieldDetailWithChild
|
ArgDetailRecord
<
A
>
|
MethodArgDetail
<
A
>
visit
Func
visit
Func
<
M
>
(
t
,
functionName
)
:
MethodArgDetail
<
A
>
Type Parameters
M
extends
string
Parameters
t
:
types
.
IDL
.
FuncClass
functionName
:
M
Returns
MethodArgDetail
<
A
>
visit
Record
visit
Record
(
_t
,
_fields
,
label
)
:
FieldDetailWithChild
Parameters
_t
:
types
.
IDL
.
RecordClass
_fields
:
[
string
,
types
.
IDL
.
Type
<
any
>
]
[]
label
:
string
Returns
FieldDetailWithChild
visit
Tuple
visit
Tuple
<
T
>
(
_t
,
components
,
label
)
:
FieldDetailWithChild
Type Parameters
T
extends
types
.
IDL
.
Type
<
any
>
[]
Parameters
_t
:
types
.
IDL
.
TupleClass
<
T
>
components
:
types
.
IDL
.
Type
<
any
>
[]
label
:
string
Returns
FieldDetailWithChild
visit
Variant
visit
Variant
(
_t
,
_fields
,
label
)
:
FieldDetailWithChild
Parameters
_t
:
types
.
IDL
.
VariantClass
_fields
:
[
string
,
types
.
IDL
.
Type
<
any
>
]
[]
label
:
string
Returns
FieldDetailWithChild
visit
Rec
visit
Rec
<
T
>
(
_t
,
ty
,
label
)
:
FieldDetailWithChild
Type Parameters
T
Parameters
_t
:
types
.
IDL
.
RecClass
<
T
>
ty
:
types
.
IDL
.
ConstructType
<
T
>
label
:
string
Returns
FieldDetailWithChild
visit
Opt
visit
Opt
<
T
>
(
_t
,
ty
,
label
)
:
FieldDetailWithChild
Type Parameters
T
Parameters
_t
:
types
.
IDL
.
OptClass
<
T
>
ty
:
types
.
IDL
.
Type
<
T
>
label
:
string
Returns
FieldDetailWithChild
visit
Vec
visit
Vec
<
T
>
(
_t
,
ty
,
label
)
:
FieldDetailWithChild
Type Parameters
T
Parameters
_t
:
types
.
IDL
.
VecClass
<
T
>
ty
:
types
.
IDL
.
Type
<
T
>
label
:
string
Returns
FieldDetailWithChild
visit
Null
visit
Null
(
_t
,
label
)
:
FieldDetail
Parameters
_t
:
types
.
IDL
.
NullClass
label
:
string
Returns
FieldDetail
Private
visi
Generic
Type
visi
Generic
Type
(
label
)
:
FieldDetail
Parameters
label
:
string
Returns
FieldDetail
visit
Bool
visit
Bool
(
_t
,
label
)
:
FieldDetail
Parameters
_t
:
types
.
IDL
.
BoolClass
label
:
string
Returns
FieldDetail
visit
Type
visit
Type
<
T
>
(
_t
,
label
)
:
FieldDetail
Type Parameters
T
Parameters
_t
:
types
.
IDL
.
Type
<
T
>
label
:
string
Returns
FieldDetail
visit
Principal
visit
Principal
(
_t
,
label
)
:
FieldDetail
Parameters
_t
:
types
.
IDL
.
PrincipalClass
label
:
string
Returns
FieldDetail
visit
Text
visit
Text
(
_t
,
label
)
:
FieldDetail
Parameters
_t
:
types
.
IDL
.
TextClass
label
:
string
Returns
FieldDetail
visit
Number
visit
Number
<
T
>
(
_t
,
label
)
:
FieldDetail
Type Parameters
T
Parameters
_t
:
types
.
IDL
.
Type
<
T
>
label
:
string
Returns
FieldDetail
visit
Service
visit
Service
(
t
)
:
ArgDetailRecord
<
A
>
Parameters
t
:
types
.
IDL
.
ServiceClass
Returns
ArgDetailRecord
<
A
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
counter
visited
Recursive
visit
Int
visit
Nat
visit
Float
visit
Fixed
Int
visit
Fixed
Nat
visit
Primitive
visit
Empty
visit
Reserved
visit
Construct
visit
Func
visit
Record
visit
Tuple
visit
Variant
visit
Rec
visit
Opt
visit
Vec
visit
Null
visi
Generic
Type
visit
Bool
visit
Type
visit
Principal
visit
Text
visit
Number
visit
Service
ic-reactor
Loading...
Visit the candid file and extract the details. It returns the extracted service details.