Essence.Document.find_token
You're seeing just the function
find_token
, go back to Essence.Document module for more information.
Link to this function
find_token(doc, token)
Specs
find_token( doc :: %Essence.Document{ meta: term(), nested_tokens: term(), text: term(), type: term(), uri: term() }, token :: String.t() ) :: List.t()
Find all occurrences of token
in the given Essence.Document
. Returns a
list of [token: index] tuples.