CrossClj

1.4.9 docs

SourceDocs



RECENT
    VARS
    ->Cursor
    add-line-col-spans
    advance-cursor
    enlive-add-line-col-spans
    hiccup-add-line-col-spans
    make-line-col-fn
    map->Cursor

    « Index of all namespaces of this project

    (->Cursor index line column)
    Positional factory function for class instaparse.line_col.Cursor.
    
    (add-line-col-spans text parse-tree)
    Given a string text and a parse-tree for text, return parse tree
    with its metadata annotated with line and column info. The info can
    then be found in the metadata map under the keywords:
     
    :instaparse.gll/start-line, :instaparse.gll/start-column,
    :instaparse.gll/end-line, :instaparse.gll/end-column
    
    The start is inclusive, the end is exclusive. Lines and columns are 1-based.
    Private
    (advance-cursor cursor text new-index)
    Private
    (enlive-add-line-col-spans line-col-fn parse-tree)
    Private
    (hiccup-add-line-col-spans line-col-fn parse-tree)
    Private
    (make-line-col-fn text)
    Given a string text, returns a function that takes an index into the string,
    and returns a cursor, including line and column information.  For efficiency,
    inputs must be fed into the function in increasing order.
    (map->Cursor m__7585__auto__)
    Factory function for class instaparse.line_col.Cursor, taking a map of keywords to field values.