Class: MilkTea::AST::ParallelBlockStmt

Inherits:
Data
  • Object
show all
Defined in:
lib/milk_tea/core/ast.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bodies:, line: nil, column: nil) ⇒ ParallelBlockStmt

Returns a new instance of ParallelBlockStmt.



176
# File 'lib/milk_tea/core/ast.rb', line 176

def initialize(bodies:, line: nil, column: nil) = super

Instance Attribute Details

#bodiesObject (readonly)

Returns the value of attribute bodies

Returns:

  • (Object)

    the current value of bodies



175
176
177
# File 'lib/milk_tea/core/ast.rb', line 175

def bodies
  @bodies
end

#columnObject (readonly)

Returns the value of attribute column

Returns:

  • (Object)

    the current value of column



175
176
177
# File 'lib/milk_tea/core/ast.rb', line 175

def column
  @column
end

#lineObject (readonly)

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



175
176
177
# File 'lib/milk_tea/core/ast.rb', line 175

def line
  @line
end