Skip to content

Commit 61e6c12

Browse files
committed
doc: add mode to uast documentation
Signed-off-by: Javi Fontan <[email protected]>
1 parent 8a298b0 commit 61e6c12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/using-gitbase/functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ To make some common tasks easier for the user, there are some functions to inter
99
|is_remote(reference_name)bool| check if the given reference name is from a remote one |
1010
|is_tag(reference_name)bool| check if the given reference name is a tag |
1111
|language(path, [blob])text| gets the language of a file given its path and the optional content of the file |
12-
|uast(blob, [lang, [xpath]])json_blob| returns an array of UAST nodes as blobs |
12+
|uast(blob, [lang, [xpath, [mode]]])json_blob| returns an array of UAST nodes as blobs, you can specify a mode (annotated, semantic or native) |
1313
|uast_xpath(json_blob, xpath)| performs an XPath query over the given UAST nodes |
1414

1515
## Standard functions

0 commit comments

Comments
 (0)