@specs-feup/lara
Version:
A js port of the popular framework for building source-to-source compilers
32 lines • 889 B
TypeScript
import DseValues from "./DseValues.js";
type T = any;
/**
* Iterates over the values of a set of DseValues.
*
* @param dseValues - The DseValues that will form the set.
*/
export default class DseValuesSet extends DseValues {
dseValuesArray: DseValues[];
numElements: number;
constructor(...dseValues: DseValues[]);
getType(): string;
/**
* @returns the next element.
*/
next(): T[];
/**
* @returns true if it has another element to return.
*/
hasNext(): boolean;
/**
* Resets the iterator.
*/
reset(): void;
getNumElements(): number;
/**
* @returns The number of values returned by a call to next(). A value of one means one value, a value greater than one means an array with that amount of values.
*/
getNumValuesPerElement(): number;
}
export {};
//# sourceMappingURL=DseValuesSet.d.ts.map