Home
last modified time | relevance | path

Searched refs:tokenlist (Results 1 – 5 of 5) sorted by relevance

/external/ply/ply/example/yply/
Dyparse.py11 tokenlist = [] variable
25 print("tokens = ", repr(tokenlist))
59 tokenlist.append(i)
/external/ply/ply/ply/
Dcpp.py342 def collect_args(self,tokenlist): argument
347 tokenlen = len(tokenlist)
351 while (i < tokenlen) and (tokenlist[i].type in self.t_WS):
354 if (i < tokenlen) and (tokenlist[i].value == '('):
357 self.error(self.source,tokenlist[0].lineno,"Missing '(' in macro arguments")
363 t = tokenlist[i]
384 self.error(self.source,tokenlist[-1].lineno,"Missing ')' in macro arguments")
/external/python/setuptools/pkg_resources/_vendor/
Dpyparsing.py1343 def postParse( self, instring, loc, tokenlist ): argument
1344 return tokenlist
4227 def postParse( self, instring, loc, tokenlist ): argument
4228 retToks = tokenlist.copy()
4230 …retToks += ParseResults([ "".join(tokenlist._asStringList(self.joinString)) ], modal=self.modalRes…
4255 def postParse( self, instring, loc, tokenlist ): argument
4256 return [ tokenlist ]
4298 def postParse( self, instring, loc, tokenlist ): argument
4299 for i,tok in enumerate(tokenlist):
4306 tokenlist[ikey] = _ParseResultsWithOffset("",i)
[all …]
/external/python/setuptools/setuptools/_vendor/
Dpyparsing.py1343 def postParse( self, instring, loc, tokenlist ): argument
1344 return tokenlist
4227 def postParse( self, instring, loc, tokenlist ): argument
4228 retToks = tokenlist.copy()
4230 …retToks += ParseResults([ "".join(tokenlist._asStringList(self.joinString)) ], modal=self.modalRes…
4255 def postParse( self, instring, loc, tokenlist ): argument
4256 return [ tokenlist ]
4298 def postParse( self, instring, loc, tokenlist ): argument
4299 for i,tok in enumerate(tokenlist):
4306 tokenlist[ikey] = _ParseResultsWithOffset("",i)
[all …]
/external/python/cpython3/Lib/email/
D_header_value_parser.py2432 def _find_mime_parameters(tokenlist, value): argument
2438 tokenlist.append(ValueTerminal(value[0], 'misplaced-special'))
2442 tokenlist.append(token)
2445 tokenlist.append(ValueTerminal(';', 'parameter-separator'))
2446 tokenlist.append(parse_mime_parameters(value[1:]))