13 matching pages, found in 3434 ms

Ask StyxWritten on your GPU machine; takes a few seconds the first time.

  1. ex-ast.hexdocs.pmhttps://ex-ast.hexdocs.pm › indexing
    More about ex-ast.hexdocs.pm
    Indexing and Code Intelligence — ExAST v0.16.0

    Indexing and Code Intelligence Copy Markdown View Source ExAST can summarize Elixir source and selectors into conservative metadata for code intelligence systems. These APIs are useful when you want to build an …

    0 points
  2. ex-ast.hexdocs.pmhttps://ex-ast.hexdocs.pm › api-reference
    More about ex-ast.hexdocs.pm
    API Reference — ExAST v0.16.0

    … 0.16.0 Copy Markdown View Source Modules ExAST Search, replace, and diff Elixir code by AST pattern. ExAST. Comment A source comment with line/column metadata. ExAST. Comments Extracts comments from Elixir source …

    0 points
  3. ex-ast.hexdocs.pmhttps://ex-ast.hexdocs.pm › getting-started
    More about ex-ast.hexdocs.pm
    Getting Started — ExAST v0.16.0

    … plan = ExAST . rewrite_plan ( source_code , "dbg(expr)" , "expr" ) #=> %ExAST.Rewriter.Plan{replacements: [...], conflicts: []} # Low-level: work with source strings ExAST.Patcher . find_all ( source_code , "IO.inspect(_)" ) #=> [%{node: ..., range: ..., captures: %{}, source: "IO.inspect(data)"}] ExAST.Patcher . replace …

    0 points
  4. ex-ast.hexdocs.pmhttps://ex-ast.hexdocs.pm › readme
    More about ex-ast.hexdocs.pm
    ExAST 🔬 — ExAST v0.16.0

    ExAST 🔬 Copy Markdown View Source Search, replace, and diff Elixir code by AST pattern. Patterns are plain Elixir — variables capture, _ is a wildcard, maps and structs match partially, pipes are normalized. ... matches …

    0 points
  5. ex-ast.hexdocs.pmhttps://ex-ast.hexdocs.pm › ExAST.Diff.Patcher
    More about ex-ast.hexdocs.pm
    ExAST.Diff.Patcher — ExAST v0.16.0

    ExAST. Diff. Patcher (ExAST v0.16.0) Copy Markdown View Source Applies diff edits to produce patched source code. Takes a diff result and builds Sourceror patches for updates, deletes, and inserts, then applies …

    0 points
  6. ex-ast.hexdocs.pmhttps://ex-ast.hexdocs.pm › querying
    More about ex-ast.hexdocs.pm
    Querying — ExAST v0.16.0

    … public API" ) ) ExAST.Selector . requires_source? ( selector ) #=> true ExAST.Selector . requires_comments? ( selector ) #=> true ExAST.Selector . find_all ( source , selector ) ExAST.Selector . match? ( source , selector ) For candidate indexing and code intelligence metadata, see Indexing and Code …

    0 points
  7. ex-ast.hexdocs.pmhttps://ex-ast.hexdocs.pm › ExAST.Diff
    More about ex-ast.hexdocs.pm
    ExAST.Diff — ExAST v0.16.0

    ExAST. Diff (ExAST v0.16.0) Copy Markdown View Source Syntax-aware diffing for Elixir source code. Parses two source strings with Sourceror, maps structurally similar AST nodes, and produces a diff result with …

    0 points
  8. ex-ast.hexdocs.pmhttps://ex-ast.hexdocs.pm › ExAST.Symbol.Definition
    More about ex-ast.hexdocs.pm
    ExAST.Symbol.Definition — ExAST v0.16.0

    ExAST. Symbol. Definition (ExAST v0.16.0) Copy Markdown View Source A module, function, macro, callback, or attribute definition found in Elixir code. Summary Types kind() t() visibility() Types kind() @type kind() :: :module | :def …

    0 points
  9. ex-ast.hexdocs.pmhttps://ex-ast.hexdocs.pm › ExAST.Symbol.Reference
    More about ex-ast.hexdocs.pm
    ExAST.Symbol.Reference — ExAST v0.16.0

    ExAST. Symbol. Reference (ExAST v0.16.0) Copy Markdown View Source A local or remote reference found in Elixir code. Summary Types kind() t() Types kind() @type kind() :: :local_call | :remote_call | :alias | :module …

    0 points
  10. ex-ast.hexdocs.pmhttps://ex-ast.hexdocs.pm › ExAST.Patcher
    More about ex-ast.hexdocs.pm
    ExAST.Patcher — ExAST v0.16.0

    … v0.16.0) Copy Markdown View Source Finds and replaces AST patterns in source code. Accepts source strings, AST nodes, or Sourceror zippers as input. Patterns and replacements can be strings or quoted expressions …

    0 points

Search for “Source Code site:ex-ast.hexdocs.pm” on Google, or add !ddg, !w and other shortcuts to any search.