refactor(javascript): remove analysis ceilings
This commit is contained in:
@@ -55,7 +55,6 @@ export const collectSemanticCallable = (input: CollectCallableInput): void => {
|
||||
status: "partial",
|
||||
retainedCount: 0,
|
||||
omittedCount: null,
|
||||
limitsReached: [],
|
||||
},
|
||||
});
|
||||
state.callableNodesById.set(callableId, node);
|
||||
@@ -192,15 +191,6 @@ export const semanticStaticPropertyName = (
|
||||
? ""
|
||||
: propertyName(property);
|
||||
|
||||
/** Record one exact limit hit without inventing the total omitted population. */
|
||||
export const reachSemanticLimit = (
|
||||
state: JavaScriptSemanticAnalysisState,
|
||||
limit: keyof JavaScriptSemanticAnalysisState["limits"],
|
||||
): void => {
|
||||
state.limitsReached.add(limit);
|
||||
state.omittedCount += 1;
|
||||
};
|
||||
|
||||
const callableKind = (
|
||||
node: t.Node,
|
||||
): "function" | "class" | "method" | undefined => {
|
||||
|
||||
Reference in New Issue
Block a user