blob: dac518080dc9751a544eb77eff84bde905ee64b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
import { Token } from './token';
export declare const enum OperatorType {
Binary = 0,
Unary = 1
}
export declare const operatorPrecedences: {
'==': number;
'!=': number;
'>': number;
'<': number;
'>=': number;
'<=': number;
contains: number;
not: number;
and: number;
or: number;
};
export declare const operatorTypes: {
'==': OperatorType;
'!=': OperatorType;
'>': OperatorType;
'<': OperatorType;
'>=': OperatorType;
'<=': OperatorType;
contains: OperatorType;
not: OperatorType;
and: OperatorType;
or: OperatorType;
};
export declare class OperatorToken extends Token {
input: string;
begin: number;
end: number;
file?: string | undefined;
operator: string;
constructor(input: string, begin: number, end: number, file?: string | undefined);
getPrecedence(): any;
}
|