Skip to content

Commit

Permalink
Add a summary sentence as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
cdleary committed Jun 20, 2024
1 parent 57635f3 commit 5415cf6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions xls/dslx/frontend/ast.h
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,10 @@ FreeVariables GetFreeVariablesByLambda(
// Note: the start_pos given is a way to approximate "free variable with
// respect to this AST construct". i.e. all the references with defs that are
// defined before this start_pos point are considered free. This gives an easy
// way to say "everything defined inside the body we don't need to worry about,
// only tell me about references to things before this lexical position in the
// file.
// way to say "everything defined inside the body we don't need to worry about
// -- only tell me about references to things before this lexical position in
// the file" -- "lexical position in the file" is an approximation for
// "everything defined outside of (before) this AST construct".
FreeVariables GetFreeVariablesByPos(const AstNode* node,
const Pos* start_pos = nullptr);

Expand Down

0 comments on commit 5415cf6

Please sign in to comment.