UNPKG

@accordproject/concerto-core

Version:

Core Implementation for the Concerto Modeling Language

29 lines (28 loc) 879 B
import ClassDeclaration = require('./classdeclaration'); /** * ConceptDeclaration defines the schema (aka model or class) for * an Concept. It extends ClassDeclaration which manages a set of * fields, a super-type and the specification of an * identifying field. * * @extends ClassDeclaration * @see {@link ClassDeclaration} * @class * @memberof module:concerto-core */ declare class ConceptDeclaration extends ClassDeclaration { /** * Create a ConceptDeclaration. * @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 kind of declaration * * @return {string} what kind of declaration this is */ declarationKind(): string; } export = ConceptDeclaration;