This is the parent node of all of the syntax tree nodes. It’s pretty much exclusively here to make it easier to operate with the tree in cases where you’re trying to monkey-patch or strictly type.
Attributes Public Instance Methods Sourcedef accept(visitor) raise NotImplementedError endSource
def child_nodes raise NotImplementedError endSource
def construct_keys PrettierPrint.format(+"") { |q| accept(MatchVisitor.new(q)) } endSource
def deconstruct raise NotImplementedError endSource
def deconstruct_keys(keys) raise NotImplementedError endSource
def end_char location.end_char endSource
def format(q) raise NotImplementedError endSource
def pretty_print(q) accept(PrettyPrintVisitor.new(q)) endSource
def start_char location.start_char endSource
def to_json(*opts) accept(JSONVisitor.new).to_json(*opts) endSource
def to_mermaid accept(MermaidVisitor.new) end
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4