| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Futhark.CodeGen.Backends.GenericPython.AST
Documentation
Constructors
| Integer Integer | |
| Bool Bool | |
| Float Double | |
| String Text | |
| RawStringLiteral Text | |
| Var String | |
| BinOp String PyExp PyExp | |
| UnOp String PyExp | |
| Cond PyExp PyExp PyExp | |
| Index PyExp PyIdx | |
| Call PyExp [PyArg] | |
| Tuple [PyExp] | |
| List [PyExp] | |
| Field PyExp String | |
| Dict [(PyExp, PyExp)] | |
| Lambda String PyExp | |
| None |
Constructors
| ArgKeyword String PyExp | |
| Arg PyExp |
Constructors
| If PyExp [PyStmt] [PyStmt] | |
| Try [PyStmt] [PyExcept] | |
| While PyExp [PyStmt] | |
| For String PyExp [PyStmt] | |
| With PyExp [PyStmt] | |
| Assign PyExp PyExp | |
| AssignOp String PyExp PyExp | |
| Comment String [PyStmt] | |
| Assert PyExp PyExp | |
| Raise PyExp | |
| Exp PyExp | |
| Return PyExp | |
| Pass | |
| Import String (Maybe String) | |
| FunDef PyFunDef | |
| ClassDef PyClassDef | |
| Escape Text |
module Language.Futhark.Core
data PyClassDef Source #
Instances
| Show PyClassDef Source # | |
Defined in Futhark.CodeGen.Backends.GenericPython.AST Methods showsPrec :: Int -> PyClassDef -> ShowS show :: PyClassDef -> String showList :: [PyClassDef] -> ShowS | |
| Eq PyClassDef Source # | |
Defined in Futhark.CodeGen.Backends.GenericPython.AST | |
| Pretty PyClassDef Source # | |
Defined in Futhark.CodeGen.Backends.GenericPython.AST | |