class Highway::Compiler::Analyze::Tree::Stage
This class represents a stage note in the semantic tree. It contains information about stage order and execution policy.
Attributes
index[R]
Index of the stage.
@return [Integer]
name[R]
Name of the stage.
@return [String]
policy[R]
Execution policy of the stage.
@return [Symbol]
Public Class Methods
new(index:, name:, policy:)
click to toggle source
Initialize an instance.
@param index [Integer] Index of the stage. @param name [String] Name of the stage. @param policy [Symbol] Execution policy of the stage.
# File lib/highway/compiler/analyze/tree/stage.rb, line 22 def initialize(index:, name:, policy:) @index = index @name = name @policy = policy end