You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
252 B
22 lines
252 B
2 years ago
|
import Node from './Node.js';
|
||
|
|
||
|
class InstanceIndexNode extends Node {
|
||
|
|
||
|
constructor() {
|
||
|
|
||
|
super( 'uint' );
|
||
|
|
||
|
this.isInstanceIndexNode = true;
|
||
|
|
||
|
}
|
||
|
|
||
|
generate( builder ) {
|
||
|
|
||
|
return builder.getInstanceIndex();
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
export default InstanceIndexNode;
|