kcl → types →
BinaryPart
This schema accepts exactly one of the following:
Type: object
Properties
Property | Type | Description | Required |
---|---|---|---|
type | enum: Literal | No | |
value | LiteralValue | No | |
raw | 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: Identifier | No | |
name | 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: BinaryExpression | No | |
operator | BinaryOperator | No | |
left | BinaryPart | No | |
right | BinaryPart | 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: CallExpression | No | |
callee | Identifier | No | |
arguments | [ Expr ] | No | |
optional | boolean | 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: UnaryExpression | No | |
operator | UnaryOperator | No | |
argument | BinaryPart | 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: MemberExpression | No | |
object | MemberObject | No | |
property | LiteralIdentifier | No | |
computed | boolean | 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: IfExpression | No | |
cond | Expr | No | |
then_val | Program | No | |
else_ifs | [ ElseIf ] | No | |
final_else | Program | 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 |