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.
21 lines
252 B
21 lines
252 B
import Node from './Node.js';
|
|
|
|
class InstanceIndexNode extends Node {
|
|
|
|
constructor() {
|
|
|
|
super( 'uint' );
|
|
|
|
this.isInstanceIndexNode = true;
|
|
|
|
}
|
|
|
|
generate( builder ) {
|
|
|
|
return builder.getInstanceIndex();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export default InstanceIndexNode;
|
|
|