class

Horn::TSParser::Node

Inherits JSON::Serializable < Reference < Object

Constructors

new(ts_node : TSLib::TSNode)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

children
Source
children=(children : Array(Horn::TSParser::Node))
Source
column
Source
content
Source
content=(content : String | Nil)
Source
end_column
Source
end_row
Source
error?
Source
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source
type
Source
type=(type : String)
Source