Home | History | Annotate | Download | only in scripts

Lines Matching refs:a_list

434 def PopFront(a_list):
435 head = a_list[0]
436 a_list[:1] = []
440 def PushFront(a_list, elem):
441 a_list[:0] = [elem]
444 def PopToken(a_list, token_type=None):
445 token = PopFront(a_list)
454 def PeekToken(a_list):
455 if not a_list:
458 return a_list[0]