Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiceParserListener ¶
type DiceParserListener struct {
fp.BaseDiceListener
// contains filtered or unexported fields
}
func (*DiceParserListener) EnterCount ¶
func (s *DiceParserListener) EnterCount(ctx *fp.CountContext)
func (*DiceParserListener) EnterModifier ¶
func (s *DiceParserListener) EnterModifier(ctx *fp.ModifierContext)
func (*DiceParserListener) EnterNotation ¶
func (s *DiceParserListener) EnterNotation(_ *fp.NotationContext)
func (*DiceParserListener) EnterSides ¶
func (s *DiceParserListener) EnterSides(ctx *fp.SidesContext)
type ListenerError ¶
type ListenerError struct {
antlr.ErrorListener
}
type RollableDice ¶
func (RollableDice) Roll ¶
func (r RollableDice) Roll() (result int)
func (RollableDice) String ¶
func (r RollableDice) String() string
Click to show internal directories.
Click to hide internal directories.