Class: Ibex::Frontend::AST::Expect

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

#conflictsObject

Returns the value of attribute conflicts

Returns:

  • (Object)

    the current value of conflicts



117
118
119
# File 'lib/ibex/frontend/ast.rb', line 117

def conflicts
  @conflicts
end

#locObject

Returns the value of attribute loc

Returns:

  • (Object)

    the current value of loc



117
118
119
# File 'lib/ibex/frontend/ast.rb', line 117

def loc
  @loc
end

Class Method Details

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

Overloads:

  • .new(conflicts:, loc:) ⇒ instance

    Parameters:

    Returns:

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

    Parameters:

    • arg0 ({ ?conflicts: Integer, ?loc: Location })

    Returns:

    • (instance)


133
134
# File 'sig/ibex/frontend/ast.rbs', line 133

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