class Logicality::Parser::Ast::ValueOperandNode

A value operand node is a node with no children but holds a value instead.

Attributes

value[R]

Public Class Methods

new(token) click to toggle source
Calls superclass method Logicality::Parser::Ast::Node::new
# File lib/logicality/parser/ast/value_operand_node.rb, line 17
def initialize(token)
  super(token)

  @name  = 'value_operand_node'
  @value = token.value
end