1
1
mirror of https://github.com/github/semantic.git synced 2024-12-15 10:02:27 +03:00

Add Object to concrete Value

This commit is contained in:
joshvera 2018-11-15 20:24:21 -05:00
parent 3de1cbce5b
commit 39e723b980

View File

@ -28,7 +28,7 @@ import Prologue
import qualified Data.Map.Strict as Map
data Value term address
= Closure PackageInfo ModuleInfo Name [Name] (Either BuiltIn term) address
= Closure PackageInfo ModuleInfo Name [Name] (Either BuiltIn term) address -- TODO: Remove this address since it's a scope address
| Unit
| Boolean Bool
| Integer (Number.Number Integer)
@ -40,6 +40,7 @@ data Value term address
| Tuple [(Value term address)]
| Array [(Value term address)]
| Class Declaration [(Value term address)] address
| Object address
| Namespace Name (Maybe address) (Bindings address)
| KVPair (Value term address) (Value term address)
| Hash [Value term address]