1{-# OPTIONS_GHC -Wall #-}
2module AST.Literal where
4import qualified Data.Map as Map
16toString :: Literal -> String
23 Boolean bool -> show bool
37glTipeName :: GLTipe -> String
42 V2 -> "Math.Vector2.Vec2"
43 V3 -> "Math.Vector3.Vec3"
44 V4 -> "Math.Vector4.Vec4"
45 M4 -> "Math.Matrix4.Mat4"
46 Texture -> "WebGL.Texture"
49data GLShaderTipe = GLShaderTipe
50 { attribute :: Map.Map String GLTipe
51 , uniform :: Map.Map String GLTipe
52 , varying :: Map.Map String GLTipe
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