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