ASTClassInstance<V extends ASTValue> constructor
ASTClassInstance<V extends ASTValue> (
- ASTClass<
V> clazz, - V _object
Implementation
ASTClassInstance(this.clazz, this._object) : super(clazz.type) {
if (type.name != clazz.name) {
throw StateError('Incompatible class with type: $clazz != $type');
}
}