class ComparatorNode

Defined in:

nodes.cr

Constructors

Instance Method Summary

Instance methods inherited from class Node

children : Array(Node) children, type : String type, value : Char | Int32 | String | Nil value, visit(v : JSON::Any) : JSON::Any visit

Constructor Detail

def self.new(comparator : String, left : Node, right : Node) #

[View source]

Instance Method Detail

def children : Array(Node) #

[View source]
def type : String #
Description copied from class Node

Introspection methods for testing/debugging


[View source]
def value : Char | Int32 | String | Nil #

[View source]
def visit(v : JSON::Any) : JSON::Any #

[View source]