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

Returns:

  • (Object)

    the current value of backtrack_points



16
17
18
# File 'lib/rley/parser/parse_walker_factory.rb', line 16

def backtrack_points
  @backtrack_points
end

#curr_entryObject

Returns the value of attribute curr_entry

Returns:

  • (Object)

    the current value of curr_entry



16
17
18
# File 'lib/rley/parser/parse_walker_factory.rb', line 16

def curr_entry
  @curr_entry
end

#entry_set_indexObject

Returns the value of attribute entry_set_index

Returns:

  • (Object)

    the current value of entry_set_index



16
17
18
# File 'lib/rley/parser/parse_walker_factory.rb', line 16

def entry_set_index
  @entry_set_index
end

#lazy_walkObject

Returns the value of attribute lazy_walk

Returns:

  • (Object)

    the current value of lazy_walk



16
17
18
# File 'lib/rley/parser/parse_walker_factory.rb', line 16

def lazy_walk
  @lazy_walk
end

#nterm2startObject

Returns the value of attribute nterm2start

Returns:

  • (Object)

    the current value of nterm2start



16
17
18
# File 'lib/rley/parser/parse_walker_factory.rb', line 16

def nterm2start
  @nterm2start
end

#return_stackObject

Returns the value of attribute return_stack

Returns:

  • (Object)

    the current value of return_stack



16
17
18
# File 'lib/rley/parser/parse_walker_factory.rb', line 16

def return_stack
  @return_stack
end

#visiteesObject

Returns the value of attribute visitees

Returns:

  • (Object)

    the current value of visitees



16
17
18
# File 'lib/rley/parser/parse_walker_factory.rb', line 16

def visitees
  @visitees
end