Class: Foxtail::Bundle::Parser::AST::Variant

Inherits:
Data
  • Object
show all
Defined in:
lib/foxtail/bundle/parser/ast.rb

Overview

Variant for select expressions (no type field, no special initialization)

Instance Attribute Summary collapse

Instance Attribute Details

#keyObject (readonly)

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



98
99
100
# File 'lib/foxtail/bundle/parser/ast.rb', line 98

def key
  @key
end

#valueObject (readonly)

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



98
99
100
# File 'lib/foxtail/bundle/parser/ast.rb', line 98

def value
  @value
end