UNPKG

@neo-one/smart-contract-compiler

Version:

NEO•ONE TypeScript smart contract compiler.

18 lines (16 loc) 551 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CompilerDiagnostic = void 0; class CompilerDiagnostic { constructor(node, messageText, code, category) { this.messageText = messageText; this.code = code; this.category = category; this.file = node.getSourceFile(); this.start = node.getStart(); this.length = node.getWidth(); this.source = 'neo-one'; } } exports.CompilerDiagnostic = CompilerDiagnostic; //# sourceMappingURL=CompilerDiagnostic.js.map