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



224
225
226
# File 'lib/ibex/frontend/ast.rb', line 224

def alternatives
  @alternatives
end

#documentationObject

Returns the value of attribute documentation

Returns:

  • (Object)

    the current value of documentation



224
225
226
# File 'lib/ibex/frontend/ast.rb', line 224

def documentation
  @documentation
end

#inlineObject

Returns the value of attribute inline

Returns:

  • (Object)

    the current value of inline



224
225
226
# File 'lib/ibex/frontend/ast.rb', line 224

def inline
  @inline
end

#lhsObject

Returns the value of attribute lhs

Returns:

  • (Object)

    the current value of lhs



224
225
226
# File 'lib/ibex/frontend/ast.rb', line 224

def lhs
  @lhs
end

#locObject

Returns the value of attribute loc

Returns:

  • (Object)

    the current value of loc



224
225
226
# File 'lib/ibex/frontend/ast.rb', line 224

def loc
  @loc
end

#parametersObject

Returns the value of attribute parameters

Returns:

  • (Object)

    the current value of parameters



224
225
226
# File 'lib/ibex/frontend/ast.rb', line 224

def parameters
  @parameters
end