( self )
return out
Returns the parse results as a nested list of matching tokens, all converted to strings.
Returns the parse results as a nested list of matching tokens, all converted to strings.
Returns the parse results as a nested list of matching tokens all converted to strings .
def asList( self ):
        """Returns the parse results as a nested list of matching tokens, all converted to strings."""
        out = []
        for res in self.__toklist:
            if isinstance(res,ParseResults):
                out.append( res.asList() )
            else:
                out.append( res )
        return out
def asList ( self ) : out = [ ] for res in self . __toklist : if isinstance ( res , ParseResults ) : out . append ( res . asList ( ) ) else : out . append ( res ) return out