Safe Haskell | Safe-Inferred |
---|
Parsers of property values.
Import Game.Goatee.Sgf.Property rather than importing this module.
- colorParser :: Parser Color
- coordElistParser :: Parser CoordList
- coordListParser :: Parser CoordList
- coordPairListParser :: Parser [(Coord, Coord)]
- doubleParser :: Parser DoubleValue
- gameResultParser :: Parser GameResult
- labelListParser :: Parser [(Coord, SimpleText)]
- moveParser :: Parser (Maybe Coord)
- noneParser :: Parser ()
- integralParser :: (Integral a, Read a) => Parser a
- realParser :: Parser RealValue
- rulesetParser :: Parser Ruleset
- simpleTextPairParser :: Parser (SimpleText, SimpleText)
- simpleTextParser :: Parser SimpleText
- sizeParser :: Parser (Int, Int)
- textParser :: Parser Text
- unknownPropertyParser :: Parser UnknownPropertyValue
- variationModeParser :: Parser VariationMode
- compose :: Parser a -> Parser b -> Parser (a, b)
- line :: Parser Int
- simpleText :: Bool -> Parser SimpleText
- text :: Bool -> Parser String
Documentation
coordPairListParser :: Parser [(Coord, Coord)]Source
labelListParser :: Parser [(Coord, SimpleText)]Source
moveParser :: Parser (Maybe Coord)Source
noneParser :: Parser ()Source
integralParser :: (Integral a, Read a) => Parser aSource
simpleTextParser :: Parser SimpleTextSource
A parser for SGF SimpleText property values.
sizeParser :: Parser (Int, Int)Source
Exposed for testing
simpleText :: Bool -> Parser SimpleTextSource