ts-simple-ast
Version:
TypeScript compiler wrapper for AST navigation and code generation.
21 lines (19 loc) • 638 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const Node_1 = require("./Node");
class QualifiedName extends Node_1.Node {
/**
* Gets the left side of the qualified name.
*/
getLeft() {
return this.global.compilerFactory.getNodeFromCompilerNode(this.compilerNode.left, this.sourceFile);
}
/**
* Gets the right identifier of the qualified name.
*/
getRight() {
return this.global.compilerFactory.getNodeFromCompilerNode(this.compilerNode.right, this.sourceFile);
}
}
exports.QualifiedName = QualifiedName;
//# sourceMappingURL=QualifiedName.js.map