├── .editorconfig ├── .envrc ├── .gitattributes ├── .gitignore ├── Cargo.toml ├── LICENSE ├── Makefile ├── Package.swift ├── README.md ├── binding.gyp ├── bindings ├── c │ ├── tree-sitter-powershell.h │ └── tree-sitter-powershell.pc.in ├── go │ ├── binding.go │ ├── binding_test.go │ └── go.mod ├── node │ ├── binding.cc │ ├── index.d.ts │ └── index.js ├── python │ └── tree_sitter_powershell │ │ ├── __init__.py │ │ ├── __init__.pyi │ │ ├── binding.c │ │ └── py.typed ├── rust │ ├── build.rs │ └── lib.rs └── swift │ └── TreeSitterPowershell │ └── powershell.h ├── flake.lock ├── flake.nix ├── grammar.js ├── package.json ├── pyproject.toml ├── queries └── highlights.scm ├── setup.py ├── src ├── grammar.json ├── node-types.json ├── parser.c ├── scanner.c └── tree_sitter │ ├── alloc.h │ ├── array.h │ └── parser.h ├── test └── corpus │ ├── branch.txt │ ├── classes.txt │ ├── commands.txt │ ├── comments.txt │ ├── enum.txt │ ├── expressions.txt │ ├── functions.txt │ ├── loops.txt │ ├── number.txt │ ├── obfuscated.txt │ ├── operators.txt │ ├── pipeline_chains.txt │ ├── strings.txt │ ├── type.txt │ └── variables.txt └── tree-sitter.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/.editorconfig -------------------------------------------------------------------------------- /.envrc: -------------------------------------------------------------------------------- 1 | use flake path:. 2 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/.gitignore -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/Makefile -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/README.md -------------------------------------------------------------------------------- /binding.gyp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/binding.gyp -------------------------------------------------------------------------------- /bindings/c/tree-sitter-powershell.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/bindings/c/tree-sitter-powershell.h -------------------------------------------------------------------------------- /bindings/c/tree-sitter-powershell.pc.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/bindings/c/tree-sitter-powershell.pc.in -------------------------------------------------------------------------------- /bindings/go/binding.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/bindings/go/binding.go -------------------------------------------------------------------------------- /bindings/go/binding_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/bindings/go/binding_test.go -------------------------------------------------------------------------------- /bindings/go/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/bindings/go/go.mod -------------------------------------------------------------------------------- /bindings/node/binding.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/bindings/node/binding.cc -------------------------------------------------------------------------------- /bindings/node/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/bindings/node/index.d.ts -------------------------------------------------------------------------------- /bindings/node/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/bindings/node/index.js -------------------------------------------------------------------------------- /bindings/python/tree_sitter_powershell/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/bindings/python/tree_sitter_powershell/__init__.py -------------------------------------------------------------------------------- /bindings/python/tree_sitter_powershell/__init__.pyi: -------------------------------------------------------------------------------- 1 | def language() -> int: ... 2 | -------------------------------------------------------------------------------- /bindings/python/tree_sitter_powershell/binding.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/bindings/python/tree_sitter_powershell/binding.c -------------------------------------------------------------------------------- /bindings/python/tree_sitter_powershell/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bindings/rust/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/bindings/rust/build.rs -------------------------------------------------------------------------------- /bindings/rust/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/bindings/rust/lib.rs -------------------------------------------------------------------------------- /bindings/swift/TreeSitterPowershell/powershell.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/bindings/swift/TreeSitterPowershell/powershell.h -------------------------------------------------------------------------------- /flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/flake.lock -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/flake.nix -------------------------------------------------------------------------------- /grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/grammar.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/package.json -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/pyproject.toml -------------------------------------------------------------------------------- /queries/highlights.scm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/queries/highlights.scm -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/setup.py -------------------------------------------------------------------------------- /src/grammar.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/src/grammar.json -------------------------------------------------------------------------------- /src/node-types.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/src/node-types.json -------------------------------------------------------------------------------- /src/parser.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/src/parser.c -------------------------------------------------------------------------------- /src/scanner.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/src/scanner.c -------------------------------------------------------------------------------- /src/tree_sitter/alloc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/src/tree_sitter/alloc.h -------------------------------------------------------------------------------- /src/tree_sitter/array.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/src/tree_sitter/array.h -------------------------------------------------------------------------------- /src/tree_sitter/parser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/src/tree_sitter/parser.h -------------------------------------------------------------------------------- /test/corpus/branch.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/test/corpus/branch.txt -------------------------------------------------------------------------------- /test/corpus/classes.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/test/corpus/classes.txt -------------------------------------------------------------------------------- /test/corpus/commands.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/test/corpus/commands.txt -------------------------------------------------------------------------------- /test/corpus/comments.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/test/corpus/comments.txt -------------------------------------------------------------------------------- /test/corpus/enum.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/test/corpus/enum.txt -------------------------------------------------------------------------------- /test/corpus/expressions.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/test/corpus/expressions.txt -------------------------------------------------------------------------------- /test/corpus/functions.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/test/corpus/functions.txt -------------------------------------------------------------------------------- /test/corpus/loops.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/test/corpus/loops.txt -------------------------------------------------------------------------------- /test/corpus/number.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/test/corpus/number.txt -------------------------------------------------------------------------------- /test/corpus/obfuscated.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/test/corpus/obfuscated.txt -------------------------------------------------------------------------------- /test/corpus/operators.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/test/corpus/operators.txt -------------------------------------------------------------------------------- /test/corpus/pipeline_chains.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/test/corpus/pipeline_chains.txt -------------------------------------------------------------------------------- /test/corpus/strings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/test/corpus/strings.txt -------------------------------------------------------------------------------- /test/corpus/type.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/test/corpus/type.txt -------------------------------------------------------------------------------- /test/corpus/variables.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/test/corpus/variables.txt -------------------------------------------------------------------------------- /tree-sitter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/airbus-cert/tree-sitter-powershell/HEAD/tree-sitter.json --------------------------------------------------------------------------------