class SheepAst::AnalyzeData

This structure is passed fro file_manager to Match and Action. Transit elements add informaion to this structure

@api private

Public Instance Methods

init() click to toggle source
# File lib/sheep_ast/messages.rb, line 274
def init
  @expr = nil
  @is_eol = nil
  @tokenized_line = nil
  @file_info = nil
  @file_manager = nil
  @stage_manager = nil
  @request_next_data = RequestNextData::Next
  @stack = []
  @stack_symbol = []
  @save_request = nil
  @raw_line = nil
end
inspect() click to toggle source
# File lib/sheep_ast/messages.rb, line 289
def inspect
  return "custom inspect <#{self.class.name} object_id = #{object_id},"\
    " expr = '#{expr.inspect}', is_eol = '#{is_eol.inspect}',"\
    " stack = #{stack.inspect}, stack_symbol = #{stack_symbol.inspect},"\
    " request_next_data = #{request_next_data.inspect}, file_info = #{file_info.inspect},"\
    " tokenized_line = #{@tokenized_line.inspect}, raw_line = #{@raw_line.inspect}"
end