1{-# OPTIONS_GHC -Wall #-}
2module AST.Expression.Optimized
3 ( Def(..), Facts(..), dummyFacts
4 , Expr(..), Jump(..), Branch(..)
7import qualified AST.Expression.General as General
8import qualified AST.Literal as Literal
9import qualified AST.Module.Name as ModuleName
10import qualified AST.Type as Type
11import qualified AST.Variable as Var
12import qualified Optimize.Patterns.DecisionTree as DT
13import qualified Reporting.Region as R
20 = Def Facts String Expr
21 | TailDef Facts String [String] Expr
26 { home :: Maybe ModuleName.Canonical
27 , dependencies :: [Var.TopLevel]
40 = Literal Literal.Literal
44 | Binop Var.Canonical Expr Expr
45 | Function [String] Expr
47 | TailCall String [String] [Expr]
48 | If [(Expr, Expr)] Expr
50 | Case String (DT.DecisionTree Jump) [(Int, Branch)]
54 | Update Expr [(String, Expr)]
55 | Record [(String, Expr)]
56 | Port (General.PortImpl Expr Type.Canonical)
57 | GLShader String String Literal.GLShaderTipe
58 | Crash R.Region (Maybe String)
69 { _substitutions :: [(String, DT.Path)]
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list