boolLiteral property

Parser<Literal> get boolLiteral

Implementation

Parser<Literal> get boolLiteral =>
    (string('true') | string('false')).map((v) => Literal(v == 'true', v));