Home | History | Annotate | Download | only in scripts

Lines Matching refs:a_list

443 def PopFront(a_list):
444 head = a_list[0]
445 a_list[:1] = []
449 def PushFront(a_list, elem):
450 a_list[:0] = [elem]
453 def PopToken(a_list, token_type=None):
454 token = PopFront(a_list)
463 def PeekToken(a_list):
464 if not a_list:
467 return a_list[0]