     (ternary? rule) (visit-ternary rule)
     (method-call? rule) (visit-method-call rule)
     (member-access? rule) (visit-member-access rule)
+    (vector-access? rule) (visit-vector-access rule)
     (terminal? rule) (.getText rule)
     ;Recursively visit children
     :else (visit-children rule)))



(defn method-call? [exp]
  (and
    (= (.getChildCount exp) 3)
    (= "(" (.getText (.getChild exp 1)))
    (= ")" (.getText (.getChild exp 2)))))


(defn member-access? [exp]

    (= op "!")))


(defn terminal? [exp]
  (= (.getChildCount exp) 0))

