kcl → types →
BodyItem
This schema accepts exactly one of the following:
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: ImportStatement | No | |
items | [ ImportItem ] | No | |
path | string | No | |
raw_path | string | No | |
digest | [, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer] | No | |
start | integer | No | |
end | integer | No |
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: ExpressionStatement | No | |
expression | Expr | No | |
digest | [, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer] | No | |
start | integer | No | |
end | integer | No |
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: VariableDeclaration | No | |
declarations | [ VariableDeclarator ] | No | |
visibility | ItemVisibility | No | |
kind | VariableKind | No | |
digest | [, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer] | No | |
start | integer | No | |
end | integer | No |
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: ReturnStatement | No | |
argument | Expr | No | |
digest | [, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, integer] | No | |
start | integer | No | |
end | integer | No |