Class: Peggy::ABNF::ABNFParser

Inherits:
Builder show all
Defined in:
lib/abnc.rb

Instance Attribute Summary

Attributes inherited from Builder

#parent, #productions

Attributes inherited from Parser

#debug_flag, #ignore_productions, #parse_results, #source_text

Instance Method Summary collapse

Methods inherited from Builder

#[], #alt, #eof, #lit, #many, #method_missing, #neg, #opt, #parse?, #pos, #reset!, #seq, #some, #to_s

Methods inherited from Parser

#[], #_memoize, #allow?, #ast?, #check?, #correct_regexp!, #dissallow?, #eof, #ignore?, #literal?, #match?, #parse?, #query?, #regexp?, #string?

Constructor Details

#initializeABNFParser

Returns a new instance of ABNFParser.



24
25
26
27
# File 'lib/abnc.rb', line 24

def initialize
  super
  build
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Peggy::Builder