Class: Ibex::Frontend::AST::UserCode

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

#codeObject

Returns the value of attribute code

Returns:

  • (Object)

    the current value of code



276
277
278
# File 'lib/ibex/frontend/ast.rb', line 276

def code
  @code
end

#locObject

Returns the value of attribute loc

Returns:

  • (Object)

    the current value of loc



276
277
278
# File 'lib/ibex/frontend/ast.rb', line 276

def loc
  @loc
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



276
277
278
# File 'lib/ibex/frontend/ast.rb', line 276

def name
  @name
end