Class: TreeSitter::Query
- Inherits:
-
Object
- Object
- TreeSitter::Query
- Defined in:
- lib/tree_sitter/query.rb
Overview
Query is a wrapper around a tree-sitter query.
Instance Attribute Summary collapse
-
#capture_names ⇒ Object
readonly
Returns the value of attribute capture_names.
-
#capture_quantifiers ⇒ Object
readonly
Returns the value of attribute capture_quantifiers.
-
#general_predicates ⇒ Object
readonly
Returns the value of attribute general_predicates.
-
#property_predicates ⇒ Object
readonly
Returns the value of attribute property_predicates.
-
#property_settings ⇒ Object
readonly
Returns the value of attribute property_settings.
-
#text_predicates ⇒ Object
readonly
Returns the value of attribute text_predicates.
Instance Attribute Details
#capture_names ⇒ Object (readonly)
Returns the value of attribute capture_names.
8 9 10 |
# File 'lib/tree_sitter/query.rb', line 8 def capture_names @capture_names end |
#capture_quantifiers ⇒ Object (readonly)
Returns the value of attribute capture_quantifiers.
9 10 11 |
# File 'lib/tree_sitter/query.rb', line 9 def capture_quantifiers @capture_quantifiers end |
#general_predicates ⇒ Object (readonly)
Returns the value of attribute general_predicates.
13 14 15 |
# File 'lib/tree_sitter/query.rb', line 13 def general_predicates @general_predicates end |
#property_predicates ⇒ Object (readonly)
Returns the value of attribute property_predicates.
11 12 13 |
# File 'lib/tree_sitter/query.rb', line 11 def property_predicates @property_predicates end |
#property_settings ⇒ Object (readonly)
Returns the value of attribute property_settings.
12 13 14 |
# File 'lib/tree_sitter/query.rb', line 12 def property_settings @property_settings end |
#text_predicates ⇒ Object (readonly)
Returns the value of attribute text_predicates.
10 11 12 |
# File 'lib/tree_sitter/query.rb', line 10 def text_predicates @text_predicates end |