def ReadWord(self, unused_lex_mode):
    'Interface for bool_parse.py.\n\n    TODO: This should probably be word_t\n    '
    if (self.i == self.n):
        w = word.String(Id.Eof_Real, '', runtime.NO_SPID)
        return w
    s = self.cmd_val.argv[self.i]
    left_spid = self.cmd_val.arg_spids[self.i]
    self.i += 1
    id_ = match.BracketUnary(s)
    if (id_ == Id.Undefined_Tok):
        id_ = match.BracketBinary(s)
    if (id_ == Id.Undefined_Tok):
        id_ = match.BracketOther(s)
    if (id_ == Id.Undefined_Tok):
        id_ = Id.Word_Compound
    w = word.String(id_, s, left_spid)
    return w
Interface for bool_parse.py.

TODO: This should probably be word_t
def ReadWord(self, unused_lex_mode):
    'Interface for bool_parse.py.\n\n    TODO: This should probably be word_t\n    '
    if (self.i == self.n):
        w = word.String(Id.Eof_Real, , runtime.NO_SPID)
        return w
    s = self.cmd_val.argv[self.i]
    left_spid = self.cmd_val.arg_spids[self.i]
    self.i += 1
    id_ = match.BracketUnary(s)
    if (id_ == Id.Undefined_Tok):
        id_ = match.BracketBinary(s)
    if (id_ == Id.Undefined_Tok):
        id_ = match.BracketOther(s)
    if (id_ == Id.Undefined_Tok):
        id_ = Id.Word_Compound
    w = word.String(id_, s, left_spid)
    return w