Add Start/End to DebuggerEvent.
This commit is contained in:
@@ -848,6 +848,7 @@ impl AsRef<crate::Shared<crate::Module>> for AST {
|
||||
/// _(internals)_ An [`AST`] node, consisting of either an [`Expr`] or a [`Stmt`].
|
||||
/// Exported under the `internals` feature only.
|
||||
#[derive(Debug, Clone, Copy, Hash)]
|
||||
#[non_exhaustive]
|
||||
pub enum ASTNode<'a> {
|
||||
/// A statement ([`Stmt`]).
|
||||
Stmt(&'a Stmt),
|
||||
|
@@ -348,6 +348,7 @@ impl FloatWrapper<crate::FLOAT> {
|
||||
/// _(internals)_ An expression sub-tree.
|
||||
/// Exported under the `internals` feature only.
|
||||
#[derive(Clone, Hash)]
|
||||
#[non_exhaustive]
|
||||
pub enum Expr {
|
||||
/// Dynamic constant.
|
||||
///
|
||||
|
@@ -366,6 +366,7 @@ impl Extend<Stmt> for StmtBlock {
|
||||
/// _(internals)_ A statement.
|
||||
/// Exported under the `internals` feature only.
|
||||
#[derive(Debug, Clone, Hash)]
|
||||
#[non_exhaustive]
|
||||
pub enum Stmt {
|
||||
/// No-op.
|
||||
Noop(Position),
|
||||
|
Reference in New Issue
Block a user