type(value) {
    var attr = this.attr;
    if (value.charAt(0) === "#") {
      attr.ref = value.substring(1);
    } else {
      attr.type = value;
    }
  }
The attribute type. One of the following:
- string (the default)
- expression (a JavaScript expression)
- number
- integer
- int
- boolean
- float
- double
- object
- array