UNPKG

@accordproject/concerto-core

Version:

Core Implementation for the Concerto Modeling Language

31 lines (30 loc) 874 B
import IdentifiedDeclaration = require('./identifieddeclaration'); /** Class representing the definition of an Event. * @extends ClassDeclaration * @see See {@link ClassDeclaration} * @class * @memberof module:concerto-core */ declare class EventDeclaration extends IdentifiedDeclaration { /** * Create an EventDeclaration. * @param {ModelFile} modelFile the ModelFile for this class * @param {Object} ast - The AST created by the parser * @throws {IllegalModelException} */ constructor(modelFile: any, ast: any); /** * Process the AST and build the model * * @throws {IllegalModelException} * @private */ process(): void; /** * Returns the kind of declaration * * @return {string} what kind of declaration this is */ declarationKind(): string; } export = EventDeclaration;