
Summary We'd like contributors to use the same linter and lint rules that we use internally. This diff swaps out eslint for jshint and fixes all lint failures except for the max-len failures in the test suites. Test Plan: - ka-lint src - make lint - make test Reviewers: emily
14 lines
221 B
JavaScript
14 lines
221 B
JavaScript
/**
|
|
* The resulting parse tree nodes of the parse tree.
|
|
*/
|
|
function ParseNode(type, value, mode) {
|
|
this.type = type;
|
|
this.value = value;
|
|
this.mode = mode;
|
|
}
|
|
|
|
module.exports = {
|
|
ParseNode: ParseNode,
|
|
};
|
|
|