Skip to content

Commit fdd8de5

Browse files
committed
docs: fix uast function descriptions to reflect the new uast serialization
Signed-off-by: Manuel Carmona <[email protected]>
1 parent 59a621a commit fdd8de5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/using-gitbase/functions.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ 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 in semantic mode |
13-
|uast_mode(mode, blob, lang)json_blob| returns an array of UAST nodes as blobs specifying its language and mode (semantic, annotated or native) |
14-
|uast_xpath(json_blob, xpath)| performs an XPath query over the given UAST nodes |
15-
|uast_extract(json_blob, key)| extracts information identified by the given key from the uast nodes |
16-
|uast_children(json_blob)| returns a flattened array of the children UAST nodes from each one of the UAST nodes in the given array |
12+
|uast(blob, [lang, [xpath]]) blob| returns a sequence of serilazied UAST nodes in semantic mode |
13+
|uast_mode(mode, blob, lang) blob| returns a sequence of serialized UAST nodes specifying its language and mode (semantic, annotated or native) |
14+
|uast_xpath(blob, xpath)| performs an XPath query over the given UAST nodes |
15+
|uast_extract(blob, key)| extracts information identified by the given key from the uast nodes |
16+
|uast_children(blob)| returns a flattened array of the children UAST nodes from each one of the UAST nodes in the given sequence |
1717

1818
## Standard functions
1919

0 commit comments

Comments
 (0)