Class: StrAux

Inherits:
Struct
  • Object
show all
Defined in:
lib/rpeg/captures.rb

Overview

q.v. struct StrAux in lpcap.c

value is a Breadcrumb or subject index pair (start stop)

Instance Attribute Summary collapse

Instance Attribute Details

Returns the value of attribute breadcrumb_idx

Returns:

  • (Object)

    the current value of breadcrumb_idx



136
137
138
# File 'lib/rpeg/captures.rb', line 136

def breadcrumb_idx
  @breadcrumb_idx
end

#isstringObject

Returns the value of attribute isstring

Returns:

  • (Object)

    the current value of isstring



136
137
138
# File 'lib/rpeg/captures.rb', line 136

def isstring
  @isstring
end

#subject_endObject

Returns the value of attribute subject_end

Returns:

  • (Object)

    the current value of subject_end



136
137
138
# File 'lib/rpeg/captures.rb', line 136

def subject_end
  @subject_end
end

#subject_startObject

Returns the value of attribute subject_start

Returns:

  • (Object)

    the current value of subject_start



136
137
138
# File 'lib/rpeg/captures.rb', line 136

def subject_start
  @subject_start
end