Skip to content

Releases: fliskdata/swift-ast

0.1.4

03 Jan 03:17

Choose a tag to compare

Decreased package size by gzipping wasm bundle

0.1.3

30 Sep 20:17

Choose a tag to compare

Fix for dist and wasm files not included in tarball uploaded to npm

0.1.2

30 Sep 08:31

Choose a tag to compare

  • CallInfo now includes calleeChain and baseIdentifier.
  • Analysis API now exposes:
    • getCallArgs(callId): labeled args with text and ranges
    • extractDictionary(nodeId): recursive dict/array/literal parsing from source
    • findEnclosing(nodeId, kinds?): nearest function/class/struct symbol
    • collectConstStrings(): Map of let NAME = "literal"
    • getNode/getChildren/getParent/getCalleeText/getStringLiteralValue
  • Tests extended to assert calleeChain, args presence, enclosing lookup.

0.1.1

30 Sep 07:35

Choose a tag to compare

AST analyzer to find and resolve declarations

0.1.0

30 Sep 06:38

Choose a tag to compare

Initial release