Searched refs:t_WS (Results 1 - 2 of 2) sorted by relevance

/gem5/ext/ply/ply/
H A Dcpp.py234 self.t_WS = (self.t_SPACE, self.t_NEWLINE)
282 if tok.type in self.t_WS and '\n' in tok.value:
297 while i < len(tokens) and tokens[i].type in self.t_WS:
301 while i >= 0 and tokens[i].type in self.t_WS:
332 while (i < tokenlen) and (tokenlist[i].type in self.t_WS):
491 while j < len(tokens) and tokens[j].type in self.t_WS:
545 if tokens[j].type in self.t_WS:
613 if tok.type not in self.t_WS: break
618 if tok in self.t_WS and '\n' in tok.value:
787 elif mtype.type in self.t_WS
[all...]
/gem5/ext/ply/example/GardenSnake/
H A DGardenSnake.py111 # Putting this before t_WS let it consume lines with only comments in
120 def t_WS(t): function

Completed in 9 milliseconds