drasil-lang-0.1.60.0: A framework for code and document generation for scientific software - Language SubPackage
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.Drasil.Expr.Precedence

Description

Defines operator precedence.

Synopsis

Documentation

prec2Arith :: ArithBinOp -> Int Source #

prec2Arith - precedence for arithmetic-related binary operations.

prec2Bool :: BoolBinOp -> Int Source #

prec2Bool - precedence for boolean-related binary operations.

prec2Eq :: EqBinOp -> Int Source #

prec2Eq - precedence for equality-related binary operations.

prec2LA :: LABinOp -> Int Source #

prec2LA - precedence for access-related binary operations.

prec2Ord :: OrdBinOp -> Int Source #

prec2Ord - precedence for order-related binary operations.

prec2VVV :: VVVBinOp -> Int Source #

prec2VVV - precedence for Vec->Vec->Vec-related binary operations.

prec2VVN :: VVNBinOp -> Int Source #

prec2VVN - precedence for Vec->Vec->Num-related binary operations.

prec2NVV :: NVVBinOp -> Int Source #

prec2NVV - precedence for Num->Vec->Vec-related binary operations.

prec2ESS :: ESSBinOp -> Int Source #

prec2ESS - precedence for Element->Set->Set-related binary operations.

prec2ESB :: ESBBinOp -> Int Source #

prec2ESS - precedence for Element->Set->Bool-related binary operations.

precA :: AssocArithOper -> Int Source #

precA - precedence for arithmetic-related Binary-Associative (Commutative) operators.

precB :: AssocBoolOper -> Int Source #

precB - precedence for boolean-related Binary-Associative (Commutative) operators.

prec1 :: UFunc -> Int Source #

prec1 - precedence of unary operators.

prec1B :: UFuncB -> Int Source #

prec1B - precedence of boolean-related unary operators.

prec1VV :: UFuncVV -> Int Source #

prec1VV - precedence of vector-vector-related unary operators.

prec1VN :: UFuncVN -> Int Source #

prec1Vec - precedence of vector-number-related unary operators.

eprec :: Expr -> Int Source #

eprec - Expression precedence.