@neo-one/smart-contract-compiler
Version:
NEO•ONE TypeScript smart contract compiler.
14 lines (12 loc) • 384 B
JavaScript
import ts from 'typescript';
import { NodeCompiler } from '../NodeCompiler';
export class YieldExpressionCompiler extends NodeCompiler {
constructor() {
super(...arguments);
this.kind = ts.SyntaxKind.YieldExpression;
}
visitNode(sb, expr, _options) {
sb.context.reportUnsupported(expr);
}
}
//# sourceMappingURL=YieldExpressionCompiler.js.map