Class: FuPeg::Parser::Fail

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

Instance Attribute Summary collapse

Instance Attribute Details

#byteposObject

Returns the value of attribute bytepos

Returns:

  • (Object)

    the current value of bytepos



39
40
41
# File 'lib/fupeg/parser.rb', line 39

def bytepos
  @bytepos
end

#patternObject

Returns the value of attribute pattern

Returns:

  • (Object)

    the current value of pattern



39
40
41
# File 'lib/fupeg/parser.rb', line 39

def pattern
  @pattern
end

#stackObject

Returns the value of attribute stack

Returns:

  • (Object)

    the current value of stack



39
40
41
# File 'lib/fupeg/parser.rb', line 39

def stack
  @stack
end