Class: Ibex::Frontend::AST::Alternative

Inherits:
Struct
  • Object
show all
Includes:
Node
Defined in:
lib/ibex/frontend/ast.rb

Instance Attribute Summary collapse

Method Summary

Methods included from Node

#to_h

Instance Attribute Details

#actionObject

Returns the value of attribute action

Returns:

  • (Object)

    the current value of action



213
214
215
# File 'lib/ibex/frontend/ast.rb', line 213

def action
  @action
end

#itemsObject

Returns the value of attribute items

Returns:

  • (Object)

    the current value of items



213
214
215
# File 'lib/ibex/frontend/ast.rb', line 213

def items
  @items
end

#locObject

Returns the value of attribute loc

Returns:

  • (Object)

    the current value of loc



213
214
215
# File 'lib/ibex/frontend/ast.rb', line 213

def loc
  @loc
end

#node_annotationObject

Returns the value of attribute node_annotation

Returns:

  • (Object)

    the current value of node_annotation



213
214
215
# File 'lib/ibex/frontend/ast.rb', line 213

def node_annotation
  @node_annotation
end

#precedenceObject

Returns the value of attribute precedence

Returns:

  • (Object)

    the current value of precedence



213
214
215
# File 'lib/ibex/frontend/ast.rb', line 213

def precedence
  @precedence
end