diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-06-11 04:05:22 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-06-11 04:05:22 +0000 |
commit | 380b36be3352cd9a5c93dbd67db25346166a8547 (patch) | |
tree | f69613e7b6238744c34af6dc14d6feb68a4f6706 /java/com/xagasoft/gats/GatsObject.java | |
parent | 3905f9962bbfb312c3804ff9c7b7d1e0fa203cbc (diff) | |
download | libgats-380b36be3352cd9a5c93dbd67db25346166a8547.tar.gz libgats-380b36be3352cd9a5c93dbd67db25346166a8547.tar.bz2 libgats-380b36be3352cd9a5c93dbd67db25346166a8547.tar.xz libgats-380b36be3352cd9a5c93dbd67db25346166a8547.zip |
All languages now support Null except for python and php, python is proving
slightly trickier.
Diffstat (limited to 'java/com/xagasoft/gats/GatsObject.java')
-rw-r--r-- | java/com/xagasoft/gats/GatsObject.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/java/com/xagasoft/gats/GatsObject.java b/java/com/xagasoft/gats/GatsObject.java index 47602b3..e26ab7b 100644 --- a/java/com/xagasoft/gats/GatsObject.java +++ b/java/com/xagasoft/gats/GatsObject.java | |||
@@ -18,6 +18,7 @@ public abstract class GatsObject | |||
18 | public final static int LIST = 4; | 18 | public final static int LIST = 4; |
19 | public final static int DICTIONARY = 5; | 19 | public final static int DICTIONARY = 5; |
20 | public final static int BOOLEAN = 6; | 20 | public final static int BOOLEAN = 6; |
21 | public final static int NULL = 7; | ||
21 | 22 | ||
22 | /** | 23 | /** |
23 | * Gets the type of the current object, type can be one of INTEGER, FLOAT, | 24 | * Gets the type of the current object, type can be one of INTEGER, FLOAT, |
@@ -74,6 +75,10 @@ public abstract class GatsObject | |||
74 | goRet = new GatsFloat(); | 75 | goRet = new GatsFloat(); |
75 | break; | 76 | break; |
76 | 77 | ||
78 | case 'n': | ||
79 | goRet = new GatsNull(); | ||
80 | break; | ||
81 | |||
77 | case 'e': | 82 | case 'e': |
78 | return null; | 83 | return null; |
79 | 84 | ||