Class: Ibex::Frontend::AST::ParameterizedReference

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

#argumentsObject

Returns the value of attribute arguments

Returns:

  • (Object)

    the current value of arguments



233
234
235
# File 'lib/ibex/frontend/ast.rb', line 233

def arguments
  @arguments
end

#locObject

Returns the value of attribute loc

Returns:

  • (Object)

    the current value of loc



233
234
235
# File 'lib/ibex/frontend/ast.rb', line 233

def loc
  @loc
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



233
234
235
# File 'lib/ibex/frontend/ast.rb', line 233

def name
  @name
end

#named_referenceObject

Returns the value of attribute named_reference

Returns:

  • (Object)

    the current value of named_reference



233
234
235
# File 'lib/ibex/frontend/ast.rb', line 233

def named_reference
  @named_reference
end

Class Method Details

.new(name:, arguments:, named_reference:, loc:) ⇒ instance .new(arg0) ⇒ instance

Overloads:

  • .new(name:, arguments:, named_reference:, loc:) ⇒ instance

    Parameters:

    • name: (String)
    • arguments: (Array[item])
    • named_reference: (String, nil)
    • loc: (Location)

    Returns:

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

    Parameters:

    • arg0 ({ ?name: String, ?arguments: Array[item], ?named_reference: String?, ?loc: Location })

    Returns:

    • (instance)


331
332
# File 'sig/ibex/frontend/ast.rbs', line 331

def self.new: (?name: String, ?arguments: Array[item], ?named_reference: String?, ?loc: Location) -> instance
| ({ ?name: String, ?arguments: Array[item], ?named_reference: String?, ?loc: Location }) -> instance