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



233
234
235
# File 'lib/ibex/frontend/ast.rb', line 233

def action
  @action
end

#itemsObject

Returns the value of attribute items

Returns:

  • (Object)

    the current value of items



233
234
235
# File 'lib/ibex/frontend/ast.rb', line 233

def items
  @items
end

#locObject

Returns the value of attribute loc

Returns:

  • (Object)

    the current value of loc



233
234
235
# File 'lib/ibex/frontend/ast.rb', line 233

def loc
  @loc
end

#node_annotationObject

Returns the value of attribute node_annotation

Returns:

  • (Object)

    the current value of node_annotation



233
234
235
# File 'lib/ibex/frontend/ast.rb', line 233

def node_annotation
  @node_annotation
end

#precedenceObject

Returns the value of attribute precedence

Returns:

  • (Object)

    the current value of precedence



233
234
235
# File 'lib/ibex/frontend/ast.rb', line 233

def precedence
  @precedence
end