< Dice | InternalContext
InternalContext.GroupExpressions Field
From DiceRoller Documentation
Stores all expressions that underpin a Group die result.
- Namespace: Dice
- Assembly: DiceRoller (in DiceRoller.dll)
Syntax
internal List<DiceAST> GroupExpressions
Field Value
Type: System.Collections.Generic.List<Dice.AST.DiceAST>
All expressions that underpin a Group die result at this point in the AST evaluation.
Remarks
AddGroupExpression and GetGroupExpression should be used instead of directly interacting with this field. Whenever a new DieResult of DieType.Group is added, the underlying node which created the result is added here and the key stored in that DieResult's Data. This allows a Group roll to be rerolled, despite not having direct access to the actual underlying dice which were rolled.