UNPKG

@jeanbenitez/logical-expression-parser

Version:

Logical expression parser and evaluates result, suitable for permissions management

11 lines (9 loc) 149 B
const TokenType = { PAR_OPEN: '(', PAR_CLOSE: ')', OP_NOT: '!', AND: 'AND', OR: 'OR', LITERAL: 'LITERAL' }; module.exports = TokenType;