Function need_more_tokens

Synopsis

def need_more_tokens(self)

Description

No description yet.

Source

Lines 145-155 in lib3/yaml/scanner.py.

def need_more_tokens(self):
    if self.done:
        return False
    if not self.tokens:
        return True
    # The current token may be a potential simple key, so we
    # need to look further.
    self.stale_possible_simple_keys()
    if self.next_possible_simple_key() == self.tokens_taken:
        return True





Add Discussion as Guest

Log in