camfort-0.900: CamFort - Cambridge Fortran infrastructure
Camfort.Specification.Units.Parser
unitParser :: String -> Either AnnotationParseError UnitStatement Source #
data UnitStatement Source #
Constructors
Instances
Methods
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UnitStatement -> c UnitStatement #
gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UnitStatement #
toConstr :: UnitStatement -> Constr #
dataTypeOf :: UnitStatement -> DataType #
dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UnitStatement) #
dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UnitStatement) #
gmapT :: (forall b. Data b => b -> b) -> UnitStatement -> UnitStatement #
gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UnitStatement -> r #
gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UnitStatement -> r #
gmapQ :: (forall d. Data d => d -> u) -> UnitStatement -> [u] #
gmapQi :: Int -> (forall d. Data d => d -> u) -> UnitStatement -> u #
gmapM :: Monad m => (forall d. Data d => d -> m d) -> UnitStatement -> m UnitStatement #
gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UnitStatement -> m UnitStatement #
gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UnitStatement -> m UnitStatement #
showsPrec :: Int -> UnitStatement -> ShowS #
show :: UnitStatement -> String #
showList :: [UnitStatement] -> ShowS #
annotateWithAST :: UA -> UnitStatement -> UA Source #
data UnitOfMeasure Source #
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UnitOfMeasure -> c UnitOfMeasure #
gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UnitOfMeasure #
toConstr :: UnitOfMeasure -> Constr #
dataTypeOf :: UnitOfMeasure -> DataType #
dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UnitOfMeasure) #
dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UnitOfMeasure) #
gmapT :: (forall b. Data b => b -> b) -> UnitOfMeasure -> UnitOfMeasure #
gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UnitOfMeasure -> r #
gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UnitOfMeasure -> r #
gmapQ :: (forall d. Data d => d -> u) -> UnitOfMeasure -> [u] #
gmapQi :: Int -> (forall d. Data d => d -> u) -> UnitOfMeasure -> u #
gmapM :: Monad m => (forall d. Data d => d -> m d) -> UnitOfMeasure -> m UnitOfMeasure #
gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UnitOfMeasure -> m UnitOfMeasure #
gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UnitOfMeasure -> m UnitOfMeasure #
showsPrec :: Int -> UnitOfMeasure -> ShowS #
show :: UnitOfMeasure -> String #
showList :: [UnitOfMeasure] -> ShowS #
data UnitPower Source #
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UnitPower -> c UnitPower #
gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UnitPower #
toConstr :: UnitPower -> Constr #
dataTypeOf :: UnitPower -> DataType #
dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UnitPower) #
dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UnitPower) #
gmapT :: (forall b. Data b => b -> b) -> UnitPower -> UnitPower #
gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UnitPower -> r #
gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UnitPower -> r #
gmapQ :: (forall d. Data d => d -> u) -> UnitPower -> [u] #
gmapQi :: Int -> (forall d. Data d => d -> u) -> UnitPower -> u #
gmapM :: Monad m => (forall d. Data d => d -> m d) -> UnitPower -> m UnitPower #
gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UnitPower -> m UnitPower #
gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UnitPower -> m UnitPower #
showsPrec :: Int -> UnitPower -> ShowS #
show :: UnitPower -> String #
showList :: [UnitPower] -> ShowS #