UNPKG

@neuledge/states-parser

Version:

A parser for the Neuledge States language

26 lines 864 B
import { AbstractNode } from '../abstract'; import { ExpressionNode } from './expression'; declare const BinaryExpressionNodeOperators: { readonly '+': 1; readonly '-': 1; readonly '*': 1; readonly '/': 1; readonly '%': 1; readonly '**': 1; readonly '==': 1; readonly '!=': 1; readonly '===': 1; readonly '!==': 1; readonly '<': 1; readonly '<=': 1; readonly '>': 1; readonly '>=': 1; }; export declare const isBinaryExpressionNodeOperator: (operator: string) => operator is "-" | "+" | "*" | "/" | "%" | "**" | "==" | "!=" | "===" | "!==" | "<" | "<=" | ">" | ">="; export interface BinaryExpressionNode extends AbstractNode<'BinaryExpression'> { operator: keyof typeof BinaryExpressionNodeOperators; left: ExpressionNode; right: ExpressionNode; } export {}; //# sourceMappingURL=binary.d.ts.map