Skip to content

Commit

Permalink
Update doc comments for edge label wit definitions.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjoerussell committed Jan 8, 2025
1 parent bb853b4 commit ea69bba
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ interface cst {

/// Represents a connection between nodes in the syntax tree.
record edge {
/// Optional label describing the relationship between nodes.
/// Describes the relationship between this node and its parent.
label: edge-label,
/// The target node of this edge.
node: node,
Expand All @@ -166,7 +166,7 @@ interface cst {

/// Returns the current node under the cursor.
node: func() -> node;
/// Returns the label of the edge from the parent to the current node, if any.
/// Returns a label that describes the relationship between the current node and its parent.
label: func() -> edge-label;

/// Returns the current text offset of the cursor.
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ea69bba

Please sign in to comment.