13 matching pages, found in 45 ms
Ask StyxWritten on your GPU machine; takes a few seconds the first time.
-
ex-ast.hexdocs.pmhttps://ex-ast.hexdocs.pm › indexingIndexing and Code Intelligence — ExAST v0.16.0
More about ex-ast.hexdocs.pm
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 …
-
ex-ast.hexdocs.pmhttps://ex-ast.hexdocs.pm › api-referenceAPI Reference — ExAST v0.16.0
More about ex-ast.hexdocs.pm
… 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 …
-
ex-ast.hexdocs.pmhttps://ex-ast.hexdocs.pm › getting-startedGetting Started — ExAST v0.16.0
More about ex-ast.hexdocs.pm
… 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 …
-
ex-ast.hexdocs.pmhttps://ex-ast.hexdocs.pm › readmeExAST 🔬 — ExAST v0.16.0
More about ex-ast.hexdocs.pm
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 …
-
ex-ast.hexdocs.pmhttps://ex-ast.hexdocs.pm › ExAST.Diff.PatcherExAST.Diff.Patcher — ExAST v0.16.0
More about ex-ast.hexdocs.pm
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 …
-
ex-ast.hexdocs.pmhttps://ex-ast.hexdocs.pm › queryingQuerying — ExAST v0.16.0
More about ex-ast.hexdocs.pm
… 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 …
-
ex-ast.hexdocs.pmhttps://ex-ast.hexdocs.pm › ExAST.DiffExAST.Diff — ExAST v0.16.0
More about ex-ast.hexdocs.pm
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 …
-
ex-ast.hexdocs.pmhttps://ex-ast.hexdocs.pm › ExAST.Symbol.DefinitionExAST.Symbol.Definition — ExAST v0.16.0
More about ex-ast.hexdocs.pm
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 …
-
ex-ast.hexdocs.pmhttps://ex-ast.hexdocs.pm › ExAST.Symbol.ReferenceExAST.Symbol.Reference — ExAST v0.16.0
More about ex-ast.hexdocs.pm
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 …
-
ex-ast.hexdocs.pmhttps://ex-ast.hexdocs.pm › ExAST.PatcherExAST.Patcher — ExAST v0.16.0
More about ex-ast.hexdocs.pm
… 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 …
Search for “source code site:ex-ast.hexdocs.pm” on Google, or add !ddg, !w and other shortcuts to any search.