ifc-syntax-ast-parser
/
0.2.3
ifc-syntax-ast-parser 0.2.3
Install from the command line:
Learn more about npm packages
$ npm install @alanrynne/ifc-syntax-ast-parser@0.2.3
Install via package.json:
"@alanrynne/ifc-syntax-ast-parser": "0.2.3"
About this version
IFC2AST is a helper package for the IFC Language Server I am developing as a complete overhaul of the IFC Syntax extension for VSCode.
This small package will generate an Abstract Syntax Tree (AST) of a given IFC file, to be consumed by the language server in order to provide functionality such as:
- Go to definition
- Go to symbol
- Find references
- Syntax error checking
- Validation
The AST nodes can be traversed using the visitor pattern (which to be honest, I had no idea what it was until last week even though I've been using it for years! The perils of a self-taught programmer...).
The project is written in typescript and developed by myself, @AlanRynne.