Package libxyz :: Package parser |
[hide private]
[frames] | no frames]

# Source Code for Package libxyz.parser

     1  #-*- coding: utf8 -*
     2  #
     3  # Max E. Kuznecov ~syhpoon <syhpoon@syhpoon.name> 2008
     4  #
     5  # This file is part of XYZCommander.
     6  # XYZCommander is free software: you can redistribute it and/or modify
     7  # it under the terms of the GNU Lesser Public License as published by
     8  # the Free Software Foundation, either version 3 of the License, or
     9  # (at your option) any later version.
    10  # XYZCommander is distributed in the hope that it will be useful,
    11  # but WITHOUT ANY WARRANTY; without even the implied warranty of
    12  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    13  # GNU Lesser Public License for more details.
    14  # You should have received a copy of the GNU Lesser Public License
    15  # along with XYZCommander. If not, see <http://www.gnu.org/licenses/>.
    16
    17  """
    18  Different parsers
    19  """
    20
    21  __all__ = (
    22      'lr',
    23      'Lexer',
    24      'BaseParser',
    25      'BlockParser',
    26      'MultiParser',
    27      'FlatParser',
    28      'RegexpParser',
    29      'ParsedData',
    30      'SourceData',
    31  )
    32
    33  import lr
    34
    35  from parseddata import ParsedData
    36  from sourcedata import SourceData
    37  from lexer import Lexer
    38  from base import BaseParser
    39  from block import BlockParser
    40  from multi import MultiParser
    41  from flat import FlatParser
    42  from regexp import RegexpParser
    43