Class: Optimize::IR::Function

Inherits:
Struct
  • Object
show all
Defined in:
lib/optimize/ir/function.rb

Overview

One decoded iseq. Fields mirror the envelope described in research/cruby/ibf-format.md ยง4.

Instance Attribute Summary collapse

Instance Attribute Details

#absolute_pathObject

Returns the value of attribute absolute_path

Returns:

  • (Object)

    the current value of absolute_path



18
19
20
# File 'lib/optimize/ir/function.rb', line 18

def absolute_path
  @absolute_path
end

#arg_positionsObject

Returns the value of attribute arg_positions

Returns:

  • (Object)

    the current value of arg_positions



18
19
20
# File 'lib/optimize/ir/function.rb', line 18

def arg_positions
  @arg_positions
end

#arg_specObject

Returns the value of attribute arg_spec

Returns:

  • (Object)

    the current value of arg_spec



18
19
20
# File 'lib/optimize/ir/function.rb', line 18

def arg_spec
  @arg_spec
end

#catch_entriesObject

Returns the value of attribute catch_entries

Returns:

  • (Object)

    the current value of catch_entries



18
19
20
# File 'lib/optimize/ir/function.rb', line 18

def catch_entries
  @catch_entries
end

#catch_tableObject

Returns the value of attribute catch_table

Returns:

  • (Object)

    the current value of catch_table



18
19
20
# File 'lib/optimize/ir/function.rb', line 18

def catch_table
  @catch_table
end

#childrenObject

Returns the value of attribute children

Returns:

  • (Object)

    the current value of children



18
19
20
# File 'lib/optimize/ir/function.rb', line 18

def children
  @children
end

#first_linenoObject

Returns the value of attribute first_lineno

Returns:

  • (Object)

    the current value of first_lineno



18
19
20
# File 'lib/optimize/ir/function.rb', line 18

def first_lineno
  @first_lineno
end

#instructionsObject

Returns the value of attribute instructions

Returns:

  • (Object)

    the current value of instructions



18
19
20
# File 'lib/optimize/ir/function.rb', line 18

def instructions
  @instructions
end

#line_entriesObject

Returns the value of attribute line_entries

Returns:

  • (Object)

    the current value of line_entries



18
19
20
# File 'lib/optimize/ir/function.rb', line 18

def line_entries
  @line_entries
end

#line_infoObject

Returns the value of attribute line_info

Returns:

  • (Object)

    the current value of line_info



18
19
20
# File 'lib/optimize/ir/function.rb', line 18

def line_info
  @line_info
end

#local_tableObject

Returns the value of attribute local_table

Returns:

  • (Object)

    the current value of local_table



18
19
20
# File 'lib/optimize/ir/function.rb', line 18

def local_table
  @local_table
end

#miscObject

Returns the value of attribute misc

Returns:

  • (Object)

    the current value of misc



18
19
20
# File 'lib/optimize/ir/function.rb', line 18

def misc
  @misc
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



18
19
20
# File 'lib/optimize/ir/function.rb', line 18

def name
  @name
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



18
19
20
# File 'lib/optimize/ir/function.rb', line 18

def path
  @path
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



18
19
20
# File 'lib/optimize/ir/function.rb', line 18

def type
  @type
end