def nodes(xmrs):
    """Return the list of Nodes for *xmrs*."""
    nodes = []
    _props = xmrs.properties
    varsplit = sort_vid_split
    for p in xmrs.eps():
        sortinfo = None
        iv = p.intrinsic_variable
        if iv is not None:
            sort, _ = varsplit(iv)
            sortinfo = _props(iv)
            sortinfo[CVARSORT] = sort
        nodes.append(
            Node(p.nodeid, p.pred, sortinfo, p.lnk, p.surface, p.base, p.carg)
        )
    return nodes
def nodes ( xmrs ) : nodes = [ ] _props = xmrs . properties varsplit = sort_vid_split for p in xmrs . eps ( ) : sortinfo = None iv = p . intrinsic_variable if iv is not None : sort , _ = varsplit ( iv ) sortinfo = _props ( iv ) sortinfo [ CVARSORT ] = sort nodes . append ( Node ( p . nodeid , p . pred , sortinfo , p . lnk , p . surface , p . base , p . carg ) ) return nodes
Return the list of Nodes for *xmrs*.