Skip to content

Commit

Permalink
Add a todo to TypedNode.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheVeryDarkness authored and tomtau committed Mar 12, 2024
1 parent ae7ddb6 commit 0f33163
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pest/src/typed/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ pub trait TypedNode<'i, R: RuleType>: Sized {
false => Err(tracker.collect()),
}
}
// /// Whether this node will modify the stack.
// /// Must be evaluated correctly,
// /// otherwise the stack won't be restored correctly.
// const MODIFY_STACK: bool;

// /// Whether this node accepts null input.
// const NULLABLE: bool;
// /// Leading characters that this node accepts.
Expand Down

0 comments on commit 0f33163

Please sign in to comment.