class Highway::Compiler::Analyze::Tree::Step
This class represents a step node in a parse tree. It contains information about a single step and its parameters.
Attributes
Index of step in its scope.
@return [Integer]
Name of the step.
@return [String]
The hash value of step parameters.
@return [Highway::Compiler::Analyze::Tree::Values::Hash]
Parent preset of the step.
@return [String]
Parent stage of the step.
@return [String]
Definition class of the step.
@return [Class]
Public Class Methods
Initialize an instance.
@param index [Integer] Index of step in its scope. @param name [String] Name of the step. @param step_class
[Class] Definition class of the step. @param parameters [Highway::Compiler::Analyze::Tree::Values::Hash] The hash value of step parameters. @param preset [String] Parent preset of the step. @param stage [String] Parent stage of the step.
# File lib/highway/compiler/analyze/tree/step.rb, line 25 def initialize(index:, name:, step_class:, parameters:, preset:, stage:) @index = index @name = name @step_class = step_class @parameters = parameters @preset = preset @stage = stage end