Example
GitHub
Preparing search index...
The search index is not available
ic-reactor
ic-reactor
visitor
VisitField
Class VisitField<A>
Type Parameters
A
=
types
.
BaseActor
Hierarchy (
view full
)
types
.
IDL
.
Visitor
<
string
,
ServiceField
<
A
>
|
MethodField
<
A
>
>
VisitField
Index
Constructors
constructor
Properties
args
Visitor
returns
Visitor
Methods
visit
Type
visit
Primitive
visit
Empty
visit
Bool
visit
Null
visit
Reserved
visit
Text
visit
Number
visit
Int
visit
Nat
visit
Float
visit
Fixed
Int
visit
Fixed
Nat
visit
Principal
visit
Construct
visit
Vec
visit
Opt
visit
Record
visit
Tuple
visit
Variant
visit
Rec
visit
Func
visit
Service
Constructors
constructor
new
Visit
Field
<
A
>
(
)
:
VisitField
<
A
>
Type Parameters
A
=
types
.
BaseActor
Returns
VisitField
<
A
>
Properties
Private
args
Visitor
args
Visitor
:
VisitArg
<
A
>
= ...
Private
returns
Visitor
returns
Visitor
:
VisitReturn
<
A
>
= ...
Methods
visit
Type
visit
Type
<
T
>
(
t
,
data
)
:
ServiceField
<
A
>
|
MethodField
<
A
>
Type Parameters
T
Parameters
t
:
types
.
IDL
.
Type
<
T
>
data
:
string
Returns
ServiceField
<
A
>
|
MethodField
<
A
>
visit
Primitive
visit
Primitive
<
T
>
(
t
,
data
)
:
ServiceField
<
A
>
|
MethodField
<
A
>
Type Parameters
T
Parameters
t
:
types
.
IDL
.
PrimitiveType
<
T
>
data
:
string
Returns
ServiceField
<
A
>
|
MethodField
<
A
>
visit
Empty
visit
Empty
(
t
,
data
)
:
ServiceField
<
A
>
|
MethodField
<
A
>
Parameters
t
:
types
.
IDL
.
EmptyClass
data
:
string
Returns
ServiceField
<
A
>
|
MethodField
<
A
>
visit
Bool
visit
Bool
(
t
,
data
)
:
ServiceField
<
A
>
|
MethodField
<
A
>
Parameters
t
:
types
.
IDL
.
BoolClass
data
:
string
Returns
ServiceField
<
A
>
|
MethodField
<
A
>
visit
Null
visit
Null
(
t
,
data
)
:
ServiceField
<
A
>
|
MethodField
<
A
>
Parameters
t
:
types
.
IDL
.
NullClass
data
:
string
Returns
ServiceField
<
A
>
|
MethodField
<
A
>
visit
Reserved
visit
Reserved
(
t
,
data
)
:
ServiceField
<
A
>
|
MethodField
<
A
>
Parameters
t
:
types
.
IDL
.
ReservedClass
data
:
string
Returns
ServiceField
<
A
>
|
MethodField
<
A
>
visit
Text
visit
Text
(
t
,
data
)
:
ServiceField
<
A
>
|
MethodField
<
A
>
Parameters
t
:
types
.
IDL
.
TextClass
data
:
string
Returns
ServiceField
<
A
>
|
MethodField
<
A
>
visit
Number
visit
Number
<
T
>
(
t
,
data
)
:
ServiceField
<
A
>
|
MethodField
<
A
>
Type Parameters
T
Parameters
t
:
types
.
IDL
.
PrimitiveType
<
T
>
data
:
string
Returns
ServiceField
<
A
>
|
MethodField
<
A
>
visit
Int
visit
Int
(
t
,
data
)
:
ServiceField
<
A
>
|
MethodField
<
A
>
Parameters
t
:
types
.
IDL
.
IntClass
data
:
string
Returns
ServiceField
<
A
>
|
MethodField
<
A
>
visit
Nat
visit
Nat
(
t
,
data
)
:
ServiceField
<
A
>
|
MethodField
<
A
>
Parameters
t
:
types
.
IDL
.
NatClass
data
:
string
Returns
ServiceField
<
A
>
|
MethodField
<
A
>
visit
Float
visit
Float
(
t
,
data
)
:
ServiceField
<
A
>
|
MethodField
<
A
>
Parameters
t
:
types
.
IDL
.
FloatClass
data
:
string
Returns
ServiceField
<
A
>
|
MethodField
<
A
>
visit
Fixed
Int
visit
Fixed
Int
(
t
,
data
)
:
ServiceField
<
A
>
|
MethodField
<
A
>
Parameters
t
:
types
.
IDL
.
FixedIntClass
data
:
string
Returns
ServiceField
<
A
>
|
MethodField
<
A
>
visit
Fixed
Nat
visit
Fixed
Nat
(
t
,
data
)
:
ServiceField
<
A
>
|
MethodField
<
A
>
Parameters
t
:
types
.
IDL
.
FixedNatClass
data
:
string
Returns
ServiceField
<
A
>
|
MethodField
<
A
>
visit
Principal
visit
Principal
(
t
,
data
)
:
ServiceField
<
A
>
|
MethodField
<
A
>
Parameters
t
:
types
.
IDL
.
PrincipalClass
data
:
string
Returns
ServiceField
<
A
>
|
MethodField
<
A
>
visit
Construct
visit
Construct
<
T
>
(
t
,
data
)
:
ServiceField
<
A
>
|
MethodField
<
A
>
Type Parameters
T
Parameters
t
:
types
.
IDL
.
ConstructType
<
T
>
data
:
string
Returns
ServiceField
<
A
>
|
MethodField
<
A
>
visit
Vec
visit
Vec
<
T
>
(
t
,
ty
,
data
)
:
ServiceField
<
A
>
|
MethodField
<
A
>
Type Parameters
T
Parameters
t
:
types
.
IDL
.
VecClass
<
T
>
ty
:
types
.
IDL
.
Type
<
T
>
data
:
string
Returns
ServiceField
<
A
>
|
MethodField
<
A
>
visit
Opt
visit
Opt
<
T
>
(
t
,
ty
,
data
)
:
ServiceField
<
A
>
|
MethodField
<
A
>
Type Parameters
T
Parameters
t
:
types
.
IDL
.
OptClass
<
T
>
ty
:
types
.
IDL
.
Type
<
T
>
data
:
string
Returns
ServiceField
<
A
>
|
MethodField
<
A
>
visit
Record
visit
Record
(
t
,
fields
,
data
)
:
ServiceField
<
A
>
|
MethodField
<
A
>
Parameters
t
:
types
.
IDL
.
RecordClass
fields
:
[
string
,
types
.
IDL
.
Type
<
any
>
]
[]
data
:
string
Returns
ServiceField
<
A
>
|
MethodField
<
A
>
visit
Tuple
visit
Tuple
<
T
>
(
t
,
components
,
data
)
:
ServiceField
<
A
>
|
MethodField
<
A
>
Type Parameters
T
extends
any
[]
Parameters
t
:
types
.
IDL
.
TupleClass
<
T
>
components
:
types
.
IDL
.
Type
<
any
>
[]
data
:
string
Returns
ServiceField
<
A
>
|
MethodField
<
A
>
visit
Variant
visit
Variant
(
t
,
fields
,
data
)
:
ServiceField
<
A
>
|
MethodField
<
A
>
Parameters
t
:
types
.
IDL
.
VariantClass
fields
:
[
string
,
types
.
IDL
.
Type
<
any
>
]
[]
data
:
string
Returns
ServiceField
<
A
>
|
MethodField
<
A
>
visit
Rec
visit
Rec
<
T
>
(
t
,
ty
,
data
)
:
ServiceField
<
A
>
|
MethodField
<
A
>
Type Parameters
T
Parameters
t
:
types
.
IDL
.
RecClass
<
T
>
ty
:
types
.
IDL
.
ConstructType
<
T
>
data
:
string
Returns
ServiceField
<
A
>
|
MethodField
<
A
>
visit
Func
visit
Func
(
t
,
functionName
)
:
MethodField
<
A
>
Parameters
t
:
types
.
IDL
.
FuncClass
functionName
:
types
.
FunctionName
<
A
>
Returns
MethodField
<
A
>
visit
Service
visit
Service
(
t
)
:
ServiceField
<
A
>
Parameters
t
:
types
.
IDL
.
ServiceClass
Returns
ServiceField
<
A
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
args
Visitor
returns
Visitor
visit
Type
visit
Primitive
visit
Empty
visit
Bool
visit
Null
visit
Reserved
visit
Text
visit
Number
visit
Int
visit
Nat
visit
Float
visit
Fixed
Int
visit
Fixed
Nat
visit
Principal
visit
Construct
visit
Vec
visit
Opt
visit
Record
visit
Tuple
visit
Variant
visit
Rec
visit
Func
visit
Service
ic-reactor
Loading...