@dice-roller/rpg-dice-roller / ast / BinaryNode
Interface: BinaryNode
Defined in: src/ast/nodes.ts:88
A binary maths operation, e.g. 2d6 + 3.
Properties
left
readonlyleft:ExpressionNode
Defined in: src/ast/nodes.ts:91
op
readonlyop:"+"|"-"|"*"|"/"|"%"|"^"
Defined in: src/ast/nodes.ts:90
right
readonlyright:ExpressionNode
Defined in: src/ast/nodes.ts:92
type
readonlytype:"binary"
Defined in: src/ast/nodes.ts:89