Class: Kumi::Syntax::Literal

Inherits:
Struct
  • Object
show all
Includes:
Node
Defined in:
lib/kumi/syntax/literal.rb

Instance Attribute Summary collapse

Attributes included from Node

#hints, #loc

Instance Method Summary collapse

Methods included from Node

#==, #initialize

Instance Attribute Details

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



5
6
7
# File 'lib/kumi/syntax/literal.rb', line 5

def value
  @value
end

Instance Method Details

#childrenObject



8
# File 'lib/kumi/syntax/literal.rb', line 8

def children = []