Mixin: Build_Bool

Eleven~ Build_Bool

Class actions to represent Boolean expressions as trees.

Source:

Methods


and()

and: expr 'and' expr; returns [ 'and' a b ]

Source:

bool()

bool: 'true' | 'false'; returns [ 'bool' bool ]

Source:

not()

not: 'not' expr; returns [ 'not' b ]

Source:

or()

or: expr 'or' expr; returns [ 'or' a b ]

Source: