Home
last modified time | relevance | path

Searched refs:symbolFlags (Results 1 – 9 of 9) sorted by relevance

/third_party/typescript/src/services/
DsymbolDisplay.ts155 const symbolFlags = getCombinedLocalAndExportSymbolFlags(symbol); constant
170 …if (symbolKind !== ScriptElementKind.unknown || symbolFlags & SymbolFlags.Class || symbolFlags & S…
213 if (useConstructSignatures && (symbolFlags & SymbolFlags.Class)) {
218 else if (symbolFlags & SymbolFlags.Alias) {
270 …else if ((isNameOfFunctionDeclaration(location) && !(symbolFlags & SymbolFlags.Accessor)) || // na…
304 if (symbolFlags & SymbolFlags.Class && !hasAddedSymbolInfo && !isThisExpression) {
324 if ((symbolFlags & SymbolFlags.Interface) && (semanticMeaning & SemanticMeaning.Type)) {
331 if ((symbolFlags & SymbolFlags.TypeAlias) && (semanticMeaning & SemanticMeaning.Type)) {
342 if (symbolFlags & SymbolFlags.Enum) {
352 if (symbolFlags & SymbolFlags.Module && !isThisExpression) {
[all …]
/third_party/typescript/src/compiler/
Dbinder.ts301 … function addDeclarationToSymbol(symbol: Symbol, node: Declaration, symbolFlags: SymbolFlags) {
302 symbol.flags |= symbolFlags;
307 …if (symbolFlags & (SymbolFlags.Class | SymbolFlags.Enum | SymbolFlags.Module | SymbolFlags.Variabl…
311 …if (symbolFlags & (SymbolFlags.Class | SymbolFlags.Interface | SymbolFlags.TypeLiteral | SymbolFla…
320 if (symbolFlags & SymbolFlags.Value) {
549 …function declareModuleMember(node: Declaration, symbolFlags: SymbolFlags, symbolExcludes: SymbolFl…
551 if (symbolFlags & SymbolFlags.Alias) {
553 …eturn declareSymbol(container.symbol.exports!, container.symbol, node, symbolFlags, symbolExcludes…
556 … return declareSymbol(container.locals!, /*parent*/ undefined, node, symbolFlags, symbolExcludes);
578 …eturn declareSymbol(container.symbol.exports!, container.symbol, node, symbolFlags, symbolExcludes…
[all …]
Dchecker.ts10024 …Symbol(symbol: Symbol, member: LateBoundDeclaration | BinaryExpression, symbolFlags: SymbolFlags) {
10026 symbol.flags |= symbolFlags;
10034 if (symbolFlags & SymbolFlags.Value) {
10080 const symbolFlags = decl.symbol.flags;
10090 if (lateSymbol.flags & getExcludedSymbolFlags(symbolFlags) || earlySymbol) {
10100 addDeclarationToLateBoundSymbol(lateSymbol, decl, symbolFlags);
/third_party/typescript/lib/
DtypescriptServices.js40882 function addDeclarationToSymbol(symbol, node, symbolFlags) { argument
40883 symbol.flags |= symbolFlags;
40886 …if (symbolFlags & (32 /* Class */ | 384 /* Enum */ | 1536 /* Module */ | 3 /* Variable */) && !sym…
40889 …if (symbolFlags & (32 /* Class */ | 64 /* Interface */ | 2048 /* TypeLiteral */ | 4096 /* ObjectLi…
40896 if (symbolFlags & 111551 /* Value */) {
41105 function declareModuleMember(node, symbolFlags, symbolExcludes) { argument
41107 if (symbolFlags & 2097152 /* Alias */) {
41109 …return declareSymbol(container.symbol.exports, container.symbol, node, symbolFlags, symbolExcludes…
41112 … return declareSymbol(container.locals, /*parent*/ undefined, node, symbolFlags, symbolExcludes);
41134 …return declareSymbol(container.symbol.exports, container.symbol, node, symbolFlags, symbolExcludes…
[all …]
Dtsserverlibrary.js40882 function addDeclarationToSymbol(symbol, node, symbolFlags) { argument
40883 symbol.flags |= symbolFlags;
40886 …if (symbolFlags & (32 /* Class */ | 384 /* Enum */ | 1536 /* Module */ | 3 /* Variable */) && !sym…
40889 …if (symbolFlags & (32 /* Class */ | 64 /* Interface */ | 2048 /* TypeLiteral */ | 4096 /* ObjectLi…
40896 if (symbolFlags & 111551 /* Value */) {
41105 function declareModuleMember(node, symbolFlags, symbolExcludes) { argument
41107 if (symbolFlags & 2097152 /* Alias */) {
41109 …return declareSymbol(container.symbol.exports, container.symbol, node, symbolFlags, symbolExcludes…
41112 … return declareSymbol(container.locals, /*parent*/ undefined, node, symbolFlags, symbolExcludes);
41134 …return declareSymbol(container.symbol.exports, container.symbol, node, symbolFlags, symbolExcludes…
[all …]
Dtsserver.js40688 function addDeclarationToSymbol(symbol, node, symbolFlags) { argument
40689 symbol.flags |= symbolFlags;
40692 …if (symbolFlags & (32 /* Class */ | 384 /* Enum */ | 1536 /* Module */ | 3 /* Variable */) && !sym…
40695 …if (symbolFlags & (32 /* Class */ | 64 /* Interface */ | 2048 /* TypeLiteral */ | 4096 /* ObjectLi…
40702 if (symbolFlags & 111551 /* Value */) {
40911 function declareModuleMember(node, symbolFlags, symbolExcludes) { argument
40913 if (symbolFlags & 2097152 /* Alias */) {
40915 …return declareSymbol(container.symbol.exports, container.symbol, node, symbolFlags, symbolExcludes…
40918 … return declareSymbol(container.locals, /*parent*/ undefined, node, symbolFlags, symbolExcludes);
40940 …return declareSymbol(container.symbol.exports, container.symbol, node, symbolFlags, symbolExcludes…
[all …]
Dtypescript.js40882 function addDeclarationToSymbol(symbol, node, symbolFlags) { argument
40883 symbol.flags |= symbolFlags;
40886 …if (symbolFlags & (32 /* Class */ | 384 /* Enum */ | 1536 /* Module */ | 3 /* Variable */) && !sym…
40889 …if (symbolFlags & (32 /* Class */ | 64 /* Interface */ | 2048 /* TypeLiteral */ | 4096 /* ObjectLi…
40896 if (symbolFlags & 111551 /* Value */) {
41105 function declareModuleMember(node, symbolFlags, symbolExcludes) { argument
41107 if (symbolFlags & 2097152 /* Alias */) {
41109 …return declareSymbol(container.symbol.exports, container.symbol, node, symbolFlags, symbolExcludes…
41112 … return declareSymbol(container.locals, /*parent*/ undefined, node, symbolFlags, symbolExcludes);
41134 …return declareSymbol(container.symbol.exports, container.symbol, node, symbolFlags, symbolExcludes…
[all …]
Dtsc.js33195 function addDeclarationToSymbol(symbol, node, symbolFlags) { argument
33196 symbol.flags |= symbolFlags;
33199 if (symbolFlags & (32 | 384 | 1536 | 3) && !symbol.exports) {
33202 if (symbolFlags & (32 | 64 | 2048 | 4096) && !symbol.members) {
33208 if (symbolFlags & 111551) {
33361 function declareModuleMember(node, symbolFlags, symbolExcludes) { argument
33363 if (symbolFlags & 2097152) {
33365 …return declareSymbol(container.symbol.exports, container.symbol, node, symbolFlags, symbolExcludes…
33368 … return declareSymbol(container.locals, undefined, node, symbolFlags, symbolExcludes);
33376 …return declareSymbol(container.symbol.exports, container.symbol, node, symbolFlags, symbolExcludes…
[all …]
DtypingsInstaller.js40677 function addDeclarationToSymbol(symbol, node, symbolFlags) { argument
40678 symbol.flags |= symbolFlags;
40681 …if (symbolFlags & (32 /* Class */ | 384 /* Enum */ | 1536 /* Module */ | 3 /* Variable */) && !sym…
40684 …if (symbolFlags & (32 /* Class */ | 64 /* Interface */ | 2048 /* TypeLiteral */ | 4096 /* ObjectLi…
40691 if (symbolFlags & 111551 /* Value */) {
40900 function declareModuleMember(node, symbolFlags, symbolExcludes) { argument
40902 if (symbolFlags & 2097152 /* Alias */) {
40904 …return declareSymbol(container.symbol.exports, container.symbol, node, symbolFlags, symbolExcludes…
40907 … return declareSymbol(container.locals, /*parent*/ undefined, node, symbolFlags, symbolExcludes);
40929 …return declareSymbol(container.symbol.exports, container.symbol, node, symbolFlags, symbolExcludes…
[all …]