class TreeSitter::Highlighter

Defined in:

tree_sitter/highlighter.cr

Constructors

Instance Method Summary

Instance methods inherited from class TreeSitter::QueryCursor

exec(node : Node)
exec(node : Node, &)
exec
, finalize finalize, next_capture : Capture | Nil next_capture, query : Query query, query=(query : Query) query=, set_byte_range(start_byte : UInt32, end_byte : UInt32) set_byte_range, set_point_range(start_row : Int32, start_column : Int32, end_row : Int32, end_column : Int32)
set_point_range(start_point : Point, end_point : Point)
set_point_range
, to_unsafe : LibTreeSitter::TSQueryCursor to_unsafe

Constructor methods inherited from class TreeSitter::QueryCursor

new(query : TreeSitter::Query) new

Constructor Detail

def self.new(language : Language) #

[View source]
def self.new(query : Query) #

[View source]

Instance Method Detail

def highlight_next_line : Array(Capture) #

[View source]
def set_line_range(start_line : Int32, end_line : Int32) #

[View source]