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
25 { home :: Maybe ModuleName.Canonical
26 , dependencies :: [Var.TopLevel]
38 = Literal Literal.Literal
42 | Binop Var.Canonical Expr Expr
43 | Function [String] Expr
45 | TailCall String [String] [Expr]
46 | If [(Expr, Expr)] Expr
48 | Case String (DT.DecisionTree Jump) [(Int, Branch)]
52 | Update Expr [(String, Expr)]
53 | Record [(String, Expr)]
54 | Port (General.PortImpl Expr Type.Canonical)
55 | GLShader String String Literal.GLShaderTipe
56 | Crash R.Region (Maybe String)
65 { _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