From 25e53c9c013b2466737454dc9220a11d14a0ffbc Mon Sep 17 00:00:00 2001 From: Sebastijan Dumancic Date: Tue, 9 Jul 2024 08:30:26 +0000 Subject: [PATCH] quick change to struct defintion explanations --- src/rulenode.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rulenode.jl b/src/rulenode.jl index 89bcec8..0fc419b 100644 --- a/src/rulenode.jl +++ b/src/rulenode.jl @@ -24,7 +24,7 @@ Each node corresponds to a certain rule in the [`AbstractGrammar`](@ref). A [`RuleNode`](@ref) consists of: - `ind`: The index of the rule in the [`AbstractGrammar`](@ref) which this node is representing. -- `_val`: Field for storing immediately evaluated values +- `_val`: Field for caching evaluations of `RuleNode`s, preventing multiple unnecessary evaluations. The field can be used to store any needed infromation. - `children`: The children of this node in the expression tree !!! compat