code: func (v *Variable) Type() VariableType {
  	if v.DeclaredType != "" {
  		declaredType, ok := typeStringMap[v.DeclaredType]
  		if !ok {
  			return VariableTypeUnknown
  		}
  
  		return declaredType
  	}
  
  	return v.inferTypeFromDefault()
  }
docs: // Type returns the type of variable this is.