mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-24 17:28:40 +08:00
Add stubs for tree_sitter (#8533)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
# "self" argument is missing when stubtest inspects these methods
|
||||
tree_sitter.Node.child_by_field_id
|
||||
tree_sitter.Node.child_by_field_name
|
||||
tree_sitter.Node.sexp
|
||||
tree_sitter.Node.walk
|
||||
tree_sitter.Parser.parse
|
||||
tree_sitter.Parser.set_language
|
||||
tree_sitter.Tree.edit
|
||||
tree_sitter.Tree.walk
|
||||
tree_sitter.TreeCursor.current_field_name
|
||||
tree_sitter.TreeCursor.goto_first_child
|
||||
tree_sitter.TreeCursor.goto_next_sibling
|
||||
tree_sitter.TreeCursor.goto_parent
|
||||
tree_sitter.binding.Node.child_by_field_id
|
||||
tree_sitter.binding.Node.child_by_field_name
|
||||
tree_sitter.binding.Node.sexp
|
||||
tree_sitter.binding.Node.walk
|
||||
tree_sitter.binding.Parser.parse
|
||||
tree_sitter.binding.Parser.set_language
|
||||
tree_sitter.binding.Query.captures
|
||||
tree_sitter.binding.Query.matches
|
||||
tree_sitter.binding.Tree.edit
|
||||
tree_sitter.binding.Tree.walk
|
||||
tree_sitter.binding.TreeCursor.current_field_name
|
||||
tree_sitter.binding.TreeCursor.goto_first_child
|
||||
tree_sitter.binding.TreeCursor.goto_next_sibling
|
||||
tree_sitter.binding.TreeCursor.goto_parent
|
||||
|
||||
# Runtime takes *args and **kwargs and ignores them. Passing arguments is most likely a mistake.
|
||||
tree_sitter.Parser.__init__
|
||||
tree_sitter.binding.Parser.__init__
|
||||
Reference in New Issue
Block a user