Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

Commit

Permalink
Changes uast:Import by uast:Identifier in README examples
Browse files Browse the repository at this point in the history
Signed-off-by: ncordon <[email protected]>
  • Loading branch information
ncordon committed Aug 22, 2019
1 parent 7e60fc6 commit 28ad95e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ val resp = client.parse(filename, fileContent, Mode.SEMANTIC)
println(resp.get)

// Filtered response
println(client.filter(resp.get, "//uast:Import"))
println(client.filter(resp.get, "//uast:Identifier"))
```

Command line:
Expand All @@ -105,7 +105,7 @@ java -jar build/bblfsh-client-assembly-*.jar -f <file.py>
or if you want to use a XPath query:

```
java -jar build/bblfsh-client-assembly-*.jar -f <file.py> -q "//uast:Import"
java -jar build/bblfsh-client-assembly-*.jar -f <file.py> -q "//uast:Identifier"
```

Please read the [Babelfish clients](https://doc.bblf.sh/user/language-clients.html)
Expand Down

0 comments on commit 28ad95e

Please sign in to comment.