Class: Peggy::PEG::PEGCompiler
- Inherits:
-
Builder
- Object
- Peggy::Parser
- Builder
- Peggy::PEG::PEGCompiler
- Defined in:
- lib/Copy of peg.rb
Instance Attribute Summary
Attributes inherited from Builder
Attributes inherited from Peggy::Parser
#debug_flag, #ignore_productions, #parse_results, #source_text
Instance Method Summary collapse
-
#initialize ⇒ PEGCompiler
constructor
A new instance of PEGCompiler.
Methods inherited from Builder
#[], #each, #eof, #lit, #many, #method_missing, #neg, #one, #opt, #parse?, #pos, #reset!, #some
Methods inherited from Peggy::Parser
#[], #allow?, #check?, #correct_regexp!, #dissallow?, #eof, #ignore?, #literal?, #match?, #parse?, #query?, #regexp?, #string?
Constructor Details
#initialize ⇒ PEGCompiler
Returns a new instance of PEGCompiler.
12 13 14 15 |
# File 'lib/Copy of peg.rb', line 12 def initialize super build end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Peggy::Builder