Some variables can be created without explicit typing, such as var value = 1, which implicitly has the type Int.
I couldn't find an obvious easy way to lookup the type of the variable, so some extra parsing may be required. String, Int, Bool etc. are easy but arrays are harder.