effectiveIndex property

int effectiveIndex

Implementation

int get effectiveIndex {
  switch (this) {
    case ValueType.Bool:
      return -1;
    case ValueType.Int:
      return 0;
    case ValueType.Float:
      return 1;
    case ValueType.List:
      return 2;
    case ValueType.String:
      return 3;
    case ValueType.DivertTarget:
      return 4;
    case ValueType.VariablePointer:
      return 5;
  }
}