Futago-za Ryuu
94ca36469b
Move compiler/vm.js to util/vm.js
6 years ago
Futago-za Ryuu
01555ebbac
Move compiler/js.js to util/js.js
6 years ago
Futago-za Ryuu
8d3dc109ed
Rename js.regexpClassEscape to js.regexpEscape
6 years ago
Futago-za Ryuu
878421ab75
Moved seperate utilities into util route.
6 years ago
Futago-za Ryuu
1fca2daff6
Move processOptions to utils
6 years ago
Futago-za Ryuu
15d364587c
Update tsd to include changes since 8e9be9a
6 years ago
Futago-za Ryuu
5476eca59f
Moved AST and visitor classes
6 years ago
Futago-za Ryuu
f41ef82ce9
Update tsd to include latest changes
...
These changes are mainly from from @Minigun and @futagoza
6 years ago
Futago-za Ryuu
617b6b7425
Updated utils and tsd
...
- Exposed 'visitor.ASTVisitor'
- Remoed 'util.createVisitor'
- Added type 'peg.SourceLocation'
- Updated tsd for 'peg.compiler.visitor'
- Added tsd for 'peg.util.enforceFastProperties'
- Added tsd for new parser modules
6 years ago
Futago-za Ryuu
7cdfc03e9f
Added utility methods for objects
...
Before there used to be some internal utility methods for arrays and objects, but as the code base moved to ES5+ use case only, these were removed in favour of native alternatives, but most of these were only beneficial for arrays.
This commit add's common utility methods for objects, and also exposes these as they can be used by plugin developer's on the PEG.js AST.
6 years ago
Futago-za Ryuu
93f9068c99
Updated tsd for compiler passes [ci skip]
6 years ago
Futago-za Ryuu
d3cbbee592
Added .d.ts declaration files ( #519 )
6 years ago