Class: Ibex::Frontend::AST::GrammarTest

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

#expectationObject

Returns the value of attribute expectation

Returns:

  • (Object)

    the current value of expectation



142
143
144
# File 'lib/ibex/frontend/ast.rb', line 142

def expectation
  @expectation
end

#locObject

Returns the value of attribute loc

Returns:

  • (Object)

    the current value of loc



142
143
144
# File 'lib/ibex/frontend/ast.rb', line 142

def loc
  @loc
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



142
143
144
# File 'lib/ibex/frontend/ast.rb', line 142

def source
  @source
end