HomeSort by relevance Sort by last modified time
    Searched refs:tokenlist (Results 1 - 3 of 3) sorted by null

  /external/ply/ply/example/yply/
yparse.py 11 tokenlist = [] variable
25 print("tokens = ", repr(tokenlist))
59 tokenlist.append(i)
  /external/ply/ply/ply/
cpp.py 342 def collect_args(self,tokenlist):
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")
    [all...]
  /external/python/cpython3/Lib/email/
_header_value_parser.py 29 The output of the parser is a TokenList object, which is a list subclass. A
30 TokenList is a recursive data structure. The terminal nodes of the structure
35 All TokenList and Terminal objects have a 'value' attribute, which produces the
46 All TokenList and Terminal objects also have a string value, which attempts to
54 All TokenList and Terminal objects have a 'defects' attribute which is a
100 # TokenList and its subclasses
103 class TokenList(list):
170 class WhiteSpaceTokenList(TokenList):
181 class UnstructuredTokenList(TokenList):
186 class Phrase(TokenList)
    [all...]

Completed in 338 milliseconds