summaryrefslogtreecommitdiff
path: root/missingvariables.py
diff options
context:
space:
mode:
authorSunil Shetye2018-08-30 17:45:27 +0530
committerSunil Shetye2018-10-08 11:24:12 +0530
commit4dc055ae23c9e33e459b7b583a67f92b5972a062 (patch)
tree430d3230b5395ab1ae380da60d9c85cdf0899223 /missingvariables.py
parent6a435095be880c696cb975d859ec730046021a75 (diff)
downloadsci2js-4dc055ae23c9e33e459b7b583a67f92b5972a062.tar.gz
sci2js-4dc055ae23c9e33e459b7b583a67f92b5972a062.tar.bz2
sci2js-4dc055ae23c9e33e459b7b583a67f92b5972a062.zip
code for missing variables
Diffstat (limited to 'missingvariables.py')
-rw-r--r--missingvariables.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/missingvariables.py b/missingvariables.py
new file mode 100644
index 00000000..e447b71e
--- /dev/null
+++ b/missingvariables.py
@@ -0,0 +1,8 @@
+from sci2jslex import BOOLEAN_TYPE, DOUBLE_TYPE, LIST_TYPE, MATRIX_TYPE, NULL_TYPE, OBJECT_TYPE, STRING_TYPE, VECTOR_TYPE, VECTOR_BOOLEAN_TYPE, VECTOR_STRING_TYPE
+
+MISSING_VARIABLES_MAP = {
+ 'CSCOPE' : [
+ { 'var': 'heritance', 'vartype': DOUBLE_TYPE, 'defvalue': '0' },
+ { 'var': 'nom', 'vartype': STRING_TYPE, 'defvalue': '""' },
+ ],
+}