Exemple #1
0
 def __init__(self, replacement, parser_state):
     (self.__parser_state, graph) = parse_replace(replacement, parser_state)
     self.__program = compile(graph, self)
Exemple #2
0
 def __init__(self, parser_state, graph):
     super(BacktrackingEngine, self).__init__(parser_state, graph)
     self._program = compile(graph, self)
Exemple #3
0
 def __init__(self, parser_state, graph):
     super(SimpleEngine, self).__init__(parser_state, graph)
     self._program = compile(graph, self)
     self.__stack = []
Exemple #4
0
 def __init__(self, parser_state, graph):
     super(ComplexEngine, self).__init__(parser_state, graph)
     self._program = compile(graph, self)
     self.__stack = []
Exemple #5
0
 def __init__(self, replacement, parser_state):
     (self.__parser_state, graph) = parse_replace(replacement, parser_state)
     self.__program = compile(graph, self)
Exemple #6
0
 def __init__(self, parser_state, graph):
     super(BacktrackingEngine, self).__init__(parser_state, graph)
     self._program = compile(graph, self)
Exemple #7
0
 def __init__(self, parser_state, graph):
     super(LexerEngine, self).__init__(parser_state, graph)
     self._program = compile(graph, self)
Exemple #8
0
 def __init__(self, parser_state, graph):
     super(LexerEngine, self).__init__(parser_state, graph)
     self._program = compile(graph, self)