Class: ODDB::AnalysisParse::AnonymousListParser

Inherits:
Parser show all
Defined in:
ext/analysisparse/src/anonymous_list_parser.rb

Constant Summary collapse

LINE_PTRN =
/^([CNS]|N,\s*ex|TP)?\s*\d{4}\.\d{2,}\s*\d+\s*\w/u
PARSER =
Parse.generate_parser grammar

Constants inherited from Parser

Parser::FOOTNOTE_PTRN, Parser::FOOTNOTE_TYPE, Parser::STOPCHARS

Instance Attribute Summary

Attributes inherited from Parser

#footnotes, #list_title, #permission, #taxpoint_type

Instance Method Summary collapse

Methods inherited from Parser

#footnote_line, #footnote_type, #initialize, #parse_footnotes, #parse_page, #update_footnotes

Constructor Details

This class inherits a constructor from ODDB::AnalysisParse::Parser

Instance Method Details

#parse_line(src) ⇒ Object



32
33
34
35
# File 'ext/analysisparse/src/anonymous_list_parser.rb', line 32

def parse_line(src)
	src.gsub!(/\s+/,' ')
	super
end