Class: Ibex::Frontend::AST::Empty

Inherits:
Struct
  • Object
show all
Includes:
Node
Defined in:
lib/ibex/frontend/ast.rb,
sig/ibex/frontend/ast.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Methods included from Node

#serialize, #to_h

Instance Attribute Details

#locObject

Returns the value of attribute loc

Returns:

  • (Object)

    the current value of loc



265
266
267
# File 'lib/ibex/frontend/ast.rb', line 265

def loc
  @loc
end

Class Method Details

.new(loc:) ⇒ instance .new(arg0) ⇒ instance

Overloads:

  • .new(loc:) ⇒ instance

    Parameters:

    Returns:

    • (instance)
  • .new(arg0) ⇒ instance

    Parameters:

    Returns:

    • (instance)


373
374
# File 'sig/ibex/frontend/ast.rbs', line 373

def self.new: (?loc: Location) -> instance
| ({ ?loc: Location }) -> instance