Class: MLIR::Dialect::Ruby::SSARetValue

Inherits:
Struct
  • Object
show all
Defined in:
lib/mlir/dialect/ruby/prism_loader.rb

Overview

A struct to hold SSA variable and its type

Instance Attribute Summary collapse

Instance Attribute Details

#ssa_varObject

Returns the value of attribute ssa_var

Returns:

  • (Object)

    the current value of ssa_var



11
12
13
# File 'lib/mlir/dialect/ruby/prism_loader.rb', line 11

def ssa_var
  @ssa_var
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



11
12
13
# File 'lib/mlir/dialect/ruby/prism_loader.rb', line 11

def type
  @type
end