evaluators
evaluators: {
ArrayExpression: ((node) => any);
BinaryExpression: ((node, ...contexts) => any);
CallExpression: ((node, ...contexts) => any);
Compound: ((node, ...contexts) => any);
ConditionalExpression: ((node, ...contexts) => any);
Identifier: ((node, ...contexts) => any);
Literal: ((node) => any);
MemberExpression: ((node, ...contexts) => any);
ThisExpression: ((node, ...contexts) => any);
UnaryExpression: ((node, ...contexts) => any);
}
Type declaration
ArrayExpression: ((node) => any)
BinaryExpression: ((node, ...contexts) => any)
- (node, ...contexts): any
Parameters
node: any
Rest
...contexts: any[]
Returns any
CallExpression: ((node, ...contexts) => any)
- (node, ...contexts): any
Parameters
node: any
Rest
...contexts: any[]
Returns any
Compound: ((node, ...contexts) => any)
- (node, ...contexts): any
Parameters
node: any
Rest
...contexts: any[]
Returns any
ConditionalExpression: ((node, ...contexts) => any)
- (node, ...contexts): any
Parameters
node: any
Rest
...contexts: any[]
Returns any
Identifier: ((node, ...contexts) => any)
- (node, ...contexts): any
Parameters
node: any
Rest
...contexts: any[]
Returns any
Literal: ((node) => any)
MemberExpression: ((node, ...contexts) => any)
- (node, ...contexts): any
Parameters
node: any
Rest
...contexts: any[]
Returns any
ThisExpression: ((node, ...contexts) => any)
- (node, ...contexts): any
Parameters
node: any
Rest
...contexts: any[]
Returns any
UnaryExpression: ((node, ...contexts) => any)
- (node, ...contexts): any
Parameters
node: any
Rest
...contexts: any[]
Returns any
Evaluate an AST node into a value.