Class: ASTTransform::ThunkLowering::Placement

Inherits:
Struct
  • Object
show all
Defined in:
lib/ast_transform/thunk_lowering.rb

Overview

A pending proc definition: line is the body's first source line (nil for fully synthetic bodies), statements the pre-declarations plus the proc assignment.

Instance Attribute Summary collapse

Instance Attribute Details

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



40
41
42
# File 'lib/ast_transform/thunk_lowering.rb', line 40

def line
  @line
end

#statementsObject

Returns the value of attribute statements

Returns:

  • (Object)

    the current value of statements



40
41
42
# File 'lib/ast_transform/thunk_lowering.rb', line 40

def statements
  @statements
end