- adapt.js: three uses of the
adapt
helper: count the nodes in a tree, list the nodes in a tree, give a map from nodes to their parent - contains-this.js: check if a function refers to
this
- identifier-counter.js: count the number of identifiers in a program
- increment.js: create a copy of the AST with all numbers incremented, doing as little work as possible
- shapesecurity/shift-scope-js: derive a program's scope tree
- shapesecurity/shift-validator-js: validate a Shift format AST
- shapesecurity/shift-codegen-js: generate an ECMAScript program
examples
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||