ph-dev-tools
Version:
Development Tools for PHibernate
12 lines (11 loc) • 560 B
TypeScript
import * as ts from "typescript";
import NodeArray = ts.NodeArray;
import Decorator = ts.Decorator;
/**
* Created by Papa on 3/27/2016.
*/
export declare function isDecoratedAsEntity(decorators: NodeArray<Decorator>): boolean;
export declare function getClassPath(classSymbol: ts.Node): string;
export declare function getParentClassImport(classSymbol: ts.Node, parentClassName: string): string;
export declare function getParentClassName(classSymbol: ts.Symbol): string;
export declare function endsWith(target: string, suffix: string): boolean;