Class: Ibex::Frontend::AST::Rule

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

Instance Attribute Summary collapse

Method Summary

Methods included from Node

#to_h

Methods included from Ibex::Frontend::ASTRuleDefaults

#initialize

Instance Attribute Details

#alternativesObject

Returns the value of attribute alternatives

Returns:

  • (Object)

    the current value of alternatives



204
205
206
# File 'lib/ibex/frontend/ast.rb', line 204

def alternatives
  @alternatives
end

#documentationObject

Returns the value of attribute documentation

Returns:

  • (Object)

    the current value of documentation



204
205
206
# File 'lib/ibex/frontend/ast.rb', line 204

def documentation
  @documentation
end

#inlineObject

Returns the value of attribute inline

Returns:

  • (Object)

    the current value of inline



204
205
206
# File 'lib/ibex/frontend/ast.rb', line 204

def inline
  @inline
end

#lhsObject

Returns the value of attribute lhs

Returns:

  • (Object)

    the current value of lhs



204
205
206
# File 'lib/ibex/frontend/ast.rb', line 204

def lhs
  @lhs
end

#locObject

Returns the value of attribute loc

Returns:

  • (Object)

    the current value of loc



204
205
206
# File 'lib/ibex/frontend/ast.rb', line 204

def loc
  @loc
end

#parametersObject

Returns the value of attribute parameters

Returns:

  • (Object)

    the current value of parameters



204
205
206
# File 'lib/ibex/frontend/ast.rb', line 204

def parameters
  @parameters
end