Home
last modified time | relevance | path

Searched refs:dfas (Results 1 – 16 of 16) sorted by relevance

/external/python/cpython3/Parser/pgen/
Dpgen.py145 self.dfas, self.startsymbol = self.create_dfas()
175 names = list(self.dfas.keys())
185 dfa = self.dfas[name]
196 c.dfas[c.symbol2number[name]] = (states, self.make_first_sets(c, name))
205 print("- {n_dfas} dfas".format(n_dfas=len(c.dfas)))
270 names = list(self.dfas.keys())
281 dfa = self.dfas[name]
287 if label in self.dfas:
Dgrammar.py49 self.dfas = collections.OrderedDict()
72 writer(" {n_dfas},\n".format(n_dfas=len(self.dfas)))
95 writer("static const dfa dfas[{}] = {{\n".format(len(self.dfas)))
96 for dfaindex, dfa_elem in enumerate(self.dfas.items()):
/external/python/cpython3/Lib/lib2to3/pgen2/
Dpgen.py21 self.dfas, self.startsymbol = self.parse()
29 names = list(self.dfas.keys())
38 dfa = self.dfas[name]
48 c.dfas[c.symbol2number[name]] = (states, self.make_first(c, name))
108 names = list(self.dfas.keys())
116 dfa = self.dfas[name]
122 if label in self.dfas:
146 dfas = {}
163 dfas[name] = dfa
167 return dfas, startsymbol
Dconv.py167 dfas = {}
193 dfas[number] = (state, first)
196 self.dfas = dfas
226 assert ndfas == len(self.dfas)
Dparse.py111 stackentry = (self.grammar.dfas[start], 0, newnode)
146 itsdfa = self.grammar.dfas[t]
150 self.push(t, self.grammar.dfas[t], newstate, context)
Dgrammar.py80 self.dfas = {}
125 pprint(self.dfas)
/external/python/cpython2/Lib/lib2to3/pgen2/
Dpgen.py21 self.dfas, self.startsymbol = self.parse()
29 names = self.dfas.keys()
38 dfa = self.dfas[name]
48 c.dfas[c.symbol2number[name]] = (states, self.make_first(c, name))
108 names = self.dfas.keys()
116 dfa = self.dfas[name]
122 if label in self.dfas:
146 dfas = {}
163 dfas[name] = dfa
167 return dfas, startsymbol
Dconv.py167 dfas = {}
193 dfas[number] = (state, first)
196 self.dfas = dfas
226 assert ndfas == len(self.dfas)
Dparse.py108 stackentry = (self.grammar.dfas[start], 0, newnode)
143 itsdfa = self.grammar.dfas[t]
147 self.push(t, self.grammar.dfas[t], newstate, context)
Dgrammar.py81 self.dfas = {}
139 pprint(self.dfas)
/external/python/cpython2/Parser/
Dmetagrammar.c107 static dfa dfas[6] = { variable
144 dfas,
/external/antlr/tool/src/main/java/org/antlr/tool/
DGrammarReport.java289 protected String getDFALocations(Set<DFA> dfas) { in getDFALocations() argument
292 for (DFA dfa : dfas) { in getDFALocations()
/external/python/cpython2/Python/
Dgraminit.c1829 static dfa dfas[85] = { variable
2174 dfas,
/external/python/cpython3/Tools/c-analyzer/
Dignored-globals.txt330 dfas
/external/python/cpython3/Python/
Dgraminit.c2312 static const dfa dfas[92] = { variable
2685 dfas,
/external/antlr/tool/
DCHANGES.txt367 -Xmaxswitchcaselabels m don't generate switch() statements for dfas
369 -Xminswitchalts m don't generate switch() statements for dfas smaller