UNPKG

@accordproject/concerto-core

Version:

Core Implementation for the Concerto Modeling Language

31 lines (30 loc) 887 B
import ClassDeclaration = require('./classdeclaration'); /** * EnumDeclaration defines an enumeration of static values. * * @extends ClassDeclaration * @see See {@link ClassDeclaration} * @class * @memberof module:concerto-core */ declare class EnumDeclaration extends ClassDeclaration { /** * Create an EnumDeclaration. * @param {ModelFile} modelFile the ModelFile for this class * @param {Object} ast - The AST created by the parser * @throws {IllegalModelException} */ constructor(modelFile: any, ast: any); /** * Returns the string representation of this class * @return {String} the string representation of the class */ toString(): string; /** * Returns the kind of declaration * * @return {string} what kind of declaration this is */ declarationKind(): string; } export = EnumDeclaration;