Class: Rley::Parser::ParseWalkerContext

Inherits:
Struct
  • Object
show all
Defined in:
lib/rley/parser/parse_walker_factory.rb

Overview

Utility class used internally by the Enumerator created with a ParseWalkerContext object. It holds the state of the walk over a GFGParsing object.

Instance Attribute Summary collapse

Instance Attribute Details

#backtrack_pointsObject

Returns the value of attribute backtrack_points



14
15
16
# File 'lib/rley/parser/parse_walker_factory.rb', line 14

def backtrack_points
  @backtrack_points
end

#curr_entryObject

Returns the value of attribute curr_entry



14
15
16
# File 'lib/rley/parser/parse_walker_factory.rb', line 14

def curr_entry
  @curr_entry
end

#entry_set_indexObject

Returns the value of attribute entry_set_index



14
15
16
# File 'lib/rley/parser/parse_walker_factory.rb', line 14

def entry_set_index
  @entry_set_index
end

#lazy_walkObject

Returns the value of attribute lazy_walk



14
15
16
# File 'lib/rley/parser/parse_walker_factory.rb', line 14

def lazy_walk
  @lazy_walk
end

#nterm2startObject

Returns the value of attribute nterm2start



14
15
16
# File 'lib/rley/parser/parse_walker_factory.rb', line 14

def nterm2start
  @nterm2start
end

#return_stackObject

Returns the value of attribute return_stack



14
15
16
# File 'lib/rley/parser/parse_walker_factory.rb', line 14

def return_stack
  @return_stack
end

#visiteesObject

Returns the value of attribute visitees



14
15
16
# File 'lib/rley/parser/parse_walker_factory.rb', line 14

def visitees
  @visitees
end