Skip to content

Commit

Permalink
Merge pull request #316 from bergel/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
pfitzseb authored Nov 3, 2021
2 parents 1c19c97 + b82339f commit 04932be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Identifying and marking errors (5.) is, in general, dependent on steps 1-4. Thes


### Passes
For a given experssion `x` this pass will:
For a given expression `x` this pass will:

* Handle import statements (`resolve_import`). This either explicitly imports variables into the current state (for statements such as `import/using SomeModule: binding1, binding2`) or makes the exported bindings of a modules available more generally (e.g. `using SomeOtherModule`). The availability of includable packages is handled by the `getsymbolserver` function called on the `state.server`.
* Determine whether `x` introduces a new variable. `mark_bindings!` performs this and may mark bindings for child nodes of `x` (e.g. when called on an expression that defines a `Function` this will mark the arguments of the signature as introducing bindings.)
Expand Down Expand Up @@ -74,4 +74,4 @@ An `AbstractFile` must support the following:

`StaticLint.setserver(file, server::AbstractServer)` : Set the server of a file.

`StaticLint.semantic_pass(file, target = nothing(optional))` : Run a full pass on the ST of a project (i.e. ST of all linked files). It is expected that `file` is the root of the project.
`StaticLint.semantic_pass(file, target = nothing(optional))` : Run a full pass on the ST of a project (i.e. ST of all linked files). It is expected that `file` is the root of the project.

0 comments on commit 04932be

Please sign in to comment.