ts-simple-ast
Version:
TypeScript compiler wrapper for AST navigation and code generation.
18 lines (16 loc) • 763 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const common_1 = require("./../common");
const base_1 = require("./../base");
const namespace_1 = require("./../namespace");
exports.VariableStatementBase = namespace_1.NamespaceChildableNode(base_1.DocumentationableNode(base_1.AmbientableNode(base_1.ExportableNode(base_1.ModifierableNode(common_1.Node)))));
class VariableStatement extends exports.VariableStatementBase {
/**
* Gets the declaration list of variables.
*/
getDeclarationList() {
return this.global.compilerFactory.getNodeFromCompilerNode(this.compilerNode.declarationList, this.sourceFile);
}
}
exports.VariableStatement = VariableStatement;
//# sourceMappingURL=VariableStatement.js.map