diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 8648ac574f193..42c960621ece0 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -748,11 +748,14 @@ namespace ts { const unknownSymbol = createSymbol(SymbolFlags.Property, "unknown" as __String); const resolvingSymbol = createSymbol(0, InternalSymbolName.Resolving); + const unresolvedSymbols = new Map(); + const errorTypes = new Map(); const anyType = createIntrinsicType(TypeFlags.Any, "any"); const autoType = createIntrinsicType(TypeFlags.Any, "any"); const wildcardType = createIntrinsicType(TypeFlags.Any, "any"); const errorType = createIntrinsicType(TypeFlags.Any, "error"); + const unresolvedType = createIntrinsicType(TypeFlags.Any, "unresolved"); const nonInferrableAnyType = createIntrinsicType(TypeFlags.Any, "any", ObjectFlags.ContainsWideningType); const intrinsicMarkerType = createIntrinsicType(TypeFlags.Any, "intrinsic"); const unknownType = createIntrinsicType(TypeFlags.Unknown, "unknown"); @@ -4521,7 +4524,9 @@ namespace ts { const noTruncation = compilerOptions.noErrorTruncation || flags & TypeFormatFlags.NoTruncation; const typeNode = nodeBuilder.typeToTypeNode(type, enclosingDeclaration, toNodeBuilderFlags(flags) | NodeBuilderFlags.IgnoreErrors | (noTruncation ? NodeBuilderFlags.NoTruncation : 0), writer); if (typeNode === undefined) return Debug.fail("should always get typenode"); - const options = { removeComments: true }; + // The unresolved type gets a synthesized comment on `any` to hint to users that it's not a plain `any`. + // Otherwise, we always strip comments out. + const options = { removeComments: type !== unresolvedType }; const printer = createPrinter(options); const sourceFile = enclosingDeclaration && getSourceFileOfNode(enclosingDeclaration); printer.writeNode(EmitHint.Unspecified, typeNode, /*sourceFile*/ sourceFile, writer); @@ -4671,6 +4676,12 @@ namespace ts { } if (type.flags & TypeFlags.Any) { + if (type.aliasSymbol) { + return factory.createTypeReferenceNode(symbolToEntityNameNode(type.aliasSymbol), mapToTypeNodes(type.aliasTypeArguments, context)); + } + if (type === unresolvedType) { + return addSyntheticLeadingComment(factory.createKeywordTypeNode(SyntaxKind.AnyKeyword), SyntaxKind.MultiLineCommentTrivia, "unresolved"); + } context.approximateLength += 3; return factory.createKeywordTypeNode(type === intrinsicMarkerType ? SyntaxKind.IntrinsicKeyword : SyntaxKind.AnyKeyword); } @@ -5856,6 +5867,11 @@ namespace ts { return specifier; } + function symbolToEntityNameNode(symbol: Symbol): EntityName { + const identifier = factory.createIdentifier(unescapeLeadingUnderscores(symbol.escapedName)); + return symbol.parent ? factory.createQualifiedName(symbolToEntityNameNode(symbol.parent), identifier) : identifier; + } + function symbolToTypeNode(symbol: Symbol, context: NodeBuilderContext, meaning: SymbolFlags, overrideTypeArguments?: readonly TypeNode[]): TypeNode { const chain = lookupSymbolChain(symbol, context, meaning, !(context.flags & NodeBuilderFlags.UseAliasDefinedOutsideCurrentScope)); // If we're using aliases outside the current scope, dont bother with the module @@ -6175,7 +6191,7 @@ namespace ts { * so a `unique symbol` is returned when appropriate for the input symbol, rather than `typeof sym` */ function serializeTypeForDeclaration(context: NodeBuilderContext, type: Type, symbol: Symbol, enclosingDeclaration: Node | undefined, includePrivateSymbol?: (s: Symbol) => void, bundled?: boolean) { - if (type !== errorType && enclosingDeclaration) { + if (!isErrorType(type) && enclosingDeclaration) { const declWithExistingAnnotation = getDeclarationWithTypeAnnotation(symbol, enclosingDeclaration); if (declWithExistingAnnotation && !isFunctionLikeDeclaration(declWithExistingAnnotation) && !isGetAccessorDeclaration(declWithExistingAnnotation)) { // try to reuse the existing annotation @@ -6199,7 +6215,7 @@ namespace ts { } function serializeReturnTypeForSignature(context: NodeBuilderContext, type: Type, signature: Signature, includePrivateSymbol?: (s: Symbol) => void, bundled?: boolean) { - if (type !== errorType && context.enclosingDeclaration) { + if (!isErrorType(type) && context.enclosingDeclaration) { const annotation = signature.declaration && getEffectiveReturnTypeNode(signature.declaration); if (!!findAncestor(annotation, n => n === context.enclosingDeclaration) && annotation) { const annotated = getTypeFromTypeNode(annotation); @@ -6339,7 +6355,7 @@ namespace ts { ); } } - if (isTypeReferenceNode(node) && isInJSDoc(node) && (!existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(node, getTypeFromTypeNode(node)) || getIntendedTypeFromJSDocTypeReference(node) || unknownSymbol === resolveTypeReferenceName(getTypeReferenceName(node), SymbolFlags.Type, /*ignoreErrors*/ true))) { + if (isTypeReferenceNode(node) && isInJSDoc(node) && (!existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(node, getTypeFromTypeNode(node)) || getIntendedTypeFromJSDocTypeReference(node) || unknownSymbol === resolveTypeReferenceName(node, SymbolFlags.Type, /*ignoreErrors*/ true))) { return setOriginalNode(typeToTypeNodeHelper(getTypeFromTypeNode(node), context), node); } if (isLiteralImportTypeNode(node)) { @@ -8261,6 +8277,12 @@ namespace ts { return type && (type.flags & TypeFlags.Any) !== 0; } + function isErrorType(type: Type) { + // The only 'any' types that have alias symbols are those manufactured by getTypeFromTypeAliasReference for + // a reference to an unresolved symbol. We want those to behave like the errorType. + return type === errorType || !!(type.flags & TypeFlags.Any && type.aliasSymbol); + } + // Return the type of a binding element parent. We check SymbolLinks first to see if a type has been // assigned by contextual typing. function getTypeForBindingElementParent(node: BindingElementGrandparent) { @@ -8806,7 +8828,7 @@ namespace ts { if (!declaredType) { return type; } - else if (declaredType !== errorType && type !== errorType && !isTypeIdenticalTo(declaredType, type)) { + else if (!isErrorType(declaredType) && !isErrorType(type) && !isTypeIdenticalTo(declaredType, type)) { errorNextVariableOrPropertyDeclarationMustHaveSameType(/*firstDeclaration*/ undefined, declaredType, declaration, type); } } @@ -9767,7 +9789,7 @@ namespace ts { if (!implementsTypeNodes) continue; for (const node of implementsTypeNodes) { const implementsType = getTypeFromTypeNode(node); - if (implementsType !== errorType) { + if (!isErrorType(implementsType)) { if (resolvedImplementsTypes === emptyArray) { resolvedImplementsTypes = [implementsType as ObjectType]; } @@ -9851,7 +9873,7 @@ namespace ts { baseType = getReturnTypeOfSignature(constructors[0]); } - if (baseType === errorType) { + if (isErrorType(baseType)) { return type.resolvedBaseTypes = emptyArray; } const reducedBaseType = getReducedType(baseType); @@ -9909,7 +9931,7 @@ namespace ts { if (declaration.kind === SyntaxKind.InterfaceDeclaration && getInterfaceBaseTypeNodes(declaration as InterfaceDeclaration)) { for (const node of getInterfaceBaseTypeNodes(declaration as InterfaceDeclaration)!) { const baseType = getReducedType(getTypeFromTypeNode(node)); - if (baseType !== errorType) { + if (!isErrorType(baseType)) { if (isValidBaseType(baseType)) { if (type !== baseType && !hasBaseType(baseType, type)) { if (type.resolvedBaseTypes === emptyArray) { @@ -11861,7 +11883,7 @@ namespace ts { let mergedInstantiations = false; for (const current of containingType.types) { const type = getApparentType(current); - if (!(type === errorType || type.flags & TypeFlags.Never)) { + if (!(isErrorType(type) || type.flags & TypeFlags.Never)) { const prop = getPropertyOfType(type, name, skipObjectFunctionPropertyAugment); const modifiers = prop ? getDeclarationModifierFlagsFromSymbol(prop) : 0; if (prop) { @@ -12898,7 +12920,7 @@ namespace ts { } else { let type = getTypeFromTypeNode(constraintDeclaration); - if (type.flags & TypeFlags.Any && type !== errorType) { // Allow errorType to propegate to keep downstream errors suppressed + if (type.flags & TypeFlags.Any && !isErrorType(type)) { // Allow errorType to propegate to keep downstream errors suppressed // use keyofConstraintType as the base constraint for mapped type key constraints (unknown isn;t assignable to that, but `any` was), // use unknown otherwise type = constraintDeclaration.parent.parent.kind === SyntaxKind.MappedType ? keyofConstraintType : unknownType; @@ -13088,6 +13110,18 @@ namespace ts { * declared type. Instantiations are cached using the type identities of the type arguments as the key. */ function getTypeFromTypeAliasReference(node: NodeWithTypeArguments, symbol: Symbol): Type { + if (getCheckFlags(symbol) & CheckFlags.Unresolved) { + const typeArguments = typeArgumentsFromTypeReferenceNode(node); + const id = getAliasId(symbol, typeArguments); + let errorType = errorTypes.get(id); + if (!errorType) { + errorType = createIntrinsicType(TypeFlags.Any, "error"); + errorType.aliasSymbol = symbol; + errorType.aliasTypeArguments = typeArguments; + errorTypes.set(id, errorType); + } + return errorType; + } const type = getDeclaredTypeOfSymbol(symbol); const typeParameters = getSymbolLinks(symbol).typeParameters; if (typeParameters) { @@ -13136,12 +13170,39 @@ namespace ts { return undefined; } - function resolveTypeReferenceName(typeReferenceName: EntityNameExpression | EntityName | undefined, meaning: SymbolFlags, ignoreErrors?: boolean) { - if (!typeReferenceName) { - return unknownSymbol; + function getSymbolPath(symbol: Symbol): string { + return symbol.parent ? `${getSymbolPath(symbol.parent)}.${symbol.escapedName}` : symbol.escapedName as string; + } + + function getUnresolvedSymbolForEntityName(name: EntityNameOrEntityNameExpression) { + const identifier = name.kind === SyntaxKind.QualifiedName ? name.right : + name.kind === SyntaxKind.PropertyAccessExpression ? name.name : + name; + const text = identifier.escapedText; + if (text) { + const parentSymbol = name.kind === SyntaxKind.QualifiedName ? getUnresolvedSymbolForEntityName(name.left) : + name.kind === SyntaxKind.PropertyAccessExpression ? getUnresolvedSymbolForEntityName(name.expression) : + undefined; + const path = parentSymbol ? `${getSymbolPath(parentSymbol)}.${text}` : text as string; + let result = unresolvedSymbols.get(path); + if (!result) { + unresolvedSymbols.set(path, result = createSymbol(SymbolFlags.TypeAlias, text, CheckFlags.Unresolved)); + result.parent = parentSymbol; + result.declaredType = unresolvedType; + } + return result; } + return unknownSymbol; + } - return resolveEntityName(typeReferenceName, meaning, ignoreErrors) || unknownSymbol; + function resolveTypeReferenceName(typeReference: TypeReferenceType, meaning: SymbolFlags, ignoreErrors?: boolean) { + const name = getTypeReferenceName(typeReference); + if (!name) { + return unknownSymbol; + } + const symbol = resolveEntityName(name, meaning, ignoreErrors); + return symbol && symbol !== unknownSymbol ? symbol : + ignoreErrors ? unknownSymbol : getUnresolvedSymbolForEntityName(name); } function getTypeReferenceType(node: NodeWithTypeArguments, symbol: Symbol): Type { @@ -13167,7 +13228,7 @@ namespace ts { } else { // Resolve the type reference as a Type for the purpose of reporting errors. - resolveTypeReferenceName(getTypeReferenceName(node), SymbolFlags.Type); + resolveTypeReferenceName(node, SymbolFlags.Type); return getTypeOfSymbol(symbol); } } @@ -13321,18 +13382,18 @@ namespace ts { if (isJSDocTypeReference(node)) { type = getIntendedTypeFromJSDocTypeReference(node); if (!type) { - symbol = resolveTypeReferenceName(getTypeReferenceName(node), meaning, /*ignoreErrors*/ true); + symbol = resolveTypeReferenceName(node, meaning, /*ignoreErrors*/ true); if (symbol === unknownSymbol) { - symbol = resolveTypeReferenceName(getTypeReferenceName(node), meaning | SymbolFlags.Value); + symbol = resolveTypeReferenceName(node, meaning | SymbolFlags.Value); } else { - resolveTypeReferenceName(getTypeReferenceName(node), meaning); // Resolve again to mark errors, if any + resolveTypeReferenceName(node, meaning); // Resolve again to mark errors, if any } type = getTypeReferenceType(node, symbol); } } if (!type) { - symbol = resolveTypeReferenceName(getTypeReferenceName(node), meaning); + symbol = resolveTypeReferenceName(node, meaning); type = getTypeReferenceType(node, symbol); } // Cache both the resolved symbol and the resolved type. The resolved symbol is needed when we check the @@ -13646,7 +13707,7 @@ namespace ts { function mayResolveTypeAlias(node: Node): boolean { switch (node.kind) { case SyntaxKind.TypeReference: - return isJSDocTypeReference(node) || !!(resolveTypeReferenceName((node as TypeReferenceNode).typeName, SymbolFlags.Type).flags & SymbolFlags.TypeAlias); + return isJSDocTypeReference(node) || !!(resolveTypeReferenceName(node as TypeReferenceNode, SymbolFlags.Type).flags & SymbolFlags.TypeAlias); case SyntaxKind.TypeQuery: return true; case SyntaxKind.TypeOperator: @@ -16330,7 +16391,7 @@ namespace ts { const mappedTypeVariable = instantiateType(typeVariable, mapper); if (typeVariable !== mappedTypeVariable) { return mapTypeWithAlias(getReducedType(mappedTypeVariable), t => { - if (t.flags & (TypeFlags.AnyOrUnknown | TypeFlags.InstantiableNonPrimitive | TypeFlags.Object | TypeFlags.Intersection) && t !== wildcardType && t !== errorType) { + if (t.flags & (TypeFlags.AnyOrUnknown | TypeFlags.InstantiableNonPrimitive | TypeFlags.Object | TypeFlags.Intersection) && t !== wildcardType && !isErrorType(t)) { if (!type.declaration.nameType) { if (isArrayType(t)) { return instantiateMappedArrayType(t, type, prependTypeMapping(typeVariable, t, mapper)); @@ -16375,7 +16436,7 @@ namespace ts { function instantiateMappedArrayType(arrayType: Type, mappedType: MappedType, mapper: TypeMapper) { const elementType = instantiateMappedTypeTemplate(mappedType, numberType, /*isOptional*/ true, mapper); - return elementType === errorType ? errorType : + return isErrorType(elementType) ? errorType : createArrayType(elementType, getModifiedReadonlyState(isReadonlyArrayType(arrayType), getMappedTypeModifiers(mappedType))); } @@ -18095,7 +18156,7 @@ namespace ts { const targetTypes = (target as IntersectionType).types; const intrinsicAttributes = getJsxType(JsxNames.IntrinsicAttributes, errorNode); const intrinsicClassAttributes = getJsxType(JsxNames.IntrinsicClassAttributes, errorNode); - if (intrinsicAttributes !== errorType && intrinsicClassAttributes !== errorType && + if (!isErrorType(intrinsicAttributes) && !isErrorType(intrinsicClassAttributes) && (contains(targetTypes, intrinsicAttributes) || contains(targetTypes, intrinsicClassAttributes))) { // do not report top error return result; @@ -26097,7 +26158,7 @@ namespace ts { let propsType = getTypeOfFirstParameterOfSignatureWithFallback(sig, unknownType); propsType = getJsxManagedAttributesFromLocatedAttributes(context, getJsxNamespaceAt(context), propsType); const intrinsicAttribs = getJsxType(JsxNames.IntrinsicAttributes, context); - if (intrinsicAttribs !== errorType) { + if (!isErrorType(intrinsicAttribs)) { propsType = intersectTypes(intrinsicAttribs, propsType); } return propsType; @@ -26196,7 +26257,7 @@ namespace ts { // Normal case -- add in IntrinsicClassElements and IntrinsicElements let apparentAttributesType = attributesType; const intrinsicClassAttribs = getJsxType(JsxNames.IntrinsicClassAttributes, context); - if (intrinsicClassAttribs !== errorType) { + if (!isErrorType(intrinsicClassAttribs)) { const typeParams = getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(intrinsicClassAttribs.symbol); const hostClassType = getReturnTypeOfSignature(sig); apparentAttributesType = intersectTypes( @@ -26208,7 +26269,7 @@ namespace ts { } const intrinsicAttribs = getJsxType(JsxNames.IntrinsicAttributes, context); - if (intrinsicAttribs !== errorType) { + if (!isErrorType(intrinsicAttribs)) { apparentAttributesType = intersectTypes(intrinsicAttribs, apparentAttributesType); } @@ -26719,7 +26780,7 @@ namespace ts { checkSpreadPropOverrides(mergedType, allPropertiesTable, memberDecl); } offset = propertiesArray.length; - if (spread === errorType) { + if (isErrorType(spread)) { continue; } spread = getSpreadType(spread, mergedType, node.symbol, objectFlags, inConstContext); @@ -26779,7 +26840,7 @@ namespace ts { } } - if (spread === errorType) { + if (isErrorType(spread)) { return errorType; } @@ -27073,7 +27134,7 @@ namespace ts { const links = getNodeLinks(node); if (!links.resolvedSymbol) { const intrinsicElementsType = getJsxType(JsxNames.IntrinsicElements, node); - if (intrinsicElementsType !== errorType) { + if (!isErrorType(intrinsicElementsType)) { // Property case if (!isIdentifier(node.tagName)) return Debug.fail(); const intrinsicProp = getPropertyOfType(intrinsicElementsType, node.tagName.escapedText); @@ -27247,7 +27308,7 @@ namespace ts { // var CustomTag: "h1" = "h1"; // Hello World const intrinsicElementsType = getJsxType(JsxNames.IntrinsicElements, location); - if (intrinsicElementsType !== errorType) { + if (!isErrorType(intrinsicElementsType)) { const stringLiteralTypeName = type.value; const intrinsicProp = getPropertyOfType(intrinsicElementsType, escapeLeadingUnderscores(stringLiteralTypeName)); if (intrinsicProp) { @@ -27319,7 +27380,7 @@ namespace ts { function getJsxElementClassTypeAt(location: Node): Type | undefined { const type = getJsxType(JsxNames.ElementClass, location); - if (type === errorType) return undefined; + if (isErrorType(type)) return undefined; return type; } @@ -27688,7 +27749,7 @@ namespace ts { function checkNonNullNonVoidType(type: Type, node: Node): Type { const nonNullType = checkNonNullType(type, node); - if (nonNullType !== errorType && nonNullType.flags & TypeFlags.Void) { + if (nonNullType.flags & TypeFlags.Void) { error(node, Diagnostics.Object_is_possibly_undefined); } return nonNullType; @@ -27845,7 +27906,7 @@ namespace ts { if (isAnyLike) { if (lexicallyScopedSymbol) { - return apparentType; + return isErrorType(apparentType) ? errorType : apparentType; } if (!getContainingClass(right)) { grammarErrorOnNode(right, Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies); @@ -27869,7 +27930,7 @@ namespace ts { if (isIdentifier(left) && parentSymbol) { markAliasReferenced(parentSymbol, node); } - return apparentType; + return isErrorType(apparentType) ? errorType : apparentType;; } prop = getPropertyOfType(apparentType, right.escapedText); } @@ -28375,7 +28436,7 @@ namespace ts { type: Type): boolean { // Short-circuiting for improved performance. - if (type === errorType || isTypeAny(type)) { + if (isTypeAny(type)) { return true; } @@ -28401,7 +28462,7 @@ namespace ts { property: Symbol): boolean { // Short-circuiting for improved performance. - if (containingType === errorType || isTypeAny(containingType)) { + if (isTypeAny(containingType)) { return true; } @@ -28481,7 +28542,7 @@ namespace ts { const indexExpression = node.argumentExpression; const indexType = checkExpression(indexExpression); - if (objectType === errorType || objectType === silentNeverType) { + if (isErrorType(objectType) || objectType === silentNeverType) { return objectType; } @@ -29784,7 +29845,7 @@ namespace ts { } return anySignature; } - if (superType !== errorType) { + if (!isErrorType(superType)) { // In super call, the candidate signatures are the matching arity signatures of the base constructor function instantiated // with the type arguments specified in the extends clause. const baseTypeNode = getEffectiveBaseTypeNode(getContainingClass(node)!); @@ -29820,7 +29881,7 @@ namespace ts { } const apparentType = getApparentType(funcType); - if (apparentType === errorType) { + if (isErrorType(apparentType)) { // Another error has already been reported return resolveErrorCall(node); } @@ -29838,7 +29899,7 @@ namespace ts { if (isUntypedFunctionCall(funcType, apparentType, callSignatures.length, numConstructSignatures)) { // The unknownType indicates that an error already occurred (and was reported). No // need to report another error in this case. - if (funcType !== errorType && node.typeArguments) { + if (!isErrorType(funcType) && node.typeArguments) { error(node, Diagnostics.Untyped_function_calls_may_not_accept_type_arguments); } return resolveUntypedCall(node); @@ -29921,7 +29982,7 @@ namespace ts { // signatures for overload resolution. The result type of the function call becomes // the result type of the operation. expressionType = getApparentType(expressionType); - if (expressionType === errorType) { + if (isErrorType(expressionType)) { // Another error has already been reported return resolveErrorCall(node); } @@ -30174,7 +30235,7 @@ namespace ts { const tagType = checkExpression(node.tag); const apparentType = getApparentType(tagType); - if (apparentType === errorType) { + if (isErrorType(apparentType)) { // Another error has already been reported return resolveErrorCall(node); } @@ -30231,7 +30292,7 @@ namespace ts { function resolveDecorator(node: Decorator, candidatesOutArray: Signature[] | undefined, checkMode: CheckMode): Signature { const funcType = checkExpression(node.expression); const apparentType = getApparentType(funcType); - if (apparentType === errorType) { + if (isErrorType(apparentType)) { return resolveErrorCall(node); } @@ -30301,7 +30362,7 @@ namespace ts { } const exprTypes = checkExpression(node.tagName); const apparentType = getApparentType(exprTypes); - if (apparentType === errorType) { + if (isErrorType(apparentType)) { return resolveErrorCall(node); } @@ -30652,7 +30713,7 @@ namespace ts { } function getTypeWithSyntheticDefaultImportType(type: Type, symbol: Symbol, originalSymbol: Symbol): Type { - if (allowSyntheticDefaultImports && type && type !== errorType) { + if (allowSyntheticDefaultImports && type && !isErrorType(type)) { const synthType = type as SyntheticDefaultModuleType; if (!synthType.syntheticType) { const file = originalSymbol.declarations?.find(isSourceFile); @@ -30763,7 +30824,7 @@ namespace ts { checkSourceElement(type); exprType = getRegularTypeOfObjectLiteral(getBaseTypeOfLiteralType(exprType)); const targetType = getTypeFromTypeNode(type); - if (produceDiagnostics && targetType !== errorType) { + if (produceDiagnostics && !isErrorType(targetType)) { const widenedType = getWidenedType(exprType); if (!isTypeComparableTo(targetType, widenedType)) { checkTypeComparableTo(exprType, targetType, errNode, @@ -30804,7 +30865,7 @@ namespace ts { return getGlobalImportMetaExpressionType(); case SyntaxKind.NewKeyword: const type = checkNewTargetMetaProperty(node); - return type === errorType ? errorType : createNewTargetExpressionType(type); + return isErrorType(type) ? errorType : createNewTargetExpressionType(type); default: Debug.assertNever(node.keywordToken); } @@ -31881,7 +31942,7 @@ namespace ts { const operandType = checkExpression(node.expression); const awaitedType = checkAwaitedType(operandType, /*withAlias*/ true, node, Diagnostics.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member); - if (awaitedType === operandType && awaitedType !== errorType && !(operandType.flags & TypeFlags.AnyOrUnknown)) { + if (awaitedType === operandType && !isErrorType(awaitedType) && !(operandType.flags & TypeFlags.AnyOrUnknown)) { addErrorOrSuggestion(/*isError*/ false, createDiagnosticForNode(node, Diagnostics.await_has_no_effect_on_the_type_of_this_expression)); } return awaitedType; @@ -32604,7 +32665,7 @@ namespace ts { else if (isTypeAny(leftType) || isTypeAny(rightType)) { // Otherwise, the result is of type Any. // NOTE: unknown type here denotes error type. Old compiler treated this case as any type so do we. - resultType = leftType === errorType || rightType === errorType ? errorType : anyType; + resultType = isErrorType(leftType) || isErrorType(rightType) ? errorType : anyType; } // Symbols are not allowed at all in arithmetic expressions @@ -34221,7 +34282,7 @@ namespace ts { function getTypeParametersForTypeReference(node: TypeReferenceNode | ExpressionWithTypeArguments) { const type = getTypeFromTypeReference(node); - if (type !== errorType) { + if (!isErrorType(type)) { const symbol = getNodeLinks(node).resolvedSymbol; if (symbol) { return symbol.flags & SymbolFlags.TypeAlias && getSymbolLinks(symbol).typeParameters || @@ -34238,7 +34299,7 @@ namespace ts { } forEach(node.typeArguments, checkSourceElement); const type = getTypeFromTypeReference(node); - if (type !== errorType) { + if (!isErrorType(type)) { if (node.typeArguments && produceDiagnostics) { const typeParameters = getTypeParametersForTypeReference(node); if (typeParameters) { @@ -35164,7 +35225,7 @@ namespace ts { const returnType = getTypeFromTypeNode(returnTypeNode); if (languageVersion >= ScriptTarget.ES2015) { - if (returnType === errorType) { + if (isErrorType(returnType)) { return; } const globalPromiseType = getGlobalPromiseType(/*reportErrors*/ true); @@ -35179,7 +35240,7 @@ namespace ts { // Always mark the type node as referenced if it points to a value markTypeNodeAsReferenced(returnTypeNode); - if (returnType === errorType) { + if (isErrorType(returnType)) { return; } @@ -35191,7 +35252,7 @@ namespace ts { const promiseConstructorSymbol = resolveEntityName(promiseConstructorName, SymbolFlags.Value, /*ignoreErrors*/ true); const promiseConstructorType = promiseConstructorSymbol ? getTypeOfSymbol(promiseConstructorSymbol) : errorType; - if (promiseConstructorType === errorType) { + if (isErrorType(promiseConstructorType)) { if (promiseConstructorName.kind === SyntaxKind.Identifier && promiseConstructorName.escapedText === "Promise" && getTargetType(returnType) === getGlobalPromiseType(/*reportErrors*/ false)) { error(returnTypeNode, Diagnostics.An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option); } @@ -36364,7 +36425,7 @@ namespace ts { // initializer is consistent with type associated with the node const declarationType = convertAutoToAny(getWidenedTypeForVariableLikeDeclaration(node)); - if (type !== errorType && declarationType !== errorType && + if (!isErrorType(type) && !isErrorType(declarationType) && !isTypeIdenticalTo(type, declarationType) && !(symbol.flags & SymbolFlags.Assignment)) { errorNextVariableOrPropertyDeclarationMustHaveSameType(symbol.valueDeclaration, type, node, declarationType); @@ -38035,7 +38096,7 @@ namespace ts { checkTypeReferenceNode(typeRefNode); if (produceDiagnostics) { const t = getReducedType(getTypeFromTypeNode(typeRefNode)); - if (t !== errorType) { + if (!isErrorType(t)) { if (isValidBaseType(t)) { const genericDiag = t.symbol && t.symbol.flags & SymbolFlags.Class ? Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass : @@ -40258,7 +40319,8 @@ namespace ts { } else if (isTypeReferenceIdentifier(name as EntityName)) { const meaning = name.parent.kind === SyntaxKind.TypeReference ? SymbolFlags.Type : SymbolFlags.Namespace; - return resolveEntityName(name as EntityName, meaning, /*ignoreErrors*/ false, /*dontResolveAlias*/ true); + const symbol = resolveEntityName(name as EntityName, meaning, /*ignoreErrors*/ false, /*dontResolveAlias*/ true); + return symbol && symbol !== unknownSymbol ? symbol : getUnresolvedSymbolForEntityName(name as EntityName); } if (name.parent.kind === SyntaxKind.TypePredicate) { return resolveEntityName(name as Identifier, /*meaning*/ SymbolFlags.FunctionScopedVariable); @@ -40518,7 +40580,7 @@ namespace ts { const symbol = getSymbolAtLocation(node); if (symbol) { const declaredType = getDeclaredTypeOfSymbol(symbol); - return declaredType !== errorType ? declaredType : getTypeOfSymbol(symbol); + return !isErrorType(declaredType) ? declaredType : getTypeOfSymbol(symbol); } } @@ -41062,7 +41124,7 @@ namespace ts { return isTypeOnly ? TypeReferenceSerializationKind.ObjectType : TypeReferenceSerializationKind.Unknown; } const type = getDeclaredTypeOfSymbol(typeSymbol); - if (type === errorType) { + if (isErrorType(type)) { return isTypeOnly ? TypeReferenceSerializationKind.ObjectType : TypeReferenceSerializationKind.Unknown; } else if (type.flags & TypeFlags.AnyOrUnknown) { diff --git a/src/compiler/types.ts b/src/compiler/types.ts index 62d97ab414e50..feef8900df412 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -4957,6 +4957,7 @@ namespace ts { HasNeverType = 1 << 17, // Synthetic property with at least one never type in constituents Mapped = 1 << 18, // Property of mapped type StripOptional = 1 << 19, // Strip optionality in mapped property + Unresolved = 1 << 20, // Unresolved type alias symbol Synthetic = SyntheticProperty | SyntheticMethod, Discriminant = HasNonUniformType | HasLiteralType, Partial = ReadPartial | WritePartial diff --git a/tests/baselines/reference/ArrowFunction1.symbols b/tests/baselines/reference/ArrowFunction1.symbols index 2c0b6a3e45246..f0f7b6fe4102d 100644 --- a/tests/baselines/reference/ArrowFunction1.symbols +++ b/tests/baselines/reference/ArrowFunction1.symbols @@ -2,5 +2,6 @@ var v = (a: ) => { >v : Symbol(v, Decl(ArrowFunction1.ts, 0, 3)) >a : Symbol(a, Decl(ArrowFunction1.ts, 0, 9)) +> : Symbol(unknown) }; diff --git a/tests/baselines/reference/ClassAndModuleThatMergeWithModuleMemberThatUsesClassTypeParameter.symbols b/tests/baselines/reference/ClassAndModuleThatMergeWithModuleMemberThatUsesClassTypeParameter.symbols index 5c32f4eadce5d..5f4e77658bf8f 100644 --- a/tests/baselines/reference/ClassAndModuleThatMergeWithModuleMemberThatUsesClassTypeParameter.symbols +++ b/tests/baselines/reference/ClassAndModuleThatMergeWithModuleMemberThatUsesClassTypeParameter.symbols @@ -19,6 +19,7 @@ module clodule1 { function f(x: T) { } >f : Symbol(f, Decl(ClassAndModuleThatMergeWithModuleMemberThatUsesClassTypeParameter.ts, 8, 17)) >x : Symbol(x, Decl(ClassAndModuleThatMergeWithModuleMemberThatUsesClassTypeParameter.ts, 9, 15)) +>T : Symbol(T) } class clodule2{ @@ -38,10 +39,12 @@ module clodule2 { var x: T; >x : Symbol(x, Decl(ClassAndModuleThatMergeWithModuleMemberThatUsesClassTypeParameter.ts, 19, 7)) +>T : Symbol(T) class D{ >D : Symbol(D, Decl(ClassAndModuleThatMergeWithModuleMemberThatUsesClassTypeParameter.ts, 19, 13)) >U : Symbol(U, Decl(ClassAndModuleThatMergeWithModuleMemberThatUsesClassTypeParameter.ts, 21, 12)) +>T : Symbol(T) id: string; >id : Symbol(D.id, Decl(ClassAndModuleThatMergeWithModuleMemberThatUsesClassTypeParameter.ts, 21, 25)) @@ -92,6 +95,7 @@ module clodule4 { name: T; >name : Symbol(D.name, Decl(ClassAndModuleThatMergeWithModuleMemberThatUsesClassTypeParameter.ts, 44, 13)) +>T : Symbol(T) } } diff --git a/tests/baselines/reference/ClassAndModuleThatMergeWithModuleMemberThatUsesClassTypeParameter.types b/tests/baselines/reference/ClassAndModuleThatMergeWithModuleMemberThatUsesClassTypeParameter.types index d37a2777c35b5..a2132fefdbc22 100644 --- a/tests/baselines/reference/ClassAndModuleThatMergeWithModuleMemberThatUsesClassTypeParameter.types +++ b/tests/baselines/reference/ClassAndModuleThatMergeWithModuleMemberThatUsesClassTypeParameter.types @@ -15,8 +15,8 @@ module clodule1 { >clodule1 : typeof clodule1 function f(x: T) { } ->f : (x: any) => void ->x : any +>f : (x: T) => void +>x : T } class clodule2{ @@ -33,7 +33,7 @@ module clodule2 { >clodule2 : typeof clodule2 var x: T; ->x : any +>x : T class D{ >D : D @@ -83,7 +83,7 @@ module clodule4 { >D : D name: T; ->name : any +>name : T } } diff --git a/tests/baselines/reference/FunctionDeclaration13_es6.symbols b/tests/baselines/reference/FunctionDeclaration13_es6.symbols index ad40b5623bbcf..6795164384e29 100644 --- a/tests/baselines/reference/FunctionDeclaration13_es6.symbols +++ b/tests/baselines/reference/FunctionDeclaration13_es6.symbols @@ -5,5 +5,6 @@ function * foo() { // Legal to use 'yield' in a type context. var v: yield; >v : Symbol(v, Decl(FunctionDeclaration13_es6.ts, 2, 6)) +>yield : Symbol(yield) } diff --git a/tests/baselines/reference/FunctionDeclaration13_es6.types b/tests/baselines/reference/FunctionDeclaration13_es6.types index 011472ef73d96..449b87e214cb4 100644 --- a/tests/baselines/reference/FunctionDeclaration13_es6.types +++ b/tests/baselines/reference/FunctionDeclaration13_es6.types @@ -4,6 +4,6 @@ function * foo() { // Legal to use 'yield' in a type context. var v: yield; ->v : any +>v : yield } diff --git a/tests/baselines/reference/ParameterList5.symbols b/tests/baselines/reference/ParameterList5.symbols index 87b3181249be0..a4b5a0b7b1c25 100644 --- a/tests/baselines/reference/ParameterList5.symbols +++ b/tests/baselines/reference/ParameterList5.symbols @@ -2,4 +2,5 @@ function A(): (public B) => C { >A : Symbol(A, Decl(ParameterList5.ts, 0, 0)) >B : Symbol(B, Decl(ParameterList5.ts, 0, 15)) +>C : Symbol(C) } diff --git a/tests/baselines/reference/ParameterList5.types b/tests/baselines/reference/ParameterList5.types index 073dcd58663e4..a46e6ea819f3d 100644 --- a/tests/baselines/reference/ParameterList5.types +++ b/tests/baselines/reference/ParameterList5.types @@ -1,5 +1,5 @@ === tests/cases/compiler/ParameterList5.ts === function A(): (public B) => C { ->A : () => (B: any) => any +>A : () => (B: any) => C >B : any } diff --git a/tests/baselines/reference/TupleType6.symbols b/tests/baselines/reference/TupleType6.symbols index b02a0d6eb5e73..8517221a5735d 100644 --- a/tests/baselines/reference/TupleType6.symbols +++ b/tests/baselines/reference/TupleType6.symbols @@ -1,4 +1,5 @@ === tests/cases/conformance/parser/ecmascript5/TupleTypes/TupleType6.ts === var v: [number,,] >v : Symbol(v, Decl(TupleType6.ts, 0, 3)) +> : Symbol(unknown) diff --git a/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedLocalVarsOfTheSameName.symbols b/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedLocalVarsOfTheSameName.symbols index a9d0459064abb..f291c885147ff 100644 --- a/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedLocalVarsOfTheSameName.symbols +++ b/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedLocalVarsOfTheSameName.symbols @@ -48,6 +48,7 @@ export module A { // collision with 'Origin' var in other part of merged module export var Origin: Point = { x: 0, y: 0 }; >Origin : Symbol(Origin, Decl(part2.ts, 2, 14)) +>Point : Symbol(Point) >x : Symbol(x, Decl(part2.ts, 2, 32)) >y : Symbol(y, Decl(part2.ts, 2, 38)) @@ -59,7 +60,9 @@ export module A { constructor(public tl: Point, public br: Point) { } >tl : Symbol(Plane.tl, Decl(part2.ts, 6, 24)) +>Point : Symbol(Point) >br : Symbol(Plane.br, Decl(part2.ts, 6, 41)) +>Point : Symbol(Point) } } } diff --git a/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedLocalVarsOfTheSameName.types b/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedLocalVarsOfTheSameName.types index 7da40308b3d54..b287fc67bbdff 100644 --- a/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedLocalVarsOfTheSameName.types +++ b/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedLocalVarsOfTheSameName.types @@ -45,7 +45,7 @@ export module A { // collision with 'Origin' var in other part of merged module export var Origin: Point = { x: 0, y: 0 }; ->Origin : any +>Origin : Point >{ x: 0, y: 0 } : { x: number; y: number; } >x : number >0 : 0 @@ -59,8 +59,8 @@ export module A { >Plane : Plane constructor(public tl: Point, public br: Point) { } ->tl : any ->br : any +>tl : Point +>br : Point } } } diff --git a/tests/baselines/reference/accessorDeclarationEmitVisibilityErrors.symbols b/tests/baselines/reference/accessorDeclarationEmitVisibilityErrors.symbols index aadfbb4e48132..bf2bb4c49005a 100644 --- a/tests/baselines/reference/accessorDeclarationEmitVisibilityErrors.symbols +++ b/tests/baselines/reference/accessorDeclarationEmitVisibilityErrors.symbols @@ -5,4 +5,5 @@ export class Q { set bet(arg: DoesNotExist) {} >bet : Symbol(Q.bet, Decl(accessorDeclarationEmitVisibilityErrors.ts, 0, 16)) >arg : Symbol(arg, Decl(accessorDeclarationEmitVisibilityErrors.ts, 1, 12)) +>DoesNotExist : Symbol(DoesNotExist) } diff --git a/tests/baselines/reference/accessorDeclarationEmitVisibilityErrors.types b/tests/baselines/reference/accessorDeclarationEmitVisibilityErrors.types index a9afc59b56b15..a4d2cf519b273 100644 --- a/tests/baselines/reference/accessorDeclarationEmitVisibilityErrors.types +++ b/tests/baselines/reference/accessorDeclarationEmitVisibilityErrors.types @@ -3,6 +3,6 @@ export class Q { >Q : Q set bet(arg: DoesNotExist) {} ->bet : any ->arg : any +>bet : DoesNotExist +>arg : DoesNotExist } diff --git a/tests/baselines/reference/aliasBug.symbols b/tests/baselines/reference/aliasBug.symbols index 8dae267b5beba..90ff24199d129 100644 --- a/tests/baselines/reference/aliasBug.symbols +++ b/tests/baselines/reference/aliasBug.symbols @@ -44,6 +44,7 @@ function use() { var p3:booz.bar; >p3 : Symbol(p3, Decl(aliasBug.ts, 15, 5)) >booz : Symbol(booz, Decl(aliasBug.ts, 7, 21)) +>bar : Symbol(booz.bar) var p22 = new provide.Provide(); >p22 : Symbol(p22, Decl(aliasBug.ts, 16, 5)) diff --git a/tests/baselines/reference/aliasBug.types b/tests/baselines/reference/aliasBug.types index d01be940b05e6..9c4c4982d588a 100644 --- a/tests/baselines/reference/aliasBug.types +++ b/tests/baselines/reference/aliasBug.types @@ -41,7 +41,7 @@ function use() { >foo : any var p3:booz.bar; ->p3 : any +>p3 : booz.bar >booz : any var p22 = new provide.Provide(); diff --git a/tests/baselines/reference/aliasErrors.symbols b/tests/baselines/reference/aliasErrors.symbols index 2a0e5b582568f..54eaa07cb8ca3 100644 --- a/tests/baselines/reference/aliasErrors.symbols +++ b/tests/baselines/reference/aliasErrors.symbols @@ -74,6 +74,7 @@ function use() { var p3:booz.bar; >p3 : Symbol(p3, Decl(aliasErrors.ts, 25, 5)) >booz : Symbol(booz, Decl(aliasErrors.ts, 6, 21)) +>bar : Symbol(booz.bar) var p22 = new provide.Provide(); >p22 : Symbol(p22, Decl(aliasErrors.ts, 26, 5)) diff --git a/tests/baselines/reference/aliasErrors.types b/tests/baselines/reference/aliasErrors.types index e1fb1cada4fe7..5c4013b48da5b 100644 --- a/tests/baselines/reference/aliasErrors.types +++ b/tests/baselines/reference/aliasErrors.types @@ -81,7 +81,7 @@ function use() { >foo : any var p3:booz.bar; ->p3 : any +>p3 : booz.bar >booz : any var p22 = new provide.Provide(); diff --git a/tests/baselines/reference/allowImportClausesToMergeWithTypes.symbols b/tests/baselines/reference/allowImportClausesToMergeWithTypes.symbols index a87db081e1ddb..769ec5574c18e 100644 --- a/tests/baselines/reference/allowImportClausesToMergeWithTypes.symbols +++ b/tests/baselines/reference/allowImportClausesToMergeWithTypes.symbols @@ -47,5 +47,6 @@ originalZZZ; const y: originalZZZ = x; >y : Symbol(y, Decl(index.ts, 8, 5)) +>originalZZZ : Symbol(originalZZZ) >x : Symbol(x, Decl(index.ts, 2, 5)) diff --git a/tests/baselines/reference/allowImportClausesToMergeWithTypes.types b/tests/baselines/reference/allowImportClausesToMergeWithTypes.types index f02568ccfa927..e153d2fa23302 100644 --- a/tests/baselines/reference/allowImportClausesToMergeWithTypes.types +++ b/tests/baselines/reference/allowImportClausesToMergeWithTypes.types @@ -48,6 +48,6 @@ originalZZZ; >originalZZZ : 123 const y: originalZZZ = x; ->y : any +>y : originalZZZ >x : zzz diff --git a/tests/baselines/reference/ambientExternalModuleWithRelativeExternalImportDeclaration.symbols b/tests/baselines/reference/ambientExternalModuleWithRelativeExternalImportDeclaration.symbols index 3c7754d01350f..1341055b0a357 100644 --- a/tests/baselines/reference/ambientExternalModuleWithRelativeExternalImportDeclaration.symbols +++ b/tests/baselines/reference/ambientExternalModuleWithRelativeExternalImportDeclaration.symbols @@ -17,7 +17,7 @@ declare module "OuterModule" { public x: m2.c; >x : Symbol(SubModule.x, Decl(ambientExternalModuleWithRelativeExternalImportDeclaration.ts, 4, 35)) >m2 : Symbol(m2, Decl(ambientExternalModuleWithRelativeExternalImportDeclaration.ts, 0, 30)) ->c : Symbol(m2) +>c : Symbol(m2.c) constructor(); } diff --git a/tests/baselines/reference/ambientExternalModuleWithRelativeExternalImportDeclaration.types b/tests/baselines/reference/ambientExternalModuleWithRelativeExternalImportDeclaration.types index 0e1c92e64422f..2f3f341002909 100644 --- a/tests/baselines/reference/ambientExternalModuleWithRelativeExternalImportDeclaration.types +++ b/tests/baselines/reference/ambientExternalModuleWithRelativeExternalImportDeclaration.types @@ -15,7 +15,7 @@ declare module "OuterModule" { >InstanceVar : number public x: m2.c; ->x : any +>x : m2.c >m2 : any constructor(); diff --git a/tests/baselines/reference/assertionFunctionsCanNarrowByDiscriminant.symbols b/tests/baselines/reference/assertionFunctionsCanNarrowByDiscriminant.symbols index 4df3e8e983672..a7cb944dc4938 100644 --- a/tests/baselines/reference/assertionFunctionsCanNarrowByDiscriminant.symbols +++ b/tests/baselines/reference/assertionFunctionsCanNarrowByDiscriminant.symbols @@ -44,6 +44,7 @@ assertEqual(animal.type, 'cat' as const); >animal.type : Symbol(type, Decl(assertionFunctionsCanNarrowByDiscriminant.ts, 0, 15), Decl(assertionFunctionsCanNarrowByDiscriminant.ts, 5, 15)) >animal : Symbol(animal, Decl(assertionFunctionsCanNarrowByDiscriminant.ts, 14, 5)) >type : Symbol(type, Decl(assertionFunctionsCanNarrowByDiscriminant.ts, 0, 15), Decl(assertionFunctionsCanNarrowByDiscriminant.ts, 5, 15)) +>const : Symbol(const) animal.canMeow; // since is cat, should not be an error >animal.canMeow : Symbol(Cat.canMeow, Decl(assertionFunctionsCanNarrowByDiscriminant.ts, 1, 16)) @@ -61,6 +62,7 @@ assertEqual(animalOrUndef?.type, 'cat' as const); >animalOrUndef?.type : Symbol(type, Decl(assertionFunctionsCanNarrowByDiscriminant.ts, 0, 15), Decl(assertionFunctionsCanNarrowByDiscriminant.ts, 5, 15)) >animalOrUndef : Symbol(animalOrUndef, Decl(assertionFunctionsCanNarrowByDiscriminant.ts, 19, 5)) >type : Symbol(type, Decl(assertionFunctionsCanNarrowByDiscriminant.ts, 0, 15), Decl(assertionFunctionsCanNarrowByDiscriminant.ts, 5, 15)) +>const : Symbol(const) animalOrUndef.canMeow; // since is cat, should not be an error >animalOrUndef.canMeow : Symbol(Cat.canMeow, Decl(assertionFunctionsCanNarrowByDiscriminant.ts, 1, 16)) diff --git a/tests/baselines/reference/assignmentCompatWithStringIndexer3.symbols b/tests/baselines/reference/assignmentCompatWithStringIndexer3.symbols index 751fb44c8dc98..b9c690d55b7e2 100644 --- a/tests/baselines/reference/assignmentCompatWithStringIndexer3.symbols +++ b/tests/baselines/reference/assignmentCompatWithStringIndexer3.symbols @@ -17,6 +17,7 @@ interface Derived2 extends Derived { baz: string; } var a: A; >a : Symbol(a, Decl(assignmentCompatWithStringIndexer3.ts, 6, 3)) +>A : Symbol(A) var b1: { [x: string]: string; } >b1 : Symbol(b1, Decl(assignmentCompatWithStringIndexer3.ts, 7, 3)) diff --git a/tests/baselines/reference/assignmentCompatWithStringIndexer3.types b/tests/baselines/reference/assignmentCompatWithStringIndexer3.types index 89caebb3113e9..af9ecb7675491 100644 --- a/tests/baselines/reference/assignmentCompatWithStringIndexer3.types +++ b/tests/baselines/reference/assignmentCompatWithStringIndexer3.types @@ -11,7 +11,7 @@ interface Derived2 extends Derived { baz: string; } >baz : string var a: A; ->a : any +>a : A var b1: { [x: string]: string; } >b1 : { [x: string]: string; } @@ -19,13 +19,13 @@ var b1: { [x: string]: string; } a = b1; // error >a = b1 : { [x: string]: string; } ->a : any +>a : A >b1 : { [x: string]: string; } b1 = a; // error ->b1 = a : any +>b1 = a : A >b1 : { [x: string]: string; } ->a : any +>a : A module Generics { >Generics : typeof Generics diff --git a/tests/baselines/reference/asyncArrowFunction10_es2017.symbols b/tests/baselines/reference/asyncArrowFunction10_es2017.symbols index f74427c04eb57..0cdd8fc9d9b98 100644 --- a/tests/baselines/reference/asyncArrowFunction10_es2017.symbols +++ b/tests/baselines/reference/asyncArrowFunction10_es2017.symbols @@ -6,5 +6,6 @@ var foo = async (): Promise => { // Legal to use 'await' in a type context. var v: await; >v : Symbol(v, Decl(asyncArrowFunction10_es2017.ts, 2, 6)) +>await : Symbol(await) } diff --git a/tests/baselines/reference/asyncArrowFunction10_es2017.types b/tests/baselines/reference/asyncArrowFunction10_es2017.types index c03dff71b2cc3..dfe32056d1444 100644 --- a/tests/baselines/reference/asyncArrowFunction10_es2017.types +++ b/tests/baselines/reference/asyncArrowFunction10_es2017.types @@ -5,6 +5,6 @@ var foo = async (): Promise => { // Legal to use 'await' in a type context. var v: await; ->v : any +>v : await } diff --git a/tests/baselines/reference/asyncArrowFunction10_es5.symbols b/tests/baselines/reference/asyncArrowFunction10_es5.symbols index 12b06eb306139..62d85679e6684 100644 --- a/tests/baselines/reference/asyncArrowFunction10_es5.symbols +++ b/tests/baselines/reference/asyncArrowFunction10_es5.symbols @@ -6,5 +6,6 @@ var foo = async (): Promise => { // Legal to use 'await' in a type context. var v: await; >v : Symbol(v, Decl(asyncArrowFunction10_es5.ts, 2, 6)) +>await : Symbol(await) } diff --git a/tests/baselines/reference/asyncArrowFunction10_es5.types b/tests/baselines/reference/asyncArrowFunction10_es5.types index 89b512797100b..41a3566651032 100644 --- a/tests/baselines/reference/asyncArrowFunction10_es5.types +++ b/tests/baselines/reference/asyncArrowFunction10_es5.types @@ -5,6 +5,6 @@ var foo = async (): Promise => { // Legal to use 'await' in a type context. var v: await; ->v : any +>v : await } diff --git a/tests/baselines/reference/asyncArrowFunction10_es6.symbols b/tests/baselines/reference/asyncArrowFunction10_es6.symbols index 89a2ee67717c4..be222a4546234 100644 --- a/tests/baselines/reference/asyncArrowFunction10_es6.symbols +++ b/tests/baselines/reference/asyncArrowFunction10_es6.symbols @@ -6,5 +6,6 @@ var foo = async (): Promise => { // Legal to use 'await' in a type context. var v: await; >v : Symbol(v, Decl(asyncArrowFunction10_es6.ts, 2, 6)) +>await : Symbol(await) } diff --git a/tests/baselines/reference/asyncArrowFunction10_es6.types b/tests/baselines/reference/asyncArrowFunction10_es6.types index 36207135e68a0..1b744fdbae924 100644 --- a/tests/baselines/reference/asyncArrowFunction10_es6.types +++ b/tests/baselines/reference/asyncArrowFunction10_es6.types @@ -5,6 +5,6 @@ var foo = async (): Promise => { // Legal to use 'await' in a type context. var v: await; ->v : any +>v : await } diff --git a/tests/baselines/reference/asyncAwaitIsolatedModules_es2017.types b/tests/baselines/reference/asyncAwaitIsolatedModules_es2017.types index 24fb4ce9a8156..c14b65535258c 100644 --- a/tests/baselines/reference/asyncAwaitIsolatedModules_es2017.types +++ b/tests/baselines/reference/asyncAwaitIsolatedModules_es2017.types @@ -6,7 +6,7 @@ declare var p: Promise; >p : Promise declare var mp: MyPromise; ->mp : any +>mp : MyPromise async function f0() { } >f0 : () => Promise @@ -15,7 +15,7 @@ async function f1(): Promise { } >f1 : () => Promise async function f3(): MyPromise { } ->f3 : () => any +>f3 : () => MyPromise let f4 = async function() { } >f4 : () => Promise @@ -26,8 +26,8 @@ let f5 = async function(): Promise { } >async function(): Promise { } : () => Promise let f6 = async function(): MyPromise { } ->f6 : () => any ->async function(): MyPromise { } : () => any +>f6 : () => MyPromise +>async function(): MyPromise { } : () => MyPromise let f7 = async () => { }; >f7 : () => Promise @@ -38,8 +38,8 @@ let f8 = async (): Promise => { }; >async (): Promise => { } : () => Promise let f9 = async (): MyPromise => { }; ->f9 : () => any ->async (): MyPromise => { } : () => any +>f9 : () => MyPromise +>async (): MyPromise => { } : () => MyPromise let f10 = async () => p; >f10 : () => Promise @@ -47,23 +47,23 @@ let f10 = async () => p; >p : Promise let f11 = async () => mp; ->f11 : () => Promise ->async () => mp : () => Promise ->mp : any +>f11 : () => Promise> +>async () => mp : () => Promise> +>mp : MyPromise let f12 = async (): Promise => mp; >f12 : () => Promise >async (): Promise => mp : () => Promise ->mp : any +>mp : MyPromise let f13 = async (): MyPromise => p; ->f13 : () => any ->async (): MyPromise => p : () => any +>f13 : () => MyPromise +>async (): MyPromise => p : () => MyPromise >p : Promise let o = { ->o : { m1(): Promise; m2(): Promise; m3(): any; } ->{ async m1() { }, async m2(): Promise { }, async m3(): MyPromise { }} : { m1(): Promise; m2(): Promise; m3(): any; } +>o : { m1(): Promise; m2(): Promise; m3(): MyPromise; } +>{ async m1() { }, async m2(): Promise { }, async m3(): MyPromise { }} : { m1(): Promise; m2(): Promise; m3(): MyPromise; } async m1() { }, >m1 : () => Promise @@ -72,7 +72,7 @@ let o = { >m2 : () => Promise async m3(): MyPromise { } ->m3 : () => any +>m3 : () => MyPromise }; @@ -86,7 +86,7 @@ class C { >m2 : () => Promise async m3(): MyPromise { } ->m3 : () => any +>m3 : () => MyPromise static async m4() { } >m4 : () => Promise @@ -95,7 +95,7 @@ class C { >m5 : () => Promise static async m6(): MyPromise { } ->m6 : () => any +>m6 : () => MyPromise } module M { diff --git a/tests/baselines/reference/asyncAwaitIsolatedModules_es5.types b/tests/baselines/reference/asyncAwaitIsolatedModules_es5.types index cf6aa2eada115..f4e9d55d40761 100644 --- a/tests/baselines/reference/asyncAwaitIsolatedModules_es5.types +++ b/tests/baselines/reference/asyncAwaitIsolatedModules_es5.types @@ -6,7 +6,7 @@ declare var p: Promise; >p : Promise declare var mp: MyPromise; ->mp : any +>mp : MyPromise async function f0() { } >f0 : () => Promise @@ -15,7 +15,7 @@ async function f1(): Promise { } >f1 : () => Promise async function f3(): MyPromise { } ->f3 : () => any +>f3 : () => MyPromise let f4 = async function() { } >f4 : () => Promise @@ -26,8 +26,8 @@ let f5 = async function(): Promise { } >async function(): Promise { } : () => Promise let f6 = async function(): MyPromise { } ->f6 : () => any ->async function(): MyPromise { } : () => any +>f6 : () => MyPromise +>async function(): MyPromise { } : () => MyPromise let f7 = async () => { }; >f7 : () => Promise @@ -38,8 +38,8 @@ let f8 = async (): Promise => { }; >async (): Promise => { } : () => Promise let f9 = async (): MyPromise => { }; ->f9 : () => any ->async (): MyPromise => { } : () => any +>f9 : () => MyPromise +>async (): MyPromise => { } : () => MyPromise let f10 = async () => p; >f10 : () => Promise @@ -47,23 +47,23 @@ let f10 = async () => p; >p : Promise let f11 = async () => mp; ->f11 : () => Promise ->async () => mp : () => Promise ->mp : any +>f11 : () => Promise> +>async () => mp : () => Promise> +>mp : MyPromise let f12 = async (): Promise => mp; >f12 : () => Promise >async (): Promise => mp : () => Promise ->mp : any +>mp : MyPromise let f13 = async (): MyPromise => p; ->f13 : () => any ->async (): MyPromise => p : () => any +>f13 : () => MyPromise +>async (): MyPromise => p : () => MyPromise >p : Promise let o = { ->o : { m1(): Promise; m2(): Promise; m3(): any; } ->{ async m1() { }, async m2(): Promise { }, async m3(): MyPromise { }} : { m1(): Promise; m2(): Promise; m3(): any; } +>o : { m1(): Promise; m2(): Promise; m3(): MyPromise; } +>{ async m1() { }, async m2(): Promise { }, async m3(): MyPromise { }} : { m1(): Promise; m2(): Promise; m3(): MyPromise; } async m1() { }, >m1 : () => Promise @@ -72,7 +72,7 @@ let o = { >m2 : () => Promise async m3(): MyPromise { } ->m3 : () => any +>m3 : () => MyPromise }; @@ -86,7 +86,7 @@ class C { >m2 : () => Promise async m3(): MyPromise { } ->m3 : () => any +>m3 : () => MyPromise static async m4() { } >m4 : () => Promise @@ -95,7 +95,7 @@ class C { >m5 : () => Promise static async m6(): MyPromise { } ->m6 : () => any +>m6 : () => MyPromise } module M { diff --git a/tests/baselines/reference/asyncAwaitIsolatedModules_es6.types b/tests/baselines/reference/asyncAwaitIsolatedModules_es6.types index a847c04019107..f412bdb40ec72 100644 --- a/tests/baselines/reference/asyncAwaitIsolatedModules_es6.types +++ b/tests/baselines/reference/asyncAwaitIsolatedModules_es6.types @@ -6,7 +6,7 @@ declare var p: Promise; >p : Promise declare var mp: MyPromise; ->mp : any +>mp : MyPromise async function f0() { } >f0 : () => Promise @@ -15,7 +15,7 @@ async function f1(): Promise { } >f1 : () => Promise async function f3(): MyPromise { } ->f3 : () => any +>f3 : () => MyPromise let f4 = async function() { } >f4 : () => Promise @@ -26,8 +26,8 @@ let f5 = async function(): Promise { } >async function(): Promise { } : () => Promise let f6 = async function(): MyPromise { } ->f6 : () => any ->async function(): MyPromise { } : () => any +>f6 : () => MyPromise +>async function(): MyPromise { } : () => MyPromise let f7 = async () => { }; >f7 : () => Promise @@ -38,8 +38,8 @@ let f8 = async (): Promise => { }; >async (): Promise => { } : () => Promise let f9 = async (): MyPromise => { }; ->f9 : () => any ->async (): MyPromise => { } : () => any +>f9 : () => MyPromise +>async (): MyPromise => { } : () => MyPromise let f10 = async () => p; >f10 : () => Promise @@ -47,23 +47,23 @@ let f10 = async () => p; >p : Promise let f11 = async () => mp; ->f11 : () => Promise ->async () => mp : () => Promise ->mp : any +>f11 : () => Promise> +>async () => mp : () => Promise> +>mp : MyPromise let f12 = async (): Promise => mp; >f12 : () => Promise >async (): Promise => mp : () => Promise ->mp : any +>mp : MyPromise let f13 = async (): MyPromise => p; ->f13 : () => any ->async (): MyPromise => p : () => any +>f13 : () => MyPromise +>async (): MyPromise => p : () => MyPromise >p : Promise let o = { ->o : { m1(): Promise; m2(): Promise; m3(): any; } ->{ async m1() { }, async m2(): Promise { }, async m3(): MyPromise { }} : { m1(): Promise; m2(): Promise; m3(): any; } +>o : { m1(): Promise; m2(): Promise; m3(): MyPromise; } +>{ async m1() { }, async m2(): Promise { }, async m3(): MyPromise { }} : { m1(): Promise; m2(): Promise; m3(): MyPromise; } async m1() { }, >m1 : () => Promise @@ -72,7 +72,7 @@ let o = { >m2 : () => Promise async m3(): MyPromise { } ->m3 : () => any +>m3 : () => MyPromise }; @@ -86,7 +86,7 @@ class C { >m2 : () => Promise async m3(): MyPromise { } ->m3 : () => any +>m3 : () => MyPromise static async m4() { } >m4 : () => Promise @@ -95,7 +95,7 @@ class C { >m5 : () => Promise static async m6(): MyPromise { } ->m6 : () => any +>m6 : () => MyPromise } module M { diff --git a/tests/baselines/reference/asyncFunctionDeclaration13_es2017.symbols b/tests/baselines/reference/asyncFunctionDeclaration13_es2017.symbols index f08b00b0b0e0b..dc30e7c1e2463 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration13_es2017.symbols +++ b/tests/baselines/reference/asyncFunctionDeclaration13_es2017.symbols @@ -6,5 +6,6 @@ async function foo(): Promise { // Legal to use 'await' in a type context. var v: await; >v : Symbol(v, Decl(asyncFunctionDeclaration13_es2017.ts, 2, 6)) +>await : Symbol(await) } diff --git a/tests/baselines/reference/asyncFunctionDeclaration13_es2017.types b/tests/baselines/reference/asyncFunctionDeclaration13_es2017.types index 0aff4cfd5649a..cc70050f0bc77 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration13_es2017.types +++ b/tests/baselines/reference/asyncFunctionDeclaration13_es2017.types @@ -4,6 +4,6 @@ async function foo(): Promise { // Legal to use 'await' in a type context. var v: await; ->v : any +>v : await } diff --git a/tests/baselines/reference/asyncFunctionDeclaration13_es5.symbols b/tests/baselines/reference/asyncFunctionDeclaration13_es5.symbols index 8906da12e976c..5b45a24ee814d 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration13_es5.symbols +++ b/tests/baselines/reference/asyncFunctionDeclaration13_es5.symbols @@ -6,5 +6,6 @@ async function foo(): Promise { // Legal to use 'await' in a type context. var v: await; >v : Symbol(v, Decl(asyncFunctionDeclaration13_es5.ts, 2, 6)) +>await : Symbol(await) } diff --git a/tests/baselines/reference/asyncFunctionDeclaration13_es5.types b/tests/baselines/reference/asyncFunctionDeclaration13_es5.types index 6d8dec2ddbfc3..01d4f78dd5d91 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration13_es5.types +++ b/tests/baselines/reference/asyncFunctionDeclaration13_es5.types @@ -4,6 +4,6 @@ async function foo(): Promise { // Legal to use 'await' in a type context. var v: await; ->v : any +>v : await } diff --git a/tests/baselines/reference/asyncFunctionDeclaration13_es6.symbols b/tests/baselines/reference/asyncFunctionDeclaration13_es6.symbols index ba3fd3610cf46..c8558c80316a9 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration13_es6.symbols +++ b/tests/baselines/reference/asyncFunctionDeclaration13_es6.symbols @@ -6,5 +6,6 @@ async function foo(): Promise { // Legal to use 'await' in a type context. var v: await; >v : Symbol(v, Decl(asyncFunctionDeclaration13_es6.ts, 2, 6)) +>await : Symbol(await) } diff --git a/tests/baselines/reference/asyncFunctionDeclaration13_es6.types b/tests/baselines/reference/asyncFunctionDeclaration13_es6.types index 8ea5795be3ca6..5d4f320bdb6dc 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration13_es6.types +++ b/tests/baselines/reference/asyncFunctionDeclaration13_es6.types @@ -4,6 +4,6 @@ async function foo(): Promise { // Legal to use 'await' in a type context. var v: await; ->v : any +>v : await } diff --git a/tests/baselines/reference/augmentExportEquals1.symbols b/tests/baselines/reference/augmentExportEquals1.symbols index b2bda7590cd55..f20b5b1fa43c2 100644 --- a/tests/baselines/reference/augmentExportEquals1.symbols +++ b/tests/baselines/reference/augmentExportEquals1.symbols @@ -5,6 +5,8 @@ import x = require("./file1"); import "./file2"; let a: x.A; // should not work >a : Symbol(a, Decl(file3.ts, 2, 3)) +>x : Symbol(x) +>A : Symbol(x.A) === tests/cases/compiler/file1.ts === var x = 1; diff --git a/tests/baselines/reference/augmentExportEquals1.types b/tests/baselines/reference/augmentExportEquals1.types index e2c86b9ae5f3b..0b09c1239831c 100644 --- a/tests/baselines/reference/augmentExportEquals1.types +++ b/tests/baselines/reference/augmentExportEquals1.types @@ -4,7 +4,7 @@ import x = require("./file1"); import "./file2"; let a: x.A; // should not work ->a : any +>a : x.A >x : any === tests/cases/compiler/file1.ts === diff --git a/tests/baselines/reference/augmentExportEquals1_1.symbols b/tests/baselines/reference/augmentExportEquals1_1.symbols index 6d1ca82a086db..1c88a126660c1 100644 --- a/tests/baselines/reference/augmentExportEquals1_1.symbols +++ b/tests/baselines/reference/augmentExportEquals1_1.symbols @@ -5,6 +5,8 @@ import x = require("file1"); import "file2"; let a: x.A; // should not work >a : Symbol(a, Decl(file3.ts, 2, 3)) +>x : Symbol(x) +>A : Symbol(x.A) === tests/cases/compiler/file1.d.ts === declare module "file1" { diff --git a/tests/baselines/reference/augmentExportEquals1_1.types b/tests/baselines/reference/augmentExportEquals1_1.types index b348eba27c06d..53df1b7c7ce1f 100644 --- a/tests/baselines/reference/augmentExportEquals1_1.types +++ b/tests/baselines/reference/augmentExportEquals1_1.types @@ -4,7 +4,7 @@ import x = require("file1"); import "file2"; let a: x.A; // should not work ->a : any +>a : x.A >x : any === tests/cases/compiler/file1.d.ts === diff --git a/tests/baselines/reference/augmentExportEquals2.symbols b/tests/baselines/reference/augmentExportEquals2.symbols index 18dc793b5c2df..6158be2584c57 100644 --- a/tests/baselines/reference/augmentExportEquals2.symbols +++ b/tests/baselines/reference/augmentExportEquals2.symbols @@ -5,6 +5,8 @@ import x = require("./file1"); import "./file2"; let a: x.A; // should not work >a : Symbol(a, Decl(file3.ts, 2, 3)) +>x : Symbol(x) +>A : Symbol(x.A) === tests/cases/compiler/file1.ts === function foo() {} diff --git a/tests/baselines/reference/augmentExportEquals2.types b/tests/baselines/reference/augmentExportEquals2.types index aeee216a9a3ba..da3a353c87a66 100644 --- a/tests/baselines/reference/augmentExportEquals2.types +++ b/tests/baselines/reference/augmentExportEquals2.types @@ -4,7 +4,7 @@ import x = require("./file1"); import "./file2"; let a: x.A; // should not work ->a : any +>a : x.A >x : any === tests/cases/compiler/file1.ts === diff --git a/tests/baselines/reference/augmentExportEquals2_1.symbols b/tests/baselines/reference/augmentExportEquals2_1.symbols index 4eb0675cf64dd..6ffda37215ad2 100644 --- a/tests/baselines/reference/augmentExportEquals2_1.symbols +++ b/tests/baselines/reference/augmentExportEquals2_1.symbols @@ -5,6 +5,8 @@ import x = require("file1"); import "file2"; let a: x.A; // should not work >a : Symbol(a, Decl(file3.ts, 2, 3)) +>x : Symbol(x) +>A : Symbol(x.A) === tests/cases/compiler/file1.d.ts === declare module "file1" { diff --git a/tests/baselines/reference/augmentExportEquals2_1.types b/tests/baselines/reference/augmentExportEquals2_1.types index bca0320dcf17c..d27bfb3f43fab 100644 --- a/tests/baselines/reference/augmentExportEquals2_1.types +++ b/tests/baselines/reference/augmentExportEquals2_1.types @@ -4,7 +4,7 @@ import x = require("file1"); import "file2"; let a: x.A; // should not work ->a : any +>a : x.A >x : any === tests/cases/compiler/file1.d.ts === diff --git a/tests/baselines/reference/badExternalModuleReference.symbols b/tests/baselines/reference/badExternalModuleReference.symbols index 3e6d6a80e84b5..f5719eee8c313 100644 --- a/tests/baselines/reference/badExternalModuleReference.symbols +++ b/tests/baselines/reference/badExternalModuleReference.symbols @@ -8,11 +8,11 @@ export declare var a: { test1: a1.connectModule; >test1 : Symbol(test1, Decl(badExternalModuleReference.ts, 1, 23)) >a1 : Symbol(a1, Decl(badExternalModuleReference.ts, 0, 0)) ->connectModule : Symbol(a1) +>connectModule : Symbol(a1.connectModule) (): a1.connectExport; >a1 : Symbol(a1, Decl(badExternalModuleReference.ts, 0, 0)) ->connectExport : Symbol(a1) +>connectExport : Symbol(a1.connectExport) }; diff --git a/tests/baselines/reference/badExternalModuleReference.types b/tests/baselines/reference/badExternalModuleReference.types index 82fdfd62f79d1..ec979f529c06c 100644 --- a/tests/baselines/reference/badExternalModuleReference.types +++ b/tests/baselines/reference/badExternalModuleReference.types @@ -3,10 +3,10 @@ import a1 = require("garbage"); >a1 : any export declare var a: { ->a : { (): any; test1: any; } +>a : { (): a1.connectExport; test1: a1.connectModule; } test1: a1.connectModule; ->test1 : any +>test1 : a1.connectModule >a1 : any (): a1.connectExport; diff --git a/tests/baselines/reference/baseExpressionTypeParameters.symbols b/tests/baselines/reference/baseExpressionTypeParameters.symbols index 22f716a0a1c6e..037bef2da0a67 100644 --- a/tests/baselines/reference/baseExpressionTypeParameters.symbols +++ b/tests/baselines/reference/baseExpressionTypeParameters.symbols @@ -20,6 +20,7 @@ class Gen extends base() {} // Error, T not in scope >Gen : Symbol(Gen, Decl(baseExpressionTypeParameters.ts, 7, 1)) >T : Symbol(T, Decl(baseExpressionTypeParameters.ts, 9, 10)) >base : Symbol(base, Decl(baseExpressionTypeParameters.ts, 0, 0)) +>T : Symbol(T) class Spec extends Gen {} >Spec : Symbol(Spec, Decl(baseExpressionTypeParameters.ts, 9, 33)) diff --git a/tests/baselines/reference/baseExpressionTypeParameters.types b/tests/baselines/reference/baseExpressionTypeParameters.types index 0b317935ec63e..5c1b05077956b 100644 --- a/tests/baselines/reference/baseExpressionTypeParameters.types +++ b/tests/baselines/reference/baseExpressionTypeParameters.types @@ -16,7 +16,7 @@ function base() { class Gen extends base() {} // Error, T not in scope >Gen : Gen ->base() : base.Base +>base() : base.Base >base : () => typeof Base class Spec extends Gen {} @@ -25,7 +25,7 @@ class Spec extends Gen {} Spec.prop; >Spec.prop : string ->Spec.prop : any +>Spec.prop : T >Spec : typeof Spec ->prop : any +>prop : T diff --git a/tests/baselines/reference/bigintWithoutLib.symbols b/tests/baselines/reference/bigintWithoutLib.symbols index 658c2bd95896d..ae7620f922a40 100644 --- a/tests/baselines/reference/bigintWithoutLib.symbols +++ b/tests/baselines/reference/bigintWithoutLib.symbols @@ -63,6 +63,7 @@ stringVal = bigintVal.toLocaleString('de-DE', { style: 'currency', currency: 'EU // Test BigInt64Array let bigIntArray: BigInt64Array = new BigInt64Array(); >bigIntArray : Symbol(bigIntArray, Decl(bigintWithoutLib.ts, 17, 3)) +>BigInt64Array : Symbol(BigInt64Array) bigIntArray = new BigInt64Array(10); >bigIntArray : Symbol(bigIntArray, Decl(bigintWithoutLib.ts, 17, 3)) @@ -100,6 +101,7 @@ let arrayBufferLike: ArrayBufferView = bigIntArray; // Test BigUint64Array let bigUintArray: BigUint64Array = new BigUint64Array(); >bigUintArray : Symbol(bigUintArray, Decl(bigintWithoutLib.ts, 29, 3)) +>BigUint64Array : Symbol(BigUint64Array) bigUintArray = new BigUint64Array(10); >bigUintArray : Symbol(bigUintArray, Decl(bigintWithoutLib.ts, 29, 3)) diff --git a/tests/baselines/reference/bigintWithoutLib.types b/tests/baselines/reference/bigintWithoutLib.types index 0e3f93524f5d2..d10dc725b598a 100644 --- a/tests/baselines/reference/bigintWithoutLib.types +++ b/tests/baselines/reference/bigintWithoutLib.types @@ -109,20 +109,20 @@ stringVal = bigintVal.toLocaleString('de-DE', { style: 'currency', currency: 'EU // Test BigInt64Array let bigIntArray: BigInt64Array = new BigInt64Array(); ->bigIntArray : any +>bigIntArray : BigInt64Array >new BigInt64Array() : any >BigInt64Array : any bigIntArray = new BigInt64Array(10); >bigIntArray = new BigInt64Array(10) : any ->bigIntArray : any +>bigIntArray : BigInt64Array >new BigInt64Array(10) : any >BigInt64Array : any >10 : 10 bigIntArray = new BigInt64Array([1n, 2n, 3n]); >bigIntArray = new BigInt64Array([1n, 2n, 3n]) : any ->bigIntArray : any +>bigIntArray : BigInt64Array >new BigInt64Array([1n, 2n, 3n]) : any >BigInt64Array : any >[1n, 2n, 3n] : bigint[] @@ -132,7 +132,7 @@ bigIntArray = new BigInt64Array([1n, 2n, 3n]); bigIntArray = new BigInt64Array([1, 2, 3]); >bigIntArray = new BigInt64Array([1, 2, 3]) : any ->bigIntArray : any +>bigIntArray : BigInt64Array >new BigInt64Array([1, 2, 3]) : any >BigInt64Array : any >[1, 2, 3] : number[] @@ -142,7 +142,7 @@ bigIntArray = new BigInt64Array([1, 2, 3]); bigIntArray = new BigInt64Array(new ArrayBuffer(80)); >bigIntArray = new BigInt64Array(new ArrayBuffer(80)) : any ->bigIntArray : any +>bigIntArray : BigInt64Array >new BigInt64Array(new ArrayBuffer(80)) : any >BigInt64Array : any >new ArrayBuffer(80) : ArrayBuffer @@ -151,7 +151,7 @@ bigIntArray = new BigInt64Array(new ArrayBuffer(80)); bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8); >bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8) : any ->bigIntArray : any +>bigIntArray : BigInt64Array >new BigInt64Array(new ArrayBuffer(80), 8) : any >BigInt64Array : any >new ArrayBuffer(80) : ArrayBuffer @@ -161,7 +161,7 @@ bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8); bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8, 3); >bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8, 3) : any ->bigIntArray : any +>bigIntArray : BigInt64Array >new BigInt64Array(new ArrayBuffer(80), 8, 3) : any >BigInt64Array : any >new ArrayBuffer(80) : ArrayBuffer @@ -173,36 +173,36 @@ bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8, 3); let len: number = bigIntArray.length; >len : number >bigIntArray.length : any ->bigIntArray : any +>bigIntArray : BigInt64Array >length : any bigIntArray.length = 10; >bigIntArray.length = 10 : 10 >bigIntArray.length : any ->bigIntArray : any +>bigIntArray : BigInt64Array >length : any >10 : 10 let arrayBufferLike: ArrayBufferView = bigIntArray; >arrayBufferLike : ArrayBufferView ->bigIntArray : any +>bigIntArray : BigInt64Array // Test BigUint64Array let bigUintArray: BigUint64Array = new BigUint64Array(); ->bigUintArray : any +>bigUintArray : BigUint64Array >new BigUint64Array() : any >BigUint64Array : any bigUintArray = new BigUint64Array(10); >bigUintArray = new BigUint64Array(10) : any ->bigUintArray : any +>bigUintArray : BigUint64Array >new BigUint64Array(10) : any >BigUint64Array : any >10 : 10 bigUintArray = new BigUint64Array([1n, 2n, 3n]); >bigUintArray = new BigUint64Array([1n, 2n, 3n]) : any ->bigUintArray : any +>bigUintArray : BigUint64Array >new BigUint64Array([1n, 2n, 3n]) : any >BigUint64Array : any >[1n, 2n, 3n] : bigint[] @@ -212,7 +212,7 @@ bigUintArray = new BigUint64Array([1n, 2n, 3n]); bigUintArray = new BigUint64Array([1, 2, 3]); >bigUintArray = new BigUint64Array([1, 2, 3]) : any ->bigUintArray : any +>bigUintArray : BigUint64Array >new BigUint64Array([1, 2, 3]) : any >BigUint64Array : any >[1, 2, 3] : number[] @@ -222,7 +222,7 @@ bigUintArray = new BigUint64Array([1, 2, 3]); bigUintArray = new BigUint64Array(new ArrayBuffer(80)); >bigUintArray = new BigUint64Array(new ArrayBuffer(80)) : any ->bigUintArray : any +>bigUintArray : BigUint64Array >new BigUint64Array(new ArrayBuffer(80)) : any >BigUint64Array : any >new ArrayBuffer(80) : ArrayBuffer @@ -231,7 +231,7 @@ bigUintArray = new BigUint64Array(new ArrayBuffer(80)); bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8); >bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8) : any ->bigUintArray : any +>bigUintArray : BigUint64Array >new BigUint64Array(new ArrayBuffer(80), 8) : any >BigUint64Array : any >new ArrayBuffer(80) : ArrayBuffer @@ -241,7 +241,7 @@ bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8); bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8, 3); >bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8, 3) : any ->bigUintArray : any +>bigUintArray : BigUint64Array >new BigUint64Array(new ArrayBuffer(80), 8, 3) : any >BigUint64Array : any >new ArrayBuffer(80) : ArrayBuffer @@ -254,20 +254,20 @@ len = bigIntArray.length; >len = bigIntArray.length : any >len : number >bigIntArray.length : any ->bigIntArray : any +>bigIntArray : BigInt64Array >length : any bigIntArray.length = 10; >bigIntArray.length = 10 : 10 >bigIntArray.length : any ->bigIntArray : any +>bigIntArray : BigInt64Array >length : any >10 : 10 arrayBufferLike = bigIntArray; ->arrayBufferLike = bigIntArray : any +>arrayBufferLike = bigIntArray : BigInt64Array >arrayBufferLike : ArrayBufferView ->bigIntArray : any +>bigIntArray : BigInt64Array // Test added DataView methods const dataView = new DataView(new ArrayBuffer(80)); diff --git a/tests/baselines/reference/bluebirdStaticThis.symbols b/tests/baselines/reference/bluebirdStaticThis.symbols index 9e4c2db0b5bf9..4933c2b95786e 100644 --- a/tests/baselines/reference/bluebirdStaticThis.symbols +++ b/tests/baselines/reference/bluebirdStaticThis.symbols @@ -132,6 +132,7 @@ export declare class Promise implements Promise.Thenable { >dit : Symbol(dit, Decl(bluebirdStaticThis.ts, 21, 20)) >Promise : Symbol(Promise, Decl(bluebirdStaticThis.ts, 0, 0), Decl(bluebirdStaticThis.ts, 108, 1)) >Promise : Symbol(Promise, Decl(bluebirdStaticThis.ts, 0, 0), Decl(bluebirdStaticThis.ts, 108, 1)) +>Resolver : Symbol(Promise.Resolver) >R : Symbol(R, Decl(bluebirdStaticThis.ts, 21, 17)) static cast(dit: typeof Promise, value: Promise.Thenable): Promise; @@ -334,6 +335,7 @@ export declare class Promise implements Promise.Thenable { >R : Symbol(R, Decl(bluebirdStaticThis.ts, 56, 18)) >Promise : Symbol(Promise, Decl(bluebirdStaticThis.ts, 0, 0), Decl(bluebirdStaticThis.ts, 108, 1)) >Promise : Symbol(Promise, Decl(bluebirdStaticThis.ts, 0, 0), Decl(bluebirdStaticThis.ts, 108, 1)) +>Inspection : Symbol(Promise.Inspection) >R : Symbol(R, Decl(bluebirdStaticThis.ts, 56, 18)) static settle(dit: typeof Promise, values: Promise.Thenable): Promise[]>; @@ -347,6 +349,7 @@ export declare class Promise implements Promise.Thenable { >R : Symbol(R, Decl(bluebirdStaticThis.ts, 57, 18)) >Promise : Symbol(Promise, Decl(bluebirdStaticThis.ts, 0, 0), Decl(bluebirdStaticThis.ts, 108, 1)) >Promise : Symbol(Promise, Decl(bluebirdStaticThis.ts, 0, 0), Decl(bluebirdStaticThis.ts, 108, 1)) +>Inspection : Symbol(Promise.Inspection) >R : Symbol(R, Decl(bluebirdStaticThis.ts, 57, 18)) static settle(dit: typeof Promise, values: Promise.Thenable[]): Promise[]>; @@ -360,6 +363,7 @@ export declare class Promise implements Promise.Thenable { >R : Symbol(R, Decl(bluebirdStaticThis.ts, 58, 18)) >Promise : Symbol(Promise, Decl(bluebirdStaticThis.ts, 0, 0), Decl(bluebirdStaticThis.ts, 108, 1)) >Promise : Symbol(Promise, Decl(bluebirdStaticThis.ts, 0, 0), Decl(bluebirdStaticThis.ts, 108, 1)) +>Inspection : Symbol(Promise.Inspection) >R : Symbol(R, Decl(bluebirdStaticThis.ts, 58, 18)) static settle(dit: typeof Promise, values: R[]): Promise[]>; @@ -371,6 +375,7 @@ export declare class Promise implements Promise.Thenable { >R : Symbol(R, Decl(bluebirdStaticThis.ts, 59, 18)) >Promise : Symbol(Promise, Decl(bluebirdStaticThis.ts, 0, 0), Decl(bluebirdStaticThis.ts, 108, 1)) >Promise : Symbol(Promise, Decl(bluebirdStaticThis.ts, 0, 0), Decl(bluebirdStaticThis.ts, 108, 1)) +>Inspection : Symbol(Promise.Inspection) >R : Symbol(R, Decl(bluebirdStaticThis.ts, 59, 18)) static any(dit: typeof Promise, values: Promise.Thenable[]>): Promise; diff --git a/tests/baselines/reference/bluebirdStaticThis.types b/tests/baselines/reference/bluebirdStaticThis.types index 5f3bfcb50b4be..c4836bd89c6c9 100644 --- a/tests/baselines/reference/bluebirdStaticThis.types +++ b/tests/baselines/reference/bluebirdStaticThis.types @@ -86,7 +86,7 @@ export declare class Promise implements Promise.Thenable { >reason : any static defer(dit: typeof Promise): Promise.Resolver; ->defer : (dit: typeof Promise) => any +>defer : (dit: typeof Promise) => Promise.Resolver >dit : typeof Promise >Promise : typeof Promise >Promise : any @@ -221,7 +221,7 @@ export declare class Promise implements Promise.Thenable { >object : Object static settle(dit: typeof Promise, values: Promise.Thenable[]>): Promise[]>; ->settle : { (dit: typeof Promise, values: Promise.Thenable[]>): Promise[]>; (dit: typeof Promise, values: Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[]): Promise; (dit: typeof Promise, values: R[]): Promise; } +>settle : { (dit: typeof Promise, values: Promise.Thenable[]>): Promise[]>; (dit: typeof Promise, values: Promise.Thenable): Promise[]>; (dit: typeof Promise, values: Promise.Thenable[]): Promise[]>; (dit: typeof Promise, values: R[]): Promise[]>; } >dit : typeof Promise >Promise : typeof Promise >values : Promise.Thenable[]> @@ -230,7 +230,7 @@ export declare class Promise implements Promise.Thenable { >Promise : any static settle(dit: typeof Promise, values: Promise.Thenable): Promise[]>; ->settle : { (dit: typeof Promise, values: Promise.Thenable[]>): Promise; (dit: typeof Promise, values: Promise.Thenable): Promise[]>; (dit: typeof Promise, values: Promise.Thenable[]): Promise; (dit: typeof Promise, values: R[]): Promise; } +>settle : { (dit: typeof Promise, values: Promise.Thenable[]>): Promise[]>; (dit: typeof Promise, values: Promise.Thenable): Promise[]>; (dit: typeof Promise, values: Promise.Thenable[]): Promise[]>; (dit: typeof Promise, values: R[]): Promise[]>; } >dit : typeof Promise >Promise : typeof Promise >values : Promise.Thenable @@ -238,7 +238,7 @@ export declare class Promise implements Promise.Thenable { >Promise : any static settle(dit: typeof Promise, values: Promise.Thenable[]): Promise[]>; ->settle : { (dit: typeof Promise, values: Promise.Thenable[]>): Promise; (dit: typeof Promise, values: Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[]): Promise[]>; (dit: typeof Promise, values: R[]): Promise; } +>settle : { (dit: typeof Promise, values: Promise.Thenable[]>): Promise[]>; (dit: typeof Promise, values: Promise.Thenable): Promise[]>; (dit: typeof Promise, values: Promise.Thenable[]): Promise[]>; (dit: typeof Promise, values: R[]): Promise[]>; } >dit : typeof Promise >Promise : typeof Promise >values : Promise.Thenable[] @@ -246,7 +246,7 @@ export declare class Promise implements Promise.Thenable { >Promise : any static settle(dit: typeof Promise, values: R[]): Promise[]>; ->settle : { (dit: typeof Promise, values: Promise.Thenable[]>): Promise; (dit: typeof Promise, values: Promise.Thenable): Promise; (dit: typeof Promise, values: Promise.Thenable[]): Promise; (dit: typeof Promise, values: R[]): Promise[]>; } +>settle : { (dit: typeof Promise, values: Promise.Thenable[]>): Promise[]>; (dit: typeof Promise, values: Promise.Thenable): Promise[]>; (dit: typeof Promise, values: Promise.Thenable[]): Promise[]>; (dit: typeof Promise, values: R[]): Promise[]>; } >dit : typeof Promise >Promise : typeof Promise >values : R[] diff --git a/tests/baselines/reference/boolInsteadOfBoolean.symbols b/tests/baselines/reference/boolInsteadOfBoolean.symbols index dcfced8fe77b8..8c39e29d938db 100644 --- a/tests/baselines/reference/boolInsteadOfBoolean.symbols +++ b/tests/baselines/reference/boolInsteadOfBoolean.symbols @@ -1,6 +1,7 @@ === tests/cases/conformance/types/primitives/boolean/boolInsteadOfBoolean.ts === var x: bool; >x : Symbol(x, Decl(boolInsteadOfBoolean.ts, 0, 3)) +>bool : Symbol(bool) var a: boolean = x; >a : Symbol(a, Decl(boolInsteadOfBoolean.ts, 1, 3)) diff --git a/tests/baselines/reference/boolInsteadOfBoolean.types b/tests/baselines/reference/boolInsteadOfBoolean.types index 81d66b1b47296..3061fb33c032d 100644 --- a/tests/baselines/reference/boolInsteadOfBoolean.types +++ b/tests/baselines/reference/boolInsteadOfBoolean.types @@ -1,13 +1,13 @@ === tests/cases/conformance/types/primitives/boolean/boolInsteadOfBoolean.ts === var x: bool; ->x : any +>x : bool var a: boolean = x; >a : boolean ->x : any +>x : bool x = a; >x = a : boolean ->x : any +>x : bool >a : boolean diff --git a/tests/baselines/reference/callExpressionWithMissingTypeArgument1.symbols b/tests/baselines/reference/callExpressionWithMissingTypeArgument1.symbols index b794252928de1..42ab7aabf4adb 100644 --- a/tests/baselines/reference/callExpressionWithMissingTypeArgument1.symbols +++ b/tests/baselines/reference/callExpressionWithMissingTypeArgument1.symbols @@ -1,3 +1,6 @@ === tests/cases/compiler/callExpressionWithMissingTypeArgument1.ts === Foo(); -No type information for this code. \ No newline at end of file +>a : Symbol(a) +> : Symbol(unknown) +>b : Symbol(b) + diff --git a/tests/baselines/reference/callWithSpread4.symbols b/tests/baselines/reference/callWithSpread4.symbols index 5c3e96596ef60..dbb7576582895 100644 --- a/tests/baselines/reference/callWithSpread4.symbols +++ b/tests/baselines/reference/callWithSpread4.symbols @@ -114,4 +114,5 @@ pli(...[reads, writes, writes] as const) >reads : Symbol(reads, Decl(callWithSpread4.ts, 10, 11)) >writes : Symbol(writes, Decl(callWithSpread4.ts, 9, 11)) >writes : Symbol(writes, Decl(callWithSpread4.ts, 9, 11)) +>const : Symbol(const) diff --git a/tests/baselines/reference/callbackTag2.types b/tests/baselines/reference/callbackTag2.types index 94c6997b63c4f..670298bb56b1f 100644 --- a/tests/baselines/reference/callbackTag2.types +++ b/tests/baselines/reference/callbackTag2.types @@ -26,9 +26,9 @@ class SharedClass { constructor() { /** @type {SharedId} */ this.id; ->this.id : SharedId +>this.id : SharedId >this : this ->id : SharedId +>id : SharedId } } /** @type {SharedId} */ diff --git a/tests/baselines/reference/checkJsdocTypedefOnlySourceFile.types b/tests/baselines/reference/checkJsdocTypedefOnlySourceFile.types index fbb4f3ed0ba38..9dad55cb24381 100644 --- a/tests/baselines/reference/checkJsdocTypedefOnlySourceFile.types +++ b/tests/baselines/reference/checkJsdocTypedefOnlySourceFile.types @@ -15,6 +15,6 @@ exports.SomeName; /** @type {exports.SomeName} */ const myString = 'str'; ->myString : any +>myString : exports.SomeName >'str' : "str" diff --git a/tests/baselines/reference/classTypeParametersInStatics.symbols b/tests/baselines/reference/classTypeParametersInStatics.symbols index ebc282a7a2d98..f9b18cb03ebb7 100644 --- a/tests/baselines/reference/classTypeParametersInStatics.symbols +++ b/tests/baselines/reference/classTypeParametersInStatics.symbols @@ -27,11 +27,14 @@ module Editor { public static MakeHead(): List { // should error >MakeHead : Symbol(List.MakeHead, Decl(classTypeParametersInStatics.ts, 9, 9)) >List : Symbol(List, Decl(classTypeParametersInStatics.ts, 0, 15)) +>T : Symbol(T) var entry: List = new List(true, null); >entry : Symbol(entry, Decl(classTypeParametersInStatics.ts, 12, 15)) >List : Symbol(List, Decl(classTypeParametersInStatics.ts, 0, 15)) +>T : Symbol(T) >List : Symbol(List, Decl(classTypeParametersInStatics.ts, 0, 15)) +>T : Symbol(T) entry.prev = entry; >entry.prev : Symbol(List.prev, Decl(classTypeParametersInStatics.ts, 4, 29)) diff --git a/tests/baselines/reference/classTypeParametersInStatics.types b/tests/baselines/reference/classTypeParametersInStatics.types index 4f7b990044e87..8cb5ae27ad9a6 100644 --- a/tests/baselines/reference/classTypeParametersInStatics.types +++ b/tests/baselines/reference/classTypeParametersInStatics.types @@ -22,28 +22,28 @@ module Editor { >MakeHead : () => List var entry: List = new List(true, null); ->entry : List ->new List(true, null) : List +>entry : List +>new List(true, null) : List >List : typeof List >true : true >null : null entry.prev = entry; ->entry.prev = entry : List ->entry.prev : List ->entry : List ->prev : List ->entry : List +>entry.prev = entry : List +>entry.prev : List +>entry : List +>prev : List +>entry : List entry.next = entry; ->entry.next = entry : List ->entry.next : List ->entry : List ->next : List ->entry : List +>entry.next = entry : List +>entry.next : List +>entry : List +>next : List +>entry : List return entry; ->entry : List +>entry : List } public static MakeHead2(): List { // should not error diff --git a/tests/baselines/reference/commonJsExportTypeDeclarationError.symbols b/tests/baselines/reference/commonJsExportTypeDeclarationError.symbols index 9fe5082da5890..e6d052cd921fb 100644 --- a/tests/baselines/reference/commonJsExportTypeDeclarationError.symbols +++ b/tests/baselines/reference/commonJsExportTypeDeclarationError.symbols @@ -15,6 +15,8 @@ import test from "./test"; export type test >test : Symbol(test, Decl(types1.ts, 0, 26)) +> : Symbol(unknown) + === tests/cases/compiler/types2.ts === import test from "./test"; >test : Symbol(test, Decl(types2.ts, 0, 6), Decl(types2.ts, 0, 26)) @@ -22,6 +24,8 @@ import test from "./test"; export type test = >test : Symbol(test, Decl(types2.ts, 0, 26)) +> : Symbol(unknown) + === tests/cases/compiler/types3.ts === import test from "./test"; >test : Symbol(test, Decl(types3.ts, 0, 6), Decl(types3.ts, 0, 26)) diff --git a/tests/baselines/reference/computedPropertyNames32_ES5.symbols b/tests/baselines/reference/computedPropertyNames32_ES5.symbols index 300d841daef59..c4bf0b7d231a6 100644 --- a/tests/baselines/reference/computedPropertyNames32_ES5.symbols +++ b/tests/baselines/reference/computedPropertyNames32_ES5.symbols @@ -15,4 +15,5 @@ class C { [foo()]() { } >[foo()] : Symbol(C[foo()], Decl(computedPropertyNames32_ES5.ts, 4, 5)) >foo : Symbol(foo, Decl(computedPropertyNames32_ES5.ts, 0, 0)) +>T : Symbol(T) } diff --git a/tests/baselines/reference/computedPropertyNames32_ES6.symbols b/tests/baselines/reference/computedPropertyNames32_ES6.symbols index da5a482d94e38..0d3db8257f67f 100644 --- a/tests/baselines/reference/computedPropertyNames32_ES6.symbols +++ b/tests/baselines/reference/computedPropertyNames32_ES6.symbols @@ -15,4 +15,5 @@ class C { [foo()]() { } >[foo()] : Symbol(C[foo()], Decl(computedPropertyNames32_ES6.ts, 4, 5)) >foo : Symbol(foo, Decl(computedPropertyNames32_ES6.ts, 0, 0)) +>T : Symbol(T) } diff --git a/tests/baselines/reference/computedPropertyNames34_ES5.symbols b/tests/baselines/reference/computedPropertyNames34_ES5.symbols index 2b4ac9a6bc849..67f4ff087a423 100644 --- a/tests/baselines/reference/computedPropertyNames34_ES5.symbols +++ b/tests/baselines/reference/computedPropertyNames34_ES5.symbols @@ -16,6 +16,7 @@ class C { [foo()]() { } >[foo()] : Symbol([foo()], Decl(computedPropertyNames34_ES5.ts, 3, 19)) >foo : Symbol(foo, Decl(computedPropertyNames34_ES5.ts, 0, 0)) +>T : Symbol(T) }; return 0; diff --git a/tests/baselines/reference/computedPropertyNames34_ES6.symbols b/tests/baselines/reference/computedPropertyNames34_ES6.symbols index 1e556bb7932f1..288134d0fcd2a 100644 --- a/tests/baselines/reference/computedPropertyNames34_ES6.symbols +++ b/tests/baselines/reference/computedPropertyNames34_ES6.symbols @@ -16,6 +16,7 @@ class C { [foo()]() { } >[foo()] : Symbol([foo()], Decl(computedPropertyNames34_ES6.ts, 3, 19)) >foo : Symbol(foo, Decl(computedPropertyNames34_ES6.ts, 0, 0)) +>T : Symbol(T) }; return 0; diff --git a/tests/baselines/reference/computedPropertyNames35_ES5.symbols b/tests/baselines/reference/computedPropertyNames35_ES5.symbols index a6263e3363dce..a9c6f1dc0cb24 100644 --- a/tests/baselines/reference/computedPropertyNames35_ES5.symbols +++ b/tests/baselines/reference/computedPropertyNames35_ES5.symbols @@ -13,4 +13,5 @@ interface I { [foo()](): void; >[foo()] : Symbol(I[foo()], Decl(computedPropertyNames35_ES5.ts, 2, 18)) >foo : Symbol(foo, Decl(computedPropertyNames35_ES5.ts, 0, 0)) +>T : Symbol(T) } diff --git a/tests/baselines/reference/computedPropertyNames35_ES6.symbols b/tests/baselines/reference/computedPropertyNames35_ES6.symbols index e2aa3c6c21f4c..2f20a8e1eb376 100644 --- a/tests/baselines/reference/computedPropertyNames35_ES6.symbols +++ b/tests/baselines/reference/computedPropertyNames35_ES6.symbols @@ -13,4 +13,5 @@ interface I { [foo()](): void; >[foo()] : Symbol(I[foo()], Decl(computedPropertyNames35_ES6.ts, 2, 18)) >foo : Symbol(foo, Decl(computedPropertyNames35_ES6.ts, 0, 0)) +>T : Symbol(T) } diff --git a/tests/baselines/reference/conflictMarkerTrivia4.symbols b/tests/baselines/reference/conflictMarkerTrivia4.symbols index c7eda6bf4e4eb..fa8a914aeed47 100644 --- a/tests/baselines/reference/conflictMarkerTrivia4.symbols +++ b/tests/baselines/reference/conflictMarkerTrivia4.symbols @@ -1,5 +1,6 @@ === tests/cases/compiler/conflictMarkerTrivia4.ts === const x =
>x : Symbol(x, Decl(conflictMarkerTrivia4.ts, 0, 5)) +>div : Symbol(div) <<<<<<< HEAD diff --git a/tests/baselines/reference/conflictMarkerTrivia4.types b/tests/baselines/reference/conflictMarkerTrivia4.types index 77d85a4628b1e..37b93ef423dcb 100644 --- a/tests/baselines/reference/conflictMarkerTrivia4.types +++ b/tests/baselines/reference/conflictMarkerTrivia4.types @@ -1,7 +1,7 @@ === tests/cases/compiler/conflictMarkerTrivia4.ts === const x =
->x : any ->
: any +>x : div +>
: div <<<<<<< HEAD > : any diff --git a/tests/baselines/reference/constAssertionOnEnum.symbols b/tests/baselines/reference/constAssertionOnEnum.symbols index 1aef28dc772d4..0323eafb03a36 100644 --- a/tests/baselines/reference/constAssertionOnEnum.symbols +++ b/tests/baselines/reference/constAssertionOnEnum.symbols @@ -27,12 +27,14 @@ let foo = Foo.A as const; >Foo.A : Symbol(Foo.A, Decl(enum.ts, 0, 17)) >Foo : Symbol(Foo, Decl(test.ts, 0, 8)) >A : Symbol(Foo.A, Decl(enum.ts, 0, 17)) +>const : Symbol(const) let bar = Bar.A as const; >bar : Symbol(bar, Decl(test.ts, 7, 3)) >Bar.A : Symbol(Bar.A, Decl(test.ts, 2, 10)) >Bar : Symbol(Bar, Decl(test.ts, 0, 27)) >A : Symbol(Bar.A, Decl(test.ts, 2, 10)) +>const : Symbol(const) === tests/cases/conformance/expressions/typeAssertions/ns.ts === namespace ns { @@ -48,6 +50,7 @@ namespace ns { >ns : Symbol(ns, Decl(ns.ts, 0, 0)) >Foo : Symbol(Foo, Decl(ns.ts, 0, 14)) >X : Symbol(Foo.X, Decl(ns.ts, 1, 21)) +>const : Symbol(const) } === tests/cases/conformance/expressions/typeAssertions/more.ts === @@ -59,4 +62,5 @@ export enum Foo { X } >(Foo).X : Symbol(Foo.X, Decl(more.ts, 0, 17)) >Foo : Symbol(Foo, Decl(more.ts, 0, 0)) >X : Symbol(Foo.X, Decl(more.ts, 0, 17)) +>const : Symbol(const) diff --git a/tests/baselines/reference/constAssertions.symbols b/tests/baselines/reference/constAssertions.symbols index 6e81b68fa87ef..1f04dd6336980 100644 --- a/tests/baselines/reference/constAssertions.symbols +++ b/tests/baselines/reference/constAssertions.symbols @@ -1,57 +1,75 @@ === tests/cases/conformance/expressions/typeAssertions/constAssertions.ts === let v1 = 'abc' as const; >v1 : Symbol(v1, Decl(constAssertions.ts, 0, 3)) +>const : Symbol(const) let v2 = `abc` as const; >v2 : Symbol(v2, Decl(constAssertions.ts, 1, 3)) +>const : Symbol(const) let v3 = 10 as const; >v3 : Symbol(v3, Decl(constAssertions.ts, 2, 3)) +>const : Symbol(const) let v4 = -10 as const; >v4 : Symbol(v4, Decl(constAssertions.ts, 3, 3)) +>const : Symbol(const) let v5 = +10 as const; >v5 : Symbol(v5, Decl(constAssertions.ts, 4, 3)) +>const : Symbol(const) let v6 = 10n as const; >v6 : Symbol(v6, Decl(constAssertions.ts, 5, 3)) +>const : Symbol(const) let v7 = -10n as const; >v7 : Symbol(v7, Decl(constAssertions.ts, 6, 3)) +>const : Symbol(const) let v8 = true as const; >v8 : Symbol(v8, Decl(constAssertions.ts, 7, 3)) +>const : Symbol(const) let v9 = false as const; >v9 : Symbol(v9, Decl(constAssertions.ts, 8, 3)) +>const : Symbol(const) let c1 = 'abc' as const; >c1 : Symbol(c1, Decl(constAssertions.ts, 10, 3)) +>const : Symbol(const) let c2 = `abc` as const; >c2 : Symbol(c2, Decl(constAssertions.ts, 11, 3)) +>const : Symbol(const) let c3 = 10 as const; >c3 : Symbol(c3, Decl(constAssertions.ts, 12, 3)) +>const : Symbol(const) let c4 = -10 as const; >c4 : Symbol(c4, Decl(constAssertions.ts, 13, 3)) +>const : Symbol(const) let c5 = +10 as const; >c5 : Symbol(c5, Decl(constAssertions.ts, 14, 3)) +>const : Symbol(const) let c6 = 10n as const; >c6 : Symbol(c6, Decl(constAssertions.ts, 15, 3)) +>const : Symbol(const) let c7 = -10n as const; >c7 : Symbol(c7, Decl(constAssertions.ts, 16, 3)) +>const : Symbol(const) let c8 = true as const; >c8 : Symbol(c8, Decl(constAssertions.ts, 17, 3)) +>const : Symbol(const) let c9 = false as const; >c9 : Symbol(c9, Decl(constAssertions.ts, 18, 3)) +>const : Symbol(const) let vv1 = v1; >vv1 : Symbol(vv1, Decl(constAssertions.ts, 20, 3)) @@ -63,15 +81,19 @@ let vc1 = c1; let a1 = [] as const; >a1 : Symbol(a1, Decl(constAssertions.ts, 23, 3)) +>const : Symbol(const) let a2 = [1, 2, 3] as const; >a2 : Symbol(a2, Decl(constAssertions.ts, 24, 3)) +>const : Symbol(const) let a3 = [10, 'hello', true] as const; >a3 : Symbol(a3, Decl(constAssertions.ts, 25, 3)) +>const : Symbol(const) let a4 = [...[1, 2, 3]] as const; >a4 : Symbol(a4, Decl(constAssertions.ts, 26, 3)) +>const : Symbol(const) let a5 = [1, 2, 3]; >a5 : Symbol(a5, Decl(constAssertions.ts, 27, 3)) @@ -79,6 +101,7 @@ let a5 = [1, 2, 3]; let a6 = [...a5] as const; >a6 : Symbol(a6, Decl(constAssertions.ts, 28, 3)) >a5 : Symbol(a5, Decl(constAssertions.ts, 27, 3)) +>const : Symbol(const) let a7 = [...a6]; >a7 : Symbol(a7, Decl(constAssertions.ts, 29, 3)) @@ -87,6 +110,7 @@ let a7 = [...a6]; let a8 = ['abc', ...a7] as const; >a8 : Symbol(a8, Decl(constAssertions.ts, 30, 3)) >a7 : Symbol(a7, Decl(constAssertions.ts, 29, 3)) +>const : Symbol(const) let a9 = [...a8]; >a9 : Symbol(a9, Decl(constAssertions.ts, 31, 3)) @@ -100,6 +124,7 @@ let o1 = { x: 10, y: 20 } as const; >o1 : Symbol(o1, Decl(constAssertions.ts, 35, 3)) >x : Symbol(x, Decl(constAssertions.ts, 35, 10)) >y : Symbol(y, Decl(constAssertions.ts, 35, 17)) +>const : Symbol(const) let o2 = { a: 1, 'b': 2, ['c']: 3, d() {}, ['e' + '']: 4 } as const; >o2 : Symbol(o2, Decl(constAssertions.ts, 36, 3)) @@ -109,11 +134,13 @@ let o2 = { a: 1, 'b': 2, ['c']: 3, d() {}, ['e' + '']: 4 } as const; >'c' : Symbol(['c'], Decl(constAssertions.ts, 36, 24)) >d : Symbol(d, Decl(constAssertions.ts, 36, 34)) >['e' + ''] : Symbol(['e' + ''], Decl(constAssertions.ts, 36, 42)) +>const : Symbol(const) let o3 = { ...o1, ...o2 } as const; >o3 : Symbol(o3, Decl(constAssertions.ts, 37, 3)) >o1 : Symbol(o1, Decl(constAssertions.ts, 35, 3)) >o2 : Symbol(o2, Decl(constAssertions.ts, 36, 3)) +>const : Symbol(const) let o4 = { a: 1, b: 2 }; >o4 : Symbol(o4, Decl(constAssertions.ts, 38, 3)) @@ -123,6 +150,7 @@ let o4 = { a: 1, b: 2 }; let o5 = { ...o4 } as const; >o5 : Symbol(o5, Decl(constAssertions.ts, 39, 3)) >o4 : Symbol(o4, Decl(constAssertions.ts, 38, 3)) +>const : Symbol(const) let o6 = { ...o5 }; >o6 : Symbol(o6, Decl(constAssertions.ts, 40, 3)) @@ -131,6 +159,7 @@ let o6 = { ...o5 }; let o7 = { ...d } as const; >o7 : Symbol(o7, Decl(constAssertions.ts, 41, 3)) >d : Symbol(d, Decl(constAssertions.ts, 33, 11)) +>const : Symbol(const) let o8 = { ...o7 }; >o8 : Symbol(o8, Decl(constAssertions.ts, 42, 3)) @@ -143,18 +172,23 @@ let o9 = { x: 10, foo() { this.x = 20 } } as const; // Error >this.x : Symbol(x, Decl(constAssertions.ts, 43, 10)) >this : Symbol(__object, Decl(constAssertions.ts, 43, 8)) >x : Symbol(x, Decl(constAssertions.ts, 43, 10)) +>const : Symbol(const) let p1 = (10) as const; >p1 : Symbol(p1, Decl(constAssertions.ts, 45, 3)) +>const : Symbol(const) let p2 = ((-10)) as const; >p2 : Symbol(p2, Decl(constAssertions.ts, 46, 3)) +>const : Symbol(const) let p3 = ([(10)]) as const; >p3 : Symbol(p3, Decl(constAssertions.ts, 47, 3)) +>const : Symbol(const) let p4 = [[[[10]]]] as const; >p4 : Symbol(p4, Decl(constAssertions.ts, 48, 3)) +>const : Symbol(const) let x1 = { x: 10, y: [20, 30], z: { a: { b: 42 } } } as const; >x1 : Symbol(x1, Decl(constAssertions.ts, 50, 3)) @@ -163,21 +197,27 @@ let x1 = { x: 10, y: [20, 30], z: { a: { b: 42 } } } as const; >z : Symbol(z, Decl(constAssertions.ts, 50, 30)) >a : Symbol(a, Decl(constAssertions.ts, 50, 35)) >b : Symbol(b, Decl(constAssertions.ts, 50, 40)) +>const : Symbol(const) let q1 = 10; >q1 : Symbol(q1, Decl(constAssertions.ts, 52, 3)) +>const : Symbol(const) let q2 = 'abc'; >q2 : Symbol(q2, Decl(constAssertions.ts, 53, 3)) +>const : Symbol(const) let q3 = true; >q3 : Symbol(q3, Decl(constAssertions.ts, 54, 3)) +>const : Symbol(const) let q4 = [1, 2, 3]; >q4 : Symbol(q4, Decl(constAssertions.ts, 55, 3)) +>const : Symbol(const) let q5 = { x: 10, y: 20 }; >q5 : Symbol(q5, Decl(constAssertions.ts, 56, 3)) +>const : Symbol(const) >x : Symbol(x, Decl(constAssertions.ts, 56, 18)) >y : Symbol(y, Decl(constAssertions.ts, 56, 25)) @@ -191,29 +231,36 @@ declare function id(x: T): T; let e1 = v1 as const; // Error >e1 : Symbol(e1, Decl(constAssertions.ts, 60, 3)) >v1 : Symbol(v1, Decl(constAssertions.ts, 0, 3)) +>const : Symbol(const) let e2 = (true ? 1 : 0) as const; // Error >e2 : Symbol(e2, Decl(constAssertions.ts, 61, 3)) +>const : Symbol(const) let e3 = id(1) as const; // Error >e3 : Symbol(e3, Decl(constAssertions.ts, 62, 3)) >id : Symbol(id, Decl(constAssertions.ts, 56, 34)) +>const : Symbol(const) let t1 = 'foo' as const; >t1 : Symbol(t1, Decl(constAssertions.ts, 64, 3)) +>const : Symbol(const) let t2 = 'bar' as const; >t2 : Symbol(t2, Decl(constAssertions.ts, 65, 3)) +>const : Symbol(const) let t3 = `${t1}-${t2}` as const; >t3 : Symbol(t3, Decl(constAssertions.ts, 66, 3)) >t1 : Symbol(t1, Decl(constAssertions.ts, 64, 3)) >t2 : Symbol(t2, Decl(constAssertions.ts, 65, 3)) +>const : Symbol(const) let t4 = `${`(${t1})`}-${`(${t2})`}` as const; >t4 : Symbol(t4, Decl(constAssertions.ts, 67, 3)) >t1 : Symbol(t1, Decl(constAssertions.ts, 64, 3)) >t2 : Symbol(t2, Decl(constAssertions.ts, 65, 3)) +>const : Symbol(const) function ff1(x: 'foo' | 'bar', y: 1 | 2) { >ff1 : Symbol(ff1, Decl(constAssertions.ts, 67, 46)) @@ -223,6 +270,7 @@ function ff1(x: 'foo' | 'bar', y: 1 | 2) { return `${x}-${y}` as const; >x : Symbol(x, Decl(constAssertions.ts, 69, 13)) >y : Symbol(y, Decl(constAssertions.ts, 69, 30)) +>const : Symbol(const) } function ff2(x: T, y: U) { @@ -237,6 +285,7 @@ function ff2(x: T, y: U) { return `${x}-${y}` as const; >x : Symbol(x, Decl(constAssertions.ts, 73, 49)) >y : Symbol(y, Decl(constAssertions.ts, 73, 54)) +>const : Symbol(const) } const ts1 = ff2('foo', 'bar'); @@ -259,6 +308,7 @@ function ff3(x: 'foo' | 'bar', y: object) { return `${x}${y}` as const; >x : Symbol(x, Decl(constAssertions.ts, 81, 13)) >y : Symbol(y, Decl(constAssertions.ts, 81, 30)) +>const : Symbol(const) } type Action = "verify" | "write"; @@ -292,6 +342,7 @@ function ff4(verify: boolean, contentMatches: boolean) { >Outcome : Symbol(Outcome, Decl(constAssertions.ts, 86, 41)) >action : Symbol(action, Decl(constAssertions.ts, 90, 9)) >contentMatch : Symbol(contentMatch, Decl(constAssertions.ts, 91, 9)) +>const : Symbol(const) return outcome; >outcome : Symbol(outcome, Decl(constAssertions.ts, 92, 9)) @@ -314,6 +365,7 @@ function ff5(verify: boolean, contentMatches: boolean) { >outcome : Symbol(outcome, Decl(constAssertions.ts, 99, 9)) >action : Symbol(action, Decl(constAssertions.ts, 97, 9)) >contentMatch : Symbol(contentMatch, Decl(constAssertions.ts, 98, 9)) +>const : Symbol(const) return outcome; >outcome : Symbol(outcome, Decl(constAssertions.ts, 99, 9)) @@ -328,6 +380,7 @@ function accessorNames(propName: S) { return [`get-${propName}`, `set-${propName}`] as const; >propName : Symbol(propName, Decl(constAssertions.ts, 103, 41)) >propName : Symbol(propName, Decl(constAssertions.ts, 103, 41)) +>const : Symbol(const) } const ns1 = accessorNames('foo'); diff --git a/tests/baselines/reference/constantEnumAssert.symbols b/tests/baselines/reference/constantEnumAssert.symbols index 3249dbe61ccaa..db8dab00d2f38 100644 --- a/tests/baselines/reference/constantEnumAssert.symbols +++ b/tests/baselines/reference/constantEnumAssert.symbols @@ -74,6 +74,7 @@ const foo3 = { a: E1.a } as const >E1.a : Symbol(E1.a, Decl(constantEnumAssert.ts, 0, 9)) >E1 : Symbol(E1, Decl(constantEnumAssert.ts, 0, 0)) >a : Symbol(E1.a, Decl(constantEnumAssert.ts, 0, 9)) +>const : Symbol(const) const foo4 = { a: E2.a } as const >foo4 : Symbol(foo4, Decl(constantEnumAssert.ts, 32, 5)) @@ -81,6 +82,7 @@ const foo4 = { a: E2.a } as const >E2.a : Symbol(E2.a, Decl(constantEnumAssert.ts, 5, 9)) >E2 : Symbol(E2, Decl(constantEnumAssert.ts, 3, 1)) >a : Symbol(E2.a, Decl(constantEnumAssert.ts, 5, 9)) +>const : Symbol(const) const foo5 = { a: E3.a } as const >foo5 : Symbol(foo5, Decl(constantEnumAssert.ts, 34, 5)) @@ -88,6 +90,7 @@ const foo5 = { a: E3.a } as const >E3.a : Symbol(E3.a, Decl(constantEnumAssert.ts, 10, 9)) >E3 : Symbol(E3, Decl(constantEnumAssert.ts, 8, 1)) >a : Symbol(E3.a, Decl(constantEnumAssert.ts, 10, 9)) +>const : Symbol(const) const foo6 = { a: E4.a } as const >foo6 : Symbol(foo6, Decl(constantEnumAssert.ts, 36, 5)) @@ -95,6 +98,7 @@ const foo6 = { a: E4.a } as const >E4.a : Symbol(E4.a, Decl(constantEnumAssert.ts, 16, 15)) >E4 : Symbol(E4, Decl(constantEnumAssert.ts, 14, 1)) >a : Symbol(E4.a, Decl(constantEnumAssert.ts, 16, 15)) +>const : Symbol(const) const foo7 = { a: E5.a } as const >foo7 : Symbol(foo7, Decl(constantEnumAssert.ts, 38, 5)) @@ -102,6 +106,7 @@ const foo7 = { a: E5.a } as const >E5.a : Symbol(a, Decl(constantEnumAssert.ts, 21, 12)) >E5 : Symbol(E5, Decl(constantEnumAssert.ts, 21, 5)) >a : Symbol(a, Decl(constantEnumAssert.ts, 21, 12)) +>const : Symbol(const) const foo8 = { a: E1.a as const } >foo8 : Symbol(foo8, Decl(constantEnumAssert.ts, 40, 5)) @@ -109,6 +114,7 @@ const foo8 = { a: E1.a as const } >E1.a : Symbol(E1.a, Decl(constantEnumAssert.ts, 0, 9)) >E1 : Symbol(E1, Decl(constantEnumAssert.ts, 0, 0)) >a : Symbol(E1.a, Decl(constantEnumAssert.ts, 0, 9)) +>const : Symbol(const) const foo9 = { a: E2.a as const } >foo9 : Symbol(foo9, Decl(constantEnumAssert.ts, 42, 5)) @@ -116,6 +122,7 @@ const foo9 = { a: E2.a as const } >E2.a : Symbol(E2.a, Decl(constantEnumAssert.ts, 5, 9)) >E2 : Symbol(E2, Decl(constantEnumAssert.ts, 3, 1)) >a : Symbol(E2.a, Decl(constantEnumAssert.ts, 5, 9)) +>const : Symbol(const) const foo10 = { a: E3.a as const } >foo10 : Symbol(foo10, Decl(constantEnumAssert.ts, 44, 5)) @@ -123,6 +130,7 @@ const foo10 = { a: E3.a as const } >E3.a : Symbol(E3.a, Decl(constantEnumAssert.ts, 10, 9)) >E3 : Symbol(E3, Decl(constantEnumAssert.ts, 8, 1)) >a : Symbol(E3.a, Decl(constantEnumAssert.ts, 10, 9)) +>const : Symbol(const) const foo11 = { a: E4.a as const } >foo11 : Symbol(foo11, Decl(constantEnumAssert.ts, 46, 5)) @@ -130,6 +138,7 @@ const foo11 = { a: E4.a as const } >E4.a : Symbol(E4.a, Decl(constantEnumAssert.ts, 16, 15)) >E4 : Symbol(E4, Decl(constantEnumAssert.ts, 14, 1)) >a : Symbol(E4.a, Decl(constantEnumAssert.ts, 16, 15)) +>const : Symbol(const) const foo12 = { a: E5.a as const } >foo12 : Symbol(foo12, Decl(constantEnumAssert.ts, 48, 5)) @@ -137,4 +146,5 @@ const foo12 = { a: E5.a as const } >E5.a : Symbol(a, Decl(constantEnumAssert.ts, 21, 12)) >E5 : Symbol(E5, Decl(constantEnumAssert.ts, 21, 5)) >a : Symbol(a, Decl(constantEnumAssert.ts, 21, 12)) +>const : Symbol(const) diff --git a/tests/baselines/reference/constraintErrors1.symbols b/tests/baselines/reference/constraintErrors1.symbols index bc7a13832f279..4293f082ef2d2 100644 --- a/tests/baselines/reference/constraintErrors1.symbols +++ b/tests/baselines/reference/constraintErrors1.symbols @@ -2,6 +2,7 @@ function foo5(test: T) { } >foo5 : Symbol(foo5, Decl(constraintErrors1.ts, 0, 0)) >T : Symbol(T, Decl(constraintErrors1.ts, 0, 14)) +>hm : Symbol(hm) >test : Symbol(test, Decl(constraintErrors1.ts, 0, 28)) >T : Symbol(T, Decl(constraintErrors1.ts, 0, 14)) diff --git a/tests/baselines/reference/constraintErrors1.types b/tests/baselines/reference/constraintErrors1.types index 73f043035cff1..323bc7dfc454e 100644 --- a/tests/baselines/reference/constraintErrors1.types +++ b/tests/baselines/reference/constraintErrors1.types @@ -1,5 +1,5 @@ === tests/cases/compiler/constraintErrors1.ts === function foo5(test: T) { } ->foo5 : (test: T) => void +>foo5 : (test: T) => void >test : T diff --git a/tests/baselines/reference/constructorWithIncompleteTypeAnnotation.symbols b/tests/baselines/reference/constructorWithIncompleteTypeAnnotation.symbols index f7e719e39d3e3..ec04eecaf9bb0 100644 --- a/tests/baselines/reference/constructorWithIncompleteTypeAnnotation.symbols +++ b/tests/baselines/reference/constructorWithIncompleteTypeAnnotation.symbols @@ -144,7 +144,7 @@ module TypeScriptAllInOne { var local5 = null; >local5 : Symbol(local5, Decl(constructorWithIncompleteTypeAnnotation.ts, 74, 15)) >fs : Symbol(fs, Decl(constructorWithIncompleteTypeAnnotation.ts, 8, 1)) ->File : Symbol(fs) +>File : Symbol(fs.File) var local6 = local5 instanceof fs.File; >local6 : Symbol(local6, Decl(constructorWithIncompleteTypeAnnotation.ts, 75, 15)) @@ -537,6 +537,7 @@ module TypeScriptAllInOne { Foo(): bool; >Foo : Symbol(IF.Foo, Decl(constructorWithIncompleteTypeAnnotation.ts, 211, 18)) +>bool : Symbol(bool) } class CLASS implements IF { @@ -556,6 +557,7 @@ module TypeScriptAllInOne { } public Foo(): bool { >Foo : Symbol(CLASS.Foo, Decl(constructorWithIncompleteTypeAnnotation.ts, 221, 9)) +>bool : Symbol(bool) var myEvent = () => { return 1; }; >myEvent : Symbol(myEvent, Decl(constructorWithIncompleteTypeAnnotation.ts, 223, 15)) @@ -604,6 +606,7 @@ module TypeScriptAllInOne { constructor(private value: number, public name: string) : } >value : Symbol(Overloading.value, Decl(constructorWithIncompleteTypeAnnotation.ts, 253, 20)) >name : Symbol(Overloading.name, Decl(constructorWithIncompleteTypeAnnotation.ts, 253, 42)) +> : Symbol(fs) public Overloads(value: string); public Overloads( while : string, ...rest: string[]) { & diff --git a/tests/baselines/reference/constructorWithIncompleteTypeAnnotation.types b/tests/baselines/reference/constructorWithIncompleteTypeAnnotation.types index 891f0176cb436..b9c4cf949049b 100644 --- a/tests/baselines/reference/constructorWithIncompleteTypeAnnotation.types +++ b/tests/baselines/reference/constructorWithIncompleteTypeAnnotation.types @@ -200,15 +200,15 @@ module TypeScriptAllInOne { >local : number var local5 = null; ->local5 : any ->null : any +>local5 : fs.File +>null : fs.File >fs : any >null : null var local6 = local5 instanceof fs.File; >local6 : boolean >local5 instanceof fs.File : boolean ->local5 : any +>local5 : fs.File >fs.File : any >fs : any >File : any @@ -540,10 +540,10 @@ module TypeScriptAllInOne { >retVal += xx.Foo() ? 0 : 1 : number >retVal : number >xx.Foo() ? 0 : 1 : 0 | 1 ->xx.Foo() : any ->xx.Foo : () => any +>xx.Foo() : bool +>xx.Foo : () => bool >xx : IF ->Foo : () => any +>Foo : () => bool >0 : 0 >1 : 1 @@ -797,7 +797,7 @@ module TypeScriptAllInOne { interface IF { Foo(): bool; ->Foo : () => any +>Foo : () => bool } class CLASS implements IF { @@ -820,7 +820,7 @@ module TypeScriptAllInOne { >0 : 0 } public Foo(): bool { ->Foo : () => any +>Foo : () => bool var myEvent = () => { return 1; }; >myEvent : () => number diff --git a/tests/baselines/reference/controlFlowAssignmentPatternOrder.symbols b/tests/baselines/reference/controlFlowAssignmentPatternOrder.symbols index cc3aa5e35095d..9b5961d65015e 100644 --- a/tests/baselines/reference/controlFlowAssignmentPatternOrder.symbols +++ b/tests/baselines/reference/controlFlowAssignmentPatternOrder.symbols @@ -14,6 +14,7 @@ declare function f(): void; >a : Symbol(a, Decl(controlFlowAssignmentPatternOrder.ts, 3, 7)) >b : Symbol(b, Decl(controlFlowAssignmentPatternOrder.ts, 4, 7)) >a : Symbol(a, Decl(controlFlowAssignmentPatternOrder.ts, 3, 7)) +>const : Symbol(const) const bb: 0 = b; >bb : Symbol(bb, Decl(controlFlowAssignmentPatternOrder.ts, 6, 9)) @@ -31,6 +32,7 @@ declare function f(): void; >a : Symbol(a, Decl(controlFlowAssignmentPatternOrder.ts, 9, 7)) >b : Symbol(b, Decl(controlFlowAssignmentPatternOrder.ts, 10, 7)) >a : Symbol(a, Decl(controlFlowAssignmentPatternOrder.ts, 9, 7)) +>const : Symbol(const) const bb: 9 = b; >bb : Symbol(bb, Decl(controlFlowAssignmentPatternOrder.ts, 12, 9)) @@ -48,6 +50,8 @@ declare function f(): void; >a : Symbol(a, Decl(controlFlowAssignmentPatternOrder.ts, 15, 7)) >b : Symbol(b, Decl(controlFlowAssignmentPatternOrder.ts, 16, 7)) >a : Symbol(a, Decl(controlFlowAssignmentPatternOrder.ts, 15, 7)) +>const : Symbol(const) +>const : Symbol(const) const bb: 0 | 8 = b; >bb : Symbol(bb, Decl(controlFlowAssignmentPatternOrder.ts, 18, 9)) @@ -65,6 +69,8 @@ declare function f(): void; >a : Symbol(a, Decl(controlFlowAssignmentPatternOrder.ts, 21, 7)) >b : Symbol(b, Decl(controlFlowAssignmentPatternOrder.ts, 22, 7)) >a : Symbol(a, Decl(controlFlowAssignmentPatternOrder.ts, 21, 7)) +>const : Symbol(const) +>const : Symbol(const) const bb: 0 | 8 = b; >bb : Symbol(bb, Decl(controlFlowAssignmentPatternOrder.ts, 24, 9)) @@ -83,6 +89,7 @@ declare function f(): void; >a : Symbol(a, Decl(controlFlowAssignmentPatternOrder.ts, 28, 7)) >b : Symbol(b, Decl(controlFlowAssignmentPatternOrder.ts, 29, 7)) >a : Symbol(a, Decl(controlFlowAssignmentPatternOrder.ts, 28, 7)) +>const : Symbol(const) >f : Symbol(f, Decl(controlFlowAssignmentPatternOrder.ts, 0, 0)) const bb: 0 = b; @@ -101,6 +108,7 @@ declare function f(): void; >a : Symbol(a, Decl(controlFlowAssignmentPatternOrder.ts, 34, 7)) >b : Symbol(b, Decl(controlFlowAssignmentPatternOrder.ts, 35, 7)) >a : Symbol(a, Decl(controlFlowAssignmentPatternOrder.ts, 34, 7)) +>const : Symbol(const) >f : Symbol(f, Decl(controlFlowAssignmentPatternOrder.ts, 0, 0)) const bb: 9 = b; @@ -119,6 +127,8 @@ declare function f(): void; >a : Symbol(a, Decl(controlFlowAssignmentPatternOrder.ts, 40, 7)) >b : Symbol(b, Decl(controlFlowAssignmentPatternOrder.ts, 41, 7)) >a : Symbol(a, Decl(controlFlowAssignmentPatternOrder.ts, 40, 7)) +>const : Symbol(const) +>const : Symbol(const) >f : Symbol(f, Decl(controlFlowAssignmentPatternOrder.ts, 0, 0)) const bb: 0 | 8 = b; @@ -137,6 +147,8 @@ declare function f(): void; >a : Symbol(a, Decl(controlFlowAssignmentPatternOrder.ts, 46, 7)) >b : Symbol(b, Decl(controlFlowAssignmentPatternOrder.ts, 47, 7)) >a : Symbol(a, Decl(controlFlowAssignmentPatternOrder.ts, 46, 7)) +>const : Symbol(const) +>const : Symbol(const) >f : Symbol(f, Decl(controlFlowAssignmentPatternOrder.ts, 0, 0)) const bb: 0 | 8 = b; @@ -157,6 +169,7 @@ declare function f(): void; >a : Symbol(a, Decl(controlFlowAssignmentPatternOrder.ts, 53, 7)) >b : Symbol(b, Decl(controlFlowAssignmentPatternOrder.ts, 54, 7)) >a : Symbol(a, Decl(controlFlowAssignmentPatternOrder.ts, 53, 7)) +>const : Symbol(const) const bb: 0 = b; >bb : Symbol(bb, Decl(controlFlowAssignmentPatternOrder.ts, 56, 9)) @@ -175,6 +188,7 @@ declare function f(): void; >a : Symbol(a, Decl(controlFlowAssignmentPatternOrder.ts, 59, 7)) >b : Symbol(b, Decl(controlFlowAssignmentPatternOrder.ts, 60, 7)) >a : Symbol(a, Decl(controlFlowAssignmentPatternOrder.ts, 59, 7)) +>const : Symbol(const) const bb: 9 = b; >bb : Symbol(bb, Decl(controlFlowAssignmentPatternOrder.ts, 62, 9)) @@ -193,6 +207,8 @@ declare function f(): void; >a : Symbol(a, Decl(controlFlowAssignmentPatternOrder.ts, 65, 7)) >b : Symbol(b, Decl(controlFlowAssignmentPatternOrder.ts, 66, 7)) >a : Symbol(a, Decl(controlFlowAssignmentPatternOrder.ts, 65, 7)) +>const : Symbol(const) +>const : Symbol(const) const bb: 0 | 8 = b; >bb : Symbol(bb, Decl(controlFlowAssignmentPatternOrder.ts, 68, 9)) @@ -211,6 +227,8 @@ declare function f(): void; >a : Symbol(a, Decl(controlFlowAssignmentPatternOrder.ts, 71, 7)) >b : Symbol(b, Decl(controlFlowAssignmentPatternOrder.ts, 72, 7)) >a : Symbol(a, Decl(controlFlowAssignmentPatternOrder.ts, 71, 7)) +>const : Symbol(const) +>const : Symbol(const) const bb: 0 | 8 = b; >bb : Symbol(bb, Decl(controlFlowAssignmentPatternOrder.ts, 74, 9)) diff --git a/tests/baselines/reference/controlFlowBindingPatternOrder.symbols b/tests/baselines/reference/controlFlowBindingPatternOrder.symbols index 359b15cd79ba1..fea01b4d125a2 100644 --- a/tests/baselines/reference/controlFlowBindingPatternOrder.symbols +++ b/tests/baselines/reference/controlFlowBindingPatternOrder.symbols @@ -8,6 +8,7 @@ >a : Symbol(a, Decl(controlFlowBindingPatternOrder.ts, 2, 7)) >b : Symbol(b, Decl(controlFlowBindingPatternOrder.ts, 3, 12)) >a : Symbol(a, Decl(controlFlowBindingPatternOrder.ts, 2, 7)) +>const : Symbol(const) const bb: 0 = b; >bb : Symbol(bb, Decl(controlFlowBindingPatternOrder.ts, 4, 9)) @@ -21,6 +22,7 @@ >a : Symbol(a, Decl(controlFlowBindingPatternOrder.ts, 7, 7)) >b : Symbol(b, Decl(controlFlowBindingPatternOrder.ts, 8, 12)) >a : Symbol(a, Decl(controlFlowBindingPatternOrder.ts, 7, 7)) +>const : Symbol(const) const bb: 9 = b; >bb : Symbol(bb, Decl(controlFlowBindingPatternOrder.ts, 9, 9)) @@ -34,6 +36,8 @@ >a : Symbol(a, Decl(controlFlowBindingPatternOrder.ts, 12, 7)) >b : Symbol(b, Decl(controlFlowBindingPatternOrder.ts, 13, 12)) >a : Symbol(a, Decl(controlFlowBindingPatternOrder.ts, 12, 7)) +>const : Symbol(const) +>const : Symbol(const) const bb: 0 | 8 = b; >bb : Symbol(bb, Decl(controlFlowBindingPatternOrder.ts, 14, 9)) @@ -47,6 +51,8 @@ >a : Symbol(a, Decl(controlFlowBindingPatternOrder.ts, 17, 7)) >b : Symbol(b, Decl(controlFlowBindingPatternOrder.ts, 18, 12)) >a : Symbol(a, Decl(controlFlowBindingPatternOrder.ts, 17, 7)) +>const : Symbol(const) +>const : Symbol(const) const bb: 0 | 8 = b; >bb : Symbol(bb, Decl(controlFlowBindingPatternOrder.ts, 19, 9)) diff --git a/tests/baselines/reference/declarationEmitIndexTypeNotFound.symbols b/tests/baselines/reference/declarationEmitIndexTypeNotFound.symbols index f53a7c6a62745..ef80ba43dc8cf 100644 --- a/tests/baselines/reference/declarationEmitIndexTypeNotFound.symbols +++ b/tests/baselines/reference/declarationEmitIndexTypeNotFound.symbols @@ -4,5 +4,6 @@ export interface Test { [index: TypeNotFound]: any; >index : Symbol(index, Decl(declarationEmitIndexTypeNotFound.ts, 1, 5)) +>TypeNotFound : Symbol(TypeNotFound) } diff --git a/tests/baselines/reference/declarationEmitIndexTypeNotFound.types b/tests/baselines/reference/declarationEmitIndexTypeNotFound.types index 6db58274fc4d3..d64d9610c0342 100644 --- a/tests/baselines/reference/declarationEmitIndexTypeNotFound.types +++ b/tests/baselines/reference/declarationEmitIndexTypeNotFound.types @@ -1,6 +1,6 @@ === tests/cases/compiler/declarationEmitIndexTypeNotFound.ts === export interface Test { [index: TypeNotFound]: any; ->index : any +>index : TypeNotFound } diff --git a/tests/baselines/reference/declarationEmitLambdaWithMissingTypeParameterNoCrash.symbols b/tests/baselines/reference/declarationEmitLambdaWithMissingTypeParameterNoCrash.symbols index c7908a593c18a..57298decc4ea5 100644 --- a/tests/baselines/reference/declarationEmitLambdaWithMissingTypeParameterNoCrash.symbols +++ b/tests/baselines/reference/declarationEmitLambdaWithMissingTypeParameterNoCrash.symbols @@ -5,12 +5,14 @@ export interface Foo { preFetch: (c: T1) => void; // Type T2 is not defined >preFetch : Symbol(Foo.preFetch, Decl(declarationEmitLambdaWithMissingTypeParameterNoCrash.ts, 0, 22)) >T1 : Symbol(T1, Decl(declarationEmitLambdaWithMissingTypeParameterNoCrash.ts, 1, 15)) +>T2 : Symbol(T2) >c : Symbol(c, Decl(declarationEmitLambdaWithMissingTypeParameterNoCrash.ts, 1, 31)) >T1 : Symbol(T1, Decl(declarationEmitLambdaWithMissingTypeParameterNoCrash.ts, 1, 15)) preFetcher: new (c: T1) => void; // Type T2 is not defined >preFetcher : Symbol(Foo.preFetcher, Decl(declarationEmitLambdaWithMissingTypeParameterNoCrash.ts, 1, 46)) >T1 : Symbol(T1, Decl(declarationEmitLambdaWithMissingTypeParameterNoCrash.ts, 2, 21)) +>T2 : Symbol(T2) >c : Symbol(c, Decl(declarationEmitLambdaWithMissingTypeParameterNoCrash.ts, 2, 37)) >T1 : Symbol(T1, Decl(declarationEmitLambdaWithMissingTypeParameterNoCrash.ts, 2, 21)) } diff --git a/tests/baselines/reference/declarationEmitLambdaWithMissingTypeParameterNoCrash.types b/tests/baselines/reference/declarationEmitLambdaWithMissingTypeParameterNoCrash.types index 5f132c3dfe866..0652573c4b18b 100644 --- a/tests/baselines/reference/declarationEmitLambdaWithMissingTypeParameterNoCrash.types +++ b/tests/baselines/reference/declarationEmitLambdaWithMissingTypeParameterNoCrash.types @@ -1,11 +1,11 @@ === tests/cases/compiler/declarationEmitLambdaWithMissingTypeParameterNoCrash.ts === export interface Foo { preFetch: (c: T1) => void; // Type T2 is not defined ->preFetch : (c: T1) => void +>preFetch : (c: T1) => void >c : T1 preFetcher: new (c: T1) => void; // Type T2 is not defined ->preFetcher : new (c: T1) => void +>preFetcher : new (c: T1) => void >c : T1 } diff --git a/tests/baselines/reference/declarationEmitMappedPrivateTypeTypeParameter.symbols b/tests/baselines/reference/declarationEmitMappedPrivateTypeTypeParameter.symbols index 073e34762cd8f..f6599cd9c40c8 100644 --- a/tests/baselines/reference/declarationEmitMappedPrivateTypeTypeParameter.symbols +++ b/tests/baselines/reference/declarationEmitMappedPrivateTypeTypeParameter.symbols @@ -12,5 +12,6 @@ export type RowToColumns = { [TName in StringKeyOf]: any; >TName : Symbol(TName, Decl(FromFactor.ts, 1, 5)) +>StringKeyOf : Symbol(StringKeyOf) >TColumns : Symbol(TColumns, Decl(FromFactor.ts, 0, 25)) } diff --git a/tests/baselines/reference/declarationEmitTypeAliasTypeParameterExtendingUnknownSymbol.symbols b/tests/baselines/reference/declarationEmitTypeAliasTypeParameterExtendingUnknownSymbol.symbols index 339f206c5cc60..02d6c8aac8e4b 100644 --- a/tests/baselines/reference/declarationEmitTypeAliasTypeParameterExtendingUnknownSymbol.symbols +++ b/tests/baselines/reference/declarationEmitTypeAliasTypeParameterExtendingUnknownSymbol.symbols @@ -2,4 +2,5 @@ type A = {} >A : Symbol(A, Decl(declarationEmitTypeAliasTypeParameterExtendingUnknownSymbol.ts, 0, 0)) >T : Symbol(T, Decl(declarationEmitTypeAliasTypeParameterExtendingUnknownSymbol.ts, 0, 7)) +>Unknown : Symbol(Unknown) diff --git a/tests/baselines/reference/decoratorMetadataNoLibIsolatedModulesTypes.symbols b/tests/baselines/reference/decoratorMetadataNoLibIsolatedModulesTypes.symbols index 83c78ae2829ee..39e46f03399b8 100644 --- a/tests/baselines/reference/decoratorMetadataNoLibIsolatedModulesTypes.symbols +++ b/tests/baselines/reference/decoratorMetadataNoLibIsolatedModulesTypes.symbols @@ -5,5 +5,6 @@ export class B { @Decorate member: Map; >member : Symbol(B.member, Decl(decoratorMetadataNoLibIsolatedModulesTypes.ts, 0, 16)) +>Map : Symbol(Map) } diff --git a/tests/baselines/reference/decoratorMetadataNoLibIsolatedModulesTypes.types b/tests/baselines/reference/decoratorMetadataNoLibIsolatedModulesTypes.types index 73d4f1ade8de4..5139b5569ba3c 100644 --- a/tests/baselines/reference/decoratorMetadataNoLibIsolatedModulesTypes.types +++ b/tests/baselines/reference/decoratorMetadataNoLibIsolatedModulesTypes.types @@ -6,6 +6,6 @@ export class B { >Decorate : any member: Map; ->member : any +>member : Map } diff --git a/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision4.symbols b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision4.symbols index 76eb10bc91393..7ae8bf987b8b1 100644 --- a/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision4.symbols +++ b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision4.symbols @@ -27,12 +27,12 @@ class MyClass { db: db.db; >db : Symbol(MyClass.db, Decl(service.ts, 5, 15)) >db : Symbol(db, Decl(service.ts, 0, 6)) ->db : Symbol(db) +>db : Symbol(db.db) constructor(db: db.db) { >db : Symbol(db, Decl(service.ts, 8, 16)) >db : Symbol(db, Decl(service.ts, 0, 6)) ->db : Symbol(db) +>db : Symbol(db.db) this.db = db; >this.db : Symbol(MyClass.db, Decl(service.ts, 5, 15)) diff --git a/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision4.types b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision4.types index 8b9bfc0a00724..6b995aafaea01 100644 --- a/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision4.types +++ b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision4.types @@ -25,26 +25,26 @@ class MyClass { >MyClass : MyClass db: db.db; ->db : any +>db : db.db >db : any constructor(db: db.db) { ->db : any +>db : db.db >db : any this.db = db; ->this.db = db : any ->this.db : any +>this.db = db : db.db +>this.db : db.db >this : this ->db : any ->db : any +>db : db.db +>db : db.db this.db.doSomething(); >this.db.doSomething() : any >this.db.doSomething : any ->this.db : any +>this.db : db.db >this : this ->db : any +>db : db.db >doSomething : any } } diff --git a/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision7.symbols b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision7.symbols index 88cd6ed43750b..c760519b27a61 100644 --- a/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision7.symbols +++ b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision7.symbols @@ -26,9 +26,13 @@ class MyClass { db: db.db; //error >db : Symbol(MyClass.db, Decl(service.ts, 5, 15)) +>db : Symbol(db) +>db : Symbol(db.db) constructor(db: db.db) { // error >db : Symbol(db, Decl(service.ts, 8, 16)) +>db : Symbol(db) +>db : Symbol(db.db) this.db = db; >this.db : Symbol(MyClass.db, Decl(service.ts, 5, 15)) diff --git a/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision7.types b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision7.types index 37478514e0452..1a531b9f0116a 100644 --- a/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision7.types +++ b/tests/baselines/reference/decoratorMetadataWithImportDeclarationNameCollision7.types @@ -25,26 +25,26 @@ class MyClass { >MyClass : MyClass db: db.db; //error ->db : any +>db : db.db >db : any constructor(db: db.db) { // error ->db : any +>db : db.db >db : any this.db = db; ->this.db = db : any ->this.db : any +>this.db = db : db.db +>this.db : db.db >this : this ->db : any ->db : any +>db : db.db +>db : db.db this.db.doSomething(); >this.db.doSomething() : any >this.db.doSomething : any ->this.db : any +>this.db : db.db >this : this ->db : any +>db : db.db >doSomething : any } } diff --git a/tests/baselines/reference/defaultExportsCannotMerge01.symbols b/tests/baselines/reference/defaultExportsCannotMerge01.symbols index e68355cc027a4..9f67cb1444d70 100644 --- a/tests/baselines/reference/defaultExportsCannotMerge01.symbols +++ b/tests/baselines/reference/defaultExportsCannotMerge01.symbols @@ -43,7 +43,7 @@ var x: Entity; var y: Entity.I; >y : Symbol(y, Decl(m2.ts, 5, 3)) >Entity : Symbol(Entity, Decl(m2.ts, 0, 6)) ->I : Symbol(Entity) +>I : Symbol(Entity.I) Entity.x; >Entity : Symbol(Entity, Decl(m2.ts, 0, 6)) diff --git a/tests/baselines/reference/defaultExportsCannotMerge01.types b/tests/baselines/reference/defaultExportsCannotMerge01.types index 6e03dcac4559e..46bd13611f4e1 100644 --- a/tests/baselines/reference/defaultExportsCannotMerge01.types +++ b/tests/baselines/reference/defaultExportsCannotMerge01.types @@ -38,10 +38,10 @@ Entity(); >Entity : any var x: Entity; ->x : any +>x : Entity var y: Entity.I; ->y : any +>y : Entity.I >Entity : any Entity.x; diff --git a/tests/baselines/reference/defaultExportsCannotMerge02.symbols b/tests/baselines/reference/defaultExportsCannotMerge02.symbols index 703bc6b21d9c4..77e4cfb6e3195 100644 --- a/tests/baselines/reference/defaultExportsCannotMerge02.symbols +++ b/tests/baselines/reference/defaultExportsCannotMerge02.symbols @@ -35,7 +35,7 @@ var x: Entity; var y: Entity.I; >y : Symbol(y, Decl(m2.ts, 5, 3)) >Entity : Symbol(Entity, Decl(m2.ts, 0, 6)) ->I : Symbol(Entity) +>I : Symbol(Entity.I) var z = new Entity(); >z : Symbol(z, Decl(m2.ts, 6, 3)) diff --git a/tests/baselines/reference/defaultExportsCannotMerge02.types b/tests/baselines/reference/defaultExportsCannotMerge02.types index 02cadfe5586d2..3cbb732d75d33 100644 --- a/tests/baselines/reference/defaultExportsCannotMerge02.types +++ b/tests/baselines/reference/defaultExportsCannotMerge02.types @@ -25,10 +25,10 @@ Entity(); >Entity : any var x: Entity; ->x : any +>x : Entity var y: Entity.I; ->y : any +>y : Entity.I >Entity : any var z = new Entity(); diff --git a/tests/baselines/reference/defaultExportsCannotMerge03.symbols b/tests/baselines/reference/defaultExportsCannotMerge03.symbols index 6bf8a6caf3836..06b0e810ce7e5 100644 --- a/tests/baselines/reference/defaultExportsCannotMerge03.symbols +++ b/tests/baselines/reference/defaultExportsCannotMerge03.symbols @@ -35,7 +35,7 @@ var x: Entity; var y: Entity.I; >y : Symbol(y, Decl(m2.ts, 5, 3)) >Entity : Symbol(Entity, Decl(m2.ts, 0, 6)) ->I : Symbol(Entity) +>I : Symbol(Entity.I) var z = new Entity(); >z : Symbol(z, Decl(m2.ts, 6, 3)) diff --git a/tests/baselines/reference/defaultExportsCannotMerge03.types b/tests/baselines/reference/defaultExportsCannotMerge03.types index d2931440679d5..37234b2cc3ecb 100644 --- a/tests/baselines/reference/defaultExportsCannotMerge03.types +++ b/tests/baselines/reference/defaultExportsCannotMerge03.types @@ -25,10 +25,10 @@ Entity(); >Entity : any var x: Entity; ->x : any +>x : Entity var y: Entity.I; ->y : any +>y : Entity.I >Entity : any var z = new Entity(); diff --git a/tests/baselines/reference/derivedClassSuperCallsInNonConstructorMembers.symbols b/tests/baselines/reference/derivedClassSuperCallsInNonConstructorMembers.symbols index 0d5c10321cd05..306c32599c43f 100644 --- a/tests/baselines/reference/derivedClassSuperCallsInNonConstructorMembers.symbols +++ b/tests/baselines/reference/derivedClassSuperCallsInNonConstructorMembers.symbols @@ -14,6 +14,7 @@ class Derived extends Base { a: super(); >a : Symbol(Derived.a, Decl(derivedClassSuperCallsInNonConstructorMembers.ts, 6, 28)) +>super : Symbol(super) b() { >b : Symbol(Derived.b, Decl(derivedClassSuperCallsInNonConstructorMembers.ts, 7, 15)) @@ -35,6 +36,7 @@ class Derived extends Base { static a: super(); >a : Symbol(Derived.a, Decl(derivedClassSuperCallsInNonConstructorMembers.ts, 17, 5)) +>super : Symbol(super) static b() { >b : Symbol(Derived.b, Decl(derivedClassSuperCallsInNonConstructorMembers.ts, 19, 22)) diff --git a/tests/baselines/reference/derivedClassSuperCallsInNonConstructorMembers.types b/tests/baselines/reference/derivedClassSuperCallsInNonConstructorMembers.types index 06098482ad3e1..9d3e56862c263 100644 --- a/tests/baselines/reference/derivedClassSuperCallsInNonConstructorMembers.types +++ b/tests/baselines/reference/derivedClassSuperCallsInNonConstructorMembers.types @@ -13,7 +13,7 @@ class Derived extends Base { >Base : Base a: super(); ->a : any +>a : super b() { >b : () => void @@ -42,7 +42,7 @@ class Derived extends Base { } static a: super(); ->a : any +>a : super static b() { >b : () => void diff --git a/tests/baselines/reference/didYouMeanSuggestionErrors.symbols b/tests/baselines/reference/didYouMeanSuggestionErrors.symbols index 8f63b2addd55e..5c0d06a6912c0 100644 --- a/tests/baselines/reference/didYouMeanSuggestionErrors.symbols +++ b/tests/baselines/reference/didYouMeanSuggestionErrors.symbols @@ -41,9 +41,11 @@ suite("another suite", () => { const i: Iterator = null as any; >i : Symbol(i, Decl(didYouMeanSuggestionErrors.ts, 22, 13)) +>Iterator : Symbol(Iterator) const j: AsyncIterator = null as any; >j : Symbol(j, Decl(didYouMeanSuggestionErrors.ts, 23, 13)) +>AsyncIterator : Symbol(AsyncIterator) const k: Symbol = null as any; >k : Symbol(k, Decl(didYouMeanSuggestionErrors.ts, 24, 13)) diff --git a/tests/baselines/reference/didYouMeanSuggestionErrors.types b/tests/baselines/reference/didYouMeanSuggestionErrors.types index 60259cde734a8..bed2cb2330326 100644 --- a/tests/baselines/reference/didYouMeanSuggestionErrors.types +++ b/tests/baselines/reference/didYouMeanSuggestionErrors.types @@ -102,12 +102,12 @@ suite("another suite", () => { >0 : 0 const i: Iterator = null as any; ->i : any +>i : Iterator >null as any : any >null : null const j: AsyncIterator = null as any; ->j : any +>j : AsyncIterator >null as any : any >null : null diff --git a/tests/baselines/reference/directReferenceToNull.symbols b/tests/baselines/reference/directReferenceToNull.symbols index f7a147b65bc0a..7c828e6fffe2a 100644 --- a/tests/baselines/reference/directReferenceToNull.symbols +++ b/tests/baselines/reference/directReferenceToNull.symbols @@ -1,4 +1,5 @@ === tests/cases/conformance/types/primitives/null/directReferenceToNull.ts === var x: Null; >x : Symbol(x, Decl(directReferenceToNull.ts, 0, 3)) +>Null : Symbol(Null) diff --git a/tests/baselines/reference/directReferenceToNull.types b/tests/baselines/reference/directReferenceToNull.types index 9b52c849dd4c5..61a13ed1a8a02 100644 --- a/tests/baselines/reference/directReferenceToNull.types +++ b/tests/baselines/reference/directReferenceToNull.types @@ -1,4 +1,4 @@ === tests/cases/conformance/types/primitives/null/directReferenceToNull.ts === var x: Null; ->x : any +>x : Null diff --git a/tests/baselines/reference/directReferenceToUndefined.symbols b/tests/baselines/reference/directReferenceToUndefined.symbols index 6d82c7562b515..b4615d5bbe5c6 100644 --- a/tests/baselines/reference/directReferenceToUndefined.symbols +++ b/tests/baselines/reference/directReferenceToUndefined.symbols @@ -1,6 +1,7 @@ === tests/cases/conformance/types/primitives/undefined/directReferenceToUndefined.ts === var x: Undefined; >x : Symbol(x, Decl(directReferenceToUndefined.ts, 0, 3)) +>Undefined : Symbol(Undefined) var y = undefined; >y : Symbol(y, Decl(directReferenceToUndefined.ts, 1, 3)) diff --git a/tests/baselines/reference/directReferenceToUndefined.types b/tests/baselines/reference/directReferenceToUndefined.types index 7a707ab520fac..5b3227bc6c010 100644 --- a/tests/baselines/reference/directReferenceToUndefined.types +++ b/tests/baselines/reference/directReferenceToUndefined.types @@ -1,6 +1,6 @@ === tests/cases/conformance/types/primitives/undefined/directReferenceToUndefined.ts === var x: Undefined; ->x : any +>x : Undefined var y = undefined; >y : any diff --git a/tests/baselines/reference/doYouNeedToChangeYourTargetLibraryES2015.symbols b/tests/baselines/reference/doYouNeedToChangeYourTargetLibraryES2015.symbols index 7486af3881c2e..8f6b82d568c0f 100644 --- a/tests/baselines/reference/doYouNeedToChangeYourTargetLibraryES2015.symbols +++ b/tests/baselines/reference/doYouNeedToChangeYourTargetLibraryES2015.symbols @@ -197,9 +197,11 @@ const testMathCbrt = Math.cbrt(0); const testMap: Map = null as any; >testMap : Symbol(testMap, Decl(doYouNeedToChangeYourTargetLibraryES2015.ts, 55, 5)) +>Map : Symbol(Map) const testSet: Set = null as any; >testSet : Symbol(testSet, Decl(doYouNeedToChangeYourTargetLibraryES2015.ts, 56, 5)) +>Set : Symbol(Set) const testPromiseAll = Promise.all([]); >testPromiseAll : Symbol(testPromiseAll, Decl(doYouNeedToChangeYourTargetLibraryES2015.ts, 57, 5)) @@ -222,15 +224,19 @@ const testSymbolKeyFor = Symbol.keyFor(testSymbolFor); const testWeakMap: WeakMap = null as any; >testWeakMap : Symbol(testWeakMap, Decl(doYouNeedToChangeYourTargetLibraryES2015.ts, 63, 5)) +>WeakMap : Symbol(WeakMap) const testWeakSet: WeakMap = null as any; >testWeakSet : Symbol(testWeakSet, Decl(doYouNeedToChangeYourTargetLibraryES2015.ts, 64, 5)) +>WeakMap : Symbol(WeakMap) const testIterator: Iterator = null as any; >testIterator : Symbol(testIterator, Decl(doYouNeedToChangeYourTargetLibraryES2015.ts, 65, 5)) +>Iterator : Symbol(Iterator) const testAsyncIterator: AsyncIterator = null as any; >testAsyncIterator : Symbol(testAsyncIterator, Decl(doYouNeedToChangeYourTargetLibraryES2015.ts, 66, 5)) +>AsyncIterator : Symbol(AsyncIterator) const testStringCodePointAt = "".codePointAt(0); >testStringCodePointAt : Symbol(testStringCodePointAt, Decl(doYouNeedToChangeYourTargetLibraryES2015.ts, 67, 5)) diff --git a/tests/baselines/reference/doYouNeedToChangeYourTargetLibraryES2015.types b/tests/baselines/reference/doYouNeedToChangeYourTargetLibraryES2015.types index 301e04972982e..5f48fcf3252e4 100644 --- a/tests/baselines/reference/doYouNeedToChangeYourTargetLibraryES2015.types +++ b/tests/baselines/reference/doYouNeedToChangeYourTargetLibraryES2015.types @@ -432,12 +432,12 @@ const testMathCbrt = Math.cbrt(0); >0 : 0 const testMap: Map = null as any; ->testMap : any +>testMap : Map >null as any : any >null : null const testSet: Set = null as any; ->testSet : any +>testSet : Set >null as any : any >null : null @@ -488,22 +488,22 @@ const testSymbolKeyFor = Symbol.keyFor(testSymbolFor); >testSymbolFor : any const testWeakMap: WeakMap = null as any; ->testWeakMap : any +>testWeakMap : WeakMap >null as any : any >null : null const testWeakSet: WeakMap = null as any; ->testWeakSet : any +>testWeakSet : WeakMap >null as any : any >null : null const testIterator: Iterator = null as any; ->testIterator : any +>testIterator : Iterator >null as any : any >null : null const testAsyncIterator: AsyncIterator = null as any; ->testAsyncIterator : any +>testAsyncIterator : AsyncIterator >null as any : any >null : null diff --git a/tests/baselines/reference/doYouNeedToChangeYourTargetLibraryES2016Plus.symbols b/tests/baselines/reference/doYouNeedToChangeYourTargetLibraryES2016Plus.symbols index 5da8f75b73858..03445f0e2b940 100644 --- a/tests/baselines/reference/doYouNeedToChangeYourTargetLibraryES2016Plus.symbols +++ b/tests/baselines/reference/doYouNeedToChangeYourTargetLibraryES2016Plus.symbols @@ -59,15 +59,19 @@ const testIntlPluralRules = new Intl.PluralRules("ar-EG").select(0); const testAsyncGenerator: AsyncGenerator = null as any; >testAsyncGenerator : Symbol(testAsyncGenerator, Decl(doYouNeedToChangeYourTargetLibraryES2016Plus.ts, 19, 5)) +>AsyncGenerator : Symbol(AsyncGenerator) const testAsyncGeneratorFunction: AsyncGeneratorFunction = null as any; >testAsyncGeneratorFunction : Symbol(testAsyncGeneratorFunction, Decl(doYouNeedToChangeYourTargetLibraryES2016Plus.ts, 20, 5)) +>AsyncGeneratorFunction : Symbol(AsyncGeneratorFunction) const testAsyncIterable: AsyncIterable = null as any; >testAsyncIterable : Symbol(testAsyncIterable, Decl(doYouNeedToChangeYourTargetLibraryES2016Plus.ts, 21, 5)) +>AsyncIterable : Symbol(AsyncIterable) const testAsyncIterableIterator: AsyncIterableIterator = null as any; >testAsyncIterableIterator : Symbol(testAsyncIterableIterator, Decl(doYouNeedToChangeYourTargetLibraryES2016Plus.ts, 22, 5)) +>AsyncIterableIterator : Symbol(AsyncIterableIterator) const testNumberFormatFormatToParts = new Intl.NumberFormat("en-US").formatToParts(); >testNumberFormatFormatToParts : Symbol(testNumberFormatFormatToParts, Decl(doYouNeedToChangeYourTargetLibraryES2016Plus.ts, 23, 5)) diff --git a/tests/baselines/reference/doYouNeedToChangeYourTargetLibraryES2016Plus.types b/tests/baselines/reference/doYouNeedToChangeYourTargetLibraryES2016Plus.types index 815e4352d61fc..c8408cb3cece5 100644 --- a/tests/baselines/reference/doYouNeedToChangeYourTargetLibraryES2016Plus.types +++ b/tests/baselines/reference/doYouNeedToChangeYourTargetLibraryES2016Plus.types @@ -128,22 +128,22 @@ const testIntlPluralRules = new Intl.PluralRules("ar-EG").select(0); >0 : 0 const testAsyncGenerator: AsyncGenerator = null as any; ->testAsyncGenerator : any +>testAsyncGenerator : AsyncGenerator >null as any : any >null : null const testAsyncGeneratorFunction: AsyncGeneratorFunction = null as any; ->testAsyncGeneratorFunction : any +>testAsyncGeneratorFunction : AsyncGeneratorFunction >null as any : any >null : null const testAsyncIterable: AsyncIterable = null as any; ->testAsyncIterable : any +>testAsyncIterable : AsyncIterable >null as any : any >null : null const testAsyncIterableIterator: AsyncIterableIterator = null as any; ->testAsyncIterableIterator : any +>testAsyncIterableIterator : AsyncIterableIterator >null as any : any >null : null diff --git a/tests/baselines/reference/errorForUsingPropertyOfTypeAsType01.symbols b/tests/baselines/reference/errorForUsingPropertyOfTypeAsType01.symbols index a44dac5342e9f..db8d48194a6e6 100644 --- a/tests/baselines/reference/errorForUsingPropertyOfTypeAsType01.symbols +++ b/tests/baselines/reference/errorForUsingPropertyOfTypeAsType01.symbols @@ -11,10 +11,14 @@ namespace Test1 { var x: Foo.bar = ""; >x : Symbol(x, Decl(errorForUsingPropertyOfTypeAsType01.ts, 5, 7)) +>Foo : Symbol(Foo) +>bar : Symbol(Foo.bar) var y: Test1.Foo.bar = ""; >y : Symbol(y, Decl(errorForUsingPropertyOfTypeAsType01.ts, 6, 7)) >Test1 : Symbol(Test1, Decl(errorForUsingPropertyOfTypeAsType01.ts, 0, 0)) +>Foo : Symbol(Test1.Foo) +>bar : Symbol(Test1.Foo.bar) } namespace Test2 { @@ -29,10 +33,14 @@ namespace Test2 { var x: Foo.bar = ""; >x : Symbol(x, Decl(errorForUsingPropertyOfTypeAsType01.ts, 14, 7)) +>Foo : Symbol(Foo) +>bar : Symbol(Foo.bar) var y: Test2.Foo.bar = ""; >y : Symbol(y, Decl(errorForUsingPropertyOfTypeAsType01.ts, 15, 7)) >Test2 : Symbol(Test2, Decl(errorForUsingPropertyOfTypeAsType01.ts, 7, 1)) +>Foo : Symbol(Test2.Foo) +>bar : Symbol(Test2.Foo.bar) } namespace Test3 { @@ -47,10 +55,14 @@ namespace Test3 { var x: Foo.bar = ""; >x : Symbol(x, Decl(errorForUsingPropertyOfTypeAsType01.ts, 23, 7)) +>Foo : Symbol(Foo) +>bar : Symbol(Foo.bar) var y: Test3.Foo.bar = ""; >y : Symbol(y, Decl(errorForUsingPropertyOfTypeAsType01.ts, 24, 7)) >Test3 : Symbol(Test3, Decl(errorForUsingPropertyOfTypeAsType01.ts, 16, 1)) +>Foo : Symbol(Test3.Foo) +>bar : Symbol(Test3.Foo.bar) } namespace Test4 { @@ -65,10 +77,14 @@ namespace Test4 { var x: Foo.bar = ""; >x : Symbol(x, Decl(errorForUsingPropertyOfTypeAsType01.ts, 31, 7)) +>Foo : Symbol(Foo) +>bar : Symbol(Foo.bar) var y: Test4.Foo.bar = ""; >y : Symbol(y, Decl(errorForUsingPropertyOfTypeAsType01.ts, 32, 7)) >Test4 : Symbol(Test4, Decl(errorForUsingPropertyOfTypeAsType01.ts, 25, 1)) +>Foo : Symbol(Test4.Foo) +>bar : Symbol(Test4.Foo.bar) } namespace Test5 { @@ -83,10 +99,14 @@ namespace Test5 { var x: Foo.bar = ""; >x : Symbol(x, Decl(errorForUsingPropertyOfTypeAsType01.ts, 39, 7)) +>Foo : Symbol(Foo) +>bar : Symbol(Foo.bar) var y: Test5.Foo.bar = ""; >y : Symbol(y, Decl(errorForUsingPropertyOfTypeAsType01.ts, 40, 7)) >Test5 : Symbol(Test5, Decl(errorForUsingPropertyOfTypeAsType01.ts, 33, 1)) +>Foo : Symbol(Test5.Foo) +>bar : Symbol(Test5.Foo.bar) } import lol = Test5.Foo. diff --git a/tests/baselines/reference/errorForUsingPropertyOfTypeAsType01.types b/tests/baselines/reference/errorForUsingPropertyOfTypeAsType01.types index 507e450d64daa..55a7d345f7189 100644 --- a/tests/baselines/reference/errorForUsingPropertyOfTypeAsType01.types +++ b/tests/baselines/reference/errorForUsingPropertyOfTypeAsType01.types @@ -8,12 +8,12 @@ namespace Test1 { } var x: Foo.bar = ""; ->x : any +>x : Foo.bar >Foo : any >"" : "" var y: Test1.Foo.bar = ""; ->y : any +>y : Test1.Foo.bar >Test1 : any >Foo : any >"" : "" @@ -30,12 +30,12 @@ namespace Test2 { } var x: Foo.bar = ""; ->x : any +>x : Foo.bar >Foo : any >"" : "" var y: Test2.Foo.bar = ""; ->y : any +>y : Test2.Foo.bar >Test2 : any >Foo : any >"" : "" @@ -52,12 +52,12 @@ namespace Test3 { } var x: Foo.bar = ""; ->x : any +>x : Foo.bar >Foo : any >"" : "" var y: Test3.Foo.bar = ""; ->y : any +>y : Test3.Foo.bar >Test3 : any >Foo : any >"" : "" @@ -74,12 +74,12 @@ namespace Test4 { >bar : string var x: Foo.bar = ""; ->x : any +>x : Foo.bar >Foo : any >"" : "" var y: Test4.Foo.bar = ""; ->y : any +>y : Test4.Foo.bar >Test4 : any >Foo : any >"" : "" @@ -96,12 +96,12 @@ namespace Test5 { >wat : string var x: Foo.bar = ""; ->x : any +>x : Foo.bar >Foo : any >"" : "" var y: Test5.Foo.bar = ""; ->y : any +>y : Test5.Foo.bar >Test5 : any >Foo : any >"" : "" diff --git a/tests/baselines/reference/errorForUsingPropertyOfTypeAsType02.symbols b/tests/baselines/reference/errorForUsingPropertyOfTypeAsType02.symbols index b96d18c1981cf..bd4aaa8b391b7 100644 --- a/tests/baselines/reference/errorForUsingPropertyOfTypeAsType02.symbols +++ b/tests/baselines/reference/errorForUsingPropertyOfTypeAsType02.symbols @@ -11,6 +11,8 @@ namespace Test1 { let a: T.abc = x.abc; >a : Symbol(a, Decl(errorForUsingPropertyOfTypeAsType02.ts, 2, 11)) +>T : Symbol(T) +>abc : Symbol(T.abc) >x.abc : Symbol(abc, Decl(errorForUsingPropertyOfTypeAsType02.ts, 1, 28)) >x : Symbol(x, Decl(errorForUsingPropertyOfTypeAsType02.ts, 1, 44)) >abc : Symbol(abc, Decl(errorForUsingPropertyOfTypeAsType02.ts, 1, 28)) diff --git a/tests/baselines/reference/errorForUsingPropertyOfTypeAsType02.types b/tests/baselines/reference/errorForUsingPropertyOfTypeAsType02.types index c6ff39605b0b3..a33c4689990fc 100644 --- a/tests/baselines/reference/errorForUsingPropertyOfTypeAsType02.types +++ b/tests/baselines/reference/errorForUsingPropertyOfTypeAsType02.types @@ -8,7 +8,7 @@ namespace Test1 { >x : T let a: T.abc = x.abc; ->a : any +>a : T.abc >T : any >x.abc : number >x : T diff --git a/tests/baselines/reference/errorForUsingPropertyOfTypeAsType03.symbols b/tests/baselines/reference/errorForUsingPropertyOfTypeAsType03.symbols index 80d0a34fd9c3a..9b318db47dfe1 100644 --- a/tests/baselines/reference/errorForUsingPropertyOfTypeAsType03.symbols +++ b/tests/baselines/reference/errorForUsingPropertyOfTypeAsType03.symbols @@ -26,6 +26,8 @@ namespace Test1 { let a1: Color.Red.toString; >a1 : Symbol(a1, Decl(errorForUsingPropertyOfTypeAsType03.ts, 10, 7)) >Color : Symbol(Color, Decl(errorForUsingPropertyOfTypeAsType03.ts, 0, 17)) +>Red : Symbol(Color.Red) +>toString : Symbol(Color.Red.toString) let a2: Color.Red["toString"]; >a2 : Symbol(a2, Decl(errorForUsingPropertyOfTypeAsType03.ts, 11, 7)) @@ -44,9 +46,14 @@ namespace Test1 { let c1: C1.Red.toString; >c1 : Symbol(c1, Decl(errorForUsingPropertyOfTypeAsType03.ts, 18, 7)) +>C1 : Symbol(C1) +>Red : Symbol(C1.Red) +>toString : Symbol(C1.Red.toString) let c2: C1.Red["toString"]; >c2 : Symbol(c2, Decl(errorForUsingPropertyOfTypeAsType03.ts, 19, 7)) +>C1 : Symbol(C1) +>Red : Symbol(C1.Red) let c3: C1["Red"]["toString"]; >c3 : Symbol(c3, Decl(errorForUsingPropertyOfTypeAsType03.ts, 20, 7)) @@ -54,9 +61,14 @@ namespace Test1 { let d1: C2.Red.toString; >d1 : Symbol(d1, Decl(errorForUsingPropertyOfTypeAsType03.ts, 22, 7)) +>C2 : Symbol(C2) +>Red : Symbol(C2.Red) +>toString : Symbol(C2.Red.toString) let d2: C2.Red["toString"]; >d2 : Symbol(d2, Decl(errorForUsingPropertyOfTypeAsType03.ts, 23, 7)) +>C2 : Symbol(C2) +>Red : Symbol(C2.Red) let d3: C2["Red"]["toString"]; >d3 : Symbol(d3, Decl(errorForUsingPropertyOfTypeAsType03.ts, 24, 7)) diff --git a/tests/baselines/reference/errorForUsingPropertyOfTypeAsType03.types b/tests/baselines/reference/errorForUsingPropertyOfTypeAsType03.types index 256e862d706ea..67796575f2606 100644 --- a/tests/baselines/reference/errorForUsingPropertyOfTypeAsType03.types +++ b/tests/baselines/reference/errorForUsingPropertyOfTypeAsType03.types @@ -23,7 +23,7 @@ namespace Test1 { >Color : typeof Color let a1: Color.Red.toString; ->a1 : any +>a1 : Color.Red.toString >Color : any >Red : any @@ -41,24 +41,24 @@ namespace Test1 { >Color : typeof Color let c1: C1.Red.toString; ->c1 : any +>c1 : C1.Red.toString >C1 : any >Red : any let c2: C1.Red["toString"]; ->c2 : any +>c2 : C1.Red >C1 : any let c3: C1["Red"]["toString"]; >c3 : any let d1: C2.Red.toString; ->d1 : any +>d1 : C2.Red.toString >C2 : any >Red : any let d2: C2.Red["toString"]; ->d2 : any +>d2 : C2.Red >C2 : any let d3: C2["Red"]["toString"]; diff --git a/tests/baselines/reference/errorTypesAsTypeArguments.symbols b/tests/baselines/reference/errorTypesAsTypeArguments.symbols index bb38ee40aa379..c356a03a7c2ae 100644 --- a/tests/baselines/reference/errorTypesAsTypeArguments.symbols +++ b/tests/baselines/reference/errorTypesAsTypeArguments.symbols @@ -7,5 +7,7 @@ interface Foo { >bar : Symbol(Foo.bar, Decl(errorTypesAsTypeArguments.ts, 0, 18)) >baz : Symbol(baz, Decl(errorTypesAsTypeArguments.ts, 1, 6)) >Foo : Symbol(Foo, Decl(errorTypesAsTypeArguments.ts, 0, 0)) +>B : Symbol(B) >Foo : Symbol(Foo, Decl(errorTypesAsTypeArguments.ts, 0, 0)) +>C : Symbol(C) } diff --git a/tests/baselines/reference/errorTypesAsTypeArguments.types b/tests/baselines/reference/errorTypesAsTypeArguments.types index 7dedbd35e3b5b..759c302803392 100644 --- a/tests/baselines/reference/errorTypesAsTypeArguments.types +++ b/tests/baselines/reference/errorTypesAsTypeArguments.types @@ -2,5 +2,5 @@ interface Foo { bar(baz: Foo): Foo; >bar : (baz: Foo) => Foo ->baz : Foo +>baz : Foo } diff --git a/tests/baselines/reference/errorsInGenericTypeReference.symbols b/tests/baselines/reference/errorsInGenericTypeReference.symbols index 92a1c87d31e1d..bf14f7ffaa403 100644 --- a/tests/baselines/reference/errorsInGenericTypeReference.symbols +++ b/tests/baselines/reference/errorsInGenericTypeReference.symbols @@ -25,6 +25,7 @@ tc1.method<{ x: V }>(); // error: could not find symbol V >tc1 : Symbol(tc1, Decl(errorsInGenericTypeReference.ts, 9, 3)) >method : Symbol(testClass1.method, Decl(errorsInGenericTypeReference.ts, 6, 18)) >x : Symbol(x, Decl(errorsInGenericTypeReference.ts, 10, 12)) +>V : Symbol(V) // in constructor type arguments @@ -36,6 +37,7 @@ var tc2 = new testClass2<{ x: V }>(); // error: could not find symbol V >tc2 : Symbol(tc2, Decl(errorsInGenericTypeReference.ts, 16, 3)) >testClass2 : Symbol(testClass2, Decl(errorsInGenericTypeReference.ts, 10, 23)) >x : Symbol(x, Decl(errorsInGenericTypeReference.ts, 16, 26)) +>V : Symbol(V) // in method return type annotation @@ -46,22 +48,26 @@ class testClass3 { >testMethod1 : Symbol(testClass3.testMethod1, Decl(errorsInGenericTypeReference.ts, 20, 18)) >Foo : Symbol(Foo, Decl(errorsInGenericTypeReference.ts, 0, 21)) >x : Symbol(x, Decl(errorsInGenericTypeReference.ts, 21, 24)) +>V : Symbol(V) static testMethod2(): Foo<{ x: V }> { return null } // error: could not find symbol V >testMethod2 : Symbol(testClass3.testMethod2, Decl(errorsInGenericTypeReference.ts, 21, 49)) >Foo : Symbol(Foo, Decl(errorsInGenericTypeReference.ts, 0, 21)) >x : Symbol(x, Decl(errorsInGenericTypeReference.ts, 22, 31)) +>V : Symbol(V) set a(value: Foo<{ x: V }>) { } // error: could not find symbol V >a : Symbol(testClass3.a, Decl(errorsInGenericTypeReference.ts, 22, 55)) >value : Symbol(value, Decl(errorsInGenericTypeReference.ts, 23, 10)) >Foo : Symbol(Foo, Decl(errorsInGenericTypeReference.ts, 0, 21)) >x : Symbol(x, Decl(errorsInGenericTypeReference.ts, 23, 22)) +>V : Symbol(V) property: Foo<{ x: V }>; // error: could not find symbol V >property : Symbol(testClass3.property, Decl(errorsInGenericTypeReference.ts, 23, 35)) >Foo : Symbol(Foo, Decl(errorsInGenericTypeReference.ts, 0, 21)) >x : Symbol(x, Decl(errorsInGenericTypeReference.ts, 24, 19)) +>V : Symbol(V) } @@ -70,6 +76,7 @@ function testFunction1(): Foo<{ x: V }> { return null; } // error: could not fin >testFunction1 : Symbol(testFunction1, Decl(errorsInGenericTypeReference.ts, 25, 1)) >Foo : Symbol(Foo, Decl(errorsInGenericTypeReference.ts, 0, 21)) >x : Symbol(x, Decl(errorsInGenericTypeReference.ts, 29, 31)) +>V : Symbol(V) // in paramter types @@ -78,6 +85,7 @@ function testFunction2(p: Foo<{ x: V }>) { }// error: could not find symbol V >p : Symbol(p, Decl(errorsInGenericTypeReference.ts, 33, 23)) >Foo : Symbol(Foo, Decl(errorsInGenericTypeReference.ts, 0, 21)) >x : Symbol(x, Decl(errorsInGenericTypeReference.ts, 33, 31)) +>V : Symbol(V) // in var type annotation @@ -85,6 +93,7 @@ var f: Foo<{ x: V }>; // error: could not find symbol V >f : Symbol(f, Decl(errorsInGenericTypeReference.ts, 37, 3)) >Foo : Symbol(Foo, Decl(errorsInGenericTypeReference.ts, 0, 21)) >x : Symbol(x, Decl(errorsInGenericTypeReference.ts, 37, 12)) +>V : Symbol(V) // in constraints @@ -92,12 +101,14 @@ class testClass4 { } // error: could not find symbol V >testClass4 : Symbol(testClass4, Decl(errorsInGenericTypeReference.ts, 37, 21)) >T : Symbol(T, Decl(errorsInGenericTypeReference.ts, 41, 17)) >x : Symbol(x, Decl(errorsInGenericTypeReference.ts, 41, 28)) +>V : Symbol(V) interface testClass5> { } // error: could not find symbol V >testClass5 : Symbol(testClass5, Decl(errorsInGenericTypeReference.ts, 41, 40)) >T : Symbol(T, Decl(errorsInGenericTypeReference.ts, 43, 21)) >Foo : Symbol(Foo, Decl(errorsInGenericTypeReference.ts, 0, 21)) >x : Symbol(x, Decl(errorsInGenericTypeReference.ts, 43, 36)) +>V : Symbol(V) class testClass6 { >testClass6 : Symbol(testClass6, Decl(errorsInGenericTypeReference.ts, 43, 49)) @@ -107,6 +118,7 @@ class testClass6 { >method : Symbol(testClass6.method, Decl(errorsInGenericTypeReference.ts, 45, 21)) >M : Symbol(M, Decl(errorsInGenericTypeReference.ts, 46, 11)) >x : Symbol(x, Decl(errorsInGenericTypeReference.ts, 46, 22)) +>V : Symbol(V) } interface testInterface1 { @@ -115,6 +127,7 @@ interface testInterface1 { new (a: M); // error: could not find symbol V >M : Symbol(M, Decl(errorsInGenericTypeReference.ts, 50, 9)) >x : Symbol(x, Decl(errorsInGenericTypeReference.ts, 50, 20)) +>V : Symbol(V) >a : Symbol(a, Decl(errorsInGenericTypeReference.ts, 50, 29)) >M : Symbol(M, Decl(errorsInGenericTypeReference.ts, 50, 9)) } @@ -125,6 +138,7 @@ class testClass7 extends Foo<{ x: V }> { } // error: could not find symbol V >testClass7 : Symbol(testClass7, Decl(errorsInGenericTypeReference.ts, 51, 1)) >Foo : Symbol(Foo, Decl(errorsInGenericTypeReference.ts, 0, 21)) >x : Symbol(x, Decl(errorsInGenericTypeReference.ts, 55, 30)) +>V : Symbol(V) // in implements clause @@ -132,6 +146,7 @@ class testClass8 implements IFoo<{ x: V }> { } // error: could not find symbol V >testClass8 : Symbol(testClass8, Decl(errorsInGenericTypeReference.ts, 55, 42)) >IFoo : Symbol(IFoo, Decl(errorsInGenericTypeReference.ts, 0, 0)) >x : Symbol(x, Decl(errorsInGenericTypeReference.ts, 59, 34)) +>V : Symbol(V) // in signatures @@ -142,26 +157,32 @@ interface testInterface2 { >a : Symbol(a, Decl(errorsInGenericTypeReference.ts, 64, 9)) >Foo : Symbol(Foo, Decl(errorsInGenericTypeReference.ts, 0, 21)) >x : Symbol(x, Decl(errorsInGenericTypeReference.ts, 64, 17)) +>V : Symbol(V) >Foo : Symbol(Foo, Decl(errorsInGenericTypeReference.ts, 0, 21)) >x : Symbol(x, Decl(errorsInGenericTypeReference.ts, 64, 33)) +>V : Symbol(V) [x: string]: Foo<{ x: V }>; // error: could not find symbol V >x : Symbol(x, Decl(errorsInGenericTypeReference.ts, 65, 5)) >Foo : Symbol(Foo, Decl(errorsInGenericTypeReference.ts, 0, 21)) >x : Symbol(x, Decl(errorsInGenericTypeReference.ts, 65, 22)) +>V : Symbol(V) method(a: Foo<{ x: V }>): Foo<{ x: V }>; //2x: error: could not find symbol V >method : Symbol(testInterface2.method, Decl(errorsInGenericTypeReference.ts, 65, 31)) >a : Symbol(a, Decl(errorsInGenericTypeReference.ts, 66, 11)) >Foo : Symbol(Foo, Decl(errorsInGenericTypeReference.ts, 0, 21)) >x : Symbol(x, Decl(errorsInGenericTypeReference.ts, 66, 19)) +>V : Symbol(V) >Foo : Symbol(Foo, Decl(errorsInGenericTypeReference.ts, 0, 21)) >x : Symbol(x, Decl(errorsInGenericTypeReference.ts, 66, 35)) +>V : Symbol(V) property: Foo<{ x: V }>; // error: could not find symbol V >property : Symbol(testInterface2.property, Decl(errorsInGenericTypeReference.ts, 66, 44)) >Foo : Symbol(Foo, Decl(errorsInGenericTypeReference.ts, 0, 21)) >x : Symbol(x, Decl(errorsInGenericTypeReference.ts, 67, 19)) +>V : Symbol(V) } diff --git a/tests/baselines/reference/errorsInGenericTypeReference.types b/tests/baselines/reference/errorsInGenericTypeReference.types index 57d4cf01ec351..cbd59f0cf8898 100644 --- a/tests/baselines/reference/errorsInGenericTypeReference.types +++ b/tests/baselines/reference/errorsInGenericTypeReference.types @@ -22,7 +22,7 @@ tc1.method<{ x: V }>(); // error: could not find symbol V >tc1.method : () => void >tc1 : testClass1 >method : () => void ->x : any +>x : V // in constructor type arguments @@ -30,10 +30,10 @@ class testClass2 { >testClass2 : testClass2 } var tc2 = new testClass2<{ x: V }>(); // error: could not find symbol V ->tc2 : testClass2<{ x: any; }> ->new testClass2<{ x: V }>() : testClass2<{ x: any; }> +>tc2 : testClass2<{ x: V; }> +>new testClass2<{ x: V }>() : testClass2<{ x: V; }> >testClass2 : typeof testClass2 ->x : any +>x : V // in method return type annotation @@ -42,64 +42,64 @@ class testClass3 { testMethod1(): Foo<{ x: V }> { return null; } // error: could not find symbol V >testMethod1 : () => Foo<{ x: V;}> ->x : any +>x : V >null : null static testMethod2(): Foo<{ x: V }> { return null } // error: could not find symbol V >testMethod2 : () => Foo<{ x: V;}> ->x : any +>x : V >null : null set a(value: Foo<{ x: V }>) { } // error: could not find symbol V ->a : Foo<{ x: any; }> ->value : Foo<{ x: any; }> ->x : any +>a : Foo<{ x: V; }> +>value : Foo<{ x: V; }> +>x : V property: Foo<{ x: V }>; // error: could not find symbol V ->property : Foo<{ x: any; }> ->x : any +>property : Foo<{ x: V; }> +>x : V } // in function return type annotation function testFunction1(): Foo<{ x: V }> { return null; } // error: could not find symbol V >testFunction1 : () => Foo<{ x: V;}> ->x : any +>x : V >null : null // in paramter types function testFunction2(p: Foo<{ x: V }>) { }// error: could not find symbol V >testFunction2 : (p: Foo<{ x: V;}>) => void ->p : Foo<{ x: any; }> ->x : any +>p : Foo<{ x: V; }> +>x : V // in var type annotation var f: Foo<{ x: V }>; // error: could not find symbol V ->f : Foo<{ x: any; }> ->x : any +>f : Foo<{ x: V; }> +>x : V // in constraints class testClass4 { } // error: could not find symbol V >testClass4 : testClass4 ->x : any +>x : V interface testClass5> { } // error: could not find symbol V ->x : any +>x : V class testClass6 { >testClass6 : testClass6 method(): void { } // error: could not find symbol V ->method : () => void ->x : any +>method : () => void +>x : V } interface testInterface1 { new (a: M); // error: could not find symbol V ->x : any +>x : V >a : M } @@ -107,36 +107,36 @@ interface testInterface1 { // in extends clause class testClass7 extends Foo<{ x: V }> { } // error: could not find symbol V >testClass7 : testClass7 ->Foo : Foo<{ x: any; }> ->x : any +>Foo : Foo<{ x: V; }> +>x : V // in implements clause class testClass8 implements IFoo<{ x: V }> { } // error: could not find symbol V >testClass8 : testClass8 ->x : any +>x : V // in signatures interface testInterface2 { new (a: Foo<{ x: V }>): Foo<{ x: V }>; //2x: error: could not find symbol V ->a : Foo<{ x: any; }> ->x : any ->x : any +>a : Foo<{ x: V; }> +>x : V +>x : V [x: string]: Foo<{ x: V }>; // error: could not find symbol V >x : string ->x : any +>x : V method(a: Foo<{ x: V }>): Foo<{ x: V }>; //2x: error: could not find symbol V >method : (a: Foo<{ x: V;}>) => Foo<{ x: V;}> ->a : Foo<{ x: any; }> ->x : any ->x : any +>a : Foo<{ x: V; }> +>x : V +>x : V property: Foo<{ x: V }>; // error: could not find symbol V ->property : Foo<{ x: any; }> ->x : any +>property : Foo<{ x: V; }> +>x : V } diff --git a/tests/baselines/reference/es2018IntlAPIs.symbols b/tests/baselines/reference/es2018IntlAPIs.symbols index fc19095f4f827..6bfc08a728395 100644 --- a/tests/baselines/reference/es2018IntlAPIs.symbols +++ b/tests/baselines/reference/es2018IntlAPIs.symbols @@ -7,6 +7,7 @@ const locales = ['ban', 'id-u-co-pinyin', 'de-ID']; const options = { localeMatcher: 'lookup' } as const; >options : Symbol(options, Decl(es2018IntlAPIs.ts, 3, 5)) >localeMatcher : Symbol(localeMatcher, Decl(es2018IntlAPIs.ts, 3, 17)) +>const : Symbol(const) console.log(Intl.PluralRules.supportedLocalesOf(locales, options).join(', ')); >console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) diff --git a/tests/baselines/reference/es2020IntlAPIs.symbols b/tests/baselines/reference/es2020IntlAPIs.symbols index afb7113c1524e..895257b61d289 100644 --- a/tests/baselines/reference/es2020IntlAPIs.symbols +++ b/tests/baselines/reference/es2020IntlAPIs.symbols @@ -131,6 +131,7 @@ const locales1 = ['ban', 'id-u-co-pinyin', 'de-ID']; const options1 = { localeMatcher: 'lookup' } as const; >options1 : Symbol(options1, Decl(es2020IntlAPIs.ts, 41, 5)) >localeMatcher : Symbol(localeMatcher, Decl(es2020IntlAPIs.ts, 41, 18)) +>const : Symbol(const) console.log(Intl.DisplayNames.supportedLocalesOf(locales1, options1).join(', ')); >console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) diff --git a/tests/baselines/reference/excessivelyLargeTupleSpread.symbols b/tests/baselines/reference/excessivelyLargeTupleSpread.symbols index 1114dba0c24a4..8528cdb639948 100644 --- a/tests/baselines/reference/excessivelyLargeTupleSpread.symbols +++ b/tests/baselines/reference/excessivelyLargeTupleSpread.symbols @@ -94,74 +94,89 @@ type T14 = [...T13, ...T13]; // 2^14 > 10,000 const a0 = [0] as const; >a0 : Symbol(a0, Decl(excessivelyLargeTupleSpread.ts, 23, 5)) +>const : Symbol(const) const a1 = [...a0, ...a0] as const; >a1 : Symbol(a1, Decl(excessivelyLargeTupleSpread.ts, 24, 5)) >a0 : Symbol(a0, Decl(excessivelyLargeTupleSpread.ts, 23, 5)) >a0 : Symbol(a0, Decl(excessivelyLargeTupleSpread.ts, 23, 5)) +>const : Symbol(const) const a2 = [...a1, ...a1] as const; >a2 : Symbol(a2, Decl(excessivelyLargeTupleSpread.ts, 25, 5)) >a1 : Symbol(a1, Decl(excessivelyLargeTupleSpread.ts, 24, 5)) >a1 : Symbol(a1, Decl(excessivelyLargeTupleSpread.ts, 24, 5)) +>const : Symbol(const) const a3 = [...a2, ...a2] as const; >a3 : Symbol(a3, Decl(excessivelyLargeTupleSpread.ts, 26, 5)) >a2 : Symbol(a2, Decl(excessivelyLargeTupleSpread.ts, 25, 5)) >a2 : Symbol(a2, Decl(excessivelyLargeTupleSpread.ts, 25, 5)) +>const : Symbol(const) const a4 = [...a3, ...a3] as const; >a4 : Symbol(a4, Decl(excessivelyLargeTupleSpread.ts, 27, 5)) >a3 : Symbol(a3, Decl(excessivelyLargeTupleSpread.ts, 26, 5)) >a3 : Symbol(a3, Decl(excessivelyLargeTupleSpread.ts, 26, 5)) +>const : Symbol(const) const a5 = [...a4, ...a4] as const; >a5 : Symbol(a5, Decl(excessivelyLargeTupleSpread.ts, 28, 5)) >a4 : Symbol(a4, Decl(excessivelyLargeTupleSpread.ts, 27, 5)) >a4 : Symbol(a4, Decl(excessivelyLargeTupleSpread.ts, 27, 5)) +>const : Symbol(const) const a6 = [...a5, ...a5] as const; >a6 : Symbol(a6, Decl(excessivelyLargeTupleSpread.ts, 29, 5)) >a5 : Symbol(a5, Decl(excessivelyLargeTupleSpread.ts, 28, 5)) >a5 : Symbol(a5, Decl(excessivelyLargeTupleSpread.ts, 28, 5)) +>const : Symbol(const) const a7 = [...a6, ...a6] as const; >a7 : Symbol(a7, Decl(excessivelyLargeTupleSpread.ts, 30, 5)) >a6 : Symbol(a6, Decl(excessivelyLargeTupleSpread.ts, 29, 5)) >a6 : Symbol(a6, Decl(excessivelyLargeTupleSpread.ts, 29, 5)) +>const : Symbol(const) const a8 = [...a7, ...a7] as const; >a8 : Symbol(a8, Decl(excessivelyLargeTupleSpread.ts, 31, 5)) >a7 : Symbol(a7, Decl(excessivelyLargeTupleSpread.ts, 30, 5)) >a7 : Symbol(a7, Decl(excessivelyLargeTupleSpread.ts, 30, 5)) +>const : Symbol(const) const a9 = [...a8, ...a8] as const; >a9 : Symbol(a9, Decl(excessivelyLargeTupleSpread.ts, 32, 5)) >a8 : Symbol(a8, Decl(excessivelyLargeTupleSpread.ts, 31, 5)) >a8 : Symbol(a8, Decl(excessivelyLargeTupleSpread.ts, 31, 5)) +>const : Symbol(const) const a10 = [...a9, ...a9] as const; >a10 : Symbol(a10, Decl(excessivelyLargeTupleSpread.ts, 33, 5)) >a9 : Symbol(a9, Decl(excessivelyLargeTupleSpread.ts, 32, 5)) >a9 : Symbol(a9, Decl(excessivelyLargeTupleSpread.ts, 32, 5)) +>const : Symbol(const) const a11 = [...a10, ...a10] as const; >a11 : Symbol(a11, Decl(excessivelyLargeTupleSpread.ts, 34, 5)) >a10 : Symbol(a10, Decl(excessivelyLargeTupleSpread.ts, 33, 5)) >a10 : Symbol(a10, Decl(excessivelyLargeTupleSpread.ts, 33, 5)) +>const : Symbol(const) const a12 = [...a11, ...a11] as const; >a12 : Symbol(a12, Decl(excessivelyLargeTupleSpread.ts, 35, 5)) >a11 : Symbol(a11, Decl(excessivelyLargeTupleSpread.ts, 34, 5)) >a11 : Symbol(a11, Decl(excessivelyLargeTupleSpread.ts, 34, 5)) +>const : Symbol(const) const a13 = [...a12, ...a12] as const; >a13 : Symbol(a13, Decl(excessivelyLargeTupleSpread.ts, 36, 5)) >a12 : Symbol(a12, Decl(excessivelyLargeTupleSpread.ts, 35, 5)) >a12 : Symbol(a12, Decl(excessivelyLargeTupleSpread.ts, 35, 5)) +>const : Symbol(const) const a14 = [...a13, ...a13] as const; // 2^14 > 10,000 >a14 : Symbol(a14, Decl(excessivelyLargeTupleSpread.ts, 37, 5)) >a13 : Symbol(a13, Decl(excessivelyLargeTupleSpread.ts, 36, 5)) >a13 : Symbol(a13, Decl(excessivelyLargeTupleSpread.ts, 36, 5)) +>const : Symbol(const) diff --git a/tests/baselines/reference/experimentalDecoratorMetadataUnresolvedTypeObjectInEmit.symbols b/tests/baselines/reference/experimentalDecoratorMetadataUnresolvedTypeObjectInEmit.symbols index 0076ba5871c25..8f76f1a9d4f3d 100644 --- a/tests/baselines/reference/experimentalDecoratorMetadataUnresolvedTypeObjectInEmit.symbols +++ b/tests/baselines/reference/experimentalDecoratorMetadataUnresolvedTypeObjectInEmit.symbols @@ -25,5 +25,6 @@ class Foo { >B : Symbol(A.B, Decl(types.d.ts, 0, 21)) >C : Symbol(A.B.C, Decl(types.d.ts, 1, 24)) >D : Symbol(A.B.C.D, Decl(types.d.ts, 2, 28)) +>E : Symbol(A.B.C.D.E) } diff --git a/tests/baselines/reference/experimentalDecoratorMetadataUnresolvedTypeObjectInEmit.types b/tests/baselines/reference/experimentalDecoratorMetadataUnresolvedTypeObjectInEmit.types index 9c531f40a6e9b..7a5efc0e8570f 100644 --- a/tests/baselines/reference/experimentalDecoratorMetadataUnresolvedTypeObjectInEmit.types +++ b/tests/baselines/reference/experimentalDecoratorMetadataUnresolvedTypeObjectInEmit.types @@ -12,9 +12,9 @@ class Foo { >Foo : Foo f(@decorate user: A.B.C.D.E): void {} ->f : (user: any) => void +>f : (user: A.B.C.D.E) => void >decorate : any ->user : any +>user : A.B.C.D.E >A : any >B : any >C : any diff --git a/tests/baselines/reference/exportSpecifierAndLocalMemberDeclaration.symbols b/tests/baselines/reference/exportSpecifierAndLocalMemberDeclaration.symbols index e4ae6ce0c760a..ff843145858b4 100644 --- a/tests/baselines/reference/exportSpecifierAndLocalMemberDeclaration.symbols +++ b/tests/baselines/reference/exportSpecifierAndLocalMemberDeclaration.symbols @@ -26,4 +26,6 @@ declare module "m2" { function Z2(): X.I; >Z2 : Symbol(Z2, Decl(exportSpecifierAndLocalMemberDeclaration.ts, 9, 21)) +>X : Symbol(X) +>I : Symbol(X.I) } diff --git a/tests/baselines/reference/exportSpecifierAndLocalMemberDeclaration.types b/tests/baselines/reference/exportSpecifierAndLocalMemberDeclaration.types index bc1b6465f4eea..763164e8cb346 100644 --- a/tests/baselines/reference/exportSpecifierAndLocalMemberDeclaration.types +++ b/tests/baselines/reference/exportSpecifierAndLocalMemberDeclaration.types @@ -21,6 +21,6 @@ declare module "m2" { >"m2" : typeof import("m2") function Z2(): X.I; ->Z2 : () => any +>Z2 : () => X.I >X : any } diff --git a/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration3.symbols b/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration3.symbols index faee05a935c31..8bae52102d808 100644 --- a/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration3.symbols +++ b/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration3.symbols @@ -21,4 +21,5 @@ declare module "m" { export function bar(): X.bar; // error >bar : Symbol(bar, Decl(exportSpecifierReferencingOuterDeclaration3.ts, 4, 33)) >X : Symbol(X, Decl(exportSpecifierReferencingOuterDeclaration3.ts, 1, 20)) +>bar : Symbol(X.bar) } diff --git a/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration3.types b/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration3.types index a9ebd40fd9c93..0a3a0ca61cd3f 100644 --- a/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration3.types +++ b/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration3.types @@ -12,6 +12,6 @@ declare module "m" { >X : any export function bar(): X.bar; // error ->bar : () => any +>bar : () => X.bar >X : any } diff --git a/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration4.symbols b/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration4.symbols index b5e238fde660d..b9a1ad4d0eb42 100644 --- a/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration4.symbols +++ b/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration4.symbols @@ -19,4 +19,5 @@ export declare function foo(): X.foo; export declare function bar(): X.bar; // error >bar : Symbol(bar, Decl(exportSpecifierReferencingOuterDeclaration2_B.ts, 2, 37)) >X : Symbol(X, Decl(exportSpecifierReferencingOuterDeclaration2_B.ts, 0, 0)) +>bar : Symbol(X.bar) diff --git a/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration4.types b/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration4.types index 90c3a7a879149..eb83726ae391f 100644 --- a/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration4.types +++ b/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration4.types @@ -11,6 +11,6 @@ export declare function foo(): X.foo; >X : any export declare function bar(): X.bar; // error ->bar : () => any +>bar : () => X.bar >X : any diff --git a/tests/baselines/reference/extendArray.symbols b/tests/baselines/reference/extendArray.symbols index 62e083fac6e33..e153fa52f3eeb 100644 --- a/tests/baselines/reference/extendArray.symbols +++ b/tests/baselines/reference/extendArray.symbols @@ -21,6 +21,8 @@ declare module _Core { >collect : Symbol(Array.collect, Decl(extendArray.ts, 5, 19)) >fn : Symbol(fn, Decl(extendArray.ts, 6, 12)) >e : Symbol(e, Decl(extendArray.ts, 6, 16)) +>_element : Symbol(_element) +>_element : Symbol(_element) } } diff --git a/tests/baselines/reference/extendArray.types b/tests/baselines/reference/extendArray.types index 8e9e312e1e6d0..ed221eb32689e 100644 --- a/tests/baselines/reference/extendArray.types +++ b/tests/baselines/reference/extendArray.types @@ -19,9 +19,9 @@ a.forEach(function (v,i,a) {}); declare module _Core { interface Array { collect(fn:(e:_element) => _element[]) : any[]; ->collect : (fn: (e: any) => _element[]) => any[] ->fn : (e: any) => _element[] ->e : any +>collect : (fn: (e: _element) => _element[]) => any[] +>fn : (e: _element) => _element[] +>e : _element } } diff --git a/tests/baselines/reference/fillInMissingTypeArgsOnJSConstructCalls.symbols b/tests/baselines/reference/fillInMissingTypeArgsOnJSConstructCalls.symbols index 50ced4730157a..34f4ec6b597bb 100644 --- a/tests/baselines/reference/fillInMissingTypeArgsOnJSConstructCalls.symbols +++ b/tests/baselines/reference/fillInMissingTypeArgsOnJSConstructCalls.symbols @@ -22,10 +22,12 @@ export default class B { _AClass: Class; >_AClass : Symbol(B._AClass, Decl(BaseB.js, 1, 34)) +>Class : Symbol(Class) >T : Symbol(T, Decl(BaseB.js, 1, 23)) constructor(AClass: Class) { >AClass : Symbol(AClass, Decl(BaseB.js, 3, 16)) +>Class : Symbol(Class) >T : Symbol(T, Decl(BaseB.js, 1, 23)) this._AClass = AClass; diff --git a/tests/baselines/reference/fillInMissingTypeArgsOnJSConstructCalls.types b/tests/baselines/reference/fillInMissingTypeArgsOnJSConstructCalls.types index 3e107894e39a9..08990bb6cbeea 100644 --- a/tests/baselines/reference/fillInMissingTypeArgsOnJSConstructCalls.types +++ b/tests/baselines/reference/fillInMissingTypeArgsOnJSConstructCalls.types @@ -19,17 +19,17 @@ export default class B { >B : B _AClass: Class; ->_AClass : any +>_AClass : Class constructor(AClass: Class) { ->AClass : any +>AClass : Class this._AClass = AClass; ->this._AClass = AClass : any ->this._AClass : any +>this._AClass = AClass : Class +>this._AClass : Class >this : this ->_AClass : any ->AClass : any +>_AClass : Class +>AClass : Class } } === tests/cases/compiler/SubB.js === diff --git a/tests/baselines/reference/findAllRefsUnresolvedSymbols1.baseline.jsonc b/tests/baselines/reference/findAllRefsUnresolvedSymbols1.baseline.jsonc new file mode 100644 index 0000000000000..006821d278771 --- /dev/null +++ b/tests/baselines/reference/findAllRefsUnresolvedSymbols1.baseline.jsonc @@ -0,0 +1,739 @@ +// === /tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts === +// let a: /*FIND ALL REFS*/[|Bar|]; +// let b: [|Bar|]; +// let c: [|Bar|]; +// let d: Bar.X; +// let e: Bar.X; +// let f: Bar.X.Y; + +[ + { + "definition": { + "containerKind": "", + "containerName": "", + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "kind": "type", + "name": "type Bar = /*unresolved*/ any", + "textSpan": { + "start": 7, + "length": 3 + }, + "displayParts": [ + { + "text": "type", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Bar", + "kind": "aliasName" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "=", + "kind": "operator" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "/*unresolved*/", + "kind": "text" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "any", + "kind": "keyword" + } + ] + }, + "references": [ + { + "textSpan": { + "start": 7, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 19, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 39, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "isWriteAccess": false, + "isDefinition": false + } + ] + } +] + +// === /tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts === +// let a: [|Bar|]; +// let b: /*FIND ALL REFS*/[|Bar|]; +// let c: [|Bar|]; +// let d: Bar.X; +// let e: Bar.X; +// let f: Bar.X.Y; + +[ + { + "definition": { + "containerKind": "", + "containerName": "", + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "kind": "type", + "name": "type Bar = /*unresolved*/ any", + "textSpan": { + "start": 19, + "length": 3 + }, + "displayParts": [ + { + "text": "type", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Bar", + "kind": "aliasName" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "=", + "kind": "operator" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "/*unresolved*/", + "kind": "text" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "any", + "kind": "keyword" + } + ] + }, + "references": [ + { + "textSpan": { + "start": 7, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 19, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 39, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "isWriteAccess": false, + "isDefinition": false + } + ] + } +] + +// === /tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts === +// let a: [|Bar|]; +// let b: [|Bar|]; +// let c: /*FIND ALL REFS*/[|Bar|]; +// let d: Bar.X; +// let e: Bar.X; +// let f: Bar.X.Y; + +[ + { + "definition": { + "containerKind": "", + "containerName": "", + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "kind": "type", + "name": "type Bar = /*unresolved*/ any", + "textSpan": { + "start": 39, + "length": 3 + }, + "displayParts": [ + { + "text": "type", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Bar", + "kind": "aliasName" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "=", + "kind": "operator" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "/*unresolved*/", + "kind": "text" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "any", + "kind": "keyword" + } + ] + }, + "references": [ + { + "textSpan": { + "start": 7, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 19, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 39, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "isWriteAccess": false, + "isDefinition": false + } + ] + } +] + +// === /tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts === +// let a: Bar; +// let b: Bar; +// let c: Bar; +// let d: /*FIND ALL REFS*/[|Bar|].X; +// let e: [|Bar|].X; +// let f: [|Bar|].X.Y; + +[ + { + "definition": { + "containerKind": "", + "containerName": "", + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "kind": "type", + "name": "", + "textSpan": { + "start": 67, + "length": 3 + }, + "displayParts": [] + }, + "references": [ + { + "textSpan": { + "start": 67, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 81, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 103, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "isWriteAccess": false, + "isDefinition": false + } + ] + } +] + +// === /tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts === +// let a: Bar; +// let b: Bar; +// let c: Bar; +// let d: [|Bar|].X; +// let e: /*FIND ALL REFS*/[|Bar|].X; +// let f: [|Bar|].X.Y; + +[ + { + "definition": { + "containerKind": "", + "containerName": "", + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "kind": "type", + "name": "", + "textSpan": { + "start": 81, + "length": 3 + }, + "displayParts": [] + }, + "references": [ + { + "textSpan": { + "start": 67, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 81, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 103, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "isWriteAccess": false, + "isDefinition": false + } + ] + } +] + +// === /tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts === +// let a: Bar; +// let b: Bar; +// let c: Bar; +// let d: [|Bar|].X; +// let e: [|Bar|].X; +// let f: /*FIND ALL REFS*/[|Bar|].X.Y; + +[ + { + "definition": { + "containerKind": "", + "containerName": "", + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "kind": "type", + "name": "", + "textSpan": { + "start": 103, + "length": 3 + }, + "displayParts": [] + }, + "references": [ + { + "textSpan": { + "start": 67, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 81, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 103, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "isWriteAccess": false, + "isDefinition": false + } + ] + } +] + +// === /tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts === +// let a: Bar; +// let b: Bar; +// let c: Bar; +// let d: Bar./*FIND ALL REFS*/[|X|]; +// let e: Bar.[|X|]; +// let f: Bar.X.Y; + +[ + { + "definition": { + "containerKind": "", + "containerName": "", + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "kind": "type", + "name": "type Bar.X = /*unresolved*/ any", + "textSpan": { + "start": 71, + "length": 1 + }, + "displayParts": [ + { + "text": "type", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Bar", + "kind": "aliasName" + }, + { + "text": ".", + "kind": "punctuation" + }, + { + "text": "X", + "kind": "aliasName" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "=", + "kind": "operator" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "/*unresolved*/", + "kind": "text" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "any", + "kind": "keyword" + } + ] + }, + "references": [ + { + "textSpan": { + "start": 71, + "length": 1 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 85, + "length": 1 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "isWriteAccess": false, + "isDefinition": false + } + ] + } +] + +// === /tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts === +// let a: Bar; +// let b: Bar; +// let c: Bar; +// let d: Bar.[|X|]; +// let e: Bar./*FIND ALL REFS*/[|X|]; +// let f: Bar.X.Y; + +[ + { + "definition": { + "containerKind": "", + "containerName": "", + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "kind": "type", + "name": "type Bar.X = /*unresolved*/ any", + "textSpan": { + "start": 85, + "length": 1 + }, + "displayParts": [ + { + "text": "type", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Bar", + "kind": "aliasName" + }, + { + "text": ".", + "kind": "punctuation" + }, + { + "text": "X", + "kind": "aliasName" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "=", + "kind": "operator" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "/*unresolved*/", + "kind": "text" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "any", + "kind": "keyword" + } + ] + }, + "references": [ + { + "textSpan": { + "start": 71, + "length": 1 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 85, + "length": 1 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "isWriteAccess": false, + "isDefinition": false + } + ] + } +] + +// === /tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts === +// let a: Bar; +// let b: Bar; +// let c: Bar; +// let d: Bar.X; +// let e: Bar.X; +// let f: Bar./*FIND ALL REFS*/[|X|].Y; + +[ + { + "definition": { + "containerKind": "", + "containerName": "", + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "kind": "type", + "name": "", + "textSpan": { + "start": 107, + "length": 1 + }, + "displayParts": [] + }, + "references": [ + { + "textSpan": { + "start": 107, + "length": 1 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "isWriteAccess": false, + "isDefinition": false + } + ] + } +] + +// === /tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts === +// let a: Bar; +// let b: Bar; +// let c: Bar; +// let d: Bar.X; +// let e: Bar.X; +// let f: Bar.X./*FIND ALL REFS*/[|Y|]; + +[ + { + "definition": { + "containerKind": "", + "containerName": "", + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "kind": "type", + "name": "type Bar.X.Y = /*unresolved*/ any", + "textSpan": { + "start": 109, + "length": 1 + }, + "displayParts": [ + { + "text": "type", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Bar", + "kind": "aliasName" + }, + { + "text": ".", + "kind": "punctuation" + }, + { + "text": "X", + "kind": "aliasName" + }, + { + "text": ".", + "kind": "punctuation" + }, + { + "text": "Y", + "kind": "aliasName" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "=", + "kind": "operator" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "/*unresolved*/", + "kind": "text" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "any", + "kind": "keyword" + } + ] + }, + "references": [ + { + "textSpan": { + "start": 109, + "length": 1 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols1.ts", + "isWriteAccess": false, + "isDefinition": false + } + ] + } +] \ No newline at end of file diff --git a/tests/baselines/reference/findAllRefsUnresolvedSymbols2.baseline.jsonc b/tests/baselines/reference/findAllRefsUnresolvedSymbols2.baseline.jsonc new file mode 100644 index 0000000000000..9673cc635304a --- /dev/null +++ b/tests/baselines/reference/findAllRefsUnresolvedSymbols2.baseline.jsonc @@ -0,0 +1,1103 @@ +// === /tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts === +// import { /*FIND ALL REFS*/[|Bar|] } from "does-not-exist"; +// +// let a: [|Bar|]; +// let b: [|Bar|]; +// let c: [|Bar|]; +// let d: [|Bar|].X; +// let e: [|Bar|].X; +// let f: [|Bar|].X.Y; + +[ + { + "definition": { + "containerKind": "", + "containerName": "", + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "kind": "alias", + "name": "import Bar", + "textSpan": { + "start": 9, + "length": 3 + }, + "displayParts": [ + { + "text": "import", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Bar", + "kind": "aliasName" + } + ], + "contextSpan": { + "start": 0, + "length": 37 + } + }, + "references": [ + { + "textSpan": { + "start": 9, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "contextSpan": { + "start": 0, + "length": 37 + }, + "isWriteAccess": true, + "isDefinition": true + }, + { + "textSpan": { + "start": 46, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 58, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 78, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 106, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 120, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 142, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + } + ] + } +] + +// === /tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts === +// import { [|Bar|] } from "does-not-exist"; +// +// let a: /*FIND ALL REFS*/[|Bar|]; +// let b: [|Bar|]; +// let c: [|Bar|]; +// let d: [|Bar|].X; +// let e: [|Bar|].X; +// let f: [|Bar|].X.Y; + +[ + { + "definition": { + "containerKind": "", + "containerName": "", + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "kind": "alias", + "name": "import Bar", + "textSpan": { + "start": 9, + "length": 3 + }, + "displayParts": [ + { + "text": "import", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Bar", + "kind": "aliasName" + } + ], + "contextSpan": { + "start": 0, + "length": 37 + } + }, + "references": [ + { + "textSpan": { + "start": 9, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "contextSpan": { + "start": 0, + "length": 37 + }, + "isWriteAccess": true, + "isDefinition": true + }, + { + "textSpan": { + "start": 46, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 58, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 78, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 106, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 120, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 142, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + } + ] + } +] + +// === /tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts === +// import { [|Bar|] } from "does-not-exist"; +// +// let a: [|Bar|]; +// let b: /*FIND ALL REFS*/[|Bar|]; +// let c: [|Bar|]; +// let d: [|Bar|].X; +// let e: [|Bar|].X; +// let f: [|Bar|].X.Y; + +[ + { + "definition": { + "containerKind": "", + "containerName": "", + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "kind": "alias", + "name": "import Bar", + "textSpan": { + "start": 9, + "length": 3 + }, + "displayParts": [ + { + "text": "import", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Bar", + "kind": "aliasName" + } + ], + "contextSpan": { + "start": 0, + "length": 37 + } + }, + "references": [ + { + "textSpan": { + "start": 9, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "contextSpan": { + "start": 0, + "length": 37 + }, + "isWriteAccess": true, + "isDefinition": true + }, + { + "textSpan": { + "start": 46, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 58, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 78, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 106, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 120, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 142, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + } + ] + } +] + +// === /tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts === +// import { [|Bar|] } from "does-not-exist"; +// +// let a: [|Bar|]; +// let b: [|Bar|]; +// let c: /*FIND ALL REFS*/[|Bar|]; +// let d: [|Bar|].X; +// let e: [|Bar|].X; +// let f: [|Bar|].X.Y; + +[ + { + "definition": { + "containerKind": "", + "containerName": "", + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "kind": "alias", + "name": "import Bar", + "textSpan": { + "start": 9, + "length": 3 + }, + "displayParts": [ + { + "text": "import", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Bar", + "kind": "aliasName" + } + ], + "contextSpan": { + "start": 0, + "length": 37 + } + }, + "references": [ + { + "textSpan": { + "start": 9, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "contextSpan": { + "start": 0, + "length": 37 + }, + "isWriteAccess": true, + "isDefinition": true + }, + { + "textSpan": { + "start": 46, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 58, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 78, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 106, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 120, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 142, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + } + ] + } +] + +// === /tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts === +// import { [|Bar|] } from "does-not-exist"; +// +// let a: [|Bar|]; +// let b: [|Bar|]; +// let c: [|Bar|]; +// let d: /*FIND ALL REFS*/[|Bar|].X; +// let e: [|Bar|].X; +// let f: [|Bar|].X.Y; + +[ + { + "definition": { + "containerKind": "", + "containerName": "", + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "kind": "alias", + "name": "import Bar", + "textSpan": { + "start": 9, + "length": 3 + }, + "displayParts": [ + { + "text": "import", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Bar", + "kind": "aliasName" + } + ], + "contextSpan": { + "start": 0, + "length": 37 + } + }, + "references": [ + { + "textSpan": { + "start": 9, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "contextSpan": { + "start": 0, + "length": 37 + }, + "isWriteAccess": true, + "isDefinition": true + }, + { + "textSpan": { + "start": 46, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 58, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 78, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 106, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 120, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 142, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + } + ] + } +] + +// === /tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts === +// import { [|Bar|] } from "does-not-exist"; +// +// let a: [|Bar|]; +// let b: [|Bar|]; +// let c: [|Bar|]; +// let d: [|Bar|].X; +// let e: /*FIND ALL REFS*/[|Bar|].X; +// let f: [|Bar|].X.Y; + +[ + { + "definition": { + "containerKind": "", + "containerName": "", + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "kind": "alias", + "name": "import Bar", + "textSpan": { + "start": 9, + "length": 3 + }, + "displayParts": [ + { + "text": "import", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Bar", + "kind": "aliasName" + } + ], + "contextSpan": { + "start": 0, + "length": 37 + } + }, + "references": [ + { + "textSpan": { + "start": 9, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "contextSpan": { + "start": 0, + "length": 37 + }, + "isWriteAccess": true, + "isDefinition": true + }, + { + "textSpan": { + "start": 46, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 58, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 78, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 106, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 120, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 142, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + } + ] + } +] + +// === /tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts === +// import { [|Bar|] } from "does-not-exist"; +// +// let a: [|Bar|]; +// let b: [|Bar|]; +// let c: [|Bar|]; +// let d: [|Bar|].X; +// let e: [|Bar|].X; +// let f: /*FIND ALL REFS*/[|Bar|].X.Y; + +[ + { + "definition": { + "containerKind": "", + "containerName": "", + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "kind": "alias", + "name": "import Bar", + "textSpan": { + "start": 9, + "length": 3 + }, + "displayParts": [ + { + "text": "import", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Bar", + "kind": "aliasName" + } + ], + "contextSpan": { + "start": 0, + "length": 37 + } + }, + "references": [ + { + "textSpan": { + "start": 9, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "contextSpan": { + "start": 0, + "length": 37 + }, + "isWriteAccess": true, + "isDefinition": true + }, + { + "textSpan": { + "start": 46, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 58, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 78, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 106, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 120, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 142, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + } + ] + } +] + +// === /tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts === +// import { Bar } from "does-not-exist"; +// +// let a: Bar; +// let b: Bar; +// let c: Bar; +// let d: Bar./*FIND ALL REFS*/[|X|]; +// let e: Bar.[|X|]; +// let f: Bar.X.Y; + +[ + { + "definition": { + "containerKind": "", + "containerName": "", + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "kind": "type", + "name": "type Bar.X = /*unresolved*/ any", + "textSpan": { + "start": 110, + "length": 1 + }, + "displayParts": [ + { + "text": "type", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Bar", + "kind": "aliasName" + }, + { + "text": ".", + "kind": "punctuation" + }, + { + "text": "X", + "kind": "aliasName" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "=", + "kind": "operator" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "/*unresolved*/", + "kind": "text" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "any", + "kind": "keyword" + } + ] + }, + "references": [ + { + "textSpan": { + "start": 110, + "length": 1 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 124, + "length": 1 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + } + ] + } +] + +// === /tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts === +// import { Bar } from "does-not-exist"; +// +// let a: Bar; +// let b: Bar; +// let c: Bar; +// let d: Bar.[|X|]; +// let e: Bar./*FIND ALL REFS*/[|X|]; +// let f: Bar.X.Y; + +[ + { + "definition": { + "containerKind": "", + "containerName": "", + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "kind": "type", + "name": "type Bar.X = /*unresolved*/ any", + "textSpan": { + "start": 124, + "length": 1 + }, + "displayParts": [ + { + "text": "type", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Bar", + "kind": "aliasName" + }, + { + "text": ".", + "kind": "punctuation" + }, + { + "text": "X", + "kind": "aliasName" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "=", + "kind": "operator" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "/*unresolved*/", + "kind": "text" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "any", + "kind": "keyword" + } + ] + }, + "references": [ + { + "textSpan": { + "start": 110, + "length": 1 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 124, + "length": 1 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + } + ] + } +] + +// === /tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts === +// import { Bar } from "does-not-exist"; +// +// let a: Bar; +// let b: Bar; +// let c: Bar; +// let d: Bar.X; +// let e: Bar.X; +// let f: Bar./*FIND ALL REFS*/[|X|].Y; + +[ + { + "definition": { + "containerKind": "", + "containerName": "", + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "kind": "type", + "name": "", + "textSpan": { + "start": 146, + "length": 1 + }, + "displayParts": [] + }, + "references": [ + { + "textSpan": { + "start": 146, + "length": 1 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + } + ] + } +] + +// === /tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts === +// import { Bar } from "does-not-exist"; +// +// let a: Bar; +// let b: Bar; +// let c: Bar; +// let d: Bar.X; +// let e: Bar.X; +// let f: Bar.X./*FIND ALL REFS*/[|Y|]; + +[ + { + "definition": { + "containerKind": "", + "containerName": "", + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "kind": "type", + "name": "type Bar.X.Y = /*unresolved*/ any", + "textSpan": { + "start": 148, + "length": 1 + }, + "displayParts": [ + { + "text": "type", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Bar", + "kind": "aliasName" + }, + { + "text": ".", + "kind": "punctuation" + }, + { + "text": "X", + "kind": "aliasName" + }, + { + "text": ".", + "kind": "punctuation" + }, + { + "text": "Y", + "kind": "aliasName" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "=", + "kind": "operator" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "/*unresolved*/", + "kind": "text" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "any", + "kind": "keyword" + } + ] + }, + "references": [ + { + "textSpan": { + "start": 148, + "length": 1 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols2.ts", + "isWriteAccess": false, + "isDefinition": false + } + ] + } +] \ No newline at end of file diff --git a/tests/baselines/reference/findAllRefsUnresolvedSymbols3.baseline.jsonc b/tests/baselines/reference/findAllRefsUnresolvedSymbols3.baseline.jsonc new file mode 100644 index 0000000000000..9c7aa54153db4 --- /dev/null +++ b/tests/baselines/reference/findAllRefsUnresolvedSymbols3.baseline.jsonc @@ -0,0 +1,1103 @@ +// === /tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts === +// import * as /*FIND ALL REFS*/[|Bar|] from "does-not-exist"; +// +// let a: [|Bar|]; +// let b: [|Bar|]; +// let c: [|Bar|]; +// let d: [|Bar|].X; +// let e: [|Bar|].X; +// let f: [|Bar|].X.Y; + +[ + { + "definition": { + "containerKind": "", + "containerName": "", + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "kind": "alias", + "name": "import Bar", + "textSpan": { + "start": 12, + "length": 3 + }, + "displayParts": [ + { + "text": "import", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Bar", + "kind": "aliasName" + } + ], + "contextSpan": { + "start": 0, + "length": 38 + } + }, + "references": [ + { + "textSpan": { + "start": 12, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "contextSpan": { + "start": 0, + "length": 38 + }, + "isWriteAccess": true, + "isDefinition": true + }, + { + "textSpan": { + "start": 47, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 59, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 79, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 107, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 121, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 143, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + } + ] + } +] + +// === /tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts === +// import * as [|Bar|] from "does-not-exist"; +// +// let a: /*FIND ALL REFS*/[|Bar|]; +// let b: [|Bar|]; +// let c: [|Bar|]; +// let d: [|Bar|].X; +// let e: [|Bar|].X; +// let f: [|Bar|].X.Y; + +[ + { + "definition": { + "containerKind": "", + "containerName": "", + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "kind": "alias", + "name": "import Bar", + "textSpan": { + "start": 12, + "length": 3 + }, + "displayParts": [ + { + "text": "import", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Bar", + "kind": "aliasName" + } + ], + "contextSpan": { + "start": 0, + "length": 38 + } + }, + "references": [ + { + "textSpan": { + "start": 12, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "contextSpan": { + "start": 0, + "length": 38 + }, + "isWriteAccess": true, + "isDefinition": true + }, + { + "textSpan": { + "start": 47, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 59, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 79, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 107, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 121, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 143, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + } + ] + } +] + +// === /tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts === +// import * as [|Bar|] from "does-not-exist"; +// +// let a: [|Bar|]; +// let b: /*FIND ALL REFS*/[|Bar|]; +// let c: [|Bar|]; +// let d: [|Bar|].X; +// let e: [|Bar|].X; +// let f: [|Bar|].X.Y; + +[ + { + "definition": { + "containerKind": "", + "containerName": "", + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "kind": "alias", + "name": "import Bar", + "textSpan": { + "start": 12, + "length": 3 + }, + "displayParts": [ + { + "text": "import", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Bar", + "kind": "aliasName" + } + ], + "contextSpan": { + "start": 0, + "length": 38 + } + }, + "references": [ + { + "textSpan": { + "start": 12, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "contextSpan": { + "start": 0, + "length": 38 + }, + "isWriteAccess": true, + "isDefinition": true + }, + { + "textSpan": { + "start": 47, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 59, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 79, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 107, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 121, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 143, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + } + ] + } +] + +// === /tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts === +// import * as [|Bar|] from "does-not-exist"; +// +// let a: [|Bar|]; +// let b: [|Bar|]; +// let c: /*FIND ALL REFS*/[|Bar|]; +// let d: [|Bar|].X; +// let e: [|Bar|].X; +// let f: [|Bar|].X.Y; + +[ + { + "definition": { + "containerKind": "", + "containerName": "", + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "kind": "alias", + "name": "import Bar", + "textSpan": { + "start": 12, + "length": 3 + }, + "displayParts": [ + { + "text": "import", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Bar", + "kind": "aliasName" + } + ], + "contextSpan": { + "start": 0, + "length": 38 + } + }, + "references": [ + { + "textSpan": { + "start": 12, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "contextSpan": { + "start": 0, + "length": 38 + }, + "isWriteAccess": true, + "isDefinition": true + }, + { + "textSpan": { + "start": 47, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 59, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 79, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 107, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 121, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 143, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + } + ] + } +] + +// === /tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts === +// import * as [|Bar|] from "does-not-exist"; +// +// let a: [|Bar|]; +// let b: [|Bar|]; +// let c: [|Bar|]; +// let d: /*FIND ALL REFS*/[|Bar|].X; +// let e: [|Bar|].X; +// let f: [|Bar|].X.Y; + +[ + { + "definition": { + "containerKind": "", + "containerName": "", + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "kind": "alias", + "name": "import Bar", + "textSpan": { + "start": 12, + "length": 3 + }, + "displayParts": [ + { + "text": "import", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Bar", + "kind": "aliasName" + } + ], + "contextSpan": { + "start": 0, + "length": 38 + } + }, + "references": [ + { + "textSpan": { + "start": 12, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "contextSpan": { + "start": 0, + "length": 38 + }, + "isWriteAccess": true, + "isDefinition": true + }, + { + "textSpan": { + "start": 47, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 59, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 79, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 107, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 121, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 143, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + } + ] + } +] + +// === /tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts === +// import * as [|Bar|] from "does-not-exist"; +// +// let a: [|Bar|]; +// let b: [|Bar|]; +// let c: [|Bar|]; +// let d: [|Bar|].X; +// let e: /*FIND ALL REFS*/[|Bar|].X; +// let f: [|Bar|].X.Y; + +[ + { + "definition": { + "containerKind": "", + "containerName": "", + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "kind": "alias", + "name": "import Bar", + "textSpan": { + "start": 12, + "length": 3 + }, + "displayParts": [ + { + "text": "import", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Bar", + "kind": "aliasName" + } + ], + "contextSpan": { + "start": 0, + "length": 38 + } + }, + "references": [ + { + "textSpan": { + "start": 12, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "contextSpan": { + "start": 0, + "length": 38 + }, + "isWriteAccess": true, + "isDefinition": true + }, + { + "textSpan": { + "start": 47, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 59, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 79, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 107, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 121, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 143, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + } + ] + } +] + +// === /tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts === +// import * as [|Bar|] from "does-not-exist"; +// +// let a: [|Bar|]; +// let b: [|Bar|]; +// let c: [|Bar|]; +// let d: [|Bar|].X; +// let e: [|Bar|].X; +// let f: /*FIND ALL REFS*/[|Bar|].X.Y; + +[ + { + "definition": { + "containerKind": "", + "containerName": "", + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "kind": "alias", + "name": "import Bar", + "textSpan": { + "start": 12, + "length": 3 + }, + "displayParts": [ + { + "text": "import", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Bar", + "kind": "aliasName" + } + ], + "contextSpan": { + "start": 0, + "length": 38 + } + }, + "references": [ + { + "textSpan": { + "start": 12, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "contextSpan": { + "start": 0, + "length": 38 + }, + "isWriteAccess": true, + "isDefinition": true + }, + { + "textSpan": { + "start": 47, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 59, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 79, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 107, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 121, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 143, + "length": 3 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + } + ] + } +] + +// === /tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts === +// import * as Bar from "does-not-exist"; +// +// let a: Bar; +// let b: Bar; +// let c: Bar; +// let d: Bar./*FIND ALL REFS*/[|X|]; +// let e: Bar.[|X|]; +// let f: Bar.X.Y; + +[ + { + "definition": { + "containerKind": "", + "containerName": "", + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "kind": "type", + "name": "type Bar.X = /*unresolved*/ any", + "textSpan": { + "start": 111, + "length": 1 + }, + "displayParts": [ + { + "text": "type", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Bar", + "kind": "aliasName" + }, + { + "text": ".", + "kind": "punctuation" + }, + { + "text": "X", + "kind": "aliasName" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "=", + "kind": "operator" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "/*unresolved*/", + "kind": "text" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "any", + "kind": "keyword" + } + ] + }, + "references": [ + { + "textSpan": { + "start": 111, + "length": 1 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 125, + "length": 1 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + } + ] + } +] + +// === /tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts === +// import * as Bar from "does-not-exist"; +// +// let a: Bar; +// let b: Bar; +// let c: Bar; +// let d: Bar.[|X|]; +// let e: Bar./*FIND ALL REFS*/[|X|]; +// let f: Bar.X.Y; + +[ + { + "definition": { + "containerKind": "", + "containerName": "", + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "kind": "type", + "name": "type Bar.X = /*unresolved*/ any", + "textSpan": { + "start": 125, + "length": 1 + }, + "displayParts": [ + { + "text": "type", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Bar", + "kind": "aliasName" + }, + { + "text": ".", + "kind": "punctuation" + }, + { + "text": "X", + "kind": "aliasName" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "=", + "kind": "operator" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "/*unresolved*/", + "kind": "text" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "any", + "kind": "keyword" + } + ] + }, + "references": [ + { + "textSpan": { + "start": 111, + "length": 1 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + }, + { + "textSpan": { + "start": 125, + "length": 1 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + } + ] + } +] + +// === /tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts === +// import * as Bar from "does-not-exist"; +// +// let a: Bar; +// let b: Bar; +// let c: Bar; +// let d: Bar.X; +// let e: Bar.X; +// let f: Bar./*FIND ALL REFS*/[|X|].Y; + +[ + { + "definition": { + "containerKind": "", + "containerName": "", + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "kind": "type", + "name": "", + "textSpan": { + "start": 147, + "length": 1 + }, + "displayParts": [] + }, + "references": [ + { + "textSpan": { + "start": 147, + "length": 1 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + } + ] + } +] + +// === /tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts === +// import * as Bar from "does-not-exist"; +// +// let a: Bar; +// let b: Bar; +// let c: Bar; +// let d: Bar.X; +// let e: Bar.X; +// let f: Bar.X./*FIND ALL REFS*/[|Y|]; + +[ + { + "definition": { + "containerKind": "", + "containerName": "", + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "kind": "type", + "name": "type Bar.X.Y = /*unresolved*/ any", + "textSpan": { + "start": 149, + "length": 1 + }, + "displayParts": [ + { + "text": "type", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Bar", + "kind": "aliasName" + }, + { + "text": ".", + "kind": "punctuation" + }, + { + "text": "X", + "kind": "aliasName" + }, + { + "text": ".", + "kind": "punctuation" + }, + { + "text": "Y", + "kind": "aliasName" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "=", + "kind": "operator" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "/*unresolved*/", + "kind": "text" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "any", + "kind": "keyword" + } + ] + }, + "references": [ + { + "textSpan": { + "start": 149, + "length": 1 + }, + "fileName": "/tests/cases/fourslash/findAllRefsUnresolvedSymbols3.ts", + "isWriteAccess": false, + "isDefinition": false + } + ] + } +] \ No newline at end of file diff --git a/tests/baselines/reference/findReferencesJSXTagName.baseline.jsonc b/tests/baselines/reference/findReferencesJSXTagName.baseline.jsonc index d8072720cc700..c61df6745ac8d 100644 --- a/tests/baselines/reference/findReferencesJSXTagName.baseline.jsonc +++ b/tests/baselines/reference/findReferencesJSXTagName.baseline.jsonc @@ -16,7 +16,7 @@ "containerName": "", "fileName": "/tests/cases/fourslash/index.tsx", "kind": "alias", - "name": "(alias) const SubmissionComp: (submission: any) => any\nimport SubmissionComp", + "name": "(alias) const SubmissionComp: (submission: SubmissionProps) => div\nimport SubmissionComp", "textSpan": { "start": 9, "length": 14 @@ -75,8 +75,8 @@ "kind": "space" }, { - "text": "any", - "kind": "keyword" + "text": "SubmissionProps", + "kind": "text" }, { "text": ")", @@ -95,8 +95,8 @@ "kind": "space" }, { - "text": "any", - "kind": "keyword" + "text": "div", + "kind": "text" }, { "text": "\n", @@ -155,7 +155,7 @@ "containerName": "", "fileName": "/tests/cases/fourslash/RedditSubmission.ts", "kind": "const", - "name": "const SubmissionComp: (submission: any) => any", + "name": "const SubmissionComp: (submission: SubmissionProps) => div", "textSpan": { "start": 13, "length": 14 @@ -198,8 +198,8 @@ "kind": "space" }, { - "text": "any", - "kind": "keyword" + "text": "SubmissionProps", + "kind": "text" }, { "text": ")", @@ -218,8 +218,8 @@ "kind": "space" }, { - "text": "any", - "kind": "keyword" + "text": "div", + "kind": "text" } ], "contextSpan": { @@ -263,7 +263,7 @@ "containerName": "", "fileName": "/tests/cases/fourslash/RedditSubmission.ts", "kind": "const", - "name": "const SubmissionComp: (submission: any) => any", + "name": "const SubmissionComp: (submission: SubmissionProps) => div", "textSpan": { "start": 13, "length": 14 @@ -306,8 +306,8 @@ "kind": "space" }, { - "text": "any", - "kind": "keyword" + "text": "SubmissionProps", + "kind": "text" }, { "text": ")", @@ -326,8 +326,8 @@ "kind": "space" }, { - "text": "any", - "kind": "keyword" + "text": "div", + "kind": "text" } ], "contextSpan": { @@ -357,7 +357,7 @@ "containerName": "", "fileName": "/tests/cases/fourslash/index.tsx", "kind": "alias", - "name": "(alias) const SubmissionComp: (submission: any) => any\nimport SubmissionComp", + "name": "(alias) const SubmissionComp: (submission: SubmissionProps) => div\nimport SubmissionComp", "textSpan": { "start": 9, "length": 14 @@ -416,8 +416,8 @@ "kind": "space" }, { - "text": "any", - "kind": "keyword" + "text": "SubmissionProps", + "kind": "text" }, { "text": ")", @@ -436,8 +436,8 @@ "kind": "space" }, { - "text": "any", - "kind": "keyword" + "text": "div", + "kind": "text" }, { "text": "\n", diff --git a/tests/baselines/reference/functionTypesLackingReturnTypes.symbols b/tests/baselines/reference/functionTypesLackingReturnTypes.symbols index 2229780a268f9..9092b78a70e44 100644 --- a/tests/baselines/reference/functionTypesLackingReturnTypes.symbols +++ b/tests/baselines/reference/functionTypesLackingReturnTypes.symbols @@ -3,11 +3,13 @@ function f(x: ()) { >f : Symbol(f, Decl(functionTypesLackingReturnTypes.ts, 0, 0)) >x : Symbol(x, Decl(functionTypesLackingReturnTypes.ts, 1, 11)) +> : Symbol(unknown) } // Error (no '=>') var g: (param); >g : Symbol(g, Decl(functionTypesLackingReturnTypes.ts, 5, 3)) +>param : Symbol(param) // Okay var h: { () } diff --git a/tests/baselines/reference/functionTypesLackingReturnTypes.types b/tests/baselines/reference/functionTypesLackingReturnTypes.types index 633c3e132e0fa..0e031c28a3916 100644 --- a/tests/baselines/reference/functionTypesLackingReturnTypes.types +++ b/tests/baselines/reference/functionTypesLackingReturnTypes.types @@ -7,7 +7,7 @@ function f(x: ()) { // Error (no '=>') var g: (param); ->g : any +>g : param // Okay var h: { () } diff --git a/tests/baselines/reference/genericCallWithGenericSignatureArguments2.symbols b/tests/baselines/reference/genericCallWithGenericSignatureArguments2.symbols index 5b8e0deb3c2e4..60ac168405ad2 100644 --- a/tests/baselines/reference/genericCallWithGenericSignatureArguments2.symbols +++ b/tests/baselines/reference/genericCallWithGenericSignatureArguments2.symbols @@ -289,6 +289,8 @@ module TU { >T : Symbol(T, Decl(genericCallWithGenericSignatureArguments2.ts, 66, 18)) >b : Symbol(b, Decl(genericCallWithGenericSignatureArguments2.ts, 66, 42)) >x : Symbol(x, Decl(genericCallWithGenericSignatureArguments2.ts, 66, 47)) +>U : Symbol(U) +>U : Symbol(U) var r: (x: T) => T; >r : Symbol(r, Decl(genericCallWithGenericSignatureArguments2.ts, 67, 11)) diff --git a/tests/baselines/reference/genericCallWithGenericSignatureArguments2.types b/tests/baselines/reference/genericCallWithGenericSignatureArguments2.types index 30394aa970f53..60eecb23fbc95 100644 --- a/tests/baselines/reference/genericCallWithGenericSignatureArguments2.types +++ b/tests/baselines/reference/genericCallWithGenericSignatureArguments2.types @@ -257,12 +257,12 @@ module TU { >A : F.A function foo3(x: T, a: (x: T) => T, b: (x: U) => U) { ->foo3 : (x: T, a: (x: T) => T, b: (x: any) => any) => (x: T) => T +>foo3 : (x: T, a: (x: T) => T, b: (x: U) => U) => (x: T) => T >x : T >a : (x: T) => T >x : T ->b : (x: any) => any ->x : any +>b : (x: U) => U +>x : U var r: (x: T) => T; >r : (x: T) => T @@ -275,7 +275,7 @@ module TU { var r7 = foo3(E.A, (x) => E.A, (x) => F.A); >r7 : (x: E) => E >foo3(E.A, (x) => E.A, (x) => F.A) : (x: E) => E ->foo3 : (x: T, a: (x: T) => T, b: (x: any) => any) => (x: T) => T +>foo3 : (x: T, a: (x: T) => T, b: (x: U) => U) => (x: T) => T >E.A : E >E : typeof E >A : E @@ -284,8 +284,8 @@ module TU { >E.A : E >E : typeof E >A : E ->(x) => F.A : (x: any) => F ->x : any +>(x) => F.A : (x: U) => F +>x : U >F.A : F >F : typeof F >A : F diff --git a/tests/baselines/reference/genericClassWithStaticsUsingTypeArguments.symbols b/tests/baselines/reference/genericClassWithStaticsUsingTypeArguments.symbols index f400590ed6d8e..8d1c9f9eaef35 100644 --- a/tests/baselines/reference/genericClassWithStaticsUsingTypeArguments.symbols +++ b/tests/baselines/reference/genericClassWithStaticsUsingTypeArguments.symbols @@ -7,26 +7,33 @@ class Foo { static a = (n: T) => { }; >a : Symbol(Foo.a, Decl(genericClassWithStaticsUsingTypeArguments.ts, 1, 14)) >n : Symbol(n, Decl(genericClassWithStaticsUsingTypeArguments.ts, 2, 16)) +>T : Symbol(T) static b: T; >b : Symbol(Foo.b, Decl(genericClassWithStaticsUsingTypeArguments.ts, 2, 29)) +>T : Symbol(T) static c: T[] = []; >c : Symbol(Foo.c, Decl(genericClassWithStaticsUsingTypeArguments.ts, 4, 16)) +>T : Symbol(T) static d = false || ((x: T) => x || undefined)(null) >d : Symbol(Foo.d, Decl(genericClassWithStaticsUsingTypeArguments.ts, 6, 23)) >x : Symbol(x, Decl(genericClassWithStaticsUsingTypeArguments.ts, 8, 26)) +>T : Symbol(T) >x : Symbol(x, Decl(genericClassWithStaticsUsingTypeArguments.ts, 8, 26)) >undefined : Symbol(undefined) static e = function (x: T) { return null; } >e : Symbol(Foo.e, Decl(genericClassWithStaticsUsingTypeArguments.ts, 8, 56)) >x : Symbol(x, Decl(genericClassWithStaticsUsingTypeArguments.ts, 10, 25)) +>T : Symbol(T) static f(xs: T[]): T[] { >f : Symbol(Foo.f, Decl(genericClassWithStaticsUsingTypeArguments.ts, 10, 47)) >xs : Symbol(xs, Decl(genericClassWithStaticsUsingTypeArguments.ts, 12, 13)) +>T : Symbol(T) +>T : Symbol(T) return xs.reverse(); >xs.reverse : Symbol(Array.reverse, Decl(lib.es5.d.ts, --, --)) diff --git a/tests/baselines/reference/genericClassWithStaticsUsingTypeArguments.types b/tests/baselines/reference/genericClassWithStaticsUsingTypeArguments.types index 16907d740637b..5a417fd478058 100644 --- a/tests/baselines/reference/genericClassWithStaticsUsingTypeArguments.types +++ b/tests/baselines/reference/genericClassWithStaticsUsingTypeArguments.types @@ -4,15 +4,15 @@ class Foo { >Foo : Foo static a = (n: T) => { }; ->a : (n: any) => void ->(n: T) => { } : (n: any) => void ->n : any +>a : (n: T) => void +>(n: T) => { } : (n: T) => void +>n : T static b: T; ->b : any +>b : T static c: T[] = []; ->c : any[] +>c : T[] >[] : undefined[] static d = false || ((x: T) => x || undefined)(null) @@ -20,29 +20,29 @@ class Foo { >false || ((x: T) => x || undefined)(null) : any >false : false >((x: T) => x || undefined)(null) : any ->((x: T) => x || undefined) : (x: any) => any ->(x: T) => x || undefined : (x: any) => any ->x : any +>((x: T) => x || undefined) : (x: T) => any +>(x: T) => x || undefined : (x: T) => any +>x : T >x || undefined : any ->x : any +>x : T >undefined : undefined >null : null static e = function (x: T) { return null; } ->e : (x: any) => any ->function (x: T) { return null; } : (x: any) => any ->x : any +>e : (x: T) => any +>function (x: T) { return null; } : (x: T) => any +>x : T >null : null static f(xs: T[]): T[] { >f : (xs: T[]) => T[] ->xs : any[] +>xs : T[] return xs.reverse(); ->xs.reverse() : any[] ->xs.reverse : () => any[] ->xs : any[] ->reverse : () => any[] +>xs.reverse() : T[] +>xs.reverse : () => T[] +>xs : T[] +>reverse : () => T[] } } diff --git a/tests/baselines/reference/genericDefaultsErrors.symbols b/tests/baselines/reference/genericDefaultsErrors.symbols index e6e5cb860622d..ec3b5a23de984 100644 --- a/tests/baselines/reference/genericDefaultsErrors.symbols +++ b/tests/baselines/reference/genericDefaultsErrors.symbols @@ -131,6 +131,7 @@ type i09t04 = i09<1, 2, 3, 4>; // error interface i10 { x: T; } // error >i10 : Symbol(i10, Decl(genericDefaultsErrors.ts, 35, 30), Decl(genericDefaultsErrors.ts, 37, 23)) >x : Symbol(i10.x, Decl(genericDefaultsErrors.ts, 37, 15)) +>T : Symbol(T) interface i10 {} >i10 : Symbol(i10, Decl(genericDefaultsErrors.ts, 35, 30), Decl(genericDefaultsErrors.ts, 37, 23)) diff --git a/tests/baselines/reference/genericDefaultsErrors.types b/tests/baselines/reference/genericDefaultsErrors.types index d72f7f0486342..2cd4d83c52732 100644 --- a/tests/baselines/reference/genericDefaultsErrors.types +++ b/tests/baselines/reference/genericDefaultsErrors.types @@ -79,7 +79,7 @@ type i09t04 = i09<1, 2, 3, 4>; // error >i09t04 : any interface i10 { x: T; } // error ->x : any +>x : T interface i10 {} diff --git a/tests/baselines/reference/genericFunduleInModule.symbols b/tests/baselines/reference/genericFunduleInModule.symbols index f170bd5a4ce47..9306acf3e997c 100644 --- a/tests/baselines/reference/genericFunduleInModule.symbols +++ b/tests/baselines/reference/genericFunduleInModule.symbols @@ -20,6 +20,7 @@ module A { var b: A.B; >b : Symbol(b, Decl(genericFunduleInModule.ts, 7, 3)) >A : Symbol(A, Decl(genericFunduleInModule.ts, 0, 0)) +>B : Symbol(A.B) A.B(1); >A.B : Symbol(A.B, Decl(genericFunduleInModule.ts, 0, 10), Decl(genericFunduleInModule.ts, 1, 44)) diff --git a/tests/baselines/reference/genericFunduleInModule.types b/tests/baselines/reference/genericFunduleInModule.types index ae6e0c4f0798e..b1011a95a2114 100644 --- a/tests/baselines/reference/genericFunduleInModule.types +++ b/tests/baselines/reference/genericFunduleInModule.types @@ -17,7 +17,7 @@ module A { } var b: A.B; ->b : any +>b : A.B >A : any A.B(1); diff --git a/tests/baselines/reference/genericFunduleInModule2.symbols b/tests/baselines/reference/genericFunduleInModule2.symbols index 80f10b2de0830..b1fb810c30e6f 100644 --- a/tests/baselines/reference/genericFunduleInModule2.symbols +++ b/tests/baselines/reference/genericFunduleInModule2.symbols @@ -24,6 +24,7 @@ module A { var b: A.B; >b : Symbol(b, Decl(genericFunduleInModule2.ts, 10, 3)) >A : Symbol(A, Decl(genericFunduleInModule2.ts, 0, 0), Decl(genericFunduleInModule2.ts, 2, 1)) +>B : Symbol(A.B) A.B(1); >A.B : Symbol(A.B, Decl(genericFunduleInModule2.ts, 0, 10), Decl(genericFunduleInModule2.ts, 4, 10)) diff --git a/tests/baselines/reference/genericFunduleInModule2.types b/tests/baselines/reference/genericFunduleInModule2.types index ce452f408ead0..6e93fd9def587 100644 --- a/tests/baselines/reference/genericFunduleInModule2.types +++ b/tests/baselines/reference/genericFunduleInModule2.types @@ -21,7 +21,7 @@ module A { } var b: A.B; ->b : any +>b : A.B >A : any A.B(1); diff --git a/tests/baselines/reference/genericMergedDeclarationUsingTypeParameter.symbols b/tests/baselines/reference/genericMergedDeclarationUsingTypeParameter.symbols index e86f8c818caf0..e60518f8fc709 100644 --- a/tests/baselines/reference/genericMergedDeclarationUsingTypeParameter.symbols +++ b/tests/baselines/reference/genericMergedDeclarationUsingTypeParameter.symbols @@ -15,8 +15,10 @@ module foo { export var x: T; >x : Symbol(x, Decl(genericMergedDeclarationUsingTypeParameter.ts, 2, 14)) +>T : Symbol(T) var y = 1; >y : Symbol(y, Decl(genericMergedDeclarationUsingTypeParameter.ts, 3, 7)) +>T : Symbol(T) } diff --git a/tests/baselines/reference/genericMergedDeclarationUsingTypeParameter.types b/tests/baselines/reference/genericMergedDeclarationUsingTypeParameter.types index 15d59da7f5259..acd650cc9d718 100644 --- a/tests/baselines/reference/genericMergedDeclarationUsingTypeParameter.types +++ b/tests/baselines/reference/genericMergedDeclarationUsingTypeParameter.types @@ -9,11 +9,11 @@ module foo { >foo : typeof foo export var x: T; ->x : any +>x : T var y = 1; ->y : any ->1 : any +>y : T +>1 : T >1 : 1 } diff --git a/tests/baselines/reference/genericMergedDeclarationUsingTypeParameter2.symbols b/tests/baselines/reference/genericMergedDeclarationUsingTypeParameter2.symbols index 6312b6cb80b63..ee7a068a5e8de 100644 --- a/tests/baselines/reference/genericMergedDeclarationUsingTypeParameter2.symbols +++ b/tests/baselines/reference/genericMergedDeclarationUsingTypeParameter2.symbols @@ -10,8 +10,10 @@ module foo { export var x: T; >x : Symbol(x, Decl(genericMergedDeclarationUsingTypeParameter2.ts, 2, 14)) +>T : Symbol(T) var y = 1; >y : Symbol(y, Decl(genericMergedDeclarationUsingTypeParameter2.ts, 3, 7)) +>T : Symbol(T) } diff --git a/tests/baselines/reference/genericMergedDeclarationUsingTypeParameter2.types b/tests/baselines/reference/genericMergedDeclarationUsingTypeParameter2.types index ac6dff32247c3..cde2666167d2d 100644 --- a/tests/baselines/reference/genericMergedDeclarationUsingTypeParameter2.types +++ b/tests/baselines/reference/genericMergedDeclarationUsingTypeParameter2.types @@ -7,11 +7,11 @@ module foo { >foo : typeof foo export var x: T; ->x : any +>x : T var y = 1; ->y : any ->1 : any +>y : T +>1 : T >1 : 1 } diff --git a/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument2.symbols b/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument2.symbols index 0a7419fe378a6..27729d3cbce42 100644 --- a/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument2.symbols +++ b/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument2.symbols @@ -109,6 +109,7 @@ function i(x: T) { } var j = null; >j : Symbol(j, Decl(genericTypeReferenceWithoutTypeArgument2.ts, 35, 3)) +>C : Symbol(C) var k = null; >k : Symbol(k, Decl(genericTypeReferenceWithoutTypeArgument2.ts, 36, 3)) diff --git a/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument2.types b/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument2.types index 8aaf6e9585cac..115e780061f26 100644 --- a/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument2.types +++ b/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument2.types @@ -77,8 +77,8 @@ function i(x: T) { } >x : T var j = null; ->j : any ->null : any +>j : C +>null : C >null : null var k = null; diff --git a/tests/baselines/reference/importClause_namespaceImport.symbols b/tests/baselines/reference/importClause_namespaceImport.symbols index fed01bae9d9ec..f33c3e0705ec4 100644 --- a/tests/baselines/reference/importClause_namespaceImport.symbols +++ b/tests/baselines/reference/importClause_namespaceImport.symbols @@ -30,6 +30,7 @@ types.Value; let v: types.Value; >v : Symbol(v, Decl(b.ts, 3, 3)) >types : Symbol(types, Decl(b.ts, 0, 11)) +>Value : Symbol(types.Value) const a: types.A = {}; >a : Symbol(a, Decl(b.ts, 4, 5)) diff --git a/tests/baselines/reference/importClause_namespaceImport.types b/tests/baselines/reference/importClause_namespaceImport.types index e0f0c7c35751d..d2ac9b7b8dacb 100644 --- a/tests/baselines/reference/importClause_namespaceImport.types +++ b/tests/baselines/reference/importClause_namespaceImport.types @@ -27,7 +27,7 @@ types.Value; >Value : {} let v: types.Value; ->v : any +>v : types.Value >types : any const a: types.A = {}; diff --git a/tests/baselines/reference/importDeclWithClassModifiers.types b/tests/baselines/reference/importDeclWithClassModifiers.types index 2103787bb442f..0d03b74322cc1 100644 --- a/tests/baselines/reference/importDeclWithClassModifiers.types +++ b/tests/baselines/reference/importDeclWithClassModifiers.types @@ -19,5 +19,5 @@ export static import c = x.c; >c : any var b: a; ->b : any +>b : a diff --git a/tests/baselines/reference/importDeclWithDeclareModifier.types b/tests/baselines/reference/importDeclWithDeclareModifier.types index 9f2426977cfcf..eb1b905e00ce6 100644 --- a/tests/baselines/reference/importDeclWithDeclareModifier.types +++ b/tests/baselines/reference/importDeclWithDeclareModifier.types @@ -9,5 +9,5 @@ declare export import a = x.c; >c : any var b: a; ->b : any +>b : a diff --git a/tests/baselines/reference/importDeclWithExportModifier.types b/tests/baselines/reference/importDeclWithExportModifier.types index 4953a37d1e6da..1b26a20bcc01d 100644 --- a/tests/baselines/reference/importDeclWithExportModifier.types +++ b/tests/baselines/reference/importDeclWithExportModifier.types @@ -9,5 +9,5 @@ export import a = x.c; >c : any var b: a; ->b : any +>b : a diff --git a/tests/baselines/reference/importedModuleAddToGlobal.symbols b/tests/baselines/reference/importedModuleAddToGlobal.symbols index 6110baedce187..9b26b268e6643 100644 --- a/tests/baselines/reference/importedModuleAddToGlobal.symbols +++ b/tests/baselines/reference/importedModuleAddToGlobal.symbols @@ -33,4 +33,6 @@ module C { function hello(): b.B { return null; } >hello : Symbol(hello, Decl(importedModuleAddToGlobal.ts, 13, 17)) +>b : Symbol(b) +>B : Symbol(b.B) } diff --git a/tests/baselines/reference/importedModuleAddToGlobal.types b/tests/baselines/reference/importedModuleAddToGlobal.types index 1c900b0c307e6..a0bd6f25c3034 100644 --- a/tests/baselines/reference/importedModuleAddToGlobal.types +++ b/tests/baselines/reference/importedModuleAddToGlobal.types @@ -30,7 +30,7 @@ module C { >A : any function hello(): b.B { return null; } ->hello : () => any +>hello : () => b.B >b : any >null : null } diff --git a/tests/baselines/reference/indexSignatures1.symbols b/tests/baselines/reference/indexSignatures1.symbols index 3a2ed98c516eb..e0920a0a7dfea 100644 --- a/tests/baselines/reference/indexSignatures1.symbols +++ b/tests/baselines/reference/indexSignatures1.symbols @@ -594,9 +594,11 @@ const obj10 = { ['x']: 0 as const, >['x'] : Symbol(['x'], Decl(indexSignatures1.ts, 203, 15)) >'x' : Symbol(['x'], Decl(indexSignatures1.ts, 203, 15)) +>const : Symbol(const) ['a' + 'b']: 1 as const, >['a' + 'b'] : Symbol(['a' + 'b'], Decl(indexSignatures1.ts, 204, 22)) +>const : Symbol(const) }; @@ -606,9 +608,11 @@ const obj11 = { [1]: 2 as const, >[1] : Symbol([1], Decl(indexSignatures1.ts, 208, 15)) >1 : Symbol([1], Decl(indexSignatures1.ts, 208, 15)) +>const : Symbol(const) [1 + 2]: 3 as const, >[1 + 2] : Symbol([1 + 2], Decl(indexSignatures1.ts, 209, 20)) +>const : Symbol(const) }; @@ -618,10 +622,12 @@ const obj12 = { [sym]: 4 as const, >[sym] : Symbol([sym], Decl(indexSignatures1.ts, 213, 15)) >sym : Symbol(sym, Decl(indexSignatures1.ts, 2, 5)) +>const : Symbol(const) [Symbol()]: 5 as const, >[Symbol()] : Symbol([Symbol()], Decl(indexSignatures1.ts, 214, 22)) >Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2019.symbol.d.ts, --, --)) +>const : Symbol(const) }; @@ -631,24 +637,30 @@ const obj13 = { ['x']: 0 as const, >['x'] : Symbol(['x'], Decl(indexSignatures1.ts, 218, 15)) >'x' : Symbol(['x'], Decl(indexSignatures1.ts, 218, 15)) +>const : Symbol(const) ['a' + 'b']: 1 as const, >['a' + 'b'] : Symbol(['a' + 'b'], Decl(indexSignatures1.ts, 219, 22)) +>const : Symbol(const) [1]: 2 as const, >[1] : Symbol([1], Decl(indexSignatures1.ts, 220, 28)) >1 : Symbol([1], Decl(indexSignatures1.ts, 220, 28)) +>const : Symbol(const) [1 + 2]: 3 as const, >[1 + 2] : Symbol([1 + 2], Decl(indexSignatures1.ts, 221, 20)) +>const : Symbol(const) [sym]: 4 as const, >[sym] : Symbol([sym], Decl(indexSignatures1.ts, 222, 24)) >sym : Symbol(sym, Decl(indexSignatures1.ts, 2, 5)) +>const : Symbol(const) [Symbol()]: 5 as const, >[Symbol()] : Symbol([Symbol()], Decl(indexSignatures1.ts, 223, 22)) >Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2019.symbol.d.ts, --, --)) +>const : Symbol(const) }; diff --git a/tests/baselines/reference/inferTypes1.symbols b/tests/baselines/reference/inferTypes1.symbols index a7e2b0ac5d8f6..7e79885184007 100644 --- a/tests/baselines/reference/inferTypes1.symbols +++ b/tests/baselines/reference/inferTypes1.symbols @@ -360,8 +360,10 @@ type T61 = infer A extends infer B ? infer C : infer D; // Error type T62 = U extends (infer U)[] ? U : U; // Error >T62 : Symbol(T62, Decl(inferTypes1.ts, 82, 58)) >T : Symbol(T, Decl(inferTypes1.ts, 83, 9)) +>U : Symbol(U) >U : Symbol(U, Decl(inferTypes1.ts, 83, 30)) >U : Symbol(U, Decl(inferTypes1.ts, 83, 30)) +>U : Symbol(U) type T63 = T extends (infer A extends infer B ? infer C : infer D) ? string : number; >T63 : Symbol(T63, Decl(inferTypes1.ts, 83, 44)) diff --git a/tests/baselines/reference/innerAliases.symbols b/tests/baselines/reference/innerAliases.symbols index aff22ca7de500..4171b40cd1ad4 100644 --- a/tests/baselines/reference/innerAliases.symbols +++ b/tests/baselines/reference/innerAliases.symbols @@ -40,6 +40,8 @@ module D { var c: D.inner.Class1; >c : Symbol(c, Decl(innerAliases.ts, 18, 3)) >D : Symbol(D, Decl(innerAliases.ts, 6, 1)) +>inner : Symbol(D.inner) +>Class1 : Symbol(D.inner.Class1) c = new D.inner.Class1(); >c : Symbol(c, Decl(innerAliases.ts, 18, 3)) diff --git a/tests/baselines/reference/innerAliases.types b/tests/baselines/reference/innerAliases.types index 407bb0caa02ae..773853dea06ca 100644 --- a/tests/baselines/reference/innerAliases.types +++ b/tests/baselines/reference/innerAliases.types @@ -39,13 +39,13 @@ module D { } var c: D.inner.Class1; ->c : any +>c : D.inner.Class1 >D : any >inner : any c = new D.inner.Class1(); >c = new D.inner.Class1() : any ->c : any +>c : D.inner.Class1 >new D.inner.Class1() : any >D.inner.Class1 : any >D.inner : any diff --git a/tests/baselines/reference/instantiateTypeParameter.symbols b/tests/baselines/reference/instantiateTypeParameter.symbols index 75726737dca61..e08af62e746cd 100644 --- a/tests/baselines/reference/instantiateTypeParameter.symbols +++ b/tests/baselines/reference/instantiateTypeParameter.symbols @@ -5,4 +5,5 @@ interface Foo { var x: T<>; >x : Symbol(x, Decl(instantiateTypeParameter.ts, 1, 7)) +>T : Symbol(T) } diff --git a/tests/baselines/reference/instantiateTypeParameter.types b/tests/baselines/reference/instantiateTypeParameter.types index 66cf5c9bb12df..b7ccaa789e617 100644 --- a/tests/baselines/reference/instantiateTypeParameter.types +++ b/tests/baselines/reference/instantiateTypeParameter.types @@ -1,5 +1,5 @@ === tests/cases/compiler/instantiateTypeParameter.ts === interface Foo { var x: T<>; ->x : any +>x : T } diff --git a/tests/baselines/reference/internalAliasInterfaceInsideLocalModuleWithoutExportAccessError.symbols b/tests/baselines/reference/internalAliasInterfaceInsideLocalModuleWithoutExportAccessError.symbols index b3f9131bd3889..6354d28d73139 100644 --- a/tests/baselines/reference/internalAliasInterfaceInsideLocalModuleWithoutExportAccessError.symbols +++ b/tests/baselines/reference/internalAliasInterfaceInsideLocalModuleWithoutExportAccessError.symbols @@ -23,4 +23,5 @@ export module c { var x: c.b; >x : Symbol(x, Decl(internalAliasInterfaceInsideLocalModuleWithoutExportAccessError.ts, 10, 3)) >c : Symbol(c, Decl(internalAliasInterfaceInsideLocalModuleWithoutExportAccessError.ts, 3, 1)) +>b : Symbol(c.b) diff --git a/tests/baselines/reference/internalAliasInterfaceInsideLocalModuleWithoutExportAccessError.types b/tests/baselines/reference/internalAliasInterfaceInsideLocalModuleWithoutExportAccessError.types index bd6eec774908f..cc49d119525c4 100644 --- a/tests/baselines/reference/internalAliasInterfaceInsideLocalModuleWithoutExportAccessError.types +++ b/tests/baselines/reference/internalAliasInterfaceInsideLocalModuleWithoutExportAccessError.types @@ -17,6 +17,6 @@ export module c { } var x: c.b; ->x : any +>x : c.b >c : any diff --git a/tests/baselines/reference/internalAliasUninitializedModuleInsideLocalModuleWithoutExportAccessError.symbols b/tests/baselines/reference/internalAliasUninitializedModuleInsideLocalModuleWithoutExportAccessError.symbols index 4d2b77acc3be9..9157903d2de37 100644 --- a/tests/baselines/reference/internalAliasUninitializedModuleInsideLocalModuleWithoutExportAccessError.symbols +++ b/tests/baselines/reference/internalAliasUninitializedModuleInsideLocalModuleWithoutExportAccessError.symbols @@ -37,4 +37,6 @@ export module c { export var z: c.b.I; >z : Symbol(z, Decl(internalAliasUninitializedModuleInsideLocalModuleWithoutExportAccessError.ts, 15, 10)) >c : Symbol(c, Decl(internalAliasUninitializedModuleInsideLocalModuleWithoutExportAccessError.ts, 6, 1)) +>b : Symbol(c.b) +>I : Symbol(c.b.I) diff --git a/tests/baselines/reference/internalAliasUninitializedModuleInsideLocalModuleWithoutExportAccessError.types b/tests/baselines/reference/internalAliasUninitializedModuleInsideLocalModuleWithoutExportAccessError.types index 35d7ea51187b7..657a212c21114 100644 --- a/tests/baselines/reference/internalAliasUninitializedModuleInsideLocalModuleWithoutExportAccessError.types +++ b/tests/baselines/reference/internalAliasUninitializedModuleInsideLocalModuleWithoutExportAccessError.types @@ -29,7 +29,7 @@ export module c { export var z: c.b.I; ->z : any +>z : c.b.I >c : any >b : any diff --git a/tests/baselines/reference/intrinsicKeyword.symbols b/tests/baselines/reference/intrinsicKeyword.symbols index ef61b04409b84..09873e955d663 100644 --- a/tests/baselines/reference/intrinsicKeyword.symbols +++ b/tests/baselines/reference/intrinsicKeyword.symbols @@ -1,13 +1,16 @@ === tests/cases/conformance/types/typeAliases/intrinsicKeyword.ts === let e1: intrinsic; >e1 : Symbol(e1, Decl(intrinsicKeyword.ts, 0, 3)) +>intrinsic : Symbol(intrinsic) let e2: { intrinsic: intrinsic }; >e2 : Symbol(e2, Decl(intrinsicKeyword.ts, 1, 3)) >intrinsic : Symbol(intrinsic, Decl(intrinsicKeyword.ts, 1, 9)) +>intrinsic : Symbol(intrinsic) type TE1 = (intrinsic); >TE1 : Symbol(TE1, Decl(intrinsicKeyword.ts, 1, 33)) +>intrinsic : Symbol(intrinsic) type TE2 = intrinsic; >TE2 : Symbol(TE2, Decl(intrinsicKeyword.ts, 2, 23)) @@ -16,6 +19,7 @@ type TE2 = intrinsic; type TE3 = T; >TE3 : Symbol(TE3, Decl(intrinsicKeyword.ts, 3, 32)) >T : Symbol(T, Decl(intrinsicKeyword.ts, 4, 9)) +>intrinsic : Symbol(intrinsic) >T : Symbol(T, Decl(intrinsicKeyword.ts, 4, 9)) type TE4 = intrinsic; @@ -34,6 +38,8 @@ function f1() { let intrinsic: intrinsic.intrinsic; >intrinsic : Symbol(intrinsic, Decl(intrinsicKeyword.ts, 9, 7)) +>intrinsic : Symbol(intrinsic) +>intrinsic : Symbol(intrinsic.intrinsic) } function f2(intrinsic: string) { diff --git a/tests/baselines/reference/intrinsicKeyword.types b/tests/baselines/reference/intrinsicKeyword.types index b1fb4a480ce10..713d38f944859 100644 --- a/tests/baselines/reference/intrinsicKeyword.types +++ b/tests/baselines/reference/intrinsicKeyword.types @@ -1,13 +1,13 @@ === tests/cases/conformance/types/typeAliases/intrinsicKeyword.ts === let e1: intrinsic; ->e1 : any +>e1 : intrinsic let e2: { intrinsic: intrinsic }; ->e2 : { intrinsic: any; } ->intrinsic : any +>e2 : { intrinsic: intrinsic; } +>intrinsic : intrinsic type TE1 = (intrinsic); ->TE1 : any +>TE1 : intrinsic type TE2 = intrinsic; >TE2 : intrinsic @@ -25,7 +25,7 @@ function f1() { >f1 : () => void let intrinsic: intrinsic.intrinsic; ->intrinsic : any +>intrinsic : intrinsic.intrinsic >intrinsic : any } diff --git a/tests/baselines/reference/intrinsics.symbols b/tests/baselines/reference/intrinsics.symbols index 2a80ea210cfe5..2b66379455ce2 100644 --- a/tests/baselines/reference/intrinsics.symbols +++ b/tests/baselines/reference/intrinsics.symbols @@ -1,6 +1,7 @@ === tests/cases/compiler/intrinsics.ts === var hasOwnProperty: hasOwnProperty; // Error >hasOwnProperty : Symbol(hasOwnProperty, Decl(intrinsics.ts, 0, 3)) +>hasOwnProperty : Symbol(hasOwnProperty) module m1 { >m1 : Symbol(m1, Decl(intrinsics.ts, 0, 35)) diff --git a/tests/baselines/reference/intrinsics.types b/tests/baselines/reference/intrinsics.types index 7f7fd50e332f6..43af4f0069d9e 100644 --- a/tests/baselines/reference/intrinsics.types +++ b/tests/baselines/reference/intrinsics.types @@ -1,6 +1,6 @@ === tests/cases/compiler/intrinsics.ts === var hasOwnProperty: hasOwnProperty; // Error ->hasOwnProperty : any +>hasOwnProperty : hasOwnProperty module m1 { >m1 : typeof m1 diff --git a/tests/baselines/reference/invalidInstantiatedModule.symbols b/tests/baselines/reference/invalidInstantiatedModule.symbols index bbe7d29c77bf4..1659adbb8baed 100644 --- a/tests/baselines/reference/invalidInstantiatedModule.symbols +++ b/tests/baselines/reference/invalidInstantiatedModule.symbols @@ -29,6 +29,8 @@ var m = M2; var p: m.Point; // Error >p : Symbol(p, Decl(invalidInstantiatedModule.ts, 11, 3)) +>m : Symbol(m) +>Point : Symbol(m.Point) diff --git a/tests/baselines/reference/invalidInstantiatedModule.types b/tests/baselines/reference/invalidInstantiatedModule.types index bf6a2d1e2f134..f30ef993e43e5 100644 --- a/tests/baselines/reference/invalidInstantiatedModule.types +++ b/tests/baselines/reference/invalidInstantiatedModule.types @@ -29,7 +29,7 @@ var m = M2; >M2 : typeof M2 var p: m.Point; // Error ->p : any +>p : m.Point >m : any diff --git a/tests/baselines/reference/invalidSymbolInTypeParameter1.symbols b/tests/baselines/reference/invalidSymbolInTypeParameter1.symbols index 573cbc5e737cb..84beed256aa97 100644 --- a/tests/baselines/reference/invalidSymbolInTypeParameter1.symbols +++ b/tests/baselines/reference/invalidSymbolInTypeParameter1.symbols @@ -5,5 +5,6 @@ function test() { var cats = new Array(); // WAWA is not a valid type >cats : Symbol(cats, Decl(invalidSymbolInTypeParameter1.ts, 1, 7)) >Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) +>WAWA : Symbol(WAWA) } diff --git a/tests/baselines/reference/invalidSymbolInTypeParameter1.types b/tests/baselines/reference/invalidSymbolInTypeParameter1.types index 72844e2e8ff70..67b53981ad7aa 100644 --- a/tests/baselines/reference/invalidSymbolInTypeParameter1.types +++ b/tests/baselines/reference/invalidSymbolInTypeParameter1.types @@ -3,8 +3,8 @@ function test() { >test : () => void var cats = new Array(); // WAWA is not a valid type ->cats : any[] ->new Array() : any[] +>cats : WAWA[] +>new Array() : WAWA[] >Array : ArrayConstructor } diff --git a/tests/baselines/reference/invalidUseOfTypeAsNamespace.symbols b/tests/baselines/reference/invalidUseOfTypeAsNamespace.symbols index 0c9203037ef9e..b8879f3e42eaf 100644 --- a/tests/baselines/reference/invalidUseOfTypeAsNamespace.symbols +++ b/tests/baselines/reference/invalidUseOfTypeAsNamespace.symbols @@ -5,4 +5,6 @@ interface OhNo { declare let y: OhNo.hello; >y : Symbol(y, Decl(invalidUseOfTypeAsNamespace.ts, 3, 11)) +>OhNo : Symbol(OhNo) +>hello : Symbol(OhNo.hello) diff --git a/tests/baselines/reference/invalidUseOfTypeAsNamespace.types b/tests/baselines/reference/invalidUseOfTypeAsNamespace.types index 859efb0e34254..f1491b3610840 100644 --- a/tests/baselines/reference/invalidUseOfTypeAsNamespace.types +++ b/tests/baselines/reference/invalidUseOfTypeAsNamespace.types @@ -3,6 +3,6 @@ interface OhNo { } declare let y: OhNo.hello; ->y : any +>y : OhNo.hello >OhNo : any diff --git a/tests/baselines/reference/jsDeclarationsJSDocRedirectedLookups.js b/tests/baselines/reference/jsDeclarationsJSDocRedirectedLookups.js index 294407154c3f3..a56944c921d6d 100644 --- a/tests/baselines/reference/jsDeclarationsJSDocRedirectedLookups.js +++ b/tests/baselines/reference/jsDeclarationsJSDocRedirectedLookups.js @@ -74,9 +74,52 @@ /** @type {Object} */ declare const k: { [x: string]: string; }; -/** @type {class} */ declare const l: any; -/** @type {bool} */ declare const m: any; -/** @type {int} */ declare const n: any; -/** @type {float} */ declare const o: any; -/** @type {integer} */ declare const p: any; +/** @type {class} */ declare const l: class; +/** @type {bool} */ declare const m: bool; +/** @type {int} */ declare const n: int; +/** @type {float} */ declare const o: float; +/** @type {integer} */ declare const p: integer; /** @type {event} */ declare const q: Event | undefined; + + +//// [DtsFileErrors] + + +out/index.d.ts(14,39): error TS2304: Cannot find name 'class'. +out/index.d.ts(15,38): error TS2304: Cannot find name 'bool'. +out/index.d.ts(16,37): error TS2304: Cannot find name 'int'. +out/index.d.ts(17,39): error TS2304: Cannot find name 'float'. +out/index.d.ts(18,41): error TS2304: Cannot find name 'integer'. + + +==== ./out/index.d.ts (5 errors) ==== + /** @type {String} */ declare const a: string; + /** @type {Number} */ declare const b: number; + /** @type {Boolean} */ declare const c: boolean; + /** @type {Void} */ declare const d: void; + /** @type {Undefined} */ declare const e: undefined; + /** @type {Null} */ declare const f: null; + /** @type {Function} */ declare const g: Function; + /** @type {function} */ declare const h: Function; + /** @type {array} */ declare const i: any[]; + /** @type {promise} */ declare const j: Promise; + /** @type {Object} */ declare const k: { + [x: string]: string; + }; + /** @type {class} */ declare const l: class; + ~~~~~ +!!! error TS2304: Cannot find name 'class'. + /** @type {bool} */ declare const m: bool; + ~~~~ +!!! error TS2304: Cannot find name 'bool'. + /** @type {int} */ declare const n: int; + ~~~ +!!! error TS2304: Cannot find name 'int'. + /** @type {float} */ declare const o: float; + ~~~~~ +!!! error TS2304: Cannot find name 'float'. + /** @type {integer} */ declare const p: integer; + ~~~~~~~ +!!! error TS2304: Cannot find name 'integer'. + /** @type {event} */ declare const q: Event | undefined; + \ No newline at end of file diff --git a/tests/baselines/reference/jsFileCompilationTypeAliasSyntax.symbols b/tests/baselines/reference/jsFileCompilationTypeAliasSyntax.symbols index aebada0ad90e2..72f8ba5ec3330 100644 --- a/tests/baselines/reference/jsFileCompilationTypeAliasSyntax.symbols +++ b/tests/baselines/reference/jsFileCompilationTypeAliasSyntax.symbols @@ -1,4 +1,5 @@ === tests/cases/compiler/a.js === type a = b; >a : Symbol(a, Decl(a.js, 0, 0)) +>b : Symbol(b) diff --git a/tests/baselines/reference/jsFileCompilationTypeAliasSyntax.types b/tests/baselines/reference/jsFileCompilationTypeAliasSyntax.types index a839fa5194c23..47578bbcf35ee 100644 --- a/tests/baselines/reference/jsFileCompilationTypeAliasSyntax.types +++ b/tests/baselines/reference/jsFileCompilationTypeAliasSyntax.types @@ -1,4 +1,4 @@ === tests/cases/compiler/a.js === type a = b; ->a : any +>a : b diff --git a/tests/baselines/reference/jsdocInTypeScript.symbols b/tests/baselines/reference/jsdocInTypeScript.symbols index 3b56fe3b8480b..cd748c5c69c09 100644 --- a/tests/baselines/reference/jsdocInTypeScript.symbols +++ b/tests/baselines/reference/jsdocInTypeScript.symbols @@ -24,6 +24,7 @@ x.prop; */ declare const myType: MyType; // should error, no such type >myType : Symbol(myType, Decl(jsdocInTypeScript.ts, 15, 13)) +>MyType : Symbol(MyType) // @param type has no effect. /** diff --git a/tests/baselines/reference/jsdocInTypeScript.types b/tests/baselines/reference/jsdocInTypeScript.types index 0b4bb8192cbe2..e3d2f011de297 100644 --- a/tests/baselines/reference/jsdocInTypeScript.types +++ b/tests/baselines/reference/jsdocInTypeScript.types @@ -22,7 +22,7 @@ x.prop; * @property {string} yes */ declare const myType: MyType; // should error, no such type ->myType : any +>myType : MyType // @param type has no effect. /** diff --git a/tests/baselines/reference/jsdocOuterTypeParameters1.types b/tests/baselines/reference/jsdocOuterTypeParameters1.types index cf50a32b8411a..8745e26a9f54b 100644 --- a/tests/baselines/reference/jsdocOuterTypeParameters1.types +++ b/tests/baselines/reference/jsdocOuterTypeParameters1.types @@ -1,15 +1,15 @@ === tests/cases/conformance/jsdoc/jsdocOuterTypeParameters1.js === /** @return {T} */ const dedupingMixin = function(mixin) {}; ->dedupingMixin : (mixin: any) => any ->function(mixin) {} : (mixin: any) => any +>dedupingMixin : (mixin: any) => T +>function(mixin) {} : (mixin: any) => T >mixin : any /** @template {T} */ const PropertyAccessors = dedupingMixin(() => { ->PropertyAccessors : any ->dedupingMixin(() => { class Bar { static bar() { this.prototype.foo(); } }}) : any ->dedupingMixin : (mixin: any) => any +>PropertyAccessors : T +>dedupingMixin(() => { class Bar { static bar() { this.prototype.foo(); } }}) : T +>dedupingMixin : (mixin: any) => T >() => { class Bar { static bar() { this.prototype.foo(); } }} : () => void class Bar { diff --git a/tests/baselines/reference/jsdocParameterParsingInfiniteLoop.types b/tests/baselines/reference/jsdocParameterParsingInfiniteLoop.types index 8c1acaabf0d24..54c89d37494d5 100644 --- a/tests/baselines/reference/jsdocParameterParsingInfiniteLoop.types +++ b/tests/baselines/reference/jsdocParameterParsingInfiniteLoop.types @@ -4,5 +4,5 @@ * @type {function(@foo)} */ let x; ->x : (arg0: any, arg1: any) => any +>x : (arg0: any, arg1: foo) => any diff --git a/tests/baselines/reference/jsdocResolveNameFailureInTypedef.types b/tests/baselines/reference/jsdocResolveNameFailureInTypedef.types index 4d88a942fe9d0..c90ea7f49fd43 100644 --- a/tests/baselines/reference/jsdocResolveNameFailureInTypedef.types +++ b/tests/baselines/reference/jsdocResolveNameFailureInTypedef.types @@ -3,8 +3,8 @@ * @param {Ty} x */ function f(x) {} ->f : (x: any) => void ->x : any +>f : (x: CantResolveThis) => void +>x : CantResolveThis /** * @typedef {CantResolveThis} Ty diff --git a/tests/baselines/reference/jsxIntrinsicElementsTypeArgumentErrors.symbols b/tests/baselines/reference/jsxIntrinsicElementsTypeArgumentErrors.symbols index f7d660158aa40..8735fa577c87c 100644 --- a/tests/baselines/reference/jsxIntrinsicElementsTypeArgumentErrors.symbols +++ b/tests/baselines/reference/jsxIntrinsicElementsTypeArgumentErrors.symbols @@ -17,11 +17,14 @@ const b = >
; // trailing comma type args const c = >
; // nonexistant type args >c : Symbol(c, Decl(jsxIntrinsicElementsTypeArgumentErrors.tsx, 8, 5)) >div : Symbol(JSX.IntrinsicElements.div, Decl(react16.d.ts, 2546, 114)) +>Missing : Symbol(Missing) >div : Symbol(JSX.IntrinsicElements.div, Decl(react16.d.ts, 2546, 114)) const d = >>
; // nested missing type args >d : Symbol(d, Decl(jsxIntrinsicElementsTypeArgumentErrors.tsx, 10, 5)) >div : Symbol(JSX.IntrinsicElements.div, Decl(react16.d.ts, 2546, 114)) +>Missing : Symbol(Missing) +>AlsoMissing : Symbol(AlsoMissing) >div : Symbol(JSX.IntrinsicElements.div, Decl(react16.d.ts, 2546, 114)) const e = >>
; // existing but incorrect nested type args @@ -47,10 +50,13 @@ const h = />; // trailing comma type args const i = />; // nonexistant type args >i : Symbol(i, Decl(jsxIntrinsicElementsTypeArgumentErrors.tsx, 21, 5)) >div : Symbol(JSX.IntrinsicElements.div, Decl(react16.d.ts, 2546, 114)) +>Missing : Symbol(Missing) const j = >/>; // nested missing type args >j : Symbol(j, Decl(jsxIntrinsicElementsTypeArgumentErrors.tsx, 23, 5)) >div : Symbol(JSX.IntrinsicElements.div, Decl(react16.d.ts, 2546, 114)) +>Missing : Symbol(Missing) +>AlsoMissing : Symbol(AlsoMissing) const k = >/>; // existing but incorrect nested type args >k : Symbol(k, Decl(jsxIntrinsicElementsTypeArgumentErrors.tsx, 25, 5)) diff --git a/tests/baselines/reference/jsxUnclosedParserRecovery.symbols b/tests/baselines/reference/jsxUnclosedParserRecovery.symbols index 5aa92ab78b593..eae234a0a1c6e 100644 --- a/tests/baselines/reference/jsxUnclosedParserRecovery.symbols +++ b/tests/baselines/reference/jsxUnclosedParserRecovery.symbols @@ -120,6 +120,8 @@ var donkey =
< +>diddy : Symbol(diddy) +
; function noNameTrailingTag() { } >noNameTrailingTag : Symbol(noNameTrailingTag, Decl(jsxParserRecovery.tsx, 49, 7)) @@ -129,6 +131,8 @@ var donkey =
+>diddy : Symbol(diddy) +
; function noCloseTrailingTag() { } >noCloseTrailingTag : Symbol(noCloseTrailingTag, Decl(jsxParserRecovery.tsx, 54, 7)) diff --git a/tests/baselines/reference/keyofAndIndexedAccess2.symbols b/tests/baselines/reference/keyofAndIndexedAccess2.symbols index 58b5f470c030b..1c3758c137d3e 100644 --- a/tests/baselines/reference/keyofAndIndexedAccess2.symbols +++ b/tests/baselines/reference/keyofAndIndexedAccess2.symbols @@ -568,6 +568,7 @@ type Qux> = { [K in keyof Q]: T[Q[K]["0"]] }; const actions = ['resizeTo', 'resizeBy'] as const; >actions : Symbol(actions, Decl(keyofAndIndexedAccess2.ts, 160, 5)) +>const : Symbol(const) for (const action of actions) { >action : Symbol(action, Decl(keyofAndIndexedAccess2.ts, 161, 10)) diff --git a/tests/baselines/reference/keyofAndIndexedAccessErrors.symbols b/tests/baselines/reference/keyofAndIndexedAccessErrors.symbols index 3c11ae4d744fe..973e68dccd2f9 100644 --- a/tests/baselines/reference/keyofAndIndexedAccessErrors.symbols +++ b/tests/baselines/reference/keyofAndIndexedAccessErrors.symbols @@ -23,6 +23,7 @@ type Dictionary = { [x: string]: T }; type T00 = keyof K0; // Error >T00 : Symbol(T00, Decl(keyofAndIndexedAccessErrors.ts, 7, 40)) +>K0 : Symbol(K0) type T01 = keyof Object; >T01 : Symbol(T01, Decl(keyofAndIndexedAccessErrors.ts, 9, 20)) diff --git a/tests/baselines/reference/lambdaArgCrash.errors.txt b/tests/baselines/reference/lambdaArgCrash.errors.txt index bf1c4dd01bd03..1ca180c793728 100644 --- a/tests/baselines/reference/lambdaArgCrash.errors.txt +++ b/tests/baselines/reference/lambdaArgCrash.errors.txt @@ -1,5 +1,5 @@ tests/cases/compiler/lambdaArgCrash.ts(27,25): error TS2304: Cannot find name 'ItemSet'. -tests/cases/compiler/lambdaArgCrash.ts(29,14): error TS2345: Argument of type '(items: any) => void' is not assignable to parameter of type '() => any'. +tests/cases/compiler/lambdaArgCrash.ts(29,14): error TS2345: Argument of type '(items: ItemSet) => void' is not assignable to parameter of type '() => any'. ==== tests/cases/compiler/lambdaArgCrash.ts (2 errors) ==== @@ -35,7 +35,7 @@ tests/cases/compiler/lambdaArgCrash.ts(29,14): error TS2345: Argument of type '( super.add(listener); ~~~~~~~~ -!!! error TS2345: Argument of type '(items: any) => void' is not assignable to parameter of type '() => any'. +!!! error TS2345: Argument of type '(items: ItemSet) => void' is not assignable to parameter of type '() => any'. } diff --git a/tests/baselines/reference/lambdaArgCrash.symbols b/tests/baselines/reference/lambdaArgCrash.symbols index dc1187f4be509..3fa85a8140fb1 100644 --- a/tests/baselines/reference/lambdaArgCrash.symbols +++ b/tests/baselines/reference/lambdaArgCrash.symbols @@ -44,6 +44,7 @@ class ItemSetEvent extends Event { >add : Symbol(ItemSetEvent.add, Decl(lambdaArgCrash.ts, 24, 34)) >listener : Symbol(listener, Decl(lambdaArgCrash.ts, 26, 6)) >items : Symbol(items, Decl(lambdaArgCrash.ts, 26, 17)) +>ItemSet : Symbol(ItemSet) super.add(listener); >super.add : Symbol(Event.add, Decl(lambdaArgCrash.ts, 10, 2)) diff --git a/tests/baselines/reference/lambdaArgCrash.types b/tests/baselines/reference/lambdaArgCrash.types index 801a579662ee6..534d2838a3999 100644 --- a/tests/baselines/reference/lambdaArgCrash.types +++ b/tests/baselines/reference/lambdaArgCrash.types @@ -45,16 +45,16 @@ class ItemSetEvent extends Event { >Event : Event add(listener: (items: ItemSet) => void ) { ->add : (listener: (items: any) => void) => void ->listener : (items: any) => void ->items : any +>add : (listener: (items: ItemSet) => void) => void +>listener : (items: ItemSet) => void +>items : ItemSet super.add(listener); >super.add(listener) : void >super.add : (listener: () => any) => void >super : Event >add : (listener: () => any) => void ->listener : (items: any) => void +>listener : (items: ItemSet) => void } diff --git a/tests/baselines/reference/literalTypesAndDestructuring.symbols b/tests/baselines/reference/literalTypesAndDestructuring.symbols index e8baec7979ded..969cddf90c37a 100644 --- a/tests/baselines/reference/literalTypesAndDestructuring.symbols +++ b/tests/baselines/reference/literalTypesAndDestructuring.symbols @@ -21,6 +21,7 @@ let { a: a3 = 2 } = x; let { a: a4 = 2 as const } = x; >a : Symbol(a, Decl(literalTypesAndDestructuring.ts, 0, 16)) >a4 : Symbol(a4, Decl(literalTypesAndDestructuring.ts, 5, 5)) +>const : Symbol(const) >x : Symbol(x, Decl(literalTypesAndDestructuring.ts, 0, 11)) let b1 = x.a; @@ -46,6 +47,7 @@ let b4 = x.a ?? 2 as const; >x.a : Symbol(a, Decl(literalTypesAndDestructuring.ts, 0, 16)) >x : Symbol(x, Decl(literalTypesAndDestructuring.ts, 0, 11)) >a : Symbol(a, Decl(literalTypesAndDestructuring.ts, 0, 16)) +>const : Symbol(const) // Repro from #35693 diff --git a/tests/baselines/reference/localTypes4.symbols b/tests/baselines/reference/localTypes4.symbols index e7504e5515e45..be2c40f1c38da 100644 --- a/tests/baselines/reference/localTypes4.symbols +++ b/tests/baselines/reference/localTypes4.symbols @@ -22,6 +22,8 @@ function f2() { function f(x: T): T { >f : Symbol(f, Decl(localTypes4.ts, 7, 15)) >x : Symbol(x, Decl(localTypes4.ts, 9, 15)) +>T : Symbol(T) +>T : Symbol(T) interface T { } >T : Symbol(T, Decl(localTypes4.ts, 9, 25)) diff --git a/tests/baselines/reference/localTypes4.types b/tests/baselines/reference/localTypes4.types index 9a7041e952e3e..f70c59d0a1f9f 100644 --- a/tests/baselines/reference/localTypes4.types +++ b/tests/baselines/reference/localTypes4.types @@ -17,8 +17,8 @@ function f2() { // Local types are not in scope in parameters and return types function f(x: T): T { ->f : (x: any) => any ->x : any +>f : (x: T) => T +>x : T interface T { } return undefined; diff --git a/tests/baselines/reference/mapConstructorOnReadonlyTuple.symbols b/tests/baselines/reference/mapConstructorOnReadonlyTuple.symbols index 8811f5b92db89..29426a8ec8ddb 100644 --- a/tests/baselines/reference/mapConstructorOnReadonlyTuple.symbols +++ b/tests/baselines/reference/mapConstructorOnReadonlyTuple.symbols @@ -1,6 +1,7 @@ === tests/cases/compiler/mapConstructorOnReadonlyTuple.ts === const pairs = [['1', 1], ['2', 2]] as const >pairs : Symbol(pairs, Decl(mapConstructorOnReadonlyTuple.ts, 0, 5)) +>const : Symbol(const) new Map(pairs); >Map : Symbol(Map, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) diff --git a/tests/baselines/reference/mappedTypeNoTypeNoCrash.symbols b/tests/baselines/reference/mappedTypeNoTypeNoCrash.symbols index 7faf2d7b35f77..934d0b7994b77 100644 --- a/tests/baselines/reference/mappedTypeNoTypeNoCrash.symbols +++ b/tests/baselines/reference/mappedTypeNoTypeNoCrash.symbols @@ -5,5 +5,7 @@ type T0 = ({[K in keyof T]}) extends ({[key in K]: T[K]}) ? number : never; >K : Symbol(K, Decl(mappedTypeNoTypeNoCrash.ts, 0, 16)) >T : Symbol(T, Decl(mappedTypeNoTypeNoCrash.ts, 0, 8)) >key : Symbol(key, Decl(mappedTypeNoTypeNoCrash.ts, 0, 43)) +>K : Symbol(K) >T : Symbol(T, Decl(mappedTypeNoTypeNoCrash.ts, 0, 8)) +>K : Symbol(K) diff --git a/tests/baselines/reference/moduleAssignmentCompat1.symbols b/tests/baselines/reference/moduleAssignmentCompat1.symbols index cd2127b67ffac..8fbc9d05aee57 100644 --- a/tests/baselines/reference/moduleAssignmentCompat1.symbols +++ b/tests/baselines/reference/moduleAssignmentCompat1.symbols @@ -17,9 +17,11 @@ module B { var a: A; >a : Symbol(a, Decl(moduleAssignmentCompat1.ts, 8, 3)) +>A : Symbol(A) var b: B; >b : Symbol(b, Decl(moduleAssignmentCompat1.ts, 9, 3)) +>B : Symbol(B) // no error a = b; diff --git a/tests/baselines/reference/moduleAssignmentCompat1.types b/tests/baselines/reference/moduleAssignmentCompat1.types index 3560e326d4c1e..1b9e7ba1cd26d 100644 --- a/tests/baselines/reference/moduleAssignmentCompat1.types +++ b/tests/baselines/reference/moduleAssignmentCompat1.types @@ -16,20 +16,20 @@ module B { } var a: A; ->a : any +>a : A var b: B; ->b : any +>b : B // no error a = b; ->a = b : any ->a : any ->b : any +>a = b : B +>a : A +>b : B b = a; ->b = a : any ->b : any ->a : any +>b = a : A +>b : B +>a : A diff --git a/tests/baselines/reference/moduleAssignmentCompat2.symbols b/tests/baselines/reference/moduleAssignmentCompat2.symbols index 2901b2df11c34..b7174a9171645 100644 --- a/tests/baselines/reference/moduleAssignmentCompat2.symbols +++ b/tests/baselines/reference/moduleAssignmentCompat2.symbols @@ -17,9 +17,11 @@ module B { var a: A; >a : Symbol(a, Decl(moduleAssignmentCompat2.ts, 8, 3)) +>A : Symbol(A) var b: B; >b : Symbol(b, Decl(moduleAssignmentCompat2.ts, 9, 3)) +>B : Symbol(B) a = b; >a : Symbol(a, Decl(moduleAssignmentCompat2.ts, 8, 3)) diff --git a/tests/baselines/reference/moduleAssignmentCompat2.types b/tests/baselines/reference/moduleAssignmentCompat2.types index 3c47b51f756b0..25263b2abf55b 100644 --- a/tests/baselines/reference/moduleAssignmentCompat2.types +++ b/tests/baselines/reference/moduleAssignmentCompat2.types @@ -16,18 +16,18 @@ module B { } var a: A; ->a : any +>a : A var b: B; ->b : any +>b : B a = b; ->a = b : any ->a : any ->b : any +>a = b : B +>a : A +>b : B b = a; // error ->b = a : any ->b : any ->a : any +>b = a : A +>b : B +>a : A diff --git a/tests/baselines/reference/moduleAssignmentCompat3.symbols b/tests/baselines/reference/moduleAssignmentCompat3.symbols index 3037679f6b324..153f110b29d71 100644 --- a/tests/baselines/reference/moduleAssignmentCompat3.symbols +++ b/tests/baselines/reference/moduleAssignmentCompat3.symbols @@ -14,9 +14,11 @@ module B { var a: A; >a : Symbol(a, Decl(moduleAssignmentCompat3.ts, 7, 3)) +>A : Symbol(A) var b: B; >b : Symbol(b, Decl(moduleAssignmentCompat3.ts, 8, 3)) +>B : Symbol(B) // both errors a = b; diff --git a/tests/baselines/reference/moduleAssignmentCompat3.types b/tests/baselines/reference/moduleAssignmentCompat3.types index cea4645601070..8d39e3d949863 100644 --- a/tests/baselines/reference/moduleAssignmentCompat3.types +++ b/tests/baselines/reference/moduleAssignmentCompat3.types @@ -15,19 +15,19 @@ module B { } var a: A; ->a : any +>a : A var b: B; ->b : any +>b : B // both errors a = b; ->a = b : any ->a : any ->b : any +>a = b : B +>a : A +>b : B b = a; ->b = a : any ->b : any ->a : any +>b = a : A +>b : B +>a : A diff --git a/tests/baselines/reference/moduleAssignmentCompat4.symbols b/tests/baselines/reference/moduleAssignmentCompat4.symbols index 5fe978abf0901..31b73c5977c2e 100644 --- a/tests/baselines/reference/moduleAssignmentCompat4.symbols +++ b/tests/baselines/reference/moduleAssignmentCompat4.symbols @@ -22,9 +22,11 @@ module B { var a: A; >a : Symbol(a, Decl(moduleAssignmentCompat4.ts, 11, 3)) +>A : Symbol(A) var b: B; >b : Symbol(b, Decl(moduleAssignmentCompat4.ts, 12, 3)) +>B : Symbol(B) a = b; >a : Symbol(a, Decl(moduleAssignmentCompat4.ts, 11, 3)) diff --git a/tests/baselines/reference/moduleAssignmentCompat4.types b/tests/baselines/reference/moduleAssignmentCompat4.types index d1b8cc0c3bdc0..768dc543fc645 100644 --- a/tests/baselines/reference/moduleAssignmentCompat4.types +++ b/tests/baselines/reference/moduleAssignmentCompat4.types @@ -21,18 +21,18 @@ module B { } var a: A; ->a : any +>a : A var b: B; ->b : any +>b : B a = b; ->a = b : any ->a : any ->b : any +>a = b : B +>a : A +>b : B b = a; // error ->b = a : any ->b : any ->a : any +>b = a : A +>b : B +>a : A diff --git a/tests/baselines/reference/moduleAugmentationImportsAndExports2.types b/tests/baselines/reference/moduleAugmentationImportsAndExports2.types index 10d3e52d0f52d..223fe53aa12db 100644 --- a/tests/baselines/reference/moduleAugmentationImportsAndExports2.types +++ b/tests/baselines/reference/moduleAugmentationImportsAndExports2.types @@ -54,7 +54,7 @@ declare module "./f1" { // should have explicit export interface A { foo(): B; ->foo : () => any +>foo : () => B bar(): I; >bar : () => I diff --git a/tests/baselines/reference/moduleAugmentationImportsAndExports3.types b/tests/baselines/reference/moduleAugmentationImportsAndExports3.types index 5cb8516c6dbda..1a59b94096a2a 100644 --- a/tests/baselines/reference/moduleAugmentationImportsAndExports3.types +++ b/tests/baselines/reference/moduleAugmentationImportsAndExports3.types @@ -16,11 +16,11 @@ import {A} from "./f1"; A.prototype.foo = function () { return undefined; } >A.prototype.foo = function () { return undefined; } : () => any ->A.prototype.foo : () => any +>A.prototype.foo : () => B >A.prototype : A >A : typeof A >prototype : A ->foo : () => any +>foo : () => B >function () { return undefined; } : () => any >undefined : undefined @@ -50,7 +50,7 @@ declare module "./f1" { interface A { foo(): B; ->foo : () => any +>foo : () => B bar(): I; >bar : () => I @@ -72,9 +72,9 @@ let a: A; let b = a.foo().n; >b : any >a.foo().n : any ->a.foo() : any ->a.foo : () => any +>a.foo() : B +>a.foo : () => B >a : A ->foo : () => any +>foo : () => B >n : any diff --git a/tests/baselines/reference/moduleClassArrayCodeGenTest.symbols b/tests/baselines/reference/moduleClassArrayCodeGenTest.symbols index 8bbc1279ebcdc..a00ccbfbc5855 100644 --- a/tests/baselines/reference/moduleClassArrayCodeGenTest.symbols +++ b/tests/baselines/reference/moduleClassArrayCodeGenTest.symbols @@ -19,4 +19,5 @@ var t: M.A[] = []; var t2: M.B[] = []; >t2 : Symbol(t2, Decl(moduleClassArrayCodeGenTest.ts, 9, 3)) >M : Symbol(M, Decl(moduleClassArrayCodeGenTest.ts, 0, 0)) +>B : Symbol(M.B) diff --git a/tests/baselines/reference/moduleClassArrayCodeGenTest.types b/tests/baselines/reference/moduleClassArrayCodeGenTest.types index 088558f79171c..4a3c09853a343 100644 --- a/tests/baselines/reference/moduleClassArrayCodeGenTest.types +++ b/tests/baselines/reference/moduleClassArrayCodeGenTest.types @@ -17,7 +17,7 @@ var t: M.A[] = []; >[] : undefined[] var t2: M.B[] = []; ->t2 : any[] +>t2 : M.B[] >M : any >[] : undefined[] diff --git a/tests/baselines/reference/moduleCrashBug1.symbols b/tests/baselines/reference/moduleCrashBug1.symbols index 8b2d66ab23f21..698b510388324 100644 --- a/tests/baselines/reference/moduleCrashBug1.symbols +++ b/tests/baselines/reference/moduleCrashBug1.symbols @@ -26,6 +26,7 @@ module editor { var m : _modes; >m : Symbol(m, Decl(moduleCrashBug1.ts, 17, 3)) +>_modes : Symbol(_modes) diff --git a/tests/baselines/reference/moduleCrashBug1.types b/tests/baselines/reference/moduleCrashBug1.types index add1a684b8d7d..87a15be36fbba 100644 --- a/tests/baselines/reference/moduleCrashBug1.types +++ b/tests/baselines/reference/moduleCrashBug1.types @@ -22,7 +22,7 @@ module editor { } var m : _modes; ->m : any +>m : _modes diff --git a/tests/baselines/reference/moduleInTypePosition1.symbols b/tests/baselines/reference/moduleInTypePosition1.symbols index 2d4c907166cbc..9eb766c789e0b 100644 --- a/tests/baselines/reference/moduleInTypePosition1.symbols +++ b/tests/baselines/reference/moduleInTypePosition1.symbols @@ -6,6 +6,7 @@ import WinJS = require('./moduleInTypePosition1_0'); var x = (w1: WinJS) => { }; >x : Symbol(x, Decl(moduleInTypePosition1_1.ts, 2, 3)) >w1 : Symbol(w1, Decl(moduleInTypePosition1_1.ts, 2, 9)) +>WinJS : Symbol(WinJS) === tests/cases/compiler/moduleInTypePosition1_0.ts === export class Promise { diff --git a/tests/baselines/reference/moduleInTypePosition1.types b/tests/baselines/reference/moduleInTypePosition1.types index 94d484ae42b24..79419af8e012b 100644 --- a/tests/baselines/reference/moduleInTypePosition1.types +++ b/tests/baselines/reference/moduleInTypePosition1.types @@ -4,9 +4,9 @@ import WinJS = require('./moduleInTypePosition1_0'); >WinJS : typeof WinJS var x = (w1: WinJS) => { }; ->x : (w1: any) => void ->(w1: WinJS) => { } : (w1: any) => void ->w1 : any +>x : (w1: WinJS) => void +>(w1: WinJS) => { } : (w1: WinJS) => void +>w1 : WinJS === tests/cases/compiler/moduleInTypePosition1_0.ts === export class Promise { diff --git a/tests/baselines/reference/moduleNewExportBug.symbols b/tests/baselines/reference/moduleNewExportBug.symbols index ea9f184ced72c..5ea6d07c82190 100644 --- a/tests/baselines/reference/moduleNewExportBug.symbols +++ b/tests/baselines/reference/moduleNewExportBug.symbols @@ -21,6 +21,7 @@ module mod1 { var c : mod1.C; // ERROR: C should not be visible >c : Symbol(c, Decl(moduleNewExportBug.ts, 9, 3)) >mod1 : Symbol(mod1, Decl(moduleNewExportBug.ts, 0, 0)) +>C : Symbol(mod1.C) diff --git a/tests/baselines/reference/moduleNewExportBug.types b/tests/baselines/reference/moduleNewExportBug.types index 66fde01234aaf..ffeea23546323 100644 --- a/tests/baselines/reference/moduleNewExportBug.types +++ b/tests/baselines/reference/moduleNewExportBug.types @@ -17,7 +17,7 @@ module mod1 { } var c : mod1.C; // ERROR: C should not be visible ->c : any +>c : mod1.C >mod1 : any diff --git a/tests/baselines/reference/moduleVisibilityTest2.symbols b/tests/baselines/reference/moduleVisibilityTest2.symbols index f460df0fff58f..89f7c193e0a87 100644 --- a/tests/baselines/reference/moduleVisibilityTest2.symbols +++ b/tests/baselines/reference/moduleVisibilityTest2.symbols @@ -123,7 +123,9 @@ module M { var cprime : M.I = null; >cprime : Symbol(cprime, Decl(moduleVisibilityTest2.ts, 58, 3)) >M : Symbol(M, Decl(moduleVisibilityTest2.ts, 8, 48), Decl(moduleVisibilityTest2.ts, 51, 1)) +>I : Symbol(M.I) >M : Symbol(M, Decl(moduleVisibilityTest2.ts, 8, 48), Decl(moduleVisibilityTest2.ts, 51, 1)) +>I : Symbol(M.I) var c = new M.C(); >c : Symbol(c, Decl(moduleVisibilityTest2.ts, 60, 3)) diff --git a/tests/baselines/reference/moduleVisibilityTest2.types b/tests/baselines/reference/moduleVisibilityTest2.types index f727b8042cabd..2580818fadbd4 100644 --- a/tests/baselines/reference/moduleVisibilityTest2.types +++ b/tests/baselines/reference/moduleVisibilityTest2.types @@ -140,9 +140,9 @@ module M { } var cprime : M.I = null; ->cprime : any +>cprime : M.I >M : any ->null : any +>null : M.I >M : any >null : null diff --git a/tests/baselines/reference/moduleVisibilityTest3.symbols b/tests/baselines/reference/moduleVisibilityTest3.symbols index 66b05db7826e9..209ef9bc1da18 100644 --- a/tests/baselines/reference/moduleVisibilityTest3.symbols +++ b/tests/baselines/reference/moduleVisibilityTest3.symbols @@ -33,12 +33,15 @@ module editor { constructor(p1: modes, p2: modes.Mode) {// should be an error on p2 - it's not exported >p1 : Symbol(p1, Decl(moduleVisibilityTest3.ts, 19, 17)) +>modes : Symbol(modes) >p2 : Symbol(p2, Decl(moduleVisibilityTest3.ts, 19, 27)) >modes : Symbol(modes, Decl(moduleVisibilityTest3.ts, 12, 15)) +>Mode : Symbol(modes.Mode) var x:modes.Mode; >x : Symbol(x, Decl(moduleVisibilityTest3.ts, 20, 12)) >modes : Symbol(modes, Decl(moduleVisibilityTest3.ts, 12, 15)) +>Mode : Symbol(modes.Mode) } } diff --git a/tests/baselines/reference/moduleVisibilityTest3.types b/tests/baselines/reference/moduleVisibilityTest3.types index 3e139bb2af60e..1b9848ccd9a02 100644 --- a/tests/baselines/reference/moduleVisibilityTest3.types +++ b/tests/baselines/reference/moduleVisibilityTest3.types @@ -30,12 +30,12 @@ module editor { >Bug : Bug constructor(p1: modes, p2: modes.Mode) {// should be an error on p2 - it's not exported ->p1 : any ->p2 : any +>p1 : modes +>p2 : modes.Mode >modes : any var x:modes.Mode; ->x : any +>x : modes.Mode >modes : any } diff --git a/tests/baselines/reference/moduleVisibilityTest4.symbols b/tests/baselines/reference/moduleVisibilityTest4.symbols index 410dbb5a2d9bb..6f96649262be1 100644 --- a/tests/baselines/reference/moduleVisibilityTest4.symbols +++ b/tests/baselines/reference/moduleVisibilityTest4.symbols @@ -16,6 +16,7 @@ namespace N { let a1: M.num; >a1 : Symbol(a1, Decl(moduleVisibilityTest4.ts, 8, 3)) >M : Symbol(M, Decl(moduleVisibilityTest4.ts, 0, 0)) +>num : Symbol(M.num) let b1: M.nums; >b1 : Symbol(b1, Decl(moduleVisibilityTest4.ts, 9, 3)) @@ -25,10 +26,12 @@ let b1: M.nums; let c1: M.bar; >c1 : Symbol(c1, Decl(moduleVisibilityTest4.ts, 10, 3)) >M : Symbol(M, Decl(moduleVisibilityTest4.ts, 0, 0)) +>bar : Symbol(M.bar) let a2: N.num; >a2 : Symbol(a2, Decl(moduleVisibilityTest4.ts, 12, 3)) >N : Symbol(N, Decl(moduleVisibilityTest4.ts, 2, 1)) +>num : Symbol(N.num) let b2: N.nums; >b2 : Symbol(b2, Decl(moduleVisibilityTest4.ts, 13, 3)) @@ -38,4 +41,5 @@ let b2: N.nums; let c2: N.bar; >c2 : Symbol(c2, Decl(moduleVisibilityTest4.ts, 14, 3)) >N : Symbol(N, Decl(moduleVisibilityTest4.ts, 2, 1)) +>bar : Symbol(N.bar) diff --git a/tests/baselines/reference/moduleVisibilityTest4.types b/tests/baselines/reference/moduleVisibilityTest4.types index d00eccc0bec3e..0b1442ad45a20 100644 --- a/tests/baselines/reference/moduleVisibilityTest4.types +++ b/tests/baselines/reference/moduleVisibilityTest4.types @@ -10,7 +10,7 @@ namespace N { } let a1: M.num; ->a1 : any +>a1 : M.num >M : any let b1: M.nums; @@ -18,11 +18,11 @@ let b1: M.nums; >M : any let c1: M.bar; ->c1 : any +>c1 : M.bar >M : any let a2: N.num; ->a2 : any +>a2 : N.num >N : any let b2: N.nums; @@ -30,6 +30,6 @@ let b2: N.nums; >N : any let c2: N.bar; ->c2 : any +>c2 : N.bar >N : any diff --git a/tests/baselines/reference/moduleWithNoValuesAsType.symbols b/tests/baselines/reference/moduleWithNoValuesAsType.symbols index 6329df2d93076..cc1d72ef1b963 100644 --- a/tests/baselines/reference/moduleWithNoValuesAsType.symbols +++ b/tests/baselines/reference/moduleWithNoValuesAsType.symbols @@ -4,6 +4,7 @@ module A { } var a: A; // error >a : Symbol(a, Decl(moduleWithNoValuesAsType.ts, 1, 3)) +>A : Symbol(A) module B { >B : Symbol(B, Decl(moduleWithNoValuesAsType.ts, 1, 9)) @@ -13,6 +14,7 @@ module B { } var b: B; // error >b : Symbol(b, Decl(moduleWithNoValuesAsType.ts, 6, 3)) +>B : Symbol(B) module C { >C : Symbol(C, Decl(moduleWithNoValuesAsType.ts, 6, 9)) @@ -27,4 +29,5 @@ module C { var c: C; // error >c : Symbol(c, Decl(moduleWithNoValuesAsType.ts, 14, 3)) +>C : Symbol(C) diff --git a/tests/baselines/reference/moduleWithNoValuesAsType.types b/tests/baselines/reference/moduleWithNoValuesAsType.types index 4351cea030589..1eb9c237e2de7 100644 --- a/tests/baselines/reference/moduleWithNoValuesAsType.types +++ b/tests/baselines/reference/moduleWithNoValuesAsType.types @@ -1,13 +1,13 @@ === tests/cases/compiler/moduleWithNoValuesAsType.ts === module A { } var a: A; // error ->a : any +>a : A module B { interface I {} } var b: B; // error ->b : any +>b : B module C { module M { @@ -16,5 +16,5 @@ module C { } var c: C; // error ->c : any +>c : C diff --git a/tests/baselines/reference/moduleWithValuesAsType.symbols b/tests/baselines/reference/moduleWithValuesAsType.symbols index c302a0d5f2619..fc03de3a2d813 100644 --- a/tests/baselines/reference/moduleWithValuesAsType.symbols +++ b/tests/baselines/reference/moduleWithValuesAsType.symbols @@ -8,4 +8,5 @@ module A { var a: A; // no error >a : Symbol(a, Decl(moduleWithValuesAsType.ts, 4, 3)) +>A : Symbol(A) diff --git a/tests/baselines/reference/moduleWithValuesAsType.types b/tests/baselines/reference/moduleWithValuesAsType.types index 7d7139ecc3b2b..a9a56358ab2ee 100644 --- a/tests/baselines/reference/moduleWithValuesAsType.types +++ b/tests/baselines/reference/moduleWithValuesAsType.types @@ -8,5 +8,5 @@ module A { } var a: A; // no error ->a : any +>a : A diff --git a/tests/baselines/reference/multiLinePropertyAccessAndArrowFunctionIndent1.symbols b/tests/baselines/reference/multiLinePropertyAccessAndArrowFunctionIndent1.symbols index e906195f9b187..20f584907513b 100644 --- a/tests/baselines/reference/multiLinePropertyAccessAndArrowFunctionIndent1.symbols +++ b/tests/baselines/reference/multiLinePropertyAccessAndArrowFunctionIndent1.symbols @@ -4,6 +4,7 @@ return this.edit(role) .then((role: Role) => >role : Symbol(role, Decl(multiLinePropertyAccessAndArrowFunctionIndent1.ts, 1, 11)) +>Role : Symbol(Role) this.roleService.add(role) >this : Symbol(globalThis) @@ -11,5 +12,8 @@ return this.edit(role) .then((data: ng.IHttpPromiseCallbackArg) => data.data)); >data : Symbol(data, Decl(multiLinePropertyAccessAndArrowFunctionIndent1.ts, 3, 19)) +>ng : Symbol(ng) +>IHttpPromiseCallbackArg : Symbol(ng.IHttpPromiseCallbackArg) +>Role : Symbol(Role) >data : Symbol(data, Decl(multiLinePropertyAccessAndArrowFunctionIndent1.ts, 3, 19)) diff --git a/tests/baselines/reference/multiLinePropertyAccessAndArrowFunctionIndent1.types b/tests/baselines/reference/multiLinePropertyAccessAndArrowFunctionIndent1.types index 9f35e8fff5799..f311c6093cfb0 100644 --- a/tests/baselines/reference/multiLinePropertyAccessAndArrowFunctionIndent1.types +++ b/tests/baselines/reference/multiLinePropertyAccessAndArrowFunctionIndent1.types @@ -10,8 +10,8 @@ return this.edit(role) .then((role: Role) => >then : any ->(role: Role) => this.roleService.add(role) .then((data: ng.IHttpPromiseCallbackArg) => data.data) : (role: any) => any ->role : any +>(role: Role) => this.roleService.add(role) .then((data: ng.IHttpPromiseCallbackArg) => data.data) : (role: Role) => any +>role : Role this.roleService.add(role) >this.roleService.add(role) .then((data: ng.IHttpPromiseCallbackArg) => data.data) : any @@ -22,14 +22,14 @@ return this.edit(role) >this : typeof globalThis >roleService : any >add : any ->role : any +>role : Role .then((data: ng.IHttpPromiseCallbackArg) => data.data)); >then : any ->(data: ng.IHttpPromiseCallbackArg) => data.data : (data: any) => any ->data : any +>(data: ng.IHttpPromiseCallbackArg) => data.data : (data: ng.IHttpPromiseCallbackArg) => any +>data : ng.IHttpPromiseCallbackArg >ng : any >data.data : any ->data : any +>data : ng.IHttpPromiseCallbackArg >data : any diff --git a/tests/baselines/reference/namespaceMergedWithImportAliasNoCrash.symbols b/tests/baselines/reference/namespaceMergedWithImportAliasNoCrash.symbols index 6e4fa919e2e05..bb522af48fc28 100644 --- a/tests/baselines/reference/namespaceMergedWithImportAliasNoCrash.symbols +++ b/tests/baselines/reference/namespaceMergedWithImportAliasNoCrash.symbols @@ -30,6 +30,7 @@ Lib.foo; // should work var x: Lib.Bar; // should be an error >x : Symbol(x, Decl(file2.ts, 5, 3)) >Lib : Symbol(Lib, Decl(file2.ts, 0, 6), Decl(file2.ts, 0, 31)) +>Bar : Symbol(Lib.Bar) export { Lib } >Lib : Symbol(Lib, Decl(file2.ts, 6, 8)) diff --git a/tests/baselines/reference/namespaceMergedWithImportAliasNoCrash.types b/tests/baselines/reference/namespaceMergedWithImportAliasNoCrash.types index 01033fa95b87e..06f5ecaca0fd5 100644 --- a/tests/baselines/reference/namespaceMergedWithImportAliasNoCrash.types +++ b/tests/baselines/reference/namespaceMergedWithImportAliasNoCrash.types @@ -30,7 +30,7 @@ Lib.foo; // should work >foo : string var x: Lib.Bar; // should be an error ->x : any +>x : Lib.Bar >Lib : any export { Lib } diff --git a/tests/baselines/reference/namespacesDeclaration2.symbols b/tests/baselines/reference/namespacesDeclaration2.symbols index cd5440c3e54ea..a67ef5dad2bd3 100644 --- a/tests/baselines/reference/namespacesDeclaration2.symbols +++ b/tests/baselines/reference/namespacesDeclaration2.symbols @@ -22,12 +22,15 @@ declare namespace ns { var foge: N.S; >foge : Symbol(foge, Decl(namespacesDeclaration2.ts, 11, 3)) >N : Symbol(N, Decl(namespacesDeclaration2.ts, 0, 0)) +>S : Symbol(N.S) var foo: M.F; >foo : Symbol(foo, Decl(namespacesDeclaration2.ts, 12, 3)) >M : Symbol(M, Decl(namespacesDeclaration2.ts, 2, 1)) +>F : Symbol(M.F) let x: ns.A; >x : Symbol(x, Decl(namespacesDeclaration2.ts, 13, 3)) >ns : Symbol(ns, Decl(namespacesDeclaration2.ts, 5, 1)) +>A : Symbol(ns.A) diff --git a/tests/baselines/reference/namespacesDeclaration2.types b/tests/baselines/reference/namespacesDeclaration2.types index 8aeee6ae4253e..783443604026b 100644 --- a/tests/baselines/reference/namespacesDeclaration2.types +++ b/tests/baselines/reference/namespacesDeclaration2.types @@ -20,14 +20,14 @@ declare namespace ns { } var foge: N.S; ->foge : any +>foge : N.S >N : any var foo: M.F; ->foo : any +>foo : M.F >M : any let x: ns.A; ->x : any +>x : ns.A >ns : any diff --git a/tests/baselines/reference/noAsConstNameLookup.symbols b/tests/baselines/reference/noAsConstNameLookup.symbols index e2d0a965da48a..fe5c8d34354cc 100644 --- a/tests/baselines/reference/noAsConstNameLookup.symbols +++ b/tests/baselines/reference/noAsConstNameLookup.symbols @@ -37,6 +37,8 @@ export class FeatureRunner { >settings : Symbol(settings, Decl(noAsConstNameLookup.ts, 10, 22)) } as const; +>const : Symbol(const) + return objectWhichShouldBeConst >objectWhichShouldBeConst : Symbol(objectWhichShouldBeConst, Decl(noAsConstNameLookup.ts, 9, 13)) } @@ -72,6 +74,7 @@ export class C { let one = 1 as const; >one : Symbol(one, Decl(noAsConstNameLookup.ts, 25, 11)) +>const : Symbol(const) } } new C().f(); diff --git a/tests/baselines/reference/noCrashOnImportShadowing.symbols b/tests/baselines/reference/noCrashOnImportShadowing.symbols index bb585b6112042..da5f5146ec27f 100644 --- a/tests/baselines/reference/noCrashOnImportShadowing.symbols +++ b/tests/baselines/reference/noCrashOnImportShadowing.symbols @@ -47,5 +47,6 @@ OriginalB.zzz; const y: OriginalB = x; >y : Symbol(y, Decl(index.ts, 8, 5)) +>OriginalB : Symbol(OriginalB) >x : Symbol(x, Decl(index.ts, 2, 5)) diff --git a/tests/baselines/reference/noCrashOnImportShadowing.types b/tests/baselines/reference/noCrashOnImportShadowing.types index bca75ba8d09f7..a4c75125716ec 100644 --- a/tests/baselines/reference/noCrashOnImportShadowing.types +++ b/tests/baselines/reference/noCrashOnImportShadowing.types @@ -50,6 +50,6 @@ OriginalB.zzz; >zzz : 123 const y: OriginalB = x; ->y : any +>y : OriginalB >x : B diff --git a/tests/baselines/reference/numericIndexerConstrainsPropertyDeclarations.symbols b/tests/baselines/reference/numericIndexerConstrainsPropertyDeclarations.symbols index 59df83859c6dc..edbb47dea8812 100644 --- a/tests/baselines/reference/numericIndexerConstrainsPropertyDeclarations.symbols +++ b/tests/baselines/reference/numericIndexerConstrainsPropertyDeclarations.symbols @@ -203,6 +203,7 @@ var b: { [x: number]: string; } = { f: null, >f : Symbol(f, Decl(numericIndexerConstrainsPropertyDeclarations.ts, 86, 13)) +>Myn : Symbol(Myn) get X() { >X : Symbol(X, Decl(numericIndexerConstrainsPropertyDeclarations.ts, 87, 17), Decl(numericIndexerConstrainsPropertyDeclarations.ts, 91, 6)) diff --git a/tests/baselines/reference/numericIndexerConstrainsPropertyDeclarations.types b/tests/baselines/reference/numericIndexerConstrainsPropertyDeclarations.types index fa10483fe8f64..9b46290488891 100644 --- a/tests/baselines/reference/numericIndexerConstrainsPropertyDeclarations.types +++ b/tests/baselines/reference/numericIndexerConstrainsPropertyDeclarations.types @@ -168,7 +168,7 @@ var a: { var b: { [x: number]: string; } = { >b : { [x: number]: string; } >x : number ->{ a: '', b: 1, c: () => { }, "d": '', "e": 1, 1.0: '', 2.0: 1, "3.0": '', "4.0": 1, f: null, get X() { return ''; }, set X(v) { }, foo() { return ''; }} : { a: string; b: number; c: () => void; d: string; e: number; 1: string; 2: number; "3.0": string; "4.0": number; f: any; X: string; foo(): string; } +>{ a: '', b: 1, c: () => { }, "d": '', "e": 1, 1.0: '', 2.0: 1, "3.0": '', "4.0": 1, f: null, get X() { return ''; }, set X(v) { }, foo() { return ''; }} : { a: string; b: number; c: () => void; d: string; e: number; 1: string; 2: number; "3.0": string; "4.0": number; f: Myn; X: string; foo(): string; } a: '', >a : string @@ -207,8 +207,8 @@ var b: { [x: number]: string; } = { >1 : 1 f: null, ->f : any ->null : any +>f : Myn +>null : Myn >null : null get X() { diff --git a/tests/baselines/reference/objectLiteralExcessProperties.errors.txt b/tests/baselines/reference/objectLiteralExcessProperties.errors.txt index 9f193c8428d27..245293d9a7cb6 100644 --- a/tests/baselines/reference/objectLiteralExcessProperties.errors.txt +++ b/tests/baselines/reference/objectLiteralExcessProperties.errors.txt @@ -20,10 +20,10 @@ tests/cases/compiler/objectLiteralExcessProperties.ts(33,27): error TS2322: Type Object literal may only specify known properties, but 'colour' does not exist in type 'Cover'. Did you mean to write 'color'? tests/cases/compiler/objectLiteralExcessProperties.ts(37,25): error TS2304: Cannot find name 'IFoo'. tests/cases/compiler/objectLiteralExcessProperties.ts(39,11): error TS2322: Type '{ name: string; }' is not assignable to type 'T'. - '{ name: string; }' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'any'. + '{ name: string; }' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'IFoo'. tests/cases/compiler/objectLiteralExcessProperties.ts(41,11): error TS2322: Type '{ name: string; prop: boolean; }' is not assignable to type 'T & { prop: boolean; }'. Type '{ name: string; prop: boolean; }' is not assignable to type 'T'. - '{ name: string; prop: boolean; }' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'any'. + '{ name: string; prop: boolean; }' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'IFoo'. tests/cases/compiler/objectLiteralExcessProperties.ts(43,43): error TS2322: Type '{ name: string; prop: true; }' is not assignable to type 'T | { prop: boolean; }'. Object literal may only specify known properties, and 'name' does not exist in type '{ prop: boolean; }'. tests/cases/compiler/objectLiteralExcessProperties.ts(45,76): error TS2322: Type '{ name: string; prop: boolean; }' is not assignable to type '(T & { prop: boolean; }) | { name: string; }'. @@ -107,13 +107,13 @@ tests/cases/compiler/objectLiteralExcessProperties.ts(49,44): error TS2322: Type const obj1: T = { name: "test" }; ~~~~ !!! error TS2322: Type '{ name: string; }' is not assignable to type 'T'. -!!! error TS2322: '{ name: string; }' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'any'. +!!! error TS2322: '{ name: string; }' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'IFoo'. // No excess property checks on intersections involving generics const obj2: T & { prop: boolean } = { name: "test", prop: true }; ~~~~ !!! error TS2322: Type '{ name: string; prop: boolean; }' is not assignable to type 'T & { prop: boolean; }'. !!! error TS2322: Type '{ name: string; prop: boolean; }' is not assignable to type 'T'. -!!! error TS2322: '{ name: string; prop: boolean; }' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'any'. +!!! error TS2322: '{ name: string; prop: boolean; }' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'IFoo'. // Excess property checks only on non-generic parts of unions const obj3: T | { prop: boolean } = { name: "test", prop: true }; ~~~~~~~~~~~~ diff --git a/tests/baselines/reference/objectLiteralExcessProperties.symbols b/tests/baselines/reference/objectLiteralExcessProperties.symbols index 3624766ba0dd2..acf8168acdb1d 100644 --- a/tests/baselines/reference/objectLiteralExcessProperties.symbols +++ b/tests/baselines/reference/objectLiteralExcessProperties.symbols @@ -95,6 +95,7 @@ var b11: Indexed = { 0: { colour: "blue" } }; // nested object literal still err function test() { >test : Symbol(test, Decl(objectLiteralExcessProperties.ts, 32, 45)) >T : Symbol(T, Decl(objectLiteralExcessProperties.ts, 36, 14)) +>IFoo : Symbol(IFoo) // No excess property checks on generic types const obj1: T = { name: "test" }; diff --git a/tests/baselines/reference/objectLiteralExcessProperties.types b/tests/baselines/reference/objectLiteralExcessProperties.types index 535bf554fffae..cd3be132fe2d3 100644 --- a/tests/baselines/reference/objectLiteralExcessProperties.types +++ b/tests/baselines/reference/objectLiteralExcessProperties.types @@ -101,7 +101,7 @@ var b11: Indexed = { 0: { colour: "blue" } }; // nested object literal still err // Repros inspired by #28752 function test() { ->test : () => void +>test : () => void // No excess property checks on generic types const obj1: T = { name: "test" }; diff --git a/tests/baselines/reference/parseErrorIncorrectReturnToken.symbols b/tests/baselines/reference/parseErrorIncorrectReturnToken.symbols index 160e1ed5bf41a..cbf25a585519f 100644 --- a/tests/baselines/reference/parseErrorIncorrectReturnToken.symbols +++ b/tests/baselines/reference/parseErrorIncorrectReturnToken.symbols @@ -8,6 +8,7 @@ type F1 = { type F2 = (n: number): string; // should be => not : >F2 : Symbol(F2, Decl(parseErrorIncorrectReturnToken.ts, 2, 1)) >n : Symbol(n, Decl(parseErrorIncorrectReturnToken.ts, 3, 11)) +> : Symbol(unknown) // doesn't work in non-type contexts, where the return type is optional let f = (n: number) => string => n.toString(); diff --git a/tests/baselines/reference/parser0_004152.symbols b/tests/baselines/reference/parser0_004152.symbols index f2c778993e503..f76b941419ce4 100644 --- a/tests/baselines/reference/parser0_004152.symbols +++ b/tests/baselines/reference/parser0_004152.symbols @@ -22,4 +22,5 @@ export class Game { private prevConfig: SeedCoords[][]; >prevConfig : Symbol(Game.prevConfig, Decl(parser0_004152.ts, 1, 98)) +>SeedCoords : Symbol(SeedCoords) } diff --git a/tests/baselines/reference/parser0_004152.types b/tests/baselines/reference/parser0_004152.types index fa8cec853b359..3ebc5581b8bd6 100644 --- a/tests/baselines/reference/parser0_004152.types +++ b/tests/baselines/reference/parser0_004152.types @@ -24,5 +24,5 @@ export class Game { >0 : any private prevConfig: SeedCoords[][]; ->prevConfig : any[][] +>prevConfig : SeedCoords[][] } diff --git a/tests/baselines/reference/parser553699.symbols b/tests/baselines/reference/parser553699.symbols index 966c3f6654ae9..a83036a4061f5 100644 --- a/tests/baselines/reference/parser553699.symbols +++ b/tests/baselines/reference/parser553699.symbols @@ -6,6 +6,7 @@ class Foo { public banana (x: public) { } >banana : Symbol(Foo.banana, Decl(parser553699.ts, 1, 19)) >x : Symbol(x, Decl(parser553699.ts, 2, 17)) +>public : Symbol(public) } class Bar { diff --git a/tests/baselines/reference/parser553699.types b/tests/baselines/reference/parser553699.types index df17191871ff2..b4275b72847cf 100644 --- a/tests/baselines/reference/parser553699.types +++ b/tests/baselines/reference/parser553699.types @@ -4,8 +4,8 @@ class Foo { constructor() { } public banana (x: public) { } ->banana : (x: any) => void ->x : any +>banana : (x: public) => void +>x : public } class Bar { diff --git a/tests/baselines/reference/parserAmbiguity1.symbols b/tests/baselines/reference/parserAmbiguity1.symbols index d45c887655c19..fbc7c988eed25 100644 --- a/tests/baselines/reference/parserAmbiguity1.symbols +++ b/tests/baselines/reference/parserAmbiguity1.symbols @@ -1,3 +1,5 @@ === tests/cases/conformance/parser/ecmascript5/Generics/parserAmbiguity1.ts === f(g(7)); -No type information for this code. \ No newline at end of file +>A : Symbol(A) +>B : Symbol(B) + diff --git a/tests/baselines/reference/parserAmbiguityWithBinaryOperator4.symbols b/tests/baselines/reference/parserAmbiguityWithBinaryOperator4.symbols index 6e63f0353dd5b..23c1779131f95 100644 --- a/tests/baselines/reference/parserAmbiguityWithBinaryOperator4.symbols +++ b/tests/baselines/reference/parserAmbiguityWithBinaryOperator4.symbols @@ -9,5 +9,7 @@ function g() { if (a(c + 1)) { } >a : Symbol(a, Decl(parserAmbiguityWithBinaryOperator4.ts, 1, 7)) +>b : Symbol(b) +>b : Symbol(b) >c : Symbol(c, Decl(parserAmbiguityWithBinaryOperator4.ts, 1, 13)) } diff --git a/tests/baselines/reference/parserCastVersusArrowFunction1.symbols b/tests/baselines/reference/parserCastVersusArrowFunction1.symbols index 8080928eecd0f..e3997ed44a24a 100644 --- a/tests/baselines/reference/parserCastVersusArrowFunction1.symbols +++ b/tests/baselines/reference/parserCastVersusArrowFunction1.symbols @@ -5,6 +5,7 @@ var v = () => 1; var v = a; >v : Symbol(v, Decl(parserCastVersusArrowFunction1.ts, 0, 3), Decl(parserCastVersusArrowFunction1.ts, 1, 3), Decl(parserCastVersusArrowFunction1.ts, 3, 3), Decl(parserCastVersusArrowFunction1.ts, 4, 3), Decl(parserCastVersusArrowFunction1.ts, 5, 3) ... and 3 more) +>T : Symbol(T) var v = (a) => 1; >v : Symbol(v, Decl(parserCastVersusArrowFunction1.ts, 0, 3), Decl(parserCastVersusArrowFunction1.ts, 1, 3), Decl(parserCastVersusArrowFunction1.ts, 3, 3), Decl(parserCastVersusArrowFunction1.ts, 4, 3), Decl(parserCastVersusArrowFunction1.ts, 5, 3) ... and 3 more) @@ -25,10 +26,13 @@ var v = (a = 1, b = 2) => 1; var v = (a); >v : Symbol(v, Decl(parserCastVersusArrowFunction1.ts, 0, 3), Decl(parserCastVersusArrowFunction1.ts, 1, 3), Decl(parserCastVersusArrowFunction1.ts, 3, 3), Decl(parserCastVersusArrowFunction1.ts, 4, 3), Decl(parserCastVersusArrowFunction1.ts, 5, 3) ... and 3 more) +>T : Symbol(T) var v = (a, b); >v : Symbol(v, Decl(parserCastVersusArrowFunction1.ts, 0, 3), Decl(parserCastVersusArrowFunction1.ts, 1, 3), Decl(parserCastVersusArrowFunction1.ts, 3, 3), Decl(parserCastVersusArrowFunction1.ts, 4, 3), Decl(parserCastVersusArrowFunction1.ts, 5, 3) ... and 3 more) +>T : Symbol(T) var v = (a = 1, b = 2); >v : Symbol(v, Decl(parserCastVersusArrowFunction1.ts, 0, 3), Decl(parserCastVersusArrowFunction1.ts, 1, 3), Decl(parserCastVersusArrowFunction1.ts, 3, 3), Decl(parserCastVersusArrowFunction1.ts, 4, 3), Decl(parserCastVersusArrowFunction1.ts, 5, 3) ... and 3 more) +>T : Symbol(T) diff --git a/tests/baselines/reference/parserCastVersusArrowFunction1.types b/tests/baselines/reference/parserCastVersusArrowFunction1.types index a27ca463529f2..2269fc19d77e1 100644 --- a/tests/baselines/reference/parserCastVersusArrowFunction1.types +++ b/tests/baselines/reference/parserCastVersusArrowFunction1.types @@ -6,7 +6,7 @@ var v = () => 1; var v = a; >v : () => number ->a : any +>a : T >a : any var v = (a) => 1; @@ -33,13 +33,13 @@ var v = (a = 1, b = 2) => 1; var v = (a); >v : () => number ->(a) : any +>(a) : T >(a) : any >a : any var v = (a, b); >v : () => number ->(a, b) : any +>(a, b) : T >(a, b) : any >a, b : any >a : any @@ -47,7 +47,7 @@ var v = (a, b); var v = (a = 1, b = 2); >v : () => number ->(a = 1, b = 2) : any +>(a = 1, b = 2) : T >(a = 1, b = 2) : 2 >a = 1, b = 2 : 2 >a = 1 : 1 diff --git a/tests/baselines/reference/parserClass2.symbols b/tests/baselines/reference/parserClass2.symbols index 3e240eafe0991..68920d72086b7 100644 --- a/tests/baselines/reference/parserClass2.symbols +++ b/tests/baselines/reference/parserClass2.symbols @@ -4,6 +4,7 @@ constructor (public logger: ILogger) { >logger : Symbol(LoggerAdapter.logger, Decl(parserClass2.ts, 1, 21)) +>ILogger : Symbol(ILogger) this._information = this.logger.information(); >this : Symbol(LoggerAdapter, Decl(parserClass2.ts, 0, 0)) diff --git a/tests/baselines/reference/parserClass2.types b/tests/baselines/reference/parserClass2.types index 2b22f1d64f388..69d90bdfc5e25 100644 --- a/tests/baselines/reference/parserClass2.types +++ b/tests/baselines/reference/parserClass2.types @@ -3,7 +3,7 @@ >LoggerAdapter : LoggerAdapter constructor (public logger: ILogger) { ->logger : any +>logger : ILogger this._information = this.logger.information(); >this._information = this.logger.information() : any @@ -12,9 +12,9 @@ >_information : any >this.logger.information() : any >this.logger.information : any ->this.logger : any +>this.logger : ILogger >this : this ->logger : any +>logger : ILogger >information : any } } diff --git a/tests/baselines/reference/parserComputedPropertyName9.symbols b/tests/baselines/reference/parserComputedPropertyName9.symbols index faab6e907967f..9ca5d74a1e25d 100644 --- a/tests/baselines/reference/parserComputedPropertyName9.symbols +++ b/tests/baselines/reference/parserComputedPropertyName9.symbols @@ -4,4 +4,5 @@ class C { [e]: Type >[e] : Symbol(C[e], Decl(parserComputedPropertyName9.ts, 0, 9)) +>Type : Symbol(Type) } diff --git a/tests/baselines/reference/parserComputedPropertyName9.types b/tests/baselines/reference/parserComputedPropertyName9.types index c3d8e824101e5..d4e5bb3dab9bd 100644 --- a/tests/baselines/reference/parserComputedPropertyName9.types +++ b/tests/baselines/reference/parserComputedPropertyName9.types @@ -3,6 +3,6 @@ class C { >C : C [e]: Type ->[e] : any +>[e] : Type >e : any } diff --git a/tests/baselines/reference/parserConstructorAmbiguity3.symbols b/tests/baselines/reference/parserConstructorAmbiguity3.symbols index 714efac1b7c1e..969718bec9c95 100644 --- a/tests/baselines/reference/parserConstructorAmbiguity3.symbols +++ b/tests/baselines/reference/parserConstructorAmbiguity3.symbols @@ -1,4 +1,5 @@ === tests/cases/conformance/parser/ecmascript5/Generics/parserConstructorAmbiguity3.ts === new Date
>Date : Symbol(Date, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.scripthost.d.ts, --, --)) +>A : Symbol(A) diff --git a/tests/baselines/reference/parserES5ComputedPropertyName9.symbols b/tests/baselines/reference/parserES5ComputedPropertyName9.symbols index d0729e25c5242..1f7c65fc8800c 100644 --- a/tests/baselines/reference/parserES5ComputedPropertyName9.symbols +++ b/tests/baselines/reference/parserES5ComputedPropertyName9.symbols @@ -4,4 +4,5 @@ class C { [e]: Type >[e] : Symbol(C[e], Decl(parserES5ComputedPropertyName9.ts, 0, 9)) +>Type : Symbol(Type) } diff --git a/tests/baselines/reference/parserES5ComputedPropertyName9.types b/tests/baselines/reference/parserES5ComputedPropertyName9.types index dd80cb1552bc0..a4c5d895d3c22 100644 --- a/tests/baselines/reference/parserES5ComputedPropertyName9.types +++ b/tests/baselines/reference/parserES5ComputedPropertyName9.types @@ -3,6 +3,6 @@ class C { >C : C [e]: Type ->[e] : any +>[e] : Type >e : any } diff --git a/tests/baselines/reference/parserErrantEqualsGreaterThanAfterFunction2.symbols b/tests/baselines/reference/parserErrantEqualsGreaterThanAfterFunction2.symbols index 9e9250e991285..ffde5f5ad3075 100644 --- a/tests/baselines/reference/parserErrantEqualsGreaterThanAfterFunction2.symbols +++ b/tests/baselines/reference/parserErrantEqualsGreaterThanAfterFunction2.symbols @@ -2,4 +2,5 @@ function f(p: A) => p; >f : Symbol(f, Decl(parserErrantEqualsGreaterThanAfterFunction2.ts, 0, 0)) >p : Symbol(p, Decl(parserErrantEqualsGreaterThanAfterFunction2.ts, 0, 11)) +>A : Symbol(A) diff --git a/tests/baselines/reference/parserErrantEqualsGreaterThanAfterFunction2.types b/tests/baselines/reference/parserErrantEqualsGreaterThanAfterFunction2.types index 7d3d36f565482..de40a785dc68e 100644 --- a/tests/baselines/reference/parserErrantEqualsGreaterThanAfterFunction2.types +++ b/tests/baselines/reference/parserErrantEqualsGreaterThanAfterFunction2.types @@ -1,6 +1,6 @@ === tests/cases/conformance/parser/ecmascript5/ErrorRecovery/parserErrantEqualsGreaterThanAfterFunction2.ts === function f(p: A) => p; ->f : (p: any) => any ->p : any +>f : (p: A) => any +>p : A >p : any diff --git a/tests/baselines/reference/parserErrorRecovery_IncompleteMemberVariable2.symbols b/tests/baselines/reference/parserErrorRecovery_IncompleteMemberVariable2.symbols index 8ed9dc6676511..7dfc4b8de517e 100644 --- a/tests/baselines/reference/parserErrorRecovery_IncompleteMemberVariable2.symbols +++ b/tests/baselines/reference/parserErrorRecovery_IncompleteMemberVariable2.symbols @@ -18,6 +18,7 @@ module Shapes { public con:C "hello"; >con : Symbol(Point.con, Decl(parserErrorRecovery_IncompleteMemberVariable2.ts, 9, 42)) +>C : Symbol(C) >"hello" : Symbol(Point["hello"], Decl(parserErrorRecovery_IncompleteMemberVariable2.ts, 11, 20)) // Constructor diff --git a/tests/baselines/reference/parserErrorRecovery_IncompleteMemberVariable2.types b/tests/baselines/reference/parserErrorRecovery_IncompleteMemberVariable2.types index 1575a35059f42..e15eb63d520d9 100644 --- a/tests/baselines/reference/parserErrorRecovery_IncompleteMemberVariable2.types +++ b/tests/baselines/reference/parserErrorRecovery_IncompleteMemberVariable2.types @@ -14,7 +14,7 @@ module Shapes { >Point : Point public con:C "hello"; ->con : any +>con : C >"hello" : any // Constructor diff --git a/tests/baselines/reference/parserErrorRecovery_ParameterList6.symbols b/tests/baselines/reference/parserErrorRecovery_ParameterList6.symbols index 8cbf2e965d8d4..aed94aa78cb50 100644 --- a/tests/baselines/reference/parserErrorRecovery_ParameterList6.symbols +++ b/tests/baselines/reference/parserErrorRecovery_ParameterList6.symbols @@ -5,4 +5,5 @@ class Foo { public banana (x: break) { } >banana : Symbol(Foo.banana, Decl(parserErrorRecovery_ParameterList6.ts, 0, 11)) >x : Symbol(x, Decl(parserErrorRecovery_ParameterList6.ts, 1, 19)) +>break : Symbol(break) } diff --git a/tests/baselines/reference/parserErrorRecovery_ParameterList6.types b/tests/baselines/reference/parserErrorRecovery_ParameterList6.types index 123bdbe51d45d..9b8d3f1e18c22 100644 --- a/tests/baselines/reference/parserErrorRecovery_ParameterList6.types +++ b/tests/baselines/reference/parserErrorRecovery_ParameterList6.types @@ -3,6 +3,6 @@ class Foo { >Foo : Foo public banana (x: break) { } ->banana : (x: any) => void ->x : any +>banana : (x: break) => void +>x : break } diff --git a/tests/baselines/reference/parserGenericConstraint2.symbols b/tests/baselines/reference/parserGenericConstraint2.symbols index fc467b6a60f35..bda0c705dec38 100644 --- a/tests/baselines/reference/parserGenericConstraint2.symbols +++ b/tests/baselines/reference/parserGenericConstraint2.symbols @@ -2,5 +2,6 @@ class C > { >C : Symbol(C, Decl(parserGenericConstraint2.ts, 0, 0)) >T : Symbol(T, Decl(parserGenericConstraint2.ts, 0, 8)) +>List : Symbol(List) >T : Symbol(T, Decl(parserGenericConstraint2.ts, 0, 8)) } diff --git a/tests/baselines/reference/parserGenericConstraint3.symbols b/tests/baselines/reference/parserGenericConstraint3.symbols index a3419db3871c7..fbc86ccf62599 100644 --- a/tests/baselines/reference/parserGenericConstraint3.symbols +++ b/tests/baselines/reference/parserGenericConstraint3.symbols @@ -2,5 +2,6 @@ class C> { >C : Symbol(C, Decl(parserGenericConstraint3.ts, 0, 0)) >T : Symbol(T, Decl(parserGenericConstraint3.ts, 0, 8)) +>List : Symbol(List) >T : Symbol(T, Decl(parserGenericConstraint3.ts, 0, 8)) } diff --git a/tests/baselines/reference/parserGenericConstraint4.symbols b/tests/baselines/reference/parserGenericConstraint4.symbols index bffc437e36e1b..604067aedcb22 100644 --- a/tests/baselines/reference/parserGenericConstraint4.symbols +++ b/tests/baselines/reference/parserGenericConstraint4.symbols @@ -2,5 +2,7 @@ class C > > { >C : Symbol(C, Decl(parserGenericConstraint4.ts, 0, 0)) >T : Symbol(T, Decl(parserGenericConstraint4.ts, 0, 8)) +>List : Symbol(List) +>List : Symbol(List) >T : Symbol(T, Decl(parserGenericConstraint4.ts, 0, 8)) } diff --git a/tests/baselines/reference/parserGenericConstraint5.symbols b/tests/baselines/reference/parserGenericConstraint5.symbols index 22fdcd4c84d55..c5e2926058618 100644 --- a/tests/baselines/reference/parserGenericConstraint5.symbols +++ b/tests/baselines/reference/parserGenericConstraint5.symbols @@ -2,5 +2,7 @@ class C> > { >C : Symbol(C, Decl(parserGenericConstraint5.ts, 0, 0)) >T : Symbol(T, Decl(parserGenericConstraint5.ts, 0, 8)) +>List : Symbol(List) +>List : Symbol(List) >T : Symbol(T, Decl(parserGenericConstraint5.ts, 0, 8)) } diff --git a/tests/baselines/reference/parserGenericConstraint6.symbols b/tests/baselines/reference/parserGenericConstraint6.symbols index a8d007b10ccf7..b97031febd942 100644 --- a/tests/baselines/reference/parserGenericConstraint6.symbols +++ b/tests/baselines/reference/parserGenericConstraint6.symbols @@ -2,5 +2,7 @@ class C >> { >C : Symbol(C, Decl(parserGenericConstraint6.ts, 0, 0)) >T : Symbol(T, Decl(parserGenericConstraint6.ts, 0, 8)) +>List : Symbol(List) +>List : Symbol(List) >T : Symbol(T, Decl(parserGenericConstraint6.ts, 0, 8)) } diff --git a/tests/baselines/reference/parserGenericConstraint7.symbols b/tests/baselines/reference/parserGenericConstraint7.symbols index 3e1d271a5bf32..8a6ed7df660f8 100644 --- a/tests/baselines/reference/parserGenericConstraint7.symbols +++ b/tests/baselines/reference/parserGenericConstraint7.symbols @@ -2,5 +2,7 @@ class C>> { >C : Symbol(C, Decl(parserGenericConstraint7.ts, 0, 0)) >T : Symbol(T, Decl(parserGenericConstraint7.ts, 0, 8)) +>List : Symbol(List) +>List : Symbol(List) >T : Symbol(T, Decl(parserGenericConstraint7.ts, 0, 8)) } diff --git a/tests/baselines/reference/parserGenericsInInterfaceDeclaration1.symbols b/tests/baselines/reference/parserGenericsInInterfaceDeclaration1.symbols index 9dbba07c0b279..60f8a061c57f5 100644 --- a/tests/baselines/reference/parserGenericsInInterfaceDeclaration1.symbols +++ b/tests/baselines/reference/parserGenericsInInterfaceDeclaration1.symbols @@ -5,6 +5,7 @@ interface I { v: A; >v : Symbol(I.v, Decl(parserGenericsInInterfaceDeclaration1.ts, 0, 16)) +>A : Symbol(A) >T : Symbol(T, Decl(parserGenericsInInterfaceDeclaration1.ts, 0, 12)) f1(): T; diff --git a/tests/baselines/reference/parserGenericsInInterfaceDeclaration1.types b/tests/baselines/reference/parserGenericsInInterfaceDeclaration1.types index 5c642d0313818..973e4c142aec3 100644 --- a/tests/baselines/reference/parserGenericsInInterfaceDeclaration1.types +++ b/tests/baselines/reference/parserGenericsInInterfaceDeclaration1.types @@ -1,7 +1,7 @@ === tests/cases/conformance/parser/ecmascript5/Generics/parserGenericsInInterfaceDeclaration1.ts === interface I { v: A; ->v : any +>v : A f1(): T; >f1 : () => T diff --git a/tests/baselines/reference/parserGenericsInTypeContexts1.symbols b/tests/baselines/reference/parserGenericsInTypeContexts1.symbols index 76a6176527152..afda7cbf5e029 100644 --- a/tests/baselines/reference/parserGenericsInTypeContexts1.symbols +++ b/tests/baselines/reference/parserGenericsInTypeContexts1.symbols @@ -1,32 +1,50 @@ === tests/cases/conformance/parser/ecmascript5/Generics/parserGenericsInTypeContexts1.ts === class C extends A implements B { >C : Symbol(C, Decl(parserGenericsInTypeContexts1.ts, 0, 0)) +>T : Symbol(T) +>T : Symbol(T) } var v1: C; >v1 : Symbol(v1, Decl(parserGenericsInTypeContexts1.ts, 3, 3)) >C : Symbol(C, Decl(parserGenericsInTypeContexts1.ts, 0, 0)) +>T : Symbol(T) var v2: D = null; >v2 : Symbol(v2, Decl(parserGenericsInTypeContexts1.ts, 4, 3)) +>D : Symbol(D) +>T : Symbol(T) var v3: E.F; >v3 : Symbol(v3, Decl(parserGenericsInTypeContexts1.ts, 5, 3), Decl(parserGenericsInTypeContexts1.ts, 6, 3)) +>E : Symbol(E) +>F : Symbol(E.F) +>T : Symbol(T) var v3: G.H.I; >v3 : Symbol(v3, Decl(parserGenericsInTypeContexts1.ts, 5, 3), Decl(parserGenericsInTypeContexts1.ts, 6, 3)) +>G : Symbol(G) +>H : Symbol(G.H) +>I : Symbol(G.H.I) +>T : Symbol(T) var v6: K[]; >v6 : Symbol(v6, Decl(parserGenericsInTypeContexts1.ts, 7, 3)) +>K : Symbol(K) +>T : Symbol(T) function f1(a: E) { >f1 : Symbol(f1, Decl(parserGenericsInTypeContexts1.ts, 7, 15)) >a : Symbol(a, Decl(parserGenericsInTypeContexts1.ts, 10, 12)) +>E : Symbol(E) +>T : Symbol(T) } function f2(): F { >f2 : Symbol(f2, Decl(parserGenericsInTypeContexts1.ts, 11, 1)) +>F : Symbol(F) +>T : Symbol(T) } diff --git a/tests/baselines/reference/parserGenericsInTypeContexts1.types b/tests/baselines/reference/parserGenericsInTypeContexts1.types index 24335d3c283dd..f6f71eea8b1c1 100644 --- a/tests/baselines/reference/parserGenericsInTypeContexts1.types +++ b/tests/baselines/reference/parserGenericsInTypeContexts1.types @@ -8,29 +8,29 @@ var v1: C; >v1 : any var v2: D = null; ->v2 : any +>v2 : D >null : null var v3: E.F; ->v3 : any +>v3 : E.F >E : any var v3: G.H.I; ->v3 : any +>v3 : E.F >G : any >H : any var v6: K[]; ->v6 : any[] +>v6 : K[] function f1(a: E) { ->f1 : (a: any) => void ->a : any +>f1 : (a: E) => void +>a : E } function f2(): F { ->f2 : () => any +>f2 : () => F } diff --git a/tests/baselines/reference/parserGenericsInTypeContexts2.symbols b/tests/baselines/reference/parserGenericsInTypeContexts2.symbols index 30ceb4bd7de5f..c6b8fba2ad8d3 100644 --- a/tests/baselines/reference/parserGenericsInTypeContexts2.symbols +++ b/tests/baselines/reference/parserGenericsInTypeContexts2.symbols @@ -1,32 +1,86 @@ === tests/cases/conformance/parser/ecmascript5/Generics/parserGenericsInTypeContexts2.ts === class C extends A, Y>> implements B, Y>> { >C : Symbol(C, Decl(parserGenericsInTypeContexts2.ts, 0, 0)) +>X : Symbol(X) +>T : Symbol(T) +>Y : Symbol(Y) +>Z : Symbol(Z) +>T : Symbol(T) +>X : Symbol(X) +>T : Symbol(T) +>Y : Symbol(Y) +>Z : Symbol(Z) +>T : Symbol(T) } var v1: C, Y>>; >v1 : Symbol(v1, Decl(parserGenericsInTypeContexts2.ts, 3, 3)) >C : Symbol(C, Decl(parserGenericsInTypeContexts2.ts, 0, 0)) +>X : Symbol(X) +>T : Symbol(T) +>Y : Symbol(Y) +>Z : Symbol(Z) +>T : Symbol(T) var v2: D, Y>> = null; >v2 : Symbol(v2, Decl(parserGenericsInTypeContexts2.ts, 4, 3)) +>D : Symbol(D) +>X : Symbol(X) +>T : Symbol(T) +>Y : Symbol(Y) +>Z : Symbol(Z) +>T : Symbol(T) var v3: E.F, Y>>; >v3 : Symbol(v3, Decl(parserGenericsInTypeContexts2.ts, 5, 3)) +>E : Symbol(E) +>F : Symbol(E.F) +>X : Symbol(X) +>T : Symbol(T) +>Y : Symbol(Y) +>Z : Symbol(Z) +>T : Symbol(T) var v4: G.H.I, Y>>; >v4 : Symbol(v4, Decl(parserGenericsInTypeContexts2.ts, 6, 3)) +>G : Symbol(G) +>H : Symbol(G.H) +>I : Symbol(G.H.I) +>X : Symbol(X) +>T : Symbol(T) +>Y : Symbol(Y) +>Z : Symbol(Z) +>T : Symbol(T) var v6: K, Y>>[]; >v6 : Symbol(v6, Decl(parserGenericsInTypeContexts2.ts, 7, 3)) +>K : Symbol(K) +>X : Symbol(X) +>T : Symbol(T) +>Y : Symbol(Y) +>Z : Symbol(Z) +>T : Symbol(T) function f1(a: E, Y>>) { >f1 : Symbol(f1, Decl(parserGenericsInTypeContexts2.ts, 7, 27)) >a : Symbol(a, Decl(parserGenericsInTypeContexts2.ts, 10, 12)) +>E : Symbol(E) +>X : Symbol(X) +>T : Symbol(T) +>Y : Symbol(Y) +>Z : Symbol(Z) +>T : Symbol(T) } function f2(): F, Y>> { >f2 : Symbol(f2, Decl(parserGenericsInTypeContexts2.ts, 11, 1)) +>F : Symbol(F) +>X : Symbol(X) +>T : Symbol(T) +>Y : Symbol(Y) +>Z : Symbol(Z) +>T : Symbol(T) } diff --git a/tests/baselines/reference/parserGenericsInTypeContexts2.types b/tests/baselines/reference/parserGenericsInTypeContexts2.types index bb4314a062ef2..b74a9815ab4a4 100644 --- a/tests/baselines/reference/parserGenericsInTypeContexts2.types +++ b/tests/baselines/reference/parserGenericsInTypeContexts2.types @@ -8,29 +8,29 @@ var v1: C, Y>>; >v1 : any var v2: D, Y>> = null; ->v2 : any +>v2 : D, Y>> >null : null var v3: E.F, Y>>; ->v3 : any +>v3 : E.F, Y>> >E : any var v4: G.H.I, Y>>; ->v4 : any +>v4 : G.H.I, Y>> >G : any >H : any var v6: K, Y>>[]; ->v6 : any[] +>v6 : K, Y>>[] function f1(a: E, Y>>) { ->f1 : (a: any) => void ->a : any +>f1 : (a: E, Y>>) => void +>a : E, Y>> } function f2(): F, Y>> { ->f2 : () => any +>f2 : () => F, Y>> } diff --git a/tests/baselines/reference/parserGenericsInVariableDeclaration1.symbols b/tests/baselines/reference/parserGenericsInVariableDeclaration1.symbols index 539659e4e7e59..c4049b74f579b 100644 --- a/tests/baselines/reference/parserGenericsInVariableDeclaration1.symbols +++ b/tests/baselines/reference/parserGenericsInVariableDeclaration1.symbols @@ -1,19 +1,37 @@ === tests/cases/conformance/parser/ecmascript5/Generics/parserGenericsInVariableDeclaration1.ts === var v : Foo = 1; >v : Symbol(v, Decl(parserGenericsInVariableDeclaration1.ts, 0, 3), Decl(parserGenericsInVariableDeclaration1.ts, 1, 3), Decl(parserGenericsInVariableDeclaration1.ts, 3, 3), Decl(parserGenericsInVariableDeclaration1.ts, 4, 3), Decl(parserGenericsInVariableDeclaration1.ts, 6, 3) ... and 1 more) +>Foo : Symbol(Foo) +>T : Symbol(T) var v : Foo= 1; >v : Symbol(v, Decl(parserGenericsInVariableDeclaration1.ts, 0, 3), Decl(parserGenericsInVariableDeclaration1.ts, 1, 3), Decl(parserGenericsInVariableDeclaration1.ts, 3, 3), Decl(parserGenericsInVariableDeclaration1.ts, 4, 3), Decl(parserGenericsInVariableDeclaration1.ts, 6, 3) ... and 1 more) +>Foo : Symbol(Foo) +>T : Symbol(T) var v : Foo> = 1; >v : Symbol(v, Decl(parserGenericsInVariableDeclaration1.ts, 0, 3), Decl(parserGenericsInVariableDeclaration1.ts, 1, 3), Decl(parserGenericsInVariableDeclaration1.ts, 3, 3), Decl(parserGenericsInVariableDeclaration1.ts, 4, 3), Decl(parserGenericsInVariableDeclaration1.ts, 6, 3) ... and 1 more) +>Foo : Symbol(Foo) +>Bar : Symbol(Bar) +>T : Symbol(T) var v : Foo>= 1; >v : Symbol(v, Decl(parserGenericsInVariableDeclaration1.ts, 0, 3), Decl(parserGenericsInVariableDeclaration1.ts, 1, 3), Decl(parserGenericsInVariableDeclaration1.ts, 3, 3), Decl(parserGenericsInVariableDeclaration1.ts, 4, 3), Decl(parserGenericsInVariableDeclaration1.ts, 6, 3) ... and 1 more) +>Foo : Symbol(Foo) +>Bar : Symbol(Bar) +>T : Symbol(T) var v : Foo>> = 1; >v : Symbol(v, Decl(parserGenericsInVariableDeclaration1.ts, 0, 3), Decl(parserGenericsInVariableDeclaration1.ts, 1, 3), Decl(parserGenericsInVariableDeclaration1.ts, 3, 3), Decl(parserGenericsInVariableDeclaration1.ts, 4, 3), Decl(parserGenericsInVariableDeclaration1.ts, 6, 3) ... and 1 more) +>Foo : Symbol(Foo) +>Bar : Symbol(Bar) +>Quux : Symbol(Quux) +>T : Symbol(T) var v : Foo>>= 1; >v : Symbol(v, Decl(parserGenericsInVariableDeclaration1.ts, 0, 3), Decl(parserGenericsInVariableDeclaration1.ts, 1, 3), Decl(parserGenericsInVariableDeclaration1.ts, 3, 3), Decl(parserGenericsInVariableDeclaration1.ts, 4, 3), Decl(parserGenericsInVariableDeclaration1.ts, 6, 3) ... and 1 more) +>Foo : Symbol(Foo) +>Bar : Symbol(Bar) +>Quux : Symbol(Quux) +>T : Symbol(T) diff --git a/tests/baselines/reference/parserGenericsInVariableDeclaration1.types b/tests/baselines/reference/parserGenericsInVariableDeclaration1.types index 964f1f875bb63..e59ed94ead5da 100644 --- a/tests/baselines/reference/parserGenericsInVariableDeclaration1.types +++ b/tests/baselines/reference/parserGenericsInVariableDeclaration1.types @@ -1,25 +1,25 @@ === tests/cases/conformance/parser/ecmascript5/Generics/parserGenericsInVariableDeclaration1.ts === var v : Foo = 1; ->v : any +>v : Foo >1 : 1 var v : Foo= 1; ->v : any +>v : Foo >1 : 1 var v : Foo> = 1; ->v : any +>v : Foo >1 : 1 var v : Foo>= 1; ->v : any +>v : Foo >1 : 1 var v : Foo>> = 1; ->v : any +>v : Foo >1 : 1 var v : Foo>>= 1; ->v : any +>v : Foo >1 : 1 diff --git a/tests/baselines/reference/parserMemberAccessExpression1.symbols b/tests/baselines/reference/parserMemberAccessExpression1.symbols index 9ecc311ccbcf8..8849195e13ff4 100644 --- a/tests/baselines/reference/parserMemberAccessExpression1.symbols +++ b/tests/baselines/reference/parserMemberAccessExpression1.symbols @@ -1,7 +1,14 @@ === tests/cases/conformance/parser/ecmascript5/Generics/parserMemberAccessExpression1.ts === Foo(); -No type information for this code.Foo.Bar(); -No type information for this code.Foo.Bar(); -No type information for this code.Foo.Bar(); -No type information for this code. -No type information for this code. \ No newline at end of file +>T : Symbol(T) + +Foo.Bar(); +>T : Symbol(T) + +Foo.Bar(); +>T : Symbol(T) + +Foo.Bar(); +>T : Symbol(T) +>T : Symbol(T) + diff --git a/tests/baselines/reference/parserMissingLambdaOpenBrace1.symbols b/tests/baselines/reference/parserMissingLambdaOpenBrace1.symbols index 252d900c0806b..d7b2073d2291a 100644 --- a/tests/baselines/reference/parserMissingLambdaOpenBrace1.symbols +++ b/tests/baselines/reference/parserMissingLambdaOpenBrace1.symbols @@ -5,6 +5,10 @@ class C { where(filter: Iterator): Query { >where : Symbol(C.where, Decl(parserMissingLambdaOpenBrace1.ts, 0, 9)) >filter : Symbol(filter, Decl(parserMissingLambdaOpenBrace1.ts, 1, 10)) +>Iterator : Symbol(Iterator) +>T : Symbol(T) +>Query : Symbol(Query) +>T : Symbol(T) return fromDoWhile(test => >test : Symbol(test, Decl(parserMissingLambdaOpenBrace1.ts, 2, 27)) diff --git a/tests/baselines/reference/parserMissingLambdaOpenBrace1.types b/tests/baselines/reference/parserMissingLambdaOpenBrace1.types index 51399fea3b64f..7a6d13565fd61 100644 --- a/tests/baselines/reference/parserMissingLambdaOpenBrace1.types +++ b/tests/baselines/reference/parserMissingLambdaOpenBrace1.types @@ -3,8 +3,8 @@ class C { >C : C where(filter: Iterator): Query { ->where : (filter: any) => any ->filter : any +>where : (filter: Iterator) => Query +>filter : Iterator return fromDoWhile(test => >fromDoWhile(test => var index = 0; return this.doWhile((item, i) => filter(item, i) ? test(item, index++) : true); }) : any @@ -26,7 +26,7 @@ class C { >i : any >filter(item, i) ? test(item, index++) : true : any >filter(item, i) : any ->filter : any +>filter : Iterator >item : any >i : any >test(item, index++) : any diff --git a/tests/baselines/reference/parserObjectType5.symbols b/tests/baselines/reference/parserObjectType5.symbols index fdd6f6e60e250..9b1c912dd8a5f 100644 --- a/tests/baselines/reference/parserObjectType5.symbols +++ b/tests/baselines/reference/parserObjectType5.symbols @@ -4,6 +4,7 @@ var v: { A: B >A : Symbol(A, Decl(parserObjectType5.ts, 0, 8)) +>B : Symbol(B) ; >T : Symbol(T, Decl(parserObjectType5.ts, 2, 4)) diff --git a/tests/baselines/reference/parserObjectType5.types b/tests/baselines/reference/parserObjectType5.types index 4655fb113ddd2..5d7c3062811ec 100644 --- a/tests/baselines/reference/parserObjectType5.types +++ b/tests/baselines/reference/parserObjectType5.types @@ -1,9 +1,9 @@ === tests/cases/conformance/parser/ecmascript5/ObjectTypes/parserObjectType5.ts === var v: { ->v : { (): any; A: any; } +>v : { (): any; A: B; } A: B ->A : any +>A : B ; }; diff --git a/tests/baselines/reference/parserObjectType6.symbols b/tests/baselines/reference/parserObjectType6.symbols index 6624bb5e5dc1f..aa173893c5c8a 100644 --- a/tests/baselines/reference/parserObjectType6.symbols +++ b/tests/baselines/reference/parserObjectType6.symbols @@ -4,6 +4,7 @@ var v: { a: B >a : Symbol(a, Decl(parserObjectType6.ts, 0, 8)) +>B : Symbol(B) []; }; diff --git a/tests/baselines/reference/parserObjectType6.types b/tests/baselines/reference/parserObjectType6.types index 2b7506ab73b17..f631fd3ff1be7 100644 --- a/tests/baselines/reference/parserObjectType6.types +++ b/tests/baselines/reference/parserObjectType6.types @@ -1,9 +1,9 @@ === tests/cases/conformance/parser/ecmascript5/ObjectTypes/parserObjectType6.ts === var v: { ->v : { a: any; } +>v : { a: B; } a: B ->a : any +>a : B []; }; diff --git a/tests/baselines/reference/parserParameterList5.symbols b/tests/baselines/reference/parserParameterList5.symbols index c290fa27462cf..6c2c65b0ace4b 100644 --- a/tests/baselines/reference/parserParameterList5.symbols +++ b/tests/baselines/reference/parserParameterList5.symbols @@ -2,4 +2,5 @@ function A(): (public B) => C { >A : Symbol(A, Decl(parserParameterList5.ts, 0, 0)) >B : Symbol(B, Decl(parserParameterList5.ts, 0, 15)) +>C : Symbol(C) } diff --git a/tests/baselines/reference/parserParameterList5.types b/tests/baselines/reference/parserParameterList5.types index 9fe31ee1a939b..ed171e3aba250 100644 --- a/tests/baselines/reference/parserParameterList5.types +++ b/tests/baselines/reference/parserParameterList5.types @@ -1,5 +1,5 @@ === tests/cases/conformance/parser/ecmascript5/ParameterLists/parserParameterList5.ts === function A(): (public B) => C { ->A : () => (B: any) => any +>A : () => (B: any) => C >B : any } diff --git a/tests/baselines/reference/parserRealSource10.symbols b/tests/baselines/reference/parserRealSource10.symbols index 5a7fab717d600..97b3ebb7d1e84 100644 --- a/tests/baselines/reference/parserRealSource10.symbols +++ b/tests/baselines/reference/parserRealSource10.symbols @@ -551,6 +551,7 @@ module TypeScript { public text: string, public ers: ErrorRecoverySet) { } >text : Symbol(TokenInfo.text, Decl(parserRealSource10.ts, 177, 79)) >ers : Symbol(TokenInfo.ers, Decl(parserRealSource10.ts, 178, 40)) +>ErrorRecoverySet : Symbol(ErrorRecoverySet) } function setTokenInfo(tokenId: TokenID, reservation: number, binopPrecedence: number, @@ -568,6 +569,7 @@ module TypeScript { text: string, ers: ErrorRecoverySet) { >text : Symbol(text, Decl(parserRealSource10.ts, 182, 76)) >ers : Symbol(ers, Decl(parserRealSource10.ts, 183, 21)) +>ErrorRecoverySet : Symbol(ErrorRecoverySet) if (tokenId !== undefined) { >tokenId : Symbol(tokenId, Decl(parserRealSource10.ts, 181, 26)) diff --git a/tests/baselines/reference/parserRealSource10.types b/tests/baselines/reference/parserRealSource10.types index 15c13118c67c3..fc77c484f0715 100644 --- a/tests/baselines/reference/parserRealSource10.types +++ b/tests/baselines/reference/parserRealSource10.types @@ -607,11 +607,11 @@ module TypeScript { public text: string, public ers: ErrorRecoverySet) { } >text : string ->ers : any +>ers : ErrorRecoverySet } function setTokenInfo(tokenId: TokenID, reservation: number, binopPrecedence: number, ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >tokenId : TokenID >reservation : number >binopPrecedence : number @@ -623,7 +623,7 @@ module TypeScript { text: string, ers: ErrorRecoverySet) { >text : string ->ers : any +>ers : ErrorRecoverySet if (tokenId !== undefined) { >tokenId !== undefined : boolean @@ -646,7 +646,7 @@ module TypeScript { >unopPrecedence : number >unopNodeType : number >text : string ->ers : any +>ers : ErrorRecoverySet if (binopNodeType != NodeType.None) { >binopNodeType != NodeType.None : boolean @@ -688,7 +688,7 @@ module TypeScript { setTokenInfo(TokenID.Any, Reservation.TypeScript, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "any", ErrorRecoverySet.PrimType); >setTokenInfo(TokenID.Any, Reservation.TypeScript, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "any", ErrorRecoverySet.PrimType) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Any : TokenID.Any >TokenID : typeof TokenID >Any : TokenID.Any @@ -714,7 +714,7 @@ module TypeScript { setTokenInfo(TokenID.Bool, Reservation.TypeScript, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "boolean", ErrorRecoverySet.PrimType); >setTokenInfo(TokenID.Bool, Reservation.TypeScript, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "boolean", ErrorRecoverySet.PrimType) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Bool : TokenID.Bool >TokenID : typeof TokenID >Bool : TokenID.Bool @@ -740,7 +740,7 @@ module TypeScript { setTokenInfo(TokenID.Break, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "break", ErrorRecoverySet.Stmt); >setTokenInfo(TokenID.Break, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "break", ErrorRecoverySet.Stmt) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Break : TokenID.Break >TokenID : typeof TokenID >Break : TokenID.Break @@ -766,7 +766,7 @@ module TypeScript { setTokenInfo(TokenID.Case, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "case", ErrorRecoverySet.SCase); >setTokenInfo(TokenID.Case, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "case", ErrorRecoverySet.SCase) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Case : TokenID.Case >TokenID : typeof TokenID >Case : TokenID.Case @@ -792,7 +792,7 @@ module TypeScript { setTokenInfo(TokenID.Catch, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "catch", ErrorRecoverySet.Catch); >setTokenInfo(TokenID.Catch, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "catch", ErrorRecoverySet.Catch) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Catch : TokenID.Catch >TokenID : typeof TokenID >Catch : TokenID.Catch @@ -818,7 +818,7 @@ module TypeScript { setTokenInfo(TokenID.Class, Reservation.TypeScriptAndJSFuture, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "class", ErrorRecoverySet.TypeScriptS); >setTokenInfo(TokenID.Class, Reservation.TypeScriptAndJSFuture, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "class", ErrorRecoverySet.TypeScriptS) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Class : TokenID.Class >TokenID : typeof TokenID >Class : TokenID.Class @@ -844,7 +844,7 @@ module TypeScript { setTokenInfo(TokenID.Const, Reservation.TypeScriptAndJSFuture, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "const", ErrorRecoverySet.Var); >setTokenInfo(TokenID.Const, Reservation.TypeScriptAndJSFuture, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "const", ErrorRecoverySet.Var) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Const : TokenID.Const >TokenID : typeof TokenID >Const : TokenID.Const @@ -870,7 +870,7 @@ module TypeScript { setTokenInfo(TokenID.Continue, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "continue", ErrorRecoverySet.Stmt); >setTokenInfo(TokenID.Continue, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "continue", ErrorRecoverySet.Stmt) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Continue : TokenID.Continue >TokenID : typeof TokenID >Continue : TokenID.Continue @@ -896,7 +896,7 @@ module TypeScript { setTokenInfo(TokenID.Debugger, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.Debugger, "debugger", ErrorRecoverySet.Stmt); >setTokenInfo(TokenID.Debugger, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.Debugger, "debugger", ErrorRecoverySet.Stmt) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Debugger : TokenID.Debugger >TokenID : typeof TokenID >Debugger : TokenID.Debugger @@ -922,7 +922,7 @@ module TypeScript { setTokenInfo(TokenID.Default, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "default", ErrorRecoverySet.SCase); >setTokenInfo(TokenID.Default, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "default", ErrorRecoverySet.SCase) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Default : TokenID.Default >TokenID : typeof TokenID >Default : TokenID.Default @@ -948,7 +948,7 @@ module TypeScript { setTokenInfo(TokenID.Delete, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.Unary, NodeType.Delete, "delete", ErrorRecoverySet.Prefix); >setTokenInfo(TokenID.Delete, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.Unary, NodeType.Delete, "delete", ErrorRecoverySet.Prefix) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Delete : TokenID.Delete >TokenID : typeof TokenID >Delete : TokenID.Delete @@ -974,7 +974,7 @@ module TypeScript { setTokenInfo(TokenID.Do, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "do", ErrorRecoverySet.Stmt); >setTokenInfo(TokenID.Do, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "do", ErrorRecoverySet.Stmt) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Do : TokenID.Do >TokenID : typeof TokenID >Do : TokenID.Do @@ -1000,7 +1000,7 @@ module TypeScript { setTokenInfo(TokenID.Else, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "else", ErrorRecoverySet.Else); >setTokenInfo(TokenID.Else, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "else", ErrorRecoverySet.Else) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Else : TokenID.Else >TokenID : typeof TokenID >Else : TokenID.Else @@ -1026,7 +1026,7 @@ module TypeScript { setTokenInfo(TokenID.Enum, Reservation.TypeScriptAndJSFuture, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "enum", ErrorRecoverySet.TypeScriptS); >setTokenInfo(TokenID.Enum, Reservation.TypeScriptAndJSFuture, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "enum", ErrorRecoverySet.TypeScriptS) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Enum : TokenID.Enum >TokenID : typeof TokenID >Enum : TokenID.Enum @@ -1052,7 +1052,7 @@ module TypeScript { setTokenInfo(TokenID.Export, Reservation.TypeScriptAndJSFuture, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "export", ErrorRecoverySet.TypeScriptS); >setTokenInfo(TokenID.Export, Reservation.TypeScriptAndJSFuture, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "export", ErrorRecoverySet.TypeScriptS) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Export : TokenID.Export >TokenID : typeof TokenID >Export : TokenID.Export @@ -1078,7 +1078,7 @@ module TypeScript { setTokenInfo(TokenID.Extends, Reservation.TypeScriptAndJSFuture, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "extends", ErrorRecoverySet.None); >setTokenInfo(TokenID.Extends, Reservation.TypeScriptAndJSFuture, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "extends", ErrorRecoverySet.None) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Extends : TokenID.Extends >TokenID : typeof TokenID >Extends : TokenID.Extends @@ -1104,7 +1104,7 @@ module TypeScript { setTokenInfo(TokenID.Declare, Reservation.TypeScript, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "declare", ErrorRecoverySet.Stmt); >setTokenInfo(TokenID.Declare, Reservation.TypeScript, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "declare", ErrorRecoverySet.Stmt) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Declare : TokenID.Declare >TokenID : typeof TokenID >Declare : TokenID.Declare @@ -1130,7 +1130,7 @@ module TypeScript { setTokenInfo(TokenID.False, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "false", ErrorRecoverySet.RLit); >setTokenInfo(TokenID.False, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "false", ErrorRecoverySet.RLit) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.False : TokenID.False >TokenID : typeof TokenID >False : TokenID.False @@ -1156,7 +1156,7 @@ module TypeScript { setTokenInfo(TokenID.Finally, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "finally", ErrorRecoverySet.Catch); >setTokenInfo(TokenID.Finally, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "finally", ErrorRecoverySet.Catch) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Finally : TokenID.Finally >TokenID : typeof TokenID >Finally : TokenID.Finally @@ -1182,7 +1182,7 @@ module TypeScript { setTokenInfo(TokenID.For, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "for", ErrorRecoverySet.Stmt); >setTokenInfo(TokenID.For, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "for", ErrorRecoverySet.Stmt) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.For : TokenID.For >TokenID : typeof TokenID >For : TokenID.For @@ -1208,7 +1208,7 @@ module TypeScript { setTokenInfo(TokenID.Function, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "function", ErrorRecoverySet.Func); >setTokenInfo(TokenID.Function, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "function", ErrorRecoverySet.Func) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Function : TokenID.Function >TokenID : typeof TokenID >Function : TokenID.Function @@ -1234,7 +1234,7 @@ module TypeScript { setTokenInfo(TokenID.Constructor, Reservation.TypeScriptAndJSFutureStrict, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "constructor", ErrorRecoverySet.Func); >setTokenInfo(TokenID.Constructor, Reservation.TypeScriptAndJSFutureStrict, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "constructor", ErrorRecoverySet.Func) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Constructor : TokenID.Constructor >TokenID : typeof TokenID >Constructor : TokenID.Constructor @@ -1260,7 +1260,7 @@ module TypeScript { setTokenInfo(TokenID.Get, Reservation.TypeScript, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "get", ErrorRecoverySet.Func); >setTokenInfo(TokenID.Get, Reservation.TypeScript, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "get", ErrorRecoverySet.Func) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Get : TokenID.Get >TokenID : typeof TokenID >Get : TokenID.Get @@ -1286,7 +1286,7 @@ module TypeScript { setTokenInfo(TokenID.Set, Reservation.TypeScript, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "set", ErrorRecoverySet.Func); >setTokenInfo(TokenID.Set, Reservation.TypeScript, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "set", ErrorRecoverySet.Func) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Set : TokenID.Set >TokenID : typeof TokenID >Set : TokenID.Set @@ -1312,7 +1312,7 @@ module TypeScript { setTokenInfo(TokenID.If, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "if", ErrorRecoverySet.Stmt); >setTokenInfo(TokenID.If, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "if", ErrorRecoverySet.Stmt) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.If : TokenID.If >TokenID : typeof TokenID >If : TokenID.If @@ -1338,7 +1338,7 @@ module TypeScript { setTokenInfo(TokenID.Implements, Reservation.TypeScriptAndJSFutureStrict, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "implements", ErrorRecoverySet.None); >setTokenInfo(TokenID.Implements, Reservation.TypeScriptAndJSFutureStrict, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "implements", ErrorRecoverySet.None) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Implements : TokenID.Implements >TokenID : typeof TokenID >Implements : TokenID.Implements @@ -1364,7 +1364,7 @@ module TypeScript { setTokenInfo(TokenID.Import, Reservation.TypeScriptAndJSFuture, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "import", ErrorRecoverySet.TypeScriptS); >setTokenInfo(TokenID.Import, Reservation.TypeScriptAndJSFuture, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "import", ErrorRecoverySet.TypeScriptS) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Import : TokenID.Import >TokenID : typeof TokenID >Import : TokenID.Import @@ -1390,7 +1390,7 @@ module TypeScript { setTokenInfo(TokenID.In, Reservation.TypeScriptAndJS, OperatorPrecedence.Relational, NodeType.In, OperatorPrecedence.None, NodeType.None, "in", ErrorRecoverySet.None); >setTokenInfo(TokenID.In, Reservation.TypeScriptAndJS, OperatorPrecedence.Relational, NodeType.In, OperatorPrecedence.None, NodeType.None, "in", ErrorRecoverySet.None) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.In : TokenID.In >TokenID : typeof TokenID >In : TokenID.In @@ -1416,7 +1416,7 @@ module TypeScript { setTokenInfo(TokenID.InstanceOf, Reservation.TypeScriptAndJS, OperatorPrecedence.Relational, NodeType.InstOf, OperatorPrecedence.None, NodeType.None, "instanceof", ErrorRecoverySet.BinOp); >setTokenInfo(TokenID.InstanceOf, Reservation.TypeScriptAndJS, OperatorPrecedence.Relational, NodeType.InstOf, OperatorPrecedence.None, NodeType.None, "instanceof", ErrorRecoverySet.BinOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.InstanceOf : TokenID.InstanceOf >TokenID : typeof TokenID >InstanceOf : TokenID.InstanceOf @@ -1442,7 +1442,7 @@ module TypeScript { setTokenInfo(TokenID.Interface, Reservation.TypeScriptAndJSFutureStrict, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "interface", ErrorRecoverySet.TypeScriptS); >setTokenInfo(TokenID.Interface, Reservation.TypeScriptAndJSFutureStrict, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "interface", ErrorRecoverySet.TypeScriptS) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Interface : TokenID.Interface >TokenID : typeof TokenID >Interface : TokenID.Interface @@ -1468,7 +1468,7 @@ module TypeScript { setTokenInfo(TokenID.Let, Reservation.JavascriptFutureStrict, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "let", ErrorRecoverySet.None); >setTokenInfo(TokenID.Let, Reservation.JavascriptFutureStrict, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "let", ErrorRecoverySet.None) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Let : TokenID.Let >TokenID : typeof TokenID >Let : TokenID.Let @@ -1494,7 +1494,7 @@ module TypeScript { setTokenInfo(TokenID.Module, Reservation.TypeScript, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "module", ErrorRecoverySet.TypeScriptS); >setTokenInfo(TokenID.Module, Reservation.TypeScript, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "module", ErrorRecoverySet.TypeScriptS) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Module : TokenID.Module >TokenID : typeof TokenID >Module : TokenID.Module @@ -1520,7 +1520,7 @@ module TypeScript { setTokenInfo(TokenID.New, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "new", ErrorRecoverySet.PreOp); >setTokenInfo(TokenID.New, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "new", ErrorRecoverySet.PreOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.New : TokenID.New >TokenID : typeof TokenID >New : TokenID.New @@ -1546,7 +1546,7 @@ module TypeScript { setTokenInfo(TokenID.Number, Reservation.TypeScript, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "number", ErrorRecoverySet.PrimType); >setTokenInfo(TokenID.Number, Reservation.TypeScript, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "number", ErrorRecoverySet.PrimType) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Number : TokenID.Number >TokenID : typeof TokenID >Number : TokenID.Number @@ -1572,7 +1572,7 @@ module TypeScript { setTokenInfo(TokenID.Null, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "null", ErrorRecoverySet.RLit); >setTokenInfo(TokenID.Null, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "null", ErrorRecoverySet.RLit) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Null : TokenID.Null >TokenID : typeof TokenID >Null : TokenID.Null @@ -1598,7 +1598,7 @@ module TypeScript { setTokenInfo(TokenID.Package, Reservation.JavascriptFutureStrict, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "package", ErrorRecoverySet.None); >setTokenInfo(TokenID.Package, Reservation.JavascriptFutureStrict, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "package", ErrorRecoverySet.None) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Package : TokenID.Package >TokenID : typeof TokenID >Package : TokenID.Package @@ -1624,7 +1624,7 @@ module TypeScript { setTokenInfo(TokenID.Private, Reservation.TypeScriptAndJSFutureStrict, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "private", ErrorRecoverySet.TypeScriptS); >setTokenInfo(TokenID.Private, Reservation.TypeScriptAndJSFutureStrict, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "private", ErrorRecoverySet.TypeScriptS) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Private : TokenID.Private >TokenID : typeof TokenID >Private : TokenID.Private @@ -1650,7 +1650,7 @@ module TypeScript { setTokenInfo(TokenID.Protected, Reservation.JavascriptFutureStrict, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "protected", ErrorRecoverySet.None); >setTokenInfo(TokenID.Protected, Reservation.JavascriptFutureStrict, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "protected", ErrorRecoverySet.None) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Protected : TokenID.Protected >TokenID : typeof TokenID >Protected : TokenID.Protected @@ -1676,7 +1676,7 @@ module TypeScript { setTokenInfo(TokenID.Public, Reservation.TypeScriptAndJSFutureStrict, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "public", ErrorRecoverySet.TypeScriptS); >setTokenInfo(TokenID.Public, Reservation.TypeScriptAndJSFutureStrict, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "public", ErrorRecoverySet.TypeScriptS) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Public : TokenID.Public >TokenID : typeof TokenID >Public : TokenID.Public @@ -1702,7 +1702,7 @@ module TypeScript { setTokenInfo(TokenID.Return, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "return", ErrorRecoverySet.Stmt); >setTokenInfo(TokenID.Return, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "return", ErrorRecoverySet.Stmt) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Return : TokenID.Return >TokenID : typeof TokenID >Return : TokenID.Return @@ -1728,7 +1728,7 @@ module TypeScript { setTokenInfo(TokenID.Static, Reservation.TypeScriptAndJSFutureStrict, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "static", ErrorRecoverySet.None); >setTokenInfo(TokenID.Static, Reservation.TypeScriptAndJSFutureStrict, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "static", ErrorRecoverySet.None) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Static : TokenID.Static >TokenID : typeof TokenID >Static : TokenID.Static @@ -1754,7 +1754,7 @@ module TypeScript { setTokenInfo(TokenID.String, Reservation.TypeScript, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "string", ErrorRecoverySet.PrimType); >setTokenInfo(TokenID.String, Reservation.TypeScript, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "string", ErrorRecoverySet.PrimType) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.String : TokenID.String >TokenID : typeof TokenID >String : TokenID.String @@ -1780,7 +1780,7 @@ module TypeScript { setTokenInfo(TokenID.Super, Reservation.TypeScriptAndJSFuture, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "super", ErrorRecoverySet.RLit); >setTokenInfo(TokenID.Super, Reservation.TypeScriptAndJSFuture, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "super", ErrorRecoverySet.RLit) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Super : TokenID.Super >TokenID : typeof TokenID >Super : TokenID.Super @@ -1806,7 +1806,7 @@ module TypeScript { setTokenInfo(TokenID.Switch, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "switch", ErrorRecoverySet.Stmt); >setTokenInfo(TokenID.Switch, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "switch", ErrorRecoverySet.Stmt) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Switch : TokenID.Switch >TokenID : typeof TokenID >Switch : TokenID.Switch @@ -1832,7 +1832,7 @@ module TypeScript { setTokenInfo(TokenID.This, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "this", ErrorRecoverySet.RLit); >setTokenInfo(TokenID.This, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "this", ErrorRecoverySet.RLit) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.This : TokenID.This >TokenID : typeof TokenID >This : TokenID.This @@ -1858,7 +1858,7 @@ module TypeScript { setTokenInfo(TokenID.Throw, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "throw", ErrorRecoverySet.Stmt); >setTokenInfo(TokenID.Throw, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "throw", ErrorRecoverySet.Stmt) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Throw : TokenID.Throw >TokenID : typeof TokenID >Throw : TokenID.Throw @@ -1884,7 +1884,7 @@ module TypeScript { setTokenInfo(TokenID.True, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "true", ErrorRecoverySet.RLit); >setTokenInfo(TokenID.True, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "true", ErrorRecoverySet.RLit) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.True : TokenID.True >TokenID : typeof TokenID >True : TokenID.True @@ -1910,7 +1910,7 @@ module TypeScript { setTokenInfo(TokenID.Try, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "try", ErrorRecoverySet.Stmt); >setTokenInfo(TokenID.Try, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "try", ErrorRecoverySet.Stmt) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Try : TokenID.Try >TokenID : typeof TokenID >Try : TokenID.Try @@ -1936,7 +1936,7 @@ module TypeScript { setTokenInfo(TokenID.TypeOf, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.Unary, NodeType.Typeof, "typeof", ErrorRecoverySet.Prefix); >setTokenInfo(TokenID.TypeOf, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.Unary, NodeType.Typeof, "typeof", ErrorRecoverySet.Prefix) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.TypeOf : TokenID.TypeOf >TokenID : typeof TokenID >TypeOf : TokenID.TypeOf @@ -1962,7 +1962,7 @@ module TypeScript { setTokenInfo(TokenID.Var, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "var", ErrorRecoverySet.Var); >setTokenInfo(TokenID.Var, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "var", ErrorRecoverySet.Var) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Var : TokenID.Var >TokenID : typeof TokenID >Var : TokenID.Var @@ -1988,7 +1988,7 @@ module TypeScript { setTokenInfo(TokenID.Void, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.Unary, NodeType.Void, "void", ErrorRecoverySet.Prefix); >setTokenInfo(TokenID.Void, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.Unary, NodeType.Void, "void", ErrorRecoverySet.Prefix) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Void : TokenID.Void >TokenID : typeof TokenID >Void : TokenID.Void @@ -2014,7 +2014,7 @@ module TypeScript { setTokenInfo(TokenID.With, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.With, "with", ErrorRecoverySet.Stmt); >setTokenInfo(TokenID.With, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.With, "with", ErrorRecoverySet.Stmt) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.With : TokenID.With >TokenID : typeof TokenID >With : TokenID.With @@ -2040,7 +2040,7 @@ module TypeScript { setTokenInfo(TokenID.While, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "while", ErrorRecoverySet.While); >setTokenInfo(TokenID.While, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "while", ErrorRecoverySet.While) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.While : TokenID.While >TokenID : typeof TokenID >While : TokenID.While @@ -2066,7 +2066,7 @@ module TypeScript { setTokenInfo(TokenID.Yield, Reservation.JavascriptFutureStrict, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "yield", ErrorRecoverySet.None); >setTokenInfo(TokenID.Yield, Reservation.JavascriptFutureStrict, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "yield", ErrorRecoverySet.None) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Yield : TokenID.Yield >TokenID : typeof TokenID >Yield : TokenID.Yield @@ -2092,7 +2092,7 @@ module TypeScript { setTokenInfo(TokenID.Identifier, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "identifier", ErrorRecoverySet.ID); >setTokenInfo(TokenID.Identifier, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "identifier", ErrorRecoverySet.ID) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Identifier : TokenID.Identifier >TokenID : typeof TokenID >Identifier : TokenID.Identifier @@ -2118,7 +2118,7 @@ module TypeScript { setTokenInfo(TokenID.NumberLiteral, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "numberLiteral", ErrorRecoverySet.Literal); >setTokenInfo(TokenID.NumberLiteral, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "numberLiteral", ErrorRecoverySet.Literal) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.NumberLiteral : TokenID.NumberLiteral >TokenID : typeof TokenID >NumberLiteral : TokenID.NumberLiteral @@ -2144,7 +2144,7 @@ module TypeScript { setTokenInfo(TokenID.RegularExpressionLiteral, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "regex", ErrorRecoverySet.RegExp); >setTokenInfo(TokenID.RegularExpressionLiteral, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "regex", ErrorRecoverySet.RegExp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.RegularExpressionLiteral : TokenID.RegularExpressionLiteral >TokenID : typeof TokenID >RegularExpressionLiteral : TokenID.RegularExpressionLiteral @@ -2170,7 +2170,7 @@ module TypeScript { setTokenInfo(TokenID.StringLiteral, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "qstring", ErrorRecoverySet.Literal); >setTokenInfo(TokenID.StringLiteral, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "qstring", ErrorRecoverySet.Literal) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.StringLiteral : TokenID.StringLiteral >TokenID : typeof TokenID >StringLiteral : TokenID.StringLiteral @@ -2197,7 +2197,7 @@ module TypeScript { // Non-operator non-identifier tokens setTokenInfo(TokenID.Semicolon, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, ";", ErrorRecoverySet.SColon); // ; >setTokenInfo(TokenID.Semicolon, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, ";", ErrorRecoverySet.SColon) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Semicolon : TokenID.Semicolon >TokenID : typeof TokenID >Semicolon : TokenID.Semicolon @@ -2223,7 +2223,7 @@ module TypeScript { setTokenInfo(TokenID.CloseParen, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, ")", ErrorRecoverySet.RParen); // ) >setTokenInfo(TokenID.CloseParen, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, ")", ErrorRecoverySet.RParen) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.CloseParen : TokenID.CloseParen >TokenID : typeof TokenID >CloseParen : TokenID.CloseParen @@ -2249,7 +2249,7 @@ module TypeScript { setTokenInfo(TokenID.CloseBracket, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "]", ErrorRecoverySet.RBrack); // ] >setTokenInfo(TokenID.CloseBracket, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "]", ErrorRecoverySet.RBrack) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.CloseBracket : TokenID.CloseBracket >TokenID : typeof TokenID >CloseBracket : TokenID.CloseBracket @@ -2275,7 +2275,7 @@ module TypeScript { setTokenInfo(TokenID.OpenBrace, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "{", ErrorRecoverySet.LCurly); // { >setTokenInfo(TokenID.OpenBrace, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "{", ErrorRecoverySet.LCurly) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.OpenBrace : TokenID.OpenBrace >TokenID : typeof TokenID >OpenBrace : TokenID.OpenBrace @@ -2301,7 +2301,7 @@ module TypeScript { setTokenInfo(TokenID.CloseBrace, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "}", ErrorRecoverySet.RCurly); // } >setTokenInfo(TokenID.CloseBrace, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "}", ErrorRecoverySet.RCurly) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.CloseBrace : TokenID.CloseBrace >TokenID : typeof TokenID >CloseBrace : TokenID.CloseBrace @@ -2327,7 +2327,7 @@ module TypeScript { setTokenInfo(TokenID.DotDotDot, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "...", ErrorRecoverySet.None); // ... >setTokenInfo(TokenID.DotDotDot, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "...", ErrorRecoverySet.None) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.DotDotDot : TokenID.DotDotDot >TokenID : typeof TokenID >DotDotDot : TokenID.DotDotDot @@ -2354,7 +2354,7 @@ module TypeScript { // Operator non-identifier tokens setTokenInfo(TokenID.Comma, Reservation.None, OperatorPrecedence.Comma, NodeType.Comma, OperatorPrecedence.None, NodeType.None, ",", ErrorRecoverySet.Comma); // , >setTokenInfo(TokenID.Comma, Reservation.None, OperatorPrecedence.Comma, NodeType.Comma, OperatorPrecedence.None, NodeType.None, ",", ErrorRecoverySet.Comma) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Comma : TokenID.Comma >TokenID : typeof TokenID >Comma : TokenID.Comma @@ -2380,7 +2380,7 @@ module TypeScript { setTokenInfo(TokenID.Equals, Reservation.None, OperatorPrecedence.Assignment, NodeType.Asg, OperatorPrecedence.None, NodeType.None, "=", ErrorRecoverySet.Asg); // = >setTokenInfo(TokenID.Equals, Reservation.None, OperatorPrecedence.Assignment, NodeType.Asg, OperatorPrecedence.None, NodeType.None, "=", ErrorRecoverySet.Asg) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Equals : TokenID.Equals >TokenID : typeof TokenID >Equals : TokenID.Equals @@ -2406,7 +2406,7 @@ module TypeScript { setTokenInfo(TokenID.PlusEquals, Reservation.None, OperatorPrecedence.Assignment, NodeType.AsgAdd, OperatorPrecedence.None, NodeType.None, "+=", ErrorRecoverySet.BinOp); // += >setTokenInfo(TokenID.PlusEquals, Reservation.None, OperatorPrecedence.Assignment, NodeType.AsgAdd, OperatorPrecedence.None, NodeType.None, "+=", ErrorRecoverySet.BinOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.PlusEquals : TokenID.PlusEquals >TokenID : typeof TokenID >PlusEquals : TokenID.PlusEquals @@ -2432,7 +2432,7 @@ module TypeScript { setTokenInfo(TokenID.MinusEquals, Reservation.None, OperatorPrecedence.Assignment, NodeType.AsgSub, OperatorPrecedence.None, NodeType.None, "-=", ErrorRecoverySet.BinOp); // -= >setTokenInfo(TokenID.MinusEquals, Reservation.None, OperatorPrecedence.Assignment, NodeType.AsgSub, OperatorPrecedence.None, NodeType.None, "-=", ErrorRecoverySet.BinOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.MinusEquals : TokenID.MinusEquals >TokenID : typeof TokenID >MinusEquals : TokenID.MinusEquals @@ -2458,7 +2458,7 @@ module TypeScript { setTokenInfo(TokenID.AsteriskEquals, Reservation.None, OperatorPrecedence.Assignment, NodeType.AsgMul, OperatorPrecedence.None, NodeType.None, "*=", ErrorRecoverySet.BinOp); // *= >setTokenInfo(TokenID.AsteriskEquals, Reservation.None, OperatorPrecedence.Assignment, NodeType.AsgMul, OperatorPrecedence.None, NodeType.None, "*=", ErrorRecoverySet.BinOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.AsteriskEquals : TokenID.AsteriskEquals >TokenID : typeof TokenID >AsteriskEquals : TokenID.AsteriskEquals @@ -2484,7 +2484,7 @@ module TypeScript { setTokenInfo(TokenID.SlashEquals, Reservation.None, OperatorPrecedence.Assignment, NodeType.AsgDiv, OperatorPrecedence.None, NodeType.None, "/=", ErrorRecoverySet.BinOp); // /= >setTokenInfo(TokenID.SlashEquals, Reservation.None, OperatorPrecedence.Assignment, NodeType.AsgDiv, OperatorPrecedence.None, NodeType.None, "/=", ErrorRecoverySet.BinOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.SlashEquals : TokenID.SlashEquals >TokenID : typeof TokenID >SlashEquals : TokenID.SlashEquals @@ -2510,7 +2510,7 @@ module TypeScript { setTokenInfo(TokenID.PercentEquals, Reservation.None, OperatorPrecedence.Assignment, NodeType.AsgMod, OperatorPrecedence.None, NodeType.None, "%=", ErrorRecoverySet.BinOp); // %= >setTokenInfo(TokenID.PercentEquals, Reservation.None, OperatorPrecedence.Assignment, NodeType.AsgMod, OperatorPrecedence.None, NodeType.None, "%=", ErrorRecoverySet.BinOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.PercentEquals : TokenID.PercentEquals >TokenID : typeof TokenID >PercentEquals : TokenID.PercentEquals @@ -2536,7 +2536,7 @@ module TypeScript { setTokenInfo(TokenID.AmpersandEquals, Reservation.None, OperatorPrecedence.Assignment, NodeType.AsgAnd, OperatorPrecedence.None, NodeType.None, "&=", ErrorRecoverySet.BinOp); // &= >setTokenInfo(TokenID.AmpersandEquals, Reservation.None, OperatorPrecedence.Assignment, NodeType.AsgAnd, OperatorPrecedence.None, NodeType.None, "&=", ErrorRecoverySet.BinOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.AmpersandEquals : TokenID.AmpersandEquals >TokenID : typeof TokenID >AmpersandEquals : TokenID.AmpersandEquals @@ -2562,7 +2562,7 @@ module TypeScript { setTokenInfo(TokenID.CaretEquals, Reservation.None, OperatorPrecedence.Assignment, NodeType.AsgXor, OperatorPrecedence.None, NodeType.None, "^=", ErrorRecoverySet.BinOp); // ^= >setTokenInfo(TokenID.CaretEquals, Reservation.None, OperatorPrecedence.Assignment, NodeType.AsgXor, OperatorPrecedence.None, NodeType.None, "^=", ErrorRecoverySet.BinOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.CaretEquals : TokenID.CaretEquals >TokenID : typeof TokenID >CaretEquals : TokenID.CaretEquals @@ -2588,7 +2588,7 @@ module TypeScript { setTokenInfo(TokenID.BarEquals, Reservation.None, OperatorPrecedence.Assignment, NodeType.AsgOr, OperatorPrecedence.None, NodeType.None, "|=", ErrorRecoverySet.BinOp); // |= >setTokenInfo(TokenID.BarEquals, Reservation.None, OperatorPrecedence.Assignment, NodeType.AsgOr, OperatorPrecedence.None, NodeType.None, "|=", ErrorRecoverySet.BinOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.BarEquals : TokenID.BarEquals >TokenID : typeof TokenID >BarEquals : TokenID.BarEquals @@ -2614,7 +2614,7 @@ module TypeScript { setTokenInfo(TokenID.LessThanLessThanEquals, Reservation.None, OperatorPrecedence.Assignment, NodeType.AsgLsh, OperatorPrecedence.None, NodeType.None, "<<=", ErrorRecoverySet.BinOp); // <<= >setTokenInfo(TokenID.LessThanLessThanEquals, Reservation.None, OperatorPrecedence.Assignment, NodeType.AsgLsh, OperatorPrecedence.None, NodeType.None, "<<=", ErrorRecoverySet.BinOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.LessThanLessThanEquals : TokenID.LessThanLessThanEquals >TokenID : typeof TokenID >LessThanLessThanEquals : TokenID.LessThanLessThanEquals @@ -2640,7 +2640,7 @@ module TypeScript { setTokenInfo(TokenID.GreaterThanGreaterThanEquals, Reservation.None, OperatorPrecedence.Assignment, NodeType.AsgRsh, OperatorPrecedence.None, NodeType.None, ">>=", ErrorRecoverySet.BinOp); // >>= >setTokenInfo(TokenID.GreaterThanGreaterThanEquals, Reservation.None, OperatorPrecedence.Assignment, NodeType.AsgRsh, OperatorPrecedence.None, NodeType.None, ">>=", ErrorRecoverySet.BinOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.GreaterThanGreaterThanEquals : TokenID.GreaterThanGreaterThanEquals >TokenID : typeof TokenID >GreaterThanGreaterThanEquals : TokenID.GreaterThanGreaterThanEquals @@ -2666,7 +2666,7 @@ module TypeScript { setTokenInfo(TokenID.GreaterThanGreaterThanGreaterThanEquals, Reservation.None, OperatorPrecedence.Assignment, NodeType.AsgRs2, OperatorPrecedence.None, NodeType.None, ">>>=", ErrorRecoverySet.BinOp); // >>>= >setTokenInfo(TokenID.GreaterThanGreaterThanGreaterThanEquals, Reservation.None, OperatorPrecedence.Assignment, NodeType.AsgRs2, OperatorPrecedence.None, NodeType.None, ">>>=", ErrorRecoverySet.BinOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.GreaterThanGreaterThanGreaterThanEquals : TokenID.GreaterThanGreaterThanGreaterThanEquals >TokenID : typeof TokenID >GreaterThanGreaterThanGreaterThanEquals : TokenID.GreaterThanGreaterThanGreaterThanEquals @@ -2692,7 +2692,7 @@ module TypeScript { setTokenInfo(TokenID.Question, Reservation.None, OperatorPrecedence.Conditional, NodeType.ConditionalExpression, OperatorPrecedence.None, NodeType.None, "?", ErrorRecoverySet.BinOp); // ? >setTokenInfo(TokenID.Question, Reservation.None, OperatorPrecedence.Conditional, NodeType.ConditionalExpression, OperatorPrecedence.None, NodeType.None, "?", ErrorRecoverySet.BinOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Question : TokenID.Question >TokenID : typeof TokenID >Question : TokenID.Question @@ -2718,7 +2718,7 @@ module TypeScript { setTokenInfo(TokenID.Colon, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, ":", ErrorRecoverySet.Colon); // : >setTokenInfo(TokenID.Colon, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, ":", ErrorRecoverySet.Colon) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Colon : TokenID.Colon >TokenID : typeof TokenID >Colon : TokenID.Colon @@ -2744,7 +2744,7 @@ module TypeScript { setTokenInfo(TokenID.BarBar, Reservation.None, OperatorPrecedence.LogicalOr, NodeType.LogOr, OperatorPrecedence.None, NodeType.None, "||", ErrorRecoverySet.BinOp); // || >setTokenInfo(TokenID.BarBar, Reservation.None, OperatorPrecedence.LogicalOr, NodeType.LogOr, OperatorPrecedence.None, NodeType.None, "||", ErrorRecoverySet.BinOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.BarBar : TokenID.BarBar >TokenID : typeof TokenID >BarBar : TokenID.BarBar @@ -2770,7 +2770,7 @@ module TypeScript { setTokenInfo(TokenID.AmpersandAmpersand, Reservation.None, OperatorPrecedence.LogicalAnd, NodeType.LogAnd, OperatorPrecedence.None, NodeType.None, "&&", ErrorRecoverySet.BinOp); // && >setTokenInfo(TokenID.AmpersandAmpersand, Reservation.None, OperatorPrecedence.LogicalAnd, NodeType.LogAnd, OperatorPrecedence.None, NodeType.None, "&&", ErrorRecoverySet.BinOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.AmpersandAmpersand : TokenID.AmpersandAmpersand >TokenID : typeof TokenID >AmpersandAmpersand : TokenID.AmpersandAmpersand @@ -2796,7 +2796,7 @@ module TypeScript { setTokenInfo(TokenID.Bar, Reservation.None, OperatorPrecedence.BitwiseOr, NodeType.Or, OperatorPrecedence.None, NodeType.None, "|", ErrorRecoverySet.BinOp); // | >setTokenInfo(TokenID.Bar, Reservation.None, OperatorPrecedence.BitwiseOr, NodeType.Or, OperatorPrecedence.None, NodeType.None, "|", ErrorRecoverySet.BinOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Bar : TokenID.Bar >TokenID : typeof TokenID >Bar : TokenID.Bar @@ -2822,7 +2822,7 @@ module TypeScript { setTokenInfo(TokenID.Caret, Reservation.None, OperatorPrecedence.BitwiseExclusiveOr, NodeType.Xor, OperatorPrecedence.None, NodeType.None, "^", ErrorRecoverySet.BinOp); // ^ >setTokenInfo(TokenID.Caret, Reservation.None, OperatorPrecedence.BitwiseExclusiveOr, NodeType.Xor, OperatorPrecedence.None, NodeType.None, "^", ErrorRecoverySet.BinOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Caret : TokenID.Caret >TokenID : typeof TokenID >Caret : TokenID.Caret @@ -2848,7 +2848,7 @@ module TypeScript { setTokenInfo(TokenID.And, Reservation.None, OperatorPrecedence.BitwiseAnd, NodeType.And, OperatorPrecedence.None, NodeType.None, "&", ErrorRecoverySet.BinOp); // & >setTokenInfo(TokenID.And, Reservation.None, OperatorPrecedence.BitwiseAnd, NodeType.And, OperatorPrecedence.None, NodeType.None, "&", ErrorRecoverySet.BinOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.And : TokenID.And >TokenID : typeof TokenID >And : TokenID.And @@ -2874,7 +2874,7 @@ module TypeScript { setTokenInfo(TokenID.EqualsEquals, Reservation.None, OperatorPrecedence.Equality, NodeType.Eq, OperatorPrecedence.None, NodeType.None, "==", ErrorRecoverySet.BinOp); // == >setTokenInfo(TokenID.EqualsEquals, Reservation.None, OperatorPrecedence.Equality, NodeType.Eq, OperatorPrecedence.None, NodeType.None, "==", ErrorRecoverySet.BinOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.EqualsEquals : TokenID.EqualsEquals >TokenID : typeof TokenID >EqualsEquals : TokenID.EqualsEquals @@ -2900,7 +2900,7 @@ module TypeScript { setTokenInfo(TokenID.ExclamationEquals, Reservation.None, OperatorPrecedence.Equality, NodeType.Ne, OperatorPrecedence.None, NodeType.None, "!=", ErrorRecoverySet.BinOp); // != >setTokenInfo(TokenID.ExclamationEquals, Reservation.None, OperatorPrecedence.Equality, NodeType.Ne, OperatorPrecedence.None, NodeType.None, "!=", ErrorRecoverySet.BinOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.ExclamationEquals : TokenID.ExclamationEquals >TokenID : typeof TokenID >ExclamationEquals : TokenID.ExclamationEquals @@ -2926,7 +2926,7 @@ module TypeScript { setTokenInfo(TokenID.EqualsEqualsEquals, Reservation.None, OperatorPrecedence.Equality, NodeType.Eqv, OperatorPrecedence.None, NodeType.None, "===", ErrorRecoverySet.BinOp); // === >setTokenInfo(TokenID.EqualsEqualsEquals, Reservation.None, OperatorPrecedence.Equality, NodeType.Eqv, OperatorPrecedence.None, NodeType.None, "===", ErrorRecoverySet.BinOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.EqualsEqualsEquals : TokenID.EqualsEqualsEquals >TokenID : typeof TokenID >EqualsEqualsEquals : TokenID.EqualsEqualsEquals @@ -2952,7 +2952,7 @@ module TypeScript { setTokenInfo(TokenID.ExclamationEqualsEquals, Reservation.None, OperatorPrecedence.Equality, NodeType.NEqv, OperatorPrecedence.None, NodeType.None, "!==", ErrorRecoverySet.BinOp); // !== >setTokenInfo(TokenID.ExclamationEqualsEquals, Reservation.None, OperatorPrecedence.Equality, NodeType.NEqv, OperatorPrecedence.None, NodeType.None, "!==", ErrorRecoverySet.BinOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.ExclamationEqualsEquals : TokenID.ExclamationEqualsEquals >TokenID : typeof TokenID >ExclamationEqualsEquals : TokenID.ExclamationEqualsEquals @@ -2978,7 +2978,7 @@ module TypeScript { setTokenInfo(TokenID.LessThan, Reservation.None, OperatorPrecedence.Relational, NodeType.Lt, OperatorPrecedence.None, NodeType.None, "<", ErrorRecoverySet.BinOp); // < >setTokenInfo(TokenID.LessThan, Reservation.None, OperatorPrecedence.Relational, NodeType.Lt, OperatorPrecedence.None, NodeType.None, "<", ErrorRecoverySet.BinOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.LessThan : TokenID.LessThan >TokenID : typeof TokenID >LessThan : TokenID.LessThan @@ -3004,7 +3004,7 @@ module TypeScript { setTokenInfo(TokenID.LessThanEquals, Reservation.None, OperatorPrecedence.Relational, NodeType.Le, OperatorPrecedence.None, NodeType.None, "<=", ErrorRecoverySet.BinOp); // <= >setTokenInfo(TokenID.LessThanEquals, Reservation.None, OperatorPrecedence.Relational, NodeType.Le, OperatorPrecedence.None, NodeType.None, "<=", ErrorRecoverySet.BinOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.LessThanEquals : TokenID.LessThanEquals >TokenID : typeof TokenID >LessThanEquals : TokenID.LessThanEquals @@ -3030,7 +3030,7 @@ module TypeScript { setTokenInfo(TokenID.GreaterThan, Reservation.None, OperatorPrecedence.Relational, NodeType.Gt, OperatorPrecedence.None, NodeType.None, ">", ErrorRecoverySet.BinOp); // > >setTokenInfo(TokenID.GreaterThan, Reservation.None, OperatorPrecedence.Relational, NodeType.Gt, OperatorPrecedence.None, NodeType.None, ">", ErrorRecoverySet.BinOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.GreaterThan : TokenID.GreaterThan >TokenID : typeof TokenID >GreaterThan : TokenID.GreaterThan @@ -3056,7 +3056,7 @@ module TypeScript { setTokenInfo(TokenID.GreaterThanEquals, Reservation.None, OperatorPrecedence.Relational, NodeType.Ge, OperatorPrecedence.None, NodeType.None, ">=", ErrorRecoverySet.BinOp); // >= >setTokenInfo(TokenID.GreaterThanEquals, Reservation.None, OperatorPrecedence.Relational, NodeType.Ge, OperatorPrecedence.None, NodeType.None, ">=", ErrorRecoverySet.BinOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.GreaterThanEquals : TokenID.GreaterThanEquals >TokenID : typeof TokenID >GreaterThanEquals : TokenID.GreaterThanEquals @@ -3082,7 +3082,7 @@ module TypeScript { setTokenInfo(TokenID.LessThanLessThan, Reservation.None, OperatorPrecedence.Shift, NodeType.Lsh, OperatorPrecedence.None, NodeType.None, "<<", ErrorRecoverySet.BinOp); // << >setTokenInfo(TokenID.LessThanLessThan, Reservation.None, OperatorPrecedence.Shift, NodeType.Lsh, OperatorPrecedence.None, NodeType.None, "<<", ErrorRecoverySet.BinOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.LessThanLessThan : TokenID.LessThanLessThan >TokenID : typeof TokenID >LessThanLessThan : TokenID.LessThanLessThan @@ -3108,7 +3108,7 @@ module TypeScript { setTokenInfo(TokenID.GreaterThanGreaterThan, Reservation.None, OperatorPrecedence.Shift, NodeType.Rsh, OperatorPrecedence.None, NodeType.None, ">>", ErrorRecoverySet.BinOp); // >> >setTokenInfo(TokenID.GreaterThanGreaterThan, Reservation.None, OperatorPrecedence.Shift, NodeType.Rsh, OperatorPrecedence.None, NodeType.None, ">>", ErrorRecoverySet.BinOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.GreaterThanGreaterThan : TokenID.GreaterThanGreaterThan >TokenID : typeof TokenID >GreaterThanGreaterThan : TokenID.GreaterThanGreaterThan @@ -3134,7 +3134,7 @@ module TypeScript { setTokenInfo(TokenID.GreaterThanGreaterThanGreaterThan, Reservation.None, OperatorPrecedence.Shift, NodeType.Rs2, OperatorPrecedence.None, NodeType.None, ">>>", ErrorRecoverySet.BinOp); // >>> >setTokenInfo(TokenID.GreaterThanGreaterThanGreaterThan, Reservation.None, OperatorPrecedence.Shift, NodeType.Rs2, OperatorPrecedence.None, NodeType.None, ">>>", ErrorRecoverySet.BinOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.GreaterThanGreaterThanGreaterThan : TokenID.GreaterThanGreaterThanGreaterThan >TokenID : typeof TokenID >GreaterThanGreaterThanGreaterThan : TokenID.GreaterThanGreaterThanGreaterThan @@ -3160,7 +3160,7 @@ module TypeScript { setTokenInfo(TokenID.Plus, Reservation.None, OperatorPrecedence.Additive, NodeType.Add, OperatorPrecedence.Unary, NodeType.Pos, "+", ErrorRecoverySet.AddOp); // + >setTokenInfo(TokenID.Plus, Reservation.None, OperatorPrecedence.Additive, NodeType.Add, OperatorPrecedence.Unary, NodeType.Pos, "+", ErrorRecoverySet.AddOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Plus : TokenID.Plus >TokenID : typeof TokenID >Plus : TokenID.Plus @@ -3186,7 +3186,7 @@ module TypeScript { setTokenInfo(TokenID.Minus, Reservation.None, OperatorPrecedence.Additive, NodeType.Sub, OperatorPrecedence.Unary, NodeType.Neg, "-", ErrorRecoverySet.AddOp); // - >setTokenInfo(TokenID.Minus, Reservation.None, OperatorPrecedence.Additive, NodeType.Sub, OperatorPrecedence.Unary, NodeType.Neg, "-", ErrorRecoverySet.AddOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Minus : TokenID.Minus >TokenID : typeof TokenID >Minus : TokenID.Minus @@ -3212,7 +3212,7 @@ module TypeScript { setTokenInfo(TokenID.Asterisk, Reservation.None, OperatorPrecedence.Multiplicative, NodeType.Mul, OperatorPrecedence.None, NodeType.None, "*", ErrorRecoverySet.BinOp); // * >setTokenInfo(TokenID.Asterisk, Reservation.None, OperatorPrecedence.Multiplicative, NodeType.Mul, OperatorPrecedence.None, NodeType.None, "*", ErrorRecoverySet.BinOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Asterisk : TokenID.Asterisk >TokenID : typeof TokenID >Asterisk : TokenID.Asterisk @@ -3238,7 +3238,7 @@ module TypeScript { setTokenInfo(TokenID.Slash, Reservation.None, OperatorPrecedence.Multiplicative, NodeType.Div, OperatorPrecedence.None, NodeType.None, "/", ErrorRecoverySet.BinOp); // / >setTokenInfo(TokenID.Slash, Reservation.None, OperatorPrecedence.Multiplicative, NodeType.Div, OperatorPrecedence.None, NodeType.None, "/", ErrorRecoverySet.BinOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Slash : TokenID.Slash >TokenID : typeof TokenID >Slash : TokenID.Slash @@ -3264,7 +3264,7 @@ module TypeScript { setTokenInfo(TokenID.Percent, Reservation.None, OperatorPrecedence.Multiplicative, NodeType.Mod, OperatorPrecedence.None, NodeType.None, "%", ErrorRecoverySet.BinOp); // % >setTokenInfo(TokenID.Percent, Reservation.None, OperatorPrecedence.Multiplicative, NodeType.Mod, OperatorPrecedence.None, NodeType.None, "%", ErrorRecoverySet.BinOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Percent : TokenID.Percent >TokenID : typeof TokenID >Percent : TokenID.Percent @@ -3290,7 +3290,7 @@ module TypeScript { setTokenInfo(TokenID.Tilde, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.Unary, NodeType.Not, "~", ErrorRecoverySet.PreOp); // ~ >setTokenInfo(TokenID.Tilde, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.Unary, NodeType.Not, "~", ErrorRecoverySet.PreOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Tilde : TokenID.Tilde >TokenID : typeof TokenID >Tilde : TokenID.Tilde @@ -3316,7 +3316,7 @@ module TypeScript { setTokenInfo(TokenID.Exclamation, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.Unary, NodeType.LogNot, "!", ErrorRecoverySet.PreOp); // ! >setTokenInfo(TokenID.Exclamation, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.Unary, NodeType.LogNot, "!", ErrorRecoverySet.PreOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Exclamation : TokenID.Exclamation >TokenID : typeof TokenID >Exclamation : TokenID.Exclamation @@ -3342,7 +3342,7 @@ module TypeScript { setTokenInfo(TokenID.PlusPlus, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.Unary, NodeType.IncPre, "++", ErrorRecoverySet.PreOp); // ++ >setTokenInfo(TokenID.PlusPlus, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.Unary, NodeType.IncPre, "++", ErrorRecoverySet.PreOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.PlusPlus : TokenID.PlusPlus >TokenID : typeof TokenID >PlusPlus : TokenID.PlusPlus @@ -3368,7 +3368,7 @@ module TypeScript { setTokenInfo(TokenID.MinusMinus, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.Unary, NodeType.DecPre, "--", ErrorRecoverySet.PreOp); // -- >setTokenInfo(TokenID.MinusMinus, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.Unary, NodeType.DecPre, "--", ErrorRecoverySet.PreOp) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.MinusMinus : TokenID.MinusMinus >TokenID : typeof TokenID >MinusMinus : TokenID.MinusMinus @@ -3394,7 +3394,7 @@ module TypeScript { setTokenInfo(TokenID.OpenParen, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "(", ErrorRecoverySet.LParen); // ( >setTokenInfo(TokenID.OpenParen, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "(", ErrorRecoverySet.LParen) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.OpenParen : TokenID.OpenParen >TokenID : typeof TokenID >OpenParen : TokenID.OpenParen @@ -3420,7 +3420,7 @@ module TypeScript { setTokenInfo(TokenID.OpenBracket, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "[", ErrorRecoverySet.LBrack); // [ >setTokenInfo(TokenID.OpenBracket, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "[", ErrorRecoverySet.LBrack) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.OpenBracket : TokenID.OpenBracket >TokenID : typeof TokenID >OpenBracket : TokenID.OpenBracket @@ -3446,7 +3446,7 @@ module TypeScript { setTokenInfo(TokenID.Dot, Reservation.None, OperatorPrecedence.Unary, NodeType.None, OperatorPrecedence.None, NodeType.None, ".", ErrorRecoverySet.Dot); // . >setTokenInfo(TokenID.Dot, Reservation.None, OperatorPrecedence.Unary, NodeType.None, OperatorPrecedence.None, NodeType.None, ".", ErrorRecoverySet.Dot) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.Dot : TokenID.Dot >TokenID : typeof TokenID >Dot : TokenID.Dot @@ -3472,7 +3472,7 @@ module TypeScript { setTokenInfo(TokenID.EndOfFile, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "", ErrorRecoverySet.EOF); // EOF >setTokenInfo(TokenID.EndOfFile, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "", ErrorRecoverySet.EOF) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.EndOfFile : TokenID.EndOfFile >TokenID : typeof TokenID >EndOfFile : TokenID.EndOfFile @@ -3498,7 +3498,7 @@ module TypeScript { setTokenInfo(TokenID.EqualsGreaterThan, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "=>", ErrorRecoverySet.None); // => >setTokenInfo(TokenID.EqualsGreaterThan, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "=>", ErrorRecoverySet.None) : void ->setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: any) => void +>setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: number, unopPrecedence: number, unopNodeType: number, text: string, ers: ErrorRecoverySet) => void >TokenID.EqualsGreaterThan : TokenID.EqualsGreaterThan >TokenID : typeof TokenID >EqualsGreaterThan : TokenID.EqualsGreaterThan diff --git a/tests/baselines/reference/parserRealSource11.symbols b/tests/baselines/reference/parserRealSource11.symbols index 3eda44d6a159b..2d155c0e44976 100644 --- a/tests/baselines/reference/parserRealSource11.symbols +++ b/tests/baselines/reference/parserRealSource11.symbols @@ -23,6 +23,7 @@ module TypeScript { public type: Type = null; >type : Symbol(AST.type, Decl(parserRealSource11.ts, 11, 38)) +>Type : Symbol(Type) public flags = ASTFlags.Writeable; >flags : Symbol(AST.flags, Decl(parserRealSource11.ts, 12, 33)) @@ -44,6 +45,7 @@ module TypeScript { constructor (public nodeType: NodeType) { >nodeType : Symbol(AST.nodeType, Decl(parserRealSource11.ts, 23, 21)) +>NodeType : Symbol(NodeType) super(); >super : Symbol(ASTSpan, Decl(parserRealSource11.ts, 5, 19)) @@ -70,6 +72,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(AST.typeCheck, Decl(parserRealSource11.ts, 33, 99)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 35, 25)) +>TypeFlow : Symbol(TypeFlow) switch (this.nodeType) { >this.nodeType : Symbol(AST.nodeType, Decl(parserRealSource11.ts, 23, 21)) @@ -133,7 +136,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(AST.emit, Decl(parserRealSource11.ts, 61, 9)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 63, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 63, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 63, 55)) emitter.emitParensAndCommentsInPlace(this, true); @@ -262,6 +267,7 @@ module TypeScript { public print(context: PrintContext) { >print : Symbol(AST.print, Decl(parserRealSource11.ts, 116, 9)) >context : Symbol(context, Decl(parserRealSource11.ts, 118, 21)) +>PrintContext : Symbol(PrintContext) context.startLine(); >context : Symbol(context, Decl(parserRealSource11.ts, 118, 21)) @@ -354,6 +360,7 @@ module TypeScript { public addToControlFlow(context: ControlFlowContext): void { >addToControlFlow : Symbol(AST.addToControlFlow, Decl(parserRealSource11.ts, 142, 9)) >context : Symbol(context, Decl(parserRealSource11.ts, 144, 32)) +>ControlFlowContext : Symbol(ControlFlowContext) // by default, AST adds itself to current basic block and does not check its children context.walker.options.goChildren = false; @@ -369,6 +376,7 @@ module TypeScript { >container : Symbol(container, Decl(parserRealSource11.ts, 150, 27)) >Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --)) >freeUses : Symbol(freeUses, Decl(parserRealSource11.ts, 150, 45)) +>StringHashTable : Symbol(StringHashTable) } public treeViewLabel() { @@ -493,6 +501,7 @@ module TypeScript { public enclosingScope: SymbolScope = null; >enclosingScope : Symbol(ASTList.enclosingScope, Decl(parserRealSource11.ts, 190, 38)) +>SymbolScope : Symbol(SymbolScope) public members: AST[] = new AST[]; >members : Symbol(ASTList.members, Decl(parserRealSource11.ts, 191, 50)) @@ -507,6 +516,7 @@ module TypeScript { public addToControlFlow(context: ControlFlowContext) { >addToControlFlow : Symbol(ASTList.addToControlFlow, Decl(parserRealSource11.ts, 196, 9)) >context : Symbol(context, Decl(parserRealSource11.ts, 198, 32)) +>ControlFlowContext : Symbol(ControlFlowContext) var len = this.members.length; >len : Symbol(len, Decl(parserRealSource11.ts, 199, 15)) @@ -623,7 +633,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(ASTList.emit, Decl(parserRealSource11.ts, 228, 9)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 230, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 230, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 230, 55)) emitter.recordSourceMappingStart(this); @@ -643,6 +655,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(ASTList.typeCheck, Decl(parserRealSource11.ts, 234, 9)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 236, 25)) +>TypeFlow : Symbol(TypeFlow) var len = this.members.length; >len : Symbol(len, Decl(parserRealSource11.ts, 237, 15)) @@ -798,6 +811,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(Identifier.typeCheck, Decl(parserRealSource11.ts, 295, 9)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 297, 25)) +>TypeFlow : Symbol(TypeFlow) return typeFlow.typeCheckName(this); >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 297, 25)) @@ -807,7 +821,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(Identifier.emit, Decl(parserRealSource11.ts, 299, 9)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 301, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 301, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 301, 55)) emitter.emitJavascriptName(this, true); @@ -818,11 +834,13 @@ module TypeScript { public static fromToken(token: Token): Identifier { >fromToken : Symbol(Identifier.fromToken, Decl(parserRealSource11.ts, 303, 9)) >token : Symbol(token, Decl(parserRealSource11.ts, 305, 32)) +>Token : Symbol(Token) >Identifier : Symbol(Identifier, Decl(parserRealSource11.ts, 247, 5)) return new Identifier(token.getText(), (token).hasEscapeSequence); >Identifier : Symbol(Identifier, Decl(parserRealSource11.ts, 247, 5)) >token : Symbol(token, Decl(parserRealSource11.ts, 305, 32)) +>IdentifierToken : Symbol(IdentifierToken) >token : Symbol(token, Decl(parserRealSource11.ts, 305, 32)) } } @@ -845,7 +863,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(MissingIdentifier.emit, Decl(parserRealSource11.ts, 317, 9)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 319, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 319, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 319, 55)) // Emit nothing for a missing ID @@ -875,6 +895,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(Label.typeCheck, Decl(parserRealSource11.ts, 329, 64)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 331, 25)) +>TypeFlow : Symbol(TypeFlow) this.type = typeFlow.voidType; >this.type : Symbol(AST.type, Decl(parserRealSource11.ts, 11, 38)) @@ -889,7 +910,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(Label.emit, Decl(parserRealSource11.ts, 334, 9)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 336, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 336, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 336, 55)) emitter.emitParensAndCommentsInPlace(this, true); @@ -939,6 +962,7 @@ module TypeScript { constructor (nodeType: NodeType) { >nodeType : Symbol(nodeType, Decl(parserRealSource11.ts, 349, 21)) +>NodeType : Symbol(NodeType) super(nodeType); >super : Symbol(AST, Decl(parserRealSource11.ts, 9, 5)) @@ -958,6 +982,7 @@ module TypeScript { public targetType: Type = null; // Target type for an object literal (null if no target type) >targetType : Symbol(UnaryExpression.targetType, Decl(parserRealSource11.ts, 358, 53)) +>Type : Symbol(Type) public castTerm: AST = null; >castTerm : Symbol(UnaryExpression.castTerm, Decl(parserRealSource11.ts, 359, 39)) @@ -965,6 +990,7 @@ module TypeScript { constructor (nodeType: NodeType, public operand: AST) { >nodeType : Symbol(nodeType, Decl(parserRealSource11.ts, 362, 21)) +>NodeType : Symbol(NodeType) >operand : Symbol(UnaryExpression.operand, Decl(parserRealSource11.ts, 362, 40)) >AST : Symbol(AST, Decl(parserRealSource11.ts, 9, 5)) @@ -976,6 +1002,7 @@ module TypeScript { public addToControlFlow(context: ControlFlowContext): void { >addToControlFlow : Symbol(UnaryExpression.addToControlFlow, Decl(parserRealSource11.ts, 364, 9)) >context : Symbol(context, Decl(parserRealSource11.ts, 366, 32)) +>ControlFlowContext : Symbol(ControlFlowContext) super.addToControlFlow(context); >super.addToControlFlow : Symbol(AST.addToControlFlow, Decl(parserRealSource11.ts, 142, 9)) @@ -997,6 +1024,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(UnaryExpression.typeCheck, Decl(parserRealSource11.ts, 372, 9)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 374, 25)) +>TypeFlow : Symbol(TypeFlow) switch (this.nodeType) { >this.nodeType : Symbol(AST.nodeType, Decl(parserRealSource11.ts, 23, 21)) @@ -1190,7 +1218,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(UnaryExpression.emit, Decl(parserRealSource11.ts, 438, 9)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 440, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 440, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 440, 55)) emitter.emitParensAndCommentsInPlace(this, true); @@ -1415,6 +1445,7 @@ module TypeScript { constructor (nodeType: NodeType, >nodeType : Symbol(nodeType, Decl(parserRealSource11.ts, 517, 21)) +>NodeType : Symbol(NodeType) public target: AST, >target : Symbol(CallExpression.target, Decl(parserRealSource11.ts, 517, 40)) @@ -1441,10 +1472,12 @@ module TypeScript { public signature: Signature = null; >signature : Symbol(CallExpression.signature, Decl(parserRealSource11.ts, 522, 9)) +>Signature : Symbol(Signature) public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(CallExpression.typeCheck, Decl(parserRealSource11.ts, 524, 43)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 526, 25)) +>TypeFlow : Symbol(TypeFlow) if (this.nodeType == NodeType.New) { >this.nodeType : Symbol(AST.nodeType, Decl(parserRealSource11.ts, 23, 21)) @@ -1465,7 +1498,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(CallExpression.emit, Decl(parserRealSource11.ts, 533, 9)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 535, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 535, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 535, 55)) emitter.emitParensAndCommentsInPlace(this, true); @@ -1518,6 +1553,7 @@ module TypeScript { constructor (nodeType: NodeType, public operand1: AST, public operand2: AST) { >nodeType : Symbol(nodeType, Decl(parserRealSource11.ts, 552, 21)) +>NodeType : Symbol(NodeType) >operand1 : Symbol(BinaryExpression.operand1, Decl(parserRealSource11.ts, 552, 40)) >AST : Symbol(AST, Decl(parserRealSource11.ts, 9, 5)) >operand2 : Symbol(BinaryExpression.operand2, Decl(parserRealSource11.ts, 552, 62)) @@ -1531,6 +1567,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(BinaryExpression.typeCheck, Decl(parserRealSource11.ts, 554, 9)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 556, 25)) +>TypeFlow : Symbol(TypeFlow) switch (this.nodeType) { >this.nodeType : Symbol(AST.nodeType, Decl(parserRealSource11.ts, 23, 21)) @@ -1704,7 +1741,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(BinaryExpression.emit, Decl(parserRealSource11.ts, 632, 9)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 634, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 634, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 634, 55)) var binTokenId = nodeTypeToTokTable[this.nodeType]; @@ -1919,6 +1958,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(ConditionalExpression.typeCheck, Decl(parserRealSource11.ts, 711, 9)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 713, 25)) +>TypeFlow : Symbol(TypeFlow) return typeFlow.typeCheckQMark(this); >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 713, 25)) @@ -1928,7 +1968,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(ConditionalExpression.emit, Decl(parserRealSource11.ts, 715, 9)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 717, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 717, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 717, 55)) emitter.emitParensAndCommentsInPlace(this, true); @@ -1991,6 +2033,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(NumberLiteral.typeCheck, Decl(parserRealSource11.ts, 735, 38)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 737, 25)) +>TypeFlow : Symbol(TypeFlow) this.type = typeFlow.doubleType; >this.type : Symbol(AST.type, Decl(parserRealSource11.ts, 11, 38)) @@ -2014,7 +2057,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(NumberLiteral.emit, Decl(parserRealSource11.ts, 744, 9)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 746, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 746, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 746, 55)) emitter.emitParensAndCommentsInPlace(this, true); @@ -2119,6 +2164,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(RegexLiteral.typeCheck, Decl(parserRealSource11.ts, 778, 9)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 780, 25)) +>TypeFlow : Symbol(TypeFlow) this.type = typeFlow.regexType; >this.type : Symbol(AST.type, Decl(parserRealSource11.ts, 11, 38)) @@ -2133,7 +2179,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(RegexLiteral.emit, Decl(parserRealSource11.ts, 783, 9)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 785, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 785, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 785, 55)) emitter.emitParensAndCommentsInPlace(this, true); @@ -2174,7 +2222,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(StringLiteral.emit, Decl(parserRealSource11.ts, 797, 9)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 799, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 799, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 799, 55)) emitter.emitParensAndCommentsInPlace(this, true); @@ -2203,6 +2253,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(StringLiteral.typeCheck, Decl(parserRealSource11.ts, 805, 9)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 807, 25)) +>TypeFlow : Symbol(TypeFlow) this.type = typeFlow.stringType; >this.type : Symbol(AST.type, Decl(parserRealSource11.ts, 11, 38)) @@ -2239,6 +2290,7 @@ module TypeScript { constructor (nodeType: NodeType) { >nodeType : Symbol(nodeType, Decl(parserRealSource11.ts, 822, 21)) +>NodeType : Symbol(NodeType) super(nodeType); >super : Symbol(AST, Decl(parserRealSource11.ts, 9, 5)) @@ -2272,11 +2324,14 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(ImportDeclaration.emit, Decl(parserRealSource11.ts, 834, 9)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 836, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 836, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 836, 55)) var mod = this.alias.type; >mod : Symbol(mod, Decl(parserRealSource11.ts, 837, 15)) +>ModuleType : Symbol(ModuleType) >this.alias.type : Symbol(AST.type, Decl(parserRealSource11.ts, 11, 38)) >this.alias : Symbol(ImportDeclaration.alias, Decl(parserRealSource11.ts, 832, 43)) >this : Symbol(ImportDeclaration, Decl(parserRealSource11.ts, 825, 5)) @@ -2294,6 +2349,7 @@ module TypeScript { >this : Symbol(ImportDeclaration, Decl(parserRealSource11.ts, 825, 5)) >id : Symbol(ImportDeclaration.id, Decl(parserRealSource11.ts, 832, 21)) >sym : Symbol(Identifier.sym, Decl(parserRealSource11.ts, 249, 41)) +>TypeSymbol : Symbol(TypeSymbol) >this.id.sym : Symbol(Identifier.sym, Decl(parserRealSource11.ts, 249, 41)) >this.id : Symbol(ImportDeclaration.id, Decl(parserRealSource11.ts, 832, 21)) >this : Symbol(ImportDeclaration, Decl(parserRealSource11.ts, 825, 5)) @@ -2374,6 +2430,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(ImportDeclaration.typeCheck, Decl(parserRealSource11.ts, 860, 9)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 862, 25)) +>TypeFlow : Symbol(TypeFlow) return typeFlow.typeCheckImportDecl(this); >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 862, 25)) @@ -2485,6 +2542,7 @@ module TypeScript { >id : Symbol(BoundDecl.id, Decl(parserRealSource11.ts, 893, 21)) >Identifier : Symbol(Identifier, Decl(parserRealSource11.ts, 247, 5)) >nodeType : Symbol(nodeType, Decl(parserRealSource11.ts, 893, 43)) +>NodeType : Symbol(NodeType) >nestingLevel : Symbol(BoundDecl.nestingLevel, Decl(parserRealSource11.ts, 893, 63)) super(nodeType); @@ -2516,6 +2574,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(BoundDecl.typeCheck, Decl(parserRealSource11.ts, 901, 81)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 903, 25)) +>TypeFlow : Symbol(TypeFlow) return typeFlow.typeCheckBoundDecl(this); >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 903, 25)) @@ -2568,7 +2627,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(VarDecl.emit, Decl(parserRealSource11.ts, 919, 77)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 921, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 921, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 921, 55)) emitter.emitJavascriptVarDecl(this, tokenId); @@ -2627,11 +2688,14 @@ module TypeScript { public parameterPropertySym: FieldSymbol = null; >parameterPropertySym : Symbol(ArgDecl.parameterPropertySym, Decl(parserRealSource11.ts, 941, 9)) +>FieldSymbol : Symbol(FieldSymbol) public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(ArgDecl.emit, Decl(parserRealSource11.ts, 943, 56)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 945, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 945, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 945, 55)) emitter.emitParensAndCommentsInPlace(this, true); @@ -2679,12 +2743,14 @@ module TypeScript { public symbols: IHashTable; >symbols : Symbol(FuncDecl.symbols, Decl(parserRealSource11.ts, 959, 48)) +>IHashTable : Symbol(IHashTable) public variableArgList = false; >variableArgList : Symbol(FuncDecl.variableArgList, Decl(parserRealSource11.ts, 960, 35)) public signature: Signature; >signature : Symbol(FuncDecl.signature, Decl(parserRealSource11.ts, 961, 39)) +>Signature : Symbol(Signature) public envids: Identifier[]; >envids : Symbol(FuncDecl.envids, Decl(parserRealSource11.ts, 962, 36)) @@ -2748,6 +2814,7 @@ module TypeScript { public scopeType: Type = null; // Type of the FuncDecl, before target typing >scopeType : Symbol(FuncDecl.scopeType, Decl(parserRealSource11.ts, 979, 71)) +>Type : Symbol(Type) public endingToken: ASTSpan = null; >endingToken : Symbol(FuncDecl.endingToken, Decl(parserRealSource11.ts, 980, 38)) @@ -2943,6 +3010,7 @@ module TypeScript { public buildControlFlow(): ControlFlowContext { >buildControlFlow : Symbol(FuncDecl.buildControlFlow, Decl(parserRealSource11.ts, 1029, 9)) +>ControlFlowContext : Symbol(ControlFlowContext) var entry = new BasicBlock(); >entry : Symbol(entry, Decl(parserRealSource11.ts, 1032, 15)) @@ -2962,6 +3030,7 @@ module TypeScript { >parent : Symbol(parent, Decl(parserRealSource11.ts, 1037, 46)) >AST : Symbol(AST, Decl(parserRealSource11.ts, 9, 5)) >walker : Symbol(walker, Decl(parserRealSource11.ts, 1037, 59)) +>IAstWalker : Symbol(IAstWalker) ast.addToControlFlow(walker.state); >ast.addToControlFlow : Symbol(AST.addToControlFlow, Decl(parserRealSource11.ts, 142, 9)) @@ -2996,6 +3065,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(FuncDecl.typeCheck, Decl(parserRealSource11.ts, 1047, 9)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 1049, 25)) +>TypeFlow : Symbol(TypeFlow) return typeFlow.typeCheckFunction(this); >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 1049, 25)) @@ -3005,7 +3075,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(FuncDecl.emit, Decl(parserRealSource11.ts, 1051, 9)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 1053, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 1053, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 1053, 55)) emitter.emitJavascriptFunction(this); @@ -3209,6 +3281,7 @@ module TypeScript { public referencedFiles: IFileReference[] = []; >referencedFiles : Symbol(Script.referencedFiles, Decl(parserRealSource11.ts, 1109, 49)) +>IFileReference : Symbol(IFileReference) public requiresGlobal = false; >requiresGlobal : Symbol(Script.requiresGlobal, Decl(parserRealSource11.ts, 1110, 54)) @@ -3278,6 +3351,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(Script.typeCheck, Decl(parserRealSource11.ts, 1129, 9)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 1131, 25)) +>TypeFlow : Symbol(TypeFlow) return typeFlow.typeCheckScript(this); >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 1131, 25)) @@ -3401,7 +3475,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(Script.emit, Decl(parserRealSource11.ts, 1169, 9)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 1171, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 1171, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 1171, 55)) if (this.emitRequired()) { @@ -3449,6 +3525,7 @@ module TypeScript { constructor (nodeType: NodeType, >nodeType : Symbol(nodeType, Decl(parserRealSource11.ts, 1186, 21)) +>NodeType : Symbol(NodeType) public name: Identifier, >name : Symbol(NamedDeclaration.name, Decl(parserRealSource11.ts, 1186, 40)) @@ -3473,6 +3550,7 @@ module TypeScript { public mod: ModuleType; >mod : Symbol(ModuleDeclaration.mod, Decl(parserRealSource11.ts, 1194, 59)) +>ModuleType : Symbol(ModuleType) public prettyName: string; >prettyName : Symbol(ModuleDeclaration.prettyName, Decl(parserRealSource11.ts, 1195, 31)) @@ -3565,6 +3643,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(ModuleDeclaration.typeCheck, Decl(parserRealSource11.ts, 1218, 9)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 1220, 25)) +>TypeFlow : Symbol(TypeFlow) return typeFlow.typeCheckModule(this); >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 1220, 25)) @@ -3574,7 +3653,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(ModuleDeclaration.emit, Decl(parserRealSource11.ts, 1222, 9)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 1224, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 1224, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 1224, 55)) if (!hasFlag(this.modFlags, ModuleFlags.ShouldEmitModuleDecl)) { @@ -3614,6 +3695,7 @@ module TypeScript { constructor (nodeType: NodeType, >nodeType : Symbol(nodeType, Decl(parserRealSource11.ts, 1238, 21)) +>NodeType : Symbol(NodeType) name: Identifier, >name : Symbol(name, Decl(parserRealSource11.ts, 1238, 40)) @@ -3702,6 +3784,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(ClassDeclaration.typeCheck, Decl(parserRealSource11.ts, 1266, 9)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 1268, 25)) +>TypeFlow : Symbol(TypeFlow) return typeFlow.typeCheckClass(this); >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 1268, 25)) @@ -3711,7 +3794,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(ClassDeclaration.emit, Decl(parserRealSource11.ts, 1270, 9)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 1272, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 1272, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 1272, 55)) emitter.emitJavascriptClass(this); @@ -3751,6 +3836,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(InterfaceDeclaration.typeCheck, Decl(parserRealSource11.ts, 1283, 9)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 1285, 25)) +>TypeFlow : Symbol(TypeFlow) return typeFlow.typeCheckInterface(this); >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 1285, 25)) @@ -3760,7 +3846,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(InterfaceDeclaration.emit, Decl(parserRealSource11.ts, 1287, 9)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 1289, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 1289, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 1289, 55)) } } @@ -3771,6 +3859,7 @@ module TypeScript { constructor (nodeType: NodeType) { >nodeType : Symbol(nodeType, Decl(parserRealSource11.ts, 1294, 21)) +>NodeType : Symbol(NodeType) super(nodeType); >super : Symbol(ModuleElement, Decl(parserRealSource11.ts, 819, 5)) @@ -3797,6 +3886,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(Statement.typeCheck, Decl(parserRealSource11.ts, 1303, 62)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 1305, 25)) +>TypeFlow : Symbol(TypeFlow) this.type = typeFlow.voidType; >this.type : Symbol(AST.type, Decl(parserRealSource11.ts, 11, 38)) @@ -3826,7 +3916,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(LabeledStatement.emit, Decl(parserRealSource11.ts, 1314, 9)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 1316, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 1316, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 1316, 55)) emitter.emitParensAndCommentsInPlace(this, true); @@ -3893,6 +3985,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(LabeledStatement.typeCheck, Decl(parserRealSource11.ts, 1328, 9)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 1330, 25)) +>TypeFlow : Symbol(TypeFlow) typeFlow.typeCheck(this.labels); >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 1330, 25)) @@ -3918,6 +4011,7 @@ module TypeScript { public addToControlFlow(context: ControlFlowContext): void { >addToControlFlow : Symbol(LabeledStatement.addToControlFlow, Decl(parserRealSource11.ts, 1334, 9)) >context : Symbol(context, Decl(parserRealSource11.ts, 1336, 32)) +>ControlFlowContext : Symbol(ControlFlowContext) var beforeBB = context.current; >beforeBB : Symbol(beforeBB, Decl(parserRealSource11.ts, 1337, 15)) @@ -3954,7 +4048,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(Block.emit, Decl(parserRealSource11.ts, 1348, 9)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 1350, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 1350, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 1350, 55)) emitter.emitParensAndCommentsInPlace(this, true); @@ -4032,6 +4128,7 @@ module TypeScript { public addToControlFlow(context: ControlFlowContext) { >addToControlFlow : Symbol(Block.addToControlFlow, Decl(parserRealSource11.ts, 1371, 9)) >context : Symbol(context, Decl(parserRealSource11.ts, 1373, 32)) +>ControlFlowContext : Symbol(ControlFlowContext) var afterIfNeeded = new BasicBlock(); >afterIfNeeded : Symbol(afterIfNeeded, Decl(parserRealSource11.ts, 1374, 15)) @@ -4076,6 +4173,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(Block.typeCheck, Decl(parserRealSource11.ts, 1385, 9)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 1387, 25)) +>TypeFlow : Symbol(TypeFlow) if (!typeFlow.checker.styleSettings.emptyBlocks) { >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 1387, 25)) @@ -4128,6 +4226,7 @@ module TypeScript { constructor (nodeType: NodeType) { >nodeType : Symbol(nodeType, Decl(parserRealSource11.ts, 1404, 21)) +>NodeType : Symbol(NodeType) super(nodeType); >super : Symbol(Statement, Decl(parserRealSource11.ts, 1291, 5)) @@ -4137,6 +4236,7 @@ module TypeScript { public setResolvedTarget(parser: Parser, stmt: Statement): boolean { >setResolvedTarget : Symbol(Jump.setResolvedTarget, Decl(parserRealSource11.ts, 1406, 9)) >parser : Symbol(parser, Decl(parserRealSource11.ts, 1408, 33)) +>Parser : Symbol(Parser) >stmt : Symbol(stmt, Decl(parserRealSource11.ts, 1408, 48)) >Statement : Symbol(Statement, Decl(parserRealSource11.ts, 1291, 5)) @@ -4192,6 +4292,7 @@ module TypeScript { public addToControlFlow(context: ControlFlowContext): void { >addToControlFlow : Symbol(Jump.addToControlFlow, Decl(parserRealSource11.ts, 1427, 9)) >context : Symbol(context, Decl(parserRealSource11.ts, 1429, 32)) +>ControlFlowContext : Symbol(ControlFlowContext) super.addToControlFlow(context); >super.addToControlFlow : Symbol(AST.addToControlFlow, Decl(parserRealSource11.ts, 142, 9)) @@ -4212,7 +4313,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(Jump.emit, Decl(parserRealSource11.ts, 1432, 9)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 1434, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 1434, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 1434, 55)) emitter.emitParensAndCommentsInPlace(this, true); @@ -4281,7 +4384,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(WhileStatement.emit, Decl(parserRealSource11.ts, 1459, 40)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 1461, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 1461, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 1461, 55)) emitter.emitParensAndCommentsInPlace(this, true); @@ -4330,6 +4435,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(WhileStatement.typeCheck, Decl(parserRealSource11.ts, 1472, 9)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 1474, 25)) +>TypeFlow : Symbol(TypeFlow) return typeFlow.typeCheckWhile(this); >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 1474, 25)) @@ -4339,6 +4445,7 @@ module TypeScript { public addToControlFlow(context: ControlFlowContext): void { >addToControlFlow : Symbol(WhileStatement.addToControlFlow, Decl(parserRealSource11.ts, 1476, 9)) >context : Symbol(context, Decl(parserRealSource11.ts, 1478, 32)) +>ControlFlowContext : Symbol(ControlFlowContext) var loopHeader = context.current; >loopHeader : Symbol(loopHeader, Decl(parserRealSource11.ts, 1479, 15)) @@ -4370,6 +4477,7 @@ module TypeScript { var targetInfo: ITargetInfo = null; >targetInfo : Symbol(targetInfo, Decl(parserRealSource11.ts, 1487, 15)) +>ITargetInfo : Symbol(ITargetInfo) if (this.body) { >this.body : Symbol(WhileStatement.body, Decl(parserRealSource11.ts, 1452, 51)) @@ -4455,7 +4563,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(DoWhileStatement.emit, Decl(parserRealSource11.ts, 1515, 9)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 1517, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 1517, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 1517, 55)) emitter.emitParensAndCommentsInPlace(this, true); @@ -4522,6 +4632,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(DoWhileStatement.typeCheck, Decl(parserRealSource11.ts, 1532, 9)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 1534, 25)) +>TypeFlow : Symbol(TypeFlow) return typeFlow.typeCheckDoWhile(this); >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 1534, 25)) @@ -4531,6 +4642,7 @@ module TypeScript { public addToControlFlow(context: ControlFlowContext): void { >addToControlFlow : Symbol(DoWhileStatement.addToControlFlow, Decl(parserRealSource11.ts, 1536, 9)) >context : Symbol(context, Decl(parserRealSource11.ts, 1538, 32)) +>ControlFlowContext : Symbol(ControlFlowContext) var loopHeader = context.current; >loopHeader : Symbol(loopHeader, Decl(parserRealSource11.ts, 1539, 15)) @@ -4552,6 +4664,7 @@ module TypeScript { var targetInfo: ITargetInfo = null; >targetInfo : Symbol(targetInfo, Decl(parserRealSource11.ts, 1544, 15)) +>ITargetInfo : Symbol(ITargetInfo) if (this.body) { >this.body : Symbol(DoWhileStatement.body, Decl(parserRealSource11.ts, 1507, 53)) @@ -4644,7 +4757,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(IfStatement.emit, Decl(parserRealSource11.ts, 1574, 53)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 1576, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 1576, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 1576, 55)) emitter.emitParensAndCommentsInPlace(this, true); @@ -4719,6 +4834,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(IfStatement.typeCheck, Decl(parserRealSource11.ts, 1593, 9)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 1595, 25)) +>TypeFlow : Symbol(TypeFlow) return typeFlow.typeCheckIf(this); >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 1595, 25)) @@ -4728,6 +4844,7 @@ module TypeScript { public addToControlFlow(context: ControlFlowContext): void { >addToControlFlow : Symbol(IfStatement.addToControlFlow, Decl(parserRealSource11.ts, 1597, 9)) >context : Symbol(context, Decl(parserRealSource11.ts, 1599, 32)) +>ControlFlowContext : Symbol(ControlFlowContext) this.cond.addToControlFlow(context); >this.cond.addToControlFlow : Symbol(AST.addToControlFlow, Decl(parserRealSource11.ts, 142, 9)) @@ -4872,7 +4989,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(ReturnStatement.emit, Decl(parserRealSource11.ts, 1651, 9)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 1653, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 1653, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 1653, 55)) emitter.emitParensAndCommentsInPlace(this, true); @@ -4921,6 +5040,7 @@ module TypeScript { public addToControlFlow(context: ControlFlowContext): void { >addToControlFlow : Symbol(ReturnStatement.addToControlFlow, Decl(parserRealSource11.ts, 1667, 9)) >context : Symbol(context, Decl(parserRealSource11.ts, 1669, 32)) +>ControlFlowContext : Symbol(ControlFlowContext) super.addToControlFlow(context); >super.addToControlFlow : Symbol(AST.addToControlFlow, Decl(parserRealSource11.ts, 142, 9)) @@ -4935,6 +5055,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(ReturnStatement.typeCheck, Decl(parserRealSource11.ts, 1672, 9)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 1674, 25)) +>TypeFlow : Symbol(TypeFlow) return typeFlow.typeCheckReturn(this); >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 1674, 25)) @@ -5214,7 +5335,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(ForInStatement.emit, Decl(parserRealSource11.ts, 1746, 9)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 1748, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 1748, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 1748, 55)) emitter.emitParensAndCommentsInPlace(this, true); @@ -5284,6 +5407,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(ForInStatement.typeCheck, Decl(parserRealSource11.ts, 1763, 9)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 1765, 25)) +>TypeFlow : Symbol(TypeFlow) if (typeFlow.checker.styleSettings.forin) { >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 1765, 25)) @@ -5306,6 +5430,7 @@ module TypeScript { public addToControlFlow(context: ControlFlowContext): void { >addToControlFlow : Symbol(ForInStatement.addToControlFlow, Decl(parserRealSource11.ts, 1772, 9)) >context : Symbol(context, Decl(parserRealSource11.ts, 1774, 32)) +>ControlFlowContext : Symbol(ControlFlowContext) if (this.lval) { >this.lval : Symbol(ForInStatement.lval, Decl(parserRealSource11.ts, 1686, 21)) @@ -5426,7 +5551,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(ForStatement.emit, Decl(parserRealSource11.ts, 1813, 40)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 1815, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 1815, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 1815, 55)) emitter.emitParensAndCommentsInPlace(this, true); @@ -5524,6 +5651,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(ForStatement.typeCheck, Decl(parserRealSource11.ts, 1838, 9)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 1840, 25)) +>TypeFlow : Symbol(TypeFlow) return typeFlow.typeCheckFor(this); >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 1840, 25)) @@ -5533,6 +5661,7 @@ module TypeScript { public addToControlFlow(context: ControlFlowContext): void { >addToControlFlow : Symbol(ForStatement.addToControlFlow, Decl(parserRealSource11.ts, 1842, 9)) >context : Symbol(context, Decl(parserRealSource11.ts, 1844, 32)) +>ControlFlowContext : Symbol(ControlFlowContext) if (this.init) { >this.init : Symbol(ForStatement.init, Decl(parserRealSource11.ts, 1809, 21)) @@ -5565,6 +5694,7 @@ module TypeScript { var condBlock: BasicBlock = null; >condBlock : Symbol(condBlock, Decl(parserRealSource11.ts, 1854, 15)) +>BasicBlock : Symbol(BasicBlock) var continueTarget = loopStart; >continueTarget : Symbol(continueTarget, Decl(parserRealSource11.ts, 1855, 15)) @@ -5572,6 +5702,7 @@ module TypeScript { var incrBB: BasicBlock = null; >incrBB : Symbol(incrBB, Decl(parserRealSource11.ts, 1856, 15)) +>BasicBlock : Symbol(BasicBlock) if (this.incr) { >this.incr : Symbol(ForStatement.incr, Decl(parserRealSource11.ts, 1806, 25)) @@ -5609,6 +5740,7 @@ module TypeScript { } var targetInfo: ITargetInfo = null; >targetInfo : Symbol(targetInfo, Decl(parserRealSource11.ts, 1867, 15)) +>ITargetInfo : Symbol(ITargetInfo) if (this.body) { >this.body : Symbol(ForStatement.body, Decl(parserRealSource11.ts, 1805, 25)) @@ -5716,6 +5848,7 @@ module TypeScript { public withSym: WithSymbol = null; >withSym : Symbol(WithStatement.withSym, Decl(parserRealSource11.ts, 1905, 53)) +>WithSymbol : Symbol(WithSymbol) constructor (public expr: AST) { >expr : Symbol(WithStatement.expr, Decl(parserRealSource11.ts, 1909, 21)) @@ -5728,7 +5861,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(WithStatement.emit, Decl(parserRealSource11.ts, 1911, 9)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 1913, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 1913, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 1913, 55)) emitter.emitParensAndCommentsInPlace(this, true); @@ -5775,6 +5910,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(WithStatement.typeCheck, Decl(parserRealSource11.ts, 1925, 9)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 1927, 25)) +>TypeFlow : Symbol(TypeFlow) return typeFlow.typeCheckWith(this); >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 1927, 25)) @@ -5813,7 +5949,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(SwitchStatement.emit, Decl(parserRealSource11.ts, 1941, 53)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 1943, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 1943, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 1943, 55)) emitter.emitParensAndCommentsInPlace(this, true); @@ -5915,6 +6053,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(SwitchStatement.typeCheck, Decl(parserRealSource11.ts, 1966, 9)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 1968, 25)) +>TypeFlow : Symbol(TypeFlow) var len = this.caseList.members.length; >len : Symbol(len, Decl(parserRealSource11.ts, 1969, 15)) @@ -5980,6 +6119,7 @@ module TypeScript { public addToControlFlow(context: ControlFlowContext) { >addToControlFlow : Symbol(SwitchStatement.addToControlFlow, Decl(parserRealSource11.ts, 1977, 9)) >context : Symbol(context, Decl(parserRealSource11.ts, 1980, 32)) +>ControlFlowContext : Symbol(ControlFlowContext) var condBlock = context.current; >condBlock : Symbol(condBlock, Decl(parserRealSource11.ts, 1981, 15)) @@ -6083,7 +6223,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(CaseStatement.emit, Decl(parserRealSource11.ts, 2014, 9)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 2016, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 2016, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 2016, 55)) emitter.emitParensAndCommentsInPlace(this, true); @@ -6133,6 +6275,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(CaseStatement.typeCheck, Decl(parserRealSource11.ts, 2030, 9)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 2032, 25)) +>TypeFlow : Symbol(TypeFlow) this.expr = typeFlow.typeCheck(this.expr); >this.expr : Symbol(CaseStatement.expr, Decl(parserRealSource11.ts, 2008, 50)) @@ -6164,6 +6307,7 @@ module TypeScript { public addToControlFlow(context: ControlFlowContext) { >addToControlFlow : Symbol(CaseStatement.addToControlFlow, Decl(parserRealSource11.ts, 2037, 9)) >context : Symbol(context, Decl(parserRealSource11.ts, 2041, 32)) +>ControlFlowContext : Symbol(ControlFlowContext) var execBlock = new BasicBlock(); >execBlock : Symbol(execBlock, Decl(parserRealSource11.ts, 2042, 15)) @@ -6245,7 +6389,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(TypeReference.emit, Decl(parserRealSource11.ts, 2067, 9)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 2069, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 2069, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 2069, 55)) throw new Error("should not emit a type ref"); @@ -6255,6 +6401,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(TypeReference.typeCheck, Decl(parserRealSource11.ts, 2071, 9)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 2073, 25)) +>TypeFlow : Symbol(TypeFlow) var prevInTCTR = typeFlow.inTypeRefTypeCheck; >prevInTCTR : Symbol(prevInTCTR, Decl(parserRealSource11.ts, 2074, 15)) @@ -6342,7 +6489,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(TryFinally.emit, Decl(parserRealSource11.ts, 2102, 53)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 2104, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 2104, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 2104, 55)) emitter.recordSourceMappingStart(this); @@ -6369,6 +6518,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(TryFinally.typeCheck, Decl(parserRealSource11.ts, 2109, 9)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 2111, 25)) +>TypeFlow : Symbol(TypeFlow) this.tryNode = typeFlow.typeCheck(this.tryNode); >this.tryNode : Symbol(TryFinally.tryNode, Decl(parserRealSource11.ts, 2098, 21)) @@ -6402,6 +6552,7 @@ module TypeScript { public addToControlFlow(context: ControlFlowContext) { >addToControlFlow : Symbol(TryFinally.addToControlFlow, Decl(parserRealSource11.ts, 2116, 9)) >context : Symbol(context, Decl(parserRealSource11.ts, 2118, 32)) +>ControlFlowContext : Symbol(ControlFlowContext) var afterFinally = new BasicBlock(); >afterFinally : Symbol(afterFinally, Decl(parserRealSource11.ts, 2119, 15)) @@ -6486,7 +6637,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(TryCatch.emit, Decl(parserRealSource11.ts, 2147, 53)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 2149, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 2149, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 2149, 55)) emitter.emitParensAndCommentsInPlace(this, true); @@ -6521,6 +6674,7 @@ module TypeScript { public addToControlFlow(context: ControlFlowContext) { >addToControlFlow : Symbol(TryCatch.addToControlFlow, Decl(parserRealSource11.ts, 2156, 9)) >context : Symbol(context, Decl(parserRealSource11.ts, 2158, 32)) +>ControlFlowContext : Symbol(ControlFlowContext) var beforeTry = context.current; >beforeTry : Symbol(beforeTry, Decl(parserRealSource11.ts, 2159, 15)) @@ -6602,6 +6756,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(TryCatch.typeCheck, Decl(parserRealSource11.ts, 2182, 9)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 2184, 25)) +>TypeFlow : Symbol(TypeFlow) this.tryNode = typeFlow.typeCheck(this.tryNode); >this.tryNode : Symbol(TryCatch.tryNode, Decl(parserRealSource11.ts, 2143, 21)) @@ -6649,7 +6804,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(Try.emit, Decl(parserRealSource11.ts, 2195, 9)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 2197, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 2197, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 2197, 55)) emitter.emitParensAndCommentsInPlace(this, true); @@ -6681,6 +6838,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(Try.typeCheck, Decl(parserRealSource11.ts, 2204, 9)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 2206, 25)) +>TypeFlow : Symbol(TypeFlow) this.body = typeFlow.typeCheck(this.body); >this.body : Symbol(Try.body, Decl(parserRealSource11.ts, 2193, 21)) @@ -6698,6 +6856,7 @@ module TypeScript { public addToControlFlow(context: ControlFlowContext) { >addToControlFlow : Symbol(Try.addToControlFlow, Decl(parserRealSource11.ts, 2209, 9)) >context : Symbol(context, Decl(parserRealSource11.ts, 2211, 32)) +>ControlFlowContext : Symbol(ControlFlowContext) if (this.body) { >this.body : Symbol(Try.body, Decl(parserRealSource11.ts, 2193, 21)) @@ -6752,11 +6911,14 @@ module TypeScript { public containedScope: SymbolScope = null; >containedScope : Symbol(Catch.containedScope, Decl(parserRealSource11.ts, 2227, 50)) +>SymbolScope : Symbol(SymbolScope) public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(Catch.emit, Decl(parserRealSource11.ts, 2228, 50)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 2230, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 2230, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 2230, 55)) emitter.emitParensAndCommentsInPlace(this, true); @@ -6812,6 +6974,7 @@ module TypeScript { public addToControlFlow(context: ControlFlowContext) { >addToControlFlow : Symbol(Catch.addToControlFlow, Decl(parserRealSource11.ts, 2242, 9)) >context : Symbol(context, Decl(parserRealSource11.ts, 2244, 32)) +>ControlFlowContext : Symbol(ControlFlowContext) if (this.param) { >this.param : Symbol(Catch.param, Decl(parserRealSource11.ts, 2221, 21)) @@ -6857,6 +7020,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(Catch.typeCheck, Decl(parserRealSource11.ts, 2256, 9)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 2258, 25)) +>TypeFlow : Symbol(TypeFlow) var prevScope = typeFlow.scope; >prevScope : Symbol(prevScope, Decl(parserRealSource11.ts, 2259, 15)) @@ -7007,7 +7171,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(Finally.emit, Decl(parserRealSource11.ts, 2300, 9)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 2302, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 2302, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 2302, 55)) emitter.emitParensAndCommentsInPlace(this, true); @@ -7039,6 +7205,7 @@ module TypeScript { public addToControlFlow(context: ControlFlowContext) { >addToControlFlow : Symbol(Finally.addToControlFlow, Decl(parserRealSource11.ts, 2309, 9)) >context : Symbol(context, Decl(parserRealSource11.ts, 2311, 32)) +>ControlFlowContext : Symbol(ControlFlowContext) if (this.body) { >this.body : Symbol(Finally.body, Decl(parserRealSource11.ts, 2298, 21)) @@ -7062,6 +7229,7 @@ module TypeScript { public typeCheck(typeFlow: TypeFlow) { >typeCheck : Symbol(Finally.typeCheck, Decl(parserRealSource11.ts, 2317, 9)) >typeFlow : Symbol(typeFlow, Decl(parserRealSource11.ts, 2319, 25)) +>TypeFlow : Symbol(TypeFlow) this.body = typeFlow.typeCheck(this.body); >this.body : Symbol(Finally.body, Decl(parserRealSource11.ts, 2298, 21)) @@ -7171,7 +7339,9 @@ module TypeScript { public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { >emit : Symbol(DebuggerStatement.emit, Decl(parserRealSource11.ts, 2353, 9)) >emitter : Symbol(emitter, Decl(parserRealSource11.ts, 2355, 20)) +>Emitter : Symbol(Emitter) >tokenId : Symbol(tokenId, Decl(parserRealSource11.ts, 2355, 37)) +>TokenID : Symbol(TokenID) >startLine : Symbol(startLine, Decl(parserRealSource11.ts, 2355, 55)) emitter.emitParensAndCommentsInPlace(this, true); diff --git a/tests/baselines/reference/parserRealSource11.types b/tests/baselines/reference/parserRealSource11.types index 7e8b3431e63a2..be7f8b2f6015c 100644 --- a/tests/baselines/reference/parserRealSource11.types +++ b/tests/baselines/reference/parserRealSource11.types @@ -26,7 +26,7 @@ module TypeScript { >ASTSpan : ASTSpan public type: Type = null; ->type : any +>type : Type >null : null public flags = ASTFlags.Writeable; @@ -55,7 +55,7 @@ module TypeScript { >false : false constructor (public nodeType: NodeType) { ->nodeType : any +>nodeType : NodeType super(); >super() : void @@ -89,13 +89,13 @@ module TypeScript { >isCompoundStatement : () => boolean public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => any ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => any +>typeFlow : TypeFlow switch (this.nodeType) { ->this.nodeType : any +>this.nodeType : NodeType >this : this ->nodeType : any +>nodeType : NodeType case NodeType.Error: >NodeType.Error : any @@ -109,11 +109,11 @@ module TypeScript { this.type = typeFlow.anyType; >this.type = typeFlow.anyType : any ->this.type : any +>this.type : Type >this : this ->type : any +>type : Type >typeFlow.anyType : any ->typeFlow : any +>typeFlow : TypeFlow >anyType : any break; @@ -125,7 +125,7 @@ module TypeScript { return typeFlow.typeCheckThis(this); >typeFlow.typeCheckThis(this) : any >typeFlow.typeCheckThis : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckThis : any >this : this @@ -136,11 +136,11 @@ module TypeScript { this.type = typeFlow.nullType; >this.type = typeFlow.nullType : any ->this.type : any +>this.type : Type >this : this ->type : any +>type : Type >typeFlow.nullType : any ->typeFlow : any +>typeFlow : TypeFlow >nullType : any break; @@ -156,11 +156,11 @@ module TypeScript { this.type = typeFlow.booleanType; >this.type = typeFlow.booleanType : any ->this.type : any +>this.type : Type >this : this ->type : any +>type : Type >typeFlow.booleanType : any ->typeFlow : any +>typeFlow : TypeFlow >booleanType : any break; @@ -172,7 +172,7 @@ module TypeScript { return typeFlow.typeCheckSuper(this); >typeFlow.typeCheckSuper(this) : any >typeFlow.typeCheckSuper : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckSuper : any >this : this @@ -193,11 +193,11 @@ module TypeScript { this.type = typeFlow.voidType; >this.type = typeFlow.voidType : any ->this.type : any +>this.type : Type >this : this ->type : any +>type : Type >typeFlow.voidType : any ->typeFlow : any +>typeFlow : TypeFlow >voidType : any break; @@ -212,23 +212,23 @@ module TypeScript { } public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean emitter.emitParensAndCommentsInPlace(this, true); >emitter.emitParensAndCommentsInPlace(this, true) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >true : true switch (this.nodeType) { ->this.nodeType : any +>this.nodeType : NodeType >this : this ->nodeType : any +>nodeType : NodeType case NodeType.This: >NodeType.This : any @@ -238,21 +238,21 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this if (emitter.thisFnc && (hasFlag(emitter.thisFnc.fncFlags, FncFlags.IsFatArrowFunction))) { >emitter.thisFnc && (hasFlag(emitter.thisFnc.fncFlags, FncFlags.IsFatArrowFunction)) : any >emitter.thisFnc : any ->emitter : any +>emitter : Emitter >thisFnc : any >(hasFlag(emitter.thisFnc.fncFlags, FncFlags.IsFatArrowFunction)) : any >hasFlag(emitter.thisFnc.fncFlags, FncFlags.IsFatArrowFunction) : any >hasFlag : any >emitter.thisFnc.fncFlags : any >emitter.thisFnc : any ->emitter : any +>emitter : Emitter >thisFnc : any >fncFlags : any >FncFlags.IsFatArrowFunction : any @@ -262,7 +262,7 @@ module TypeScript { emitter.writeToOutput("_this"); >emitter.writeToOutput("_this") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"_this" : "_this" } @@ -270,14 +270,14 @@ module TypeScript { emitter.writeToOutput("this"); >emitter.writeToOutput("this") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"this" : "this" } emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this @@ -290,21 +290,21 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this emitter.writeToOutput("null"); >emitter.writeToOutput("null") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"null" : "null" emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this @@ -317,21 +317,21 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this emitter.writeToOutput("false"); >emitter.writeToOutput("false") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"false" : "false" emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this @@ -344,21 +344,21 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this emitter.writeToOutput("true"); >emitter.writeToOutput("true") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"true" : "true" emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this @@ -371,20 +371,20 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this emitter.emitSuperReference(); >emitter.emitSuperReference() : any >emitter.emitSuperReference : any ->emitter : any +>emitter : Emitter >emitSuperReference : any emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this @@ -415,21 +415,21 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this emitter.writeToOutput("; "); >emitter.writeToOutput("; ") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"; " : "; " emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this @@ -442,21 +442,21 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this emitter.writeToOutput("void "); >emitter.writeToOutput("void ") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"void " : "void " emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this @@ -470,20 +470,20 @@ module TypeScript { emitter.emitParensAndCommentsInPlace(this, false); >emitter.emitParensAndCommentsInPlace(this, false) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >false : false } public print(context: PrintContext) { ->print : (context: any) => void ->context : any +>print : (context: PrintContext) => void +>context : PrintContext context.startLine(); >context.startLine() : any >context.startLine : any ->context : any +>context : PrintContext >startLine : any var lineCol = { line: -1, col: -1 }; @@ -509,7 +509,7 @@ module TypeScript { if (context.parser !== null) { >context.parser !== null : boolean >context.parser : any ->context : any +>context : PrintContext >parser : any >null : null @@ -517,7 +517,7 @@ module TypeScript { >context.parser.getSourceLineCol(lineCol, this.minChar) : any >context.parser.getSourceLineCol : any >context.parser : any ->context : any +>context : PrintContext >parser : any >getSourceLineCol : any >lineCol : { line: number; col: number; } @@ -529,7 +529,7 @@ module TypeScript { >context.parser.getSourceLineCol(limLineCol, this.limChar) : any >context.parser.getSourceLineCol : any >context.parser : any ->context : any +>context : PrintContext >parser : any >getSourceLineCol : any >limLineCol : { line: number; col: number; } @@ -540,7 +540,7 @@ module TypeScript { context.write("(" + lineCol.line + "," + lineCol.col + ")--" + >context.write("(" + lineCol.line + "," + lineCol.col + ")--" + "(" + limLineCol.line + "," + limLineCol.col + "): ") : any >context.write : any ->context : any +>context : PrintContext >write : any >"(" + lineCol.line + "," + lineCol.col + ")--" + "(" + limLineCol.line + "," + limLineCol.col + "): " : string >"(" + lineCol.line + "," + lineCol.col + ")--" + "(" + limLineCol.line + "," + limLineCol.col : string @@ -597,7 +597,7 @@ module TypeScript { context.writeLine(lab); >context.writeLine(lab) : any >context.writeLine : any ->context : any +>context : PrintContext >writeLine : any >lab : any } @@ -609,17 +609,17 @@ module TypeScript { >nodeTypeTable[this.nodeType] !== undefined : boolean >nodeTypeTable[this.nodeType] : any >nodeTypeTable : any ->this.nodeType : any +>this.nodeType : NodeType >this : this ->nodeType : any +>nodeType : NodeType >undefined : undefined return nodeTypeTable[this.nodeType]; >nodeTypeTable[this.nodeType] : any >nodeTypeTable : any ->this.nodeType : any +>this.nodeType : NodeType >this : this ->nodeType : any +>nodeType : NodeType } else { return (NodeType)._map[this.nodeType]; @@ -629,15 +629,15 @@ module TypeScript { >NodeType : any >NodeType : any >_map : any ->this.nodeType : any +>this.nodeType : NodeType >this : this ->nodeType : any +>nodeType : NodeType } } public addToControlFlow(context: ControlFlowContext): void { ->addToControlFlow : (context: any) => void ->context : any +>addToControlFlow : (context: ControlFlowContext) => void +>context : ControlFlowContext // by default, AST adds itself to current basic block and does not check its children context.walker.options.goChildren = false; @@ -645,7 +645,7 @@ module TypeScript { >context.walker.options.goChildren : any >context.walker.options : any >context.walker : any ->context : any +>context : ControlFlowContext >walker : any >options : any >goChildren : any @@ -654,15 +654,15 @@ module TypeScript { context.addContent(this); >context.addContent(this) : any >context.addContent : any ->context : any +>context : ControlFlowContext >addContent : any >this : this } public netFreeUses(container: Symbol, freeUses: StringHashTable) { ->netFreeUses : (container: Symbol, freeUses: any) => void +>netFreeUses : (container: Symbol, freeUses: StringHashTable) => void >container : Symbol ->freeUses : any +>freeUses : StringHashTable } public treeViewLabel() { @@ -675,9 +675,9 @@ module TypeScript { >NodeType : any >NodeType : any >_map : any ->this.nodeType : any +>this.nodeType : NodeType >this : this ->nodeType : any +>nodeType : NodeType } public static getResolvedIdentifierName(name: string): string { @@ -832,7 +832,7 @@ module TypeScript { >AST : AST public enclosingScope: SymbolScope = null; ->enclosingScope : any +>enclosingScope : SymbolScope >null : null public members: AST[] = new AST[]; @@ -852,8 +852,8 @@ module TypeScript { } public addToControlFlow(context: ControlFlowContext) { ->addToControlFlow : (context: any) => void ->context : any +>addToControlFlow : (context: ControlFlowContext) => void +>context : ControlFlowContext var len = this.members.length; >len : number @@ -874,13 +874,13 @@ module TypeScript { if (context.noContinuation) { >context.noContinuation : any ->context : any +>context : ControlFlowContext >noContinuation : any context.addUnreachable(this.members[i]); >context.addUnreachable(this.members[i]) : any >context.addUnreachable : any ->context : any +>context : ControlFlowContext >addUnreachable : any >this.members[i] : AST >this.members : AST[] @@ -900,7 +900,7 @@ module TypeScript { >i : number >context.walk(this.members[i], this) : any >context.walk : any ->context : any +>context : ControlFlowContext >walk : any >this.members[i] : AST >this.members : AST[] @@ -915,7 +915,7 @@ module TypeScript { >context.walker.options.goChildren : any >context.walker.options : any >context.walker : any ->context : any +>context : ControlFlowContext >walker : any >options : any >goChildren : any @@ -949,9 +949,9 @@ module TypeScript { if (ast.nodeType == NodeType.List) { >ast.nodeType == NodeType.List : boolean ->ast.nodeType : any +>ast.nodeType : NodeType >ast : AST ->nodeType : any +>nodeType : NodeType >NodeType.List : any >NodeType : any >List : any @@ -1001,22 +1001,22 @@ module TypeScript { } public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this emitter.emitJavascriptList(this, null, TokenID.Semicolon, startLine, false, false); >emitter.emitJavascriptList(this, null, TokenID.Semicolon, startLine, false, false) : any >emitter.emitJavascriptList : any ->emitter : any +>emitter : Emitter >emitJavascriptList : any >this : this >null : null @@ -1030,14 +1030,14 @@ module TypeScript { emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this } public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => this ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => this +>typeFlow : TypeFlow var len = this.members.length; >len : number @@ -1050,7 +1050,7 @@ module TypeScript { typeFlow.nestingLevel++; >typeFlow.nestingLevel++ : number >typeFlow.nestingLevel : any ->typeFlow : any +>typeFlow : TypeFlow >nestingLevel : any for (var i = 0; i < len; i++) { @@ -1077,20 +1077,20 @@ module TypeScript { >members : AST[] >i : number >this.members[i].typeCheck(typeFlow) : any ->this.members[i].typeCheck : (typeFlow: any) => any +>this.members[i].typeCheck : (typeFlow: TypeFlow) => any >this.members[i] : AST >this.members : AST[] >this : this >members : AST[] >i : number ->typeCheck : (typeFlow: any) => any ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => any +>typeFlow : TypeFlow } } typeFlow.nestingLevel--; >typeFlow.nestingLevel-- : number >typeFlow.nestingLevel : any ->typeFlow : any +>typeFlow : TypeFlow >nestingLevel : any return this; @@ -1223,47 +1223,47 @@ module TypeScript { } public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => any ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => any +>typeFlow : TypeFlow return typeFlow.typeCheckName(this); >typeFlow.typeCheckName(this) : any >typeFlow.typeCheckName : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckName : any >this : this } public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean emitter.emitJavascriptName(this, true); >emitter.emitJavascriptName(this, true) : any >emitter.emitJavascriptName : any ->emitter : any +>emitter : Emitter >emitJavascriptName : any >this : this >true : true } public static fromToken(token: Token): Identifier { ->fromToken : (token: any) => Identifier ->token : any +>fromToken : (token: Token) => Identifier +>token : Token return new Identifier(token.getText(), (token).hasEscapeSequence); >new Identifier(token.getText(), (token).hasEscapeSequence) : Identifier >Identifier : typeof Identifier >token.getText() : any >token.getText : any ->token : any +>token : Token >getText : any >(token).hasEscapeSequence : any ->(token) : any ->token : any ->token : any +>(token) : IdentifierToken +>token : IdentifierToken +>token : Token >hasEscapeSequence : any } } @@ -1287,9 +1287,9 @@ module TypeScript { } public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean // Emit nothing for a missing ID @@ -1322,16 +1322,16 @@ module TypeScript { >":" : ":" public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => this ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => this +>typeFlow : TypeFlow this.type = typeFlow.voidType; >this.type = typeFlow.voidType : any ->this.type : any +>this.type : Type >this : this ->type : any +>type : Type >typeFlow.voidType : any ->typeFlow : any +>typeFlow : TypeFlow >voidType : any return this; @@ -1339,15 +1339,15 @@ module TypeScript { } public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean emitter.emitParensAndCommentsInPlace(this, true); >emitter.emitParensAndCommentsInPlace(this, true) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >true : true @@ -1355,14 +1355,14 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this emitter.recordSourceMappingStart(this.id); >emitter.recordSourceMappingStart(this.id) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this.id : Identifier >this : this @@ -1371,7 +1371,7 @@ module TypeScript { emitter.writeToOutput(this.id.actualText); >emitter.writeToOutput(this.id.actualText) : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >this.id.actualText : string >this.id : Identifier @@ -1382,7 +1382,7 @@ module TypeScript { emitter.recordSourceMappingEnd(this.id); >emitter.recordSourceMappingEnd(this.id) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this.id : Identifier >this : this @@ -1391,21 +1391,21 @@ module TypeScript { emitter.writeLineToOutput(":"); >emitter.writeLineToOutput(":") : any >emitter.writeLineToOutput : any ->emitter : any +>emitter : Emitter >writeLineToOutput : any >":" : ":" emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this emitter.emitParensAndCommentsInPlace(this, false); >emitter.emitParensAndCommentsInPlace(this, false) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >false : false @@ -1417,12 +1417,12 @@ module TypeScript { >AST : AST constructor (nodeType: NodeType) { ->nodeType : any +>nodeType : NodeType super(nodeType); >super(nodeType) : void >super : typeof AST ->nodeType : any +>nodeType : NodeType } public isExpression() { return true; } @@ -1439,7 +1439,7 @@ module TypeScript { >Expression : Expression public targetType: Type = null; // Target type for an object literal (null if no target type) ->targetType : any +>targetType : Type >null : null public castTerm: AST = null; @@ -1447,32 +1447,32 @@ module TypeScript { >null : null constructor (nodeType: NodeType, public operand: AST) { ->nodeType : any +>nodeType : NodeType >operand : AST super(nodeType); >super(nodeType) : void >super : typeof Expression ->nodeType : any +>nodeType : NodeType } public addToControlFlow(context: ControlFlowContext): void { ->addToControlFlow : (context: any) => void ->context : any +>addToControlFlow : (context: ControlFlowContext) => void +>context : ControlFlowContext super.addToControlFlow(context); >super.addToControlFlow(context) : void ->super.addToControlFlow : (context: any) => void +>super.addToControlFlow : (context: ControlFlowContext) => void >super : Expression ->addToControlFlow : (context: any) => void ->context : any +>addToControlFlow : (context: ControlFlowContext) => void +>context : ControlFlowContext // TODO: add successor as catch block/finally block if present if (this.nodeType == NodeType.Throw) { >this.nodeType == NodeType.Throw : boolean ->this.nodeType : any +>this.nodeType : NodeType >this : this ->nodeType : any +>nodeType : NodeType >NodeType.Throw : any >NodeType : any >Throw : any @@ -1480,19 +1480,19 @@ module TypeScript { context.returnStmt(); >context.returnStmt() : any >context.returnStmt : any ->context : any +>context : ControlFlowContext >returnStmt : any } } public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => any ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => any +>typeFlow : TypeFlow switch (this.nodeType) { ->this.nodeType : any +>this.nodeType : NodeType >this : this ->nodeType : any +>nodeType : NodeType case NodeType.Not: >NodeType.Not : any @@ -1502,7 +1502,7 @@ module TypeScript { return typeFlow.typeCheckBitNot(this); >typeFlow.typeCheckBitNot(this) : any >typeFlow.typeCheckBitNot : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckBitNot : any >this : this @@ -1514,7 +1514,7 @@ module TypeScript { return typeFlow.typeCheckLogNot(this); >typeFlow.typeCheckLogNot(this) : any >typeFlow.typeCheckLogNot : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckLogNot : any >this : this @@ -1531,7 +1531,7 @@ module TypeScript { return typeFlow.typeCheckUnaryNumberOperator(this); >typeFlow.typeCheckUnaryNumberOperator(this) : any >typeFlow.typeCheckUnaryNumberOperator : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckUnaryNumberOperator : any >this : this @@ -1558,7 +1558,7 @@ module TypeScript { return typeFlow.typeCheckIncOrDec(this); >typeFlow.typeCheckIncOrDec(this) : any >typeFlow.typeCheckIncOrDec : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckIncOrDec : any >this : this @@ -1570,7 +1570,7 @@ module TypeScript { typeFlow.typeCheckArrayLit(this); >typeFlow.typeCheckArrayLit(this) : any >typeFlow.typeCheckArrayLit : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckArrayLit : any >this : this @@ -1585,7 +1585,7 @@ module TypeScript { typeFlow.typeCheckObjectLit(this); >typeFlow.typeCheckObjectLit(this) : any >typeFlow.typeCheckObjectLit : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckObjectLit : any >this : this @@ -1604,7 +1604,7 @@ module TypeScript { >operand : AST >typeFlow.typeCheck(this.operand) : any >typeFlow.typeCheck : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheck : any >this.operand : AST >this : this @@ -1612,11 +1612,11 @@ module TypeScript { this.type = typeFlow.voidType; >this.type = typeFlow.voidType : any ->this.type : any +>this.type : Type >this : this ->type : any +>type : Type >typeFlow.voidType : any ->typeFlow : any +>typeFlow : TypeFlow >voidType : any return this; @@ -1634,7 +1634,7 @@ module TypeScript { >operand : AST >typeFlow.typeCheck(this.operand) : any >typeFlow.typeCheck : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheck : any >this.operand : AST >this : this @@ -1642,11 +1642,11 @@ module TypeScript { this.type = typeFlow.stringType; >this.type = typeFlow.stringType : any ->this.type : any +>this.type : Type >this : this ->type : any +>type : Type >typeFlow.stringType : any ->typeFlow : any +>typeFlow : TypeFlow >stringType : any return this; @@ -1664,7 +1664,7 @@ module TypeScript { >operand : AST >typeFlow.typeCheck(this.operand) : any >typeFlow.typeCheck : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheck : any >this.operand : AST >this : this @@ -1672,11 +1672,11 @@ module TypeScript { this.type = typeFlow.booleanType; >this.type = typeFlow.booleanType : any ->this.type : any +>this.type : Type >this : this ->type : any +>type : Type >typeFlow.booleanType : any ->typeFlow : any +>typeFlow : TypeFlow >booleanType : any break; @@ -1693,7 +1693,7 @@ module TypeScript { >castTerm : AST >typeFlow.typeCheck(this.castTerm) : any >typeFlow.typeCheck : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheck : any >this.castTerm : AST >this : this @@ -1712,25 +1712,25 @@ module TypeScript { >targetType : any >applyTargetType ? this.castTerm.type : null : any >applyTargetType : boolean ->this.castTerm.type : any +>this.castTerm.type : Type >this.castTerm : AST >this : this >castTerm : AST ->type : any +>type : Type >null : null typeFlow.checker.typeCheckWithContextualType(targetType, typeFlow.checker.inProvisionalTypecheckMode(), true, this.operand); >typeFlow.checker.typeCheckWithContextualType(targetType, typeFlow.checker.inProvisionalTypecheckMode(), true, this.operand) : any >typeFlow.checker.typeCheckWithContextualType : any >typeFlow.checker : any ->typeFlow : any +>typeFlow : TypeFlow >checker : any >typeCheckWithContextualType : any >targetType : any >typeFlow.checker.inProvisionalTypecheckMode() : any >typeFlow.checker.inProvisionalTypecheckMode : any >typeFlow.checker : any ->typeFlow : any +>typeFlow : TypeFlow >checker : any >inProvisionalTypecheckMode : any >true : true @@ -1741,29 +1741,29 @@ module TypeScript { typeFlow.castWithCoercion(this.operand, this.castTerm.type, false, true); >typeFlow.castWithCoercion(this.operand, this.castTerm.type, false, true) : any >typeFlow.castWithCoercion : any ->typeFlow : any +>typeFlow : TypeFlow >castWithCoercion : any >this.operand : AST >this : this >operand : AST ->this.castTerm.type : any +>this.castTerm.type : Type >this.castTerm : AST >this : this >castTerm : AST ->type : any +>type : Type >false : false >true : true this.type = this.castTerm.type; ->this.type = this.castTerm.type : any ->this.type : any +>this.type = this.castTerm.type : Type +>this.type : Type >this : this ->type : any ->this.castTerm.type : any +>type : Type +>this.castTerm.type : Type >this.castTerm : AST >this : this >castTerm : AST ->type : any +>type : Type return this; >this : this @@ -1783,7 +1783,7 @@ module TypeScript { >operand : AST >typeFlow.typeCheck(this.operand) : any >typeFlow.typeCheck : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheck : any >this.operand : AST >this : this @@ -1791,12 +1791,12 @@ module TypeScript { this.type = typeFlow.checker.undefinedType; >this.type = typeFlow.checker.undefinedType : any ->this.type : any +>this.type : Type >this : this ->type : any +>type : Type >typeFlow.checker.undefinedType : any >typeFlow.checker : any ->typeFlow : any +>typeFlow : TypeFlow >checker : any >undefinedType : any @@ -1813,15 +1813,15 @@ module TypeScript { } public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean emitter.emitParensAndCommentsInPlace(this, true); >emitter.emitParensAndCommentsInPlace(this, true) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >true : true @@ -1829,14 +1829,14 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this switch (this.nodeType) { ->this.nodeType : any +>this.nodeType : NodeType >this : this ->nodeType : any +>nodeType : NodeType case NodeType.IncPost: >NodeType.IncPost : any @@ -1846,7 +1846,7 @@ module TypeScript { emitter.emitJavascript(this.operand, TokenID.PlusPlus, false); >emitter.emitJavascript(this.operand, TokenID.PlusPlus, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.operand : AST >this : this @@ -1859,7 +1859,7 @@ module TypeScript { emitter.writeToOutput("++"); >emitter.writeToOutput("++") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"++" : "++" @@ -1872,14 +1872,14 @@ module TypeScript { emitter.writeToOutput("!"); >emitter.writeToOutput("!") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"!" : "!" emitter.emitJavascript(this.operand, TokenID.Exclamation, false); >emitter.emitJavascript(this.operand, TokenID.Exclamation, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.operand : AST >this : this @@ -1898,7 +1898,7 @@ module TypeScript { emitter.emitJavascript(this.operand, TokenID.MinusMinus, false); >emitter.emitJavascript(this.operand, TokenID.MinusMinus, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.operand : AST >this : this @@ -1911,7 +1911,7 @@ module TypeScript { emitter.writeToOutput("--"); >emitter.writeToOutput("--") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"--" : "--" @@ -1924,7 +1924,7 @@ module TypeScript { emitter.emitObjectLiteral(this.operand); >emitter.emitObjectLiteral(this.operand) : any >emitter.emitObjectLiteral : any ->emitter : any +>emitter : Emitter >emitObjectLiteral : any >this.operand : ASTList >this.operand : AST @@ -1940,7 +1940,7 @@ module TypeScript { emitter.emitArrayLiteral(this.operand); >emitter.emitArrayLiteral(this.operand) : any >emitter.emitArrayLiteral : any ->emitter : any +>emitter : Emitter >emitArrayLiteral : any >this.operand : ASTList >this.operand : AST @@ -1956,14 +1956,14 @@ module TypeScript { emitter.writeToOutput("~"); >emitter.writeToOutput("~") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"~" : "~" emitter.emitJavascript(this.operand, TokenID.Tilde, false); >emitter.emitJavascript(this.operand, TokenID.Tilde, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.operand : AST >this : this @@ -1982,17 +1982,17 @@ module TypeScript { emitter.writeToOutput("-"); >emitter.writeToOutput("-") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"-" : "-" if (this.operand.nodeType == NodeType.Neg) { >this.operand.nodeType == NodeType.Neg : boolean ->this.operand.nodeType : any +>this.operand.nodeType : NodeType >this.operand : AST >this : this >operand : AST ->nodeType : any +>nodeType : NodeType >NodeType.Neg : any >NodeType : any >Neg : any @@ -2009,7 +2009,7 @@ module TypeScript { emitter.emitJavascript(this.operand, TokenID.Minus, false); >emitter.emitJavascript(this.operand, TokenID.Minus, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.operand : AST >this : this @@ -2028,17 +2028,17 @@ module TypeScript { emitter.writeToOutput("+"); >emitter.writeToOutput("+") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"+" : "+" if (this.operand.nodeType == NodeType.Pos) { >this.operand.nodeType == NodeType.Pos : boolean ->this.operand.nodeType : any +>this.operand.nodeType : NodeType >this.operand : AST >this : this >operand : AST ->nodeType : any +>nodeType : NodeType >NodeType.Pos : any >NodeType : any >Pos : any @@ -2055,7 +2055,7 @@ module TypeScript { emitter.emitJavascript(this.operand, TokenID.Plus, false); >emitter.emitJavascript(this.operand, TokenID.Plus, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.operand : AST >this : this @@ -2074,14 +2074,14 @@ module TypeScript { emitter.writeToOutput("++"); >emitter.writeToOutput("++") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"++" : "++" emitter.emitJavascript(this.operand, TokenID.PlusPlus, false); >emitter.emitJavascript(this.operand, TokenID.PlusPlus, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.operand : AST >this : this @@ -2100,14 +2100,14 @@ module TypeScript { emitter.writeToOutput("--"); >emitter.writeToOutput("--") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"--" : "--" emitter.emitJavascript(this.operand, TokenID.MinusMinus, false); >emitter.emitJavascript(this.operand, TokenID.MinusMinus, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.operand : AST >this : this @@ -2126,14 +2126,14 @@ module TypeScript { emitter.writeToOutput("throw "); >emitter.writeToOutput("throw ") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"throw " : "throw " emitter.emitJavascript(this.operand, TokenID.Tilde, false); >emitter.emitJavascript(this.operand, TokenID.Tilde, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.operand : AST >this : this @@ -2146,7 +2146,7 @@ module TypeScript { emitter.writeToOutput(";"); >emitter.writeToOutput(";") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >";" : ";" @@ -2159,14 +2159,14 @@ module TypeScript { emitter.writeToOutput("typeof "); >emitter.writeToOutput("typeof ") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"typeof " : "typeof " emitter.emitJavascript(this.operand, TokenID.Tilde, false); >emitter.emitJavascript(this.operand, TokenID.Tilde, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.operand : AST >this : this @@ -2185,14 +2185,14 @@ module TypeScript { emitter.writeToOutput("delete "); >emitter.writeToOutput("delete ") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"delete " : "delete " emitter.emitJavascript(this.operand, TokenID.Tilde, false); >emitter.emitJavascript(this.operand, TokenID.Tilde, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.operand : AST >this : this @@ -2211,14 +2211,14 @@ module TypeScript { emitter.writeToOutput("void "); >emitter.writeToOutput("void ") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"void " : "void " emitter.emitJavascript(this.operand, TokenID.Tilde, false); >emitter.emitJavascript(this.operand, TokenID.Tilde, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.operand : AST >this : this @@ -2237,7 +2237,7 @@ module TypeScript { emitter.emitJavascript(this.operand, TokenID.Tilde, false); >emitter.emitJavascript(this.operand, TokenID.Tilde, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.operand : AST >this : this @@ -2257,14 +2257,14 @@ module TypeScript { emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this emitter.emitParensAndCommentsInPlace(this, false); >emitter.emitParensAndCommentsInPlace(this, false) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >false : false @@ -2276,7 +2276,7 @@ module TypeScript { >Expression : Expression constructor (nodeType: NodeType, ->nodeType : any +>nodeType : NodeType public target: AST, >target : AST @@ -2287,7 +2287,7 @@ module TypeScript { super(nodeType); >super(nodeType) : void >super : typeof Expression ->nodeType : any +>nodeType : NodeType this.minChar = this.target.minChar; >this.minChar = this.target.minChar : number @@ -2302,18 +2302,18 @@ module TypeScript { } public signature: Signature = null; ->signature : any +>signature : Signature >null : null public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => any ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => any +>typeFlow : TypeFlow if (this.nodeType == NodeType.New) { >this.nodeType == NodeType.New : boolean ->this.nodeType : any +>this.nodeType : NodeType >this : this ->nodeType : any +>nodeType : NodeType >NodeType.New : any >NodeType : any >New : any @@ -2321,7 +2321,7 @@ module TypeScript { return typeFlow.typeCheckNew(this); >typeFlow.typeCheckNew(this) : any >typeFlow.typeCheckNew : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckNew : any >this : this } @@ -2329,22 +2329,22 @@ module TypeScript { return typeFlow.typeCheckCall(this); >typeFlow.typeCheckCall(this) : any >typeFlow.typeCheckCall : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckCall : any >this : this } } public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean emitter.emitParensAndCommentsInPlace(this, true); >emitter.emitParensAndCommentsInPlace(this, true) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >true : true @@ -2352,15 +2352,15 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this if (this.nodeType == NodeType.New) { >this.nodeType == NodeType.New : boolean ->this.nodeType : any +>this.nodeType : NodeType >this : this ->nodeType : any +>nodeType : NodeType >NodeType.New : any >NodeType : any >New : any @@ -2368,7 +2368,7 @@ module TypeScript { emitter.emitNew(this.target, this.arguments); >emitter.emitNew(this.target, this.arguments) : any >emitter.emitNew : any ->emitter : any +>emitter : Emitter >emitNew : any >this.target : AST >this : this @@ -2381,7 +2381,7 @@ module TypeScript { emitter.emitCall(this, this.target, this.arguments); >emitter.emitCall(this, this.target, this.arguments) : any >emitter.emitCall : any ->emitter : any +>emitter : Emitter >emitCall : any >this : this >this.target : AST @@ -2395,14 +2395,14 @@ module TypeScript { emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this emitter.emitParensAndCommentsInPlace(this, false); >emitter.emitParensAndCommentsInPlace(this, false) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >false : false @@ -2414,24 +2414,24 @@ module TypeScript { >Expression : Expression constructor (nodeType: NodeType, public operand1: AST, public operand2: AST) { ->nodeType : any +>nodeType : NodeType >operand1 : AST >operand2 : AST super(nodeType); >super(nodeType) : void >super : typeof Expression ->nodeType : any +>nodeType : NodeType } public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => any ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => any +>typeFlow : TypeFlow switch (this.nodeType) { ->this.nodeType : any +>this.nodeType : NodeType >this : this ->nodeType : any +>nodeType : NodeType case NodeType.Dot: >NodeType.Dot : any @@ -2441,7 +2441,7 @@ module TypeScript { return typeFlow.typeCheckDotOperator(this); >typeFlow.typeCheckDotOperator(this) : any >typeFlow.typeCheckDotOperator : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckDotOperator : any >this : this @@ -2453,7 +2453,7 @@ module TypeScript { return typeFlow.typeCheckAsgOperator(this); >typeFlow.typeCheckAsgOperator(this) : any >typeFlow.typeCheckAsgOperator : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckAsgOperator : any >this : this @@ -2495,7 +2495,7 @@ module TypeScript { return typeFlow.typeCheckArithmeticOperator(this, false); >typeFlow.typeCheckArithmeticOperator(this, false) : any >typeFlow.typeCheckArithmeticOperator : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckArithmeticOperator : any >this : this >false : false @@ -2508,7 +2508,7 @@ module TypeScript { return typeFlow.typeCheckBitwiseOperator(this, false); >typeFlow.typeCheckBitwiseOperator(this, false) : any >typeFlow.typeCheckBitwiseOperator : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckBitwiseOperator : any >this : this >false : false @@ -2530,7 +2530,7 @@ module TypeScript { >typeFlow.checker.styleSettings.eqeqeq : any >typeFlow.checker.styleSettings : any >typeFlow.checker : any ->typeFlow : any +>typeFlow : TypeFlow >checker : any >styleSettings : any >eqeqeq : any @@ -2540,16 +2540,16 @@ module TypeScript { >text : string >nodeTypeTable[this.nodeType] : any >nodeTypeTable : any ->this.nodeType : any +>this.nodeType : NodeType >this : this ->nodeType : any +>nodeType : NodeType typeFlow.checker.errorReporter.styleError(this, "use of " + text); >typeFlow.checker.errorReporter.styleError(this, "use of " + text) : any >typeFlow.checker.errorReporter.styleError : any >typeFlow.checker.errorReporter : any >typeFlow.checker : any ->typeFlow : any +>typeFlow : TypeFlow >checker : any >errorReporter : any >styleError : any @@ -2562,7 +2562,7 @@ module TypeScript { >typeFlow.checker.styleSettings.eqnull : any >typeFlow.checker.styleSettings : any >typeFlow.checker : any ->typeFlow : any +>typeFlow : TypeFlow >checker : any >styleSettings : any >eqnull : any @@ -2572,9 +2572,9 @@ module TypeScript { >text : string >nodeTypeTable[this.nodeType] : any >nodeTypeTable : any ->this.nodeType : any +>this.nodeType : NodeType >this : this ->nodeType : any +>nodeType : NodeType if ((this.operand2 !== null) && (this.operand2.nodeType == NodeType.Null)) { >(this.operand2 !== null) && (this.operand2.nodeType == NodeType.Null) : boolean @@ -2586,11 +2586,11 @@ module TypeScript { >null : null >(this.operand2.nodeType == NodeType.Null) : boolean >this.operand2.nodeType == NodeType.Null : boolean ->this.operand2.nodeType : any +>this.operand2.nodeType : NodeType >this.operand2 : AST >this : this >operand2 : AST ->nodeType : any +>nodeType : NodeType >NodeType.Null : any >NodeType : any >Null : any @@ -2600,7 +2600,7 @@ module TypeScript { >typeFlow.checker.errorReporter.styleError : any >typeFlow.checker.errorReporter : any >typeFlow.checker : any ->typeFlow : any +>typeFlow : TypeFlow >checker : any >errorReporter : any >styleError : any @@ -2645,7 +2645,7 @@ module TypeScript { return typeFlow.typeCheckBooleanOperator(this); >typeFlow.typeCheckBooleanOperator(this) : any >typeFlow.typeCheckBooleanOperator : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckBooleanOperator : any >this : this @@ -2657,7 +2657,7 @@ module TypeScript { return typeFlow.typeCheckIndex(this); >typeFlow.typeCheckIndex(this) : any >typeFlow.typeCheckIndex : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckIndex : any >this : this @@ -2668,11 +2668,11 @@ module TypeScript { this.type = typeFlow.voidType; >this.type = typeFlow.voidType : any ->this.type : any +>this.type : Type >this : this ->type : any +>type : Type >typeFlow.voidType : any ->typeFlow : any +>typeFlow : TypeFlow >voidType : any return this; @@ -2686,7 +2686,7 @@ module TypeScript { return typeFlow.typeCheckLogOr(this); >typeFlow.typeCheckLogOr(this) : any >typeFlow.typeCheckLogOr : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckLogOr : any >this : this @@ -2698,7 +2698,7 @@ module TypeScript { return typeFlow.typeCheckLogAnd(this); >typeFlow.typeCheckLogAnd(this) : any >typeFlow.typeCheckLogAnd : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckLogAnd : any >this : this @@ -2740,7 +2740,7 @@ module TypeScript { return typeFlow.typeCheckArithmeticOperator(this, true); >typeFlow.typeCheckArithmeticOperator(this, true) : any >typeFlow.typeCheckArithmeticOperator : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckArithmeticOperator : any >this : this >true : true @@ -2753,7 +2753,7 @@ module TypeScript { return typeFlow.typeCheckBitwiseOperator(this, true); >typeFlow.typeCheckBitwiseOperator(this, true) : any >typeFlow.typeCheckBitwiseOperator : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckBitwiseOperator : any >this : this >true : true @@ -2776,7 +2776,7 @@ module TypeScript { return typeFlow.typeCheckShift(this, false); >typeFlow.typeCheckShift(this, false) : any >typeFlow.typeCheckShift : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckShift : any >this : this >false : false @@ -2799,7 +2799,7 @@ module TypeScript { return typeFlow.typeCheckShift(this, true); >typeFlow.typeCheckShift(this, true) : any >typeFlow.typeCheckShift : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckShift : any >this : this >true : true @@ -2812,7 +2812,7 @@ module TypeScript { return typeFlow.typeCheckCommaOperator(this); >typeFlow.typeCheckCommaOperator(this) : any >typeFlow.typeCheckCommaOperator : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckCommaOperator : any >this : this @@ -2824,7 +2824,7 @@ module TypeScript { return typeFlow.typeCheckInstOf(this); >typeFlow.typeCheckInstOf(this) : any >typeFlow.typeCheckInstOf : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckInstOf : any >this : this @@ -2836,7 +2836,7 @@ module TypeScript { return typeFlow.typeCheckInOperator(this); >typeFlow.typeCheckInOperator(this) : any >typeFlow.typeCheckInOperator : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckInOperator : any >this : this @@ -2850,7 +2850,7 @@ module TypeScript { >typeFlow.checker.errorReporter.simpleError : any >typeFlow.checker.errorReporter : any >typeFlow.checker : any ->typeFlow : any +>typeFlow : TypeFlow >checker : any >errorReporter : any >simpleError : any @@ -2869,23 +2869,23 @@ module TypeScript { } public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean var binTokenId = nodeTypeToTokTable[this.nodeType]; >binTokenId : any >nodeTypeToTokTable[this.nodeType] : any >nodeTypeToTokTable : any ->this.nodeType : any +>this.nodeType : NodeType >this : this ->nodeType : any +>nodeType : NodeType emitter.emitParensAndCommentsInPlace(this, true); >emitter.emitParensAndCommentsInPlace(this, true) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >true : true @@ -2893,7 +2893,7 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this @@ -2905,7 +2905,7 @@ module TypeScript { emitter.emitJavascript(this.operand1, binTokenId, false); >emitter.emitJavascript(this.operand1, binTokenId, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.operand1 : AST >this : this @@ -2925,7 +2925,7 @@ module TypeScript { emitter.writeToOutput(" instanceof "); >emitter.writeToOutput(" instanceof ") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >" instanceof " : " instanceof " } @@ -2941,7 +2941,7 @@ module TypeScript { emitter.writeToOutput(" in "); >emitter.writeToOutput(" in ") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >" in " : " in " } @@ -2949,7 +2949,7 @@ module TypeScript { emitter.writeToOutputTrimmable(" " + tokenTable[binTokenId].text + " "); >emitter.writeToOutputTrimmable(" " + tokenTable[binTokenId].text + " ") : any >emitter.writeToOutputTrimmable : any ->emitter : any +>emitter : Emitter >writeToOutputTrimmable : any >" " + tokenTable[binTokenId].text + " " : string >" " + tokenTable[binTokenId].text : string @@ -2965,7 +2965,7 @@ module TypeScript { emitter.emitJavascript(this.operand2, binTokenId, false); >emitter.emitJavascript(this.operand2, binTokenId, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.operand2 : AST >this : this @@ -2975,9 +2975,9 @@ module TypeScript { } else { switch (this.nodeType) { ->this.nodeType : any +>this.nodeType : NodeType >this : this ->nodeType : any +>nodeType : NodeType case NodeType.Dot: >NodeType.Dot : any @@ -2988,14 +2988,14 @@ module TypeScript { >!emitter.tryEmitConstant(this) : boolean >emitter.tryEmitConstant(this) : any >emitter.tryEmitConstant : any ->emitter : any +>emitter : Emitter >tryEmitConstant : any >this : this emitter.emitJavascript(this.operand1, TokenID.Dot, false); >emitter.emitJavascript(this.operand1, TokenID.Dot, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.operand1 : AST >this : this @@ -3008,14 +3008,14 @@ module TypeScript { emitter.writeToOutput("."); >emitter.writeToOutput(".") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"." : "." emitter.emitJavascriptName(this.operand2, false); >emitter.emitJavascriptName(this.operand2, false) : any >emitter.emitJavascriptName : any ->emitter : any +>emitter : Emitter >emitJavascriptName : any >this.operand2 : Identifier >this.operand2 : AST @@ -3032,7 +3032,7 @@ module TypeScript { emitter.emitIndex(this.operand1, this.operand2); >emitter.emitIndex(this.operand1, this.operand2) : any >emitter.emitIndex : any ->emitter : any +>emitter : Emitter >emitIndex : any >this.operand1 : AST >this : this @@ -3051,11 +3051,11 @@ module TypeScript { if (this.operand2.nodeType == NodeType.FuncDecl && (this.operand2).isAccessor()) { >this.operand2.nodeType == NodeType.FuncDecl && (this.operand2).isAccessor() : any >this.operand2.nodeType == NodeType.FuncDecl : boolean ->this.operand2.nodeType : any +>this.operand2.nodeType : NodeType >this.operand2 : AST >this : this >operand2 : AST ->nodeType : any +>nodeType : NodeType >NodeType.FuncDecl : any >NodeType : any >FuncDecl : any @@ -3088,7 +3088,7 @@ module TypeScript { emitter.writeToOutput("get "); >emitter.writeToOutput("get ") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"get " : "get " } @@ -3096,14 +3096,14 @@ module TypeScript { emitter.writeToOutput("set "); >emitter.writeToOutput("set ") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"set " : "set " } emitter.emitJavascript(this.operand1, TokenID.Colon, false); >emitter.emitJavascript(this.operand1, TokenID.Colon, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.operand1 : AST >this : this @@ -3117,7 +3117,7 @@ module TypeScript { emitter.emitJavascript(this.operand1, TokenID.Colon, false); >emitter.emitJavascript(this.operand1, TokenID.Colon, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.operand1 : AST >this : this @@ -3130,14 +3130,14 @@ module TypeScript { emitter.writeToOutputTrimmable(": "); >emitter.writeToOutputTrimmable(": ") : any >emitter.writeToOutputTrimmable : any ->emitter : any +>emitter : Emitter >writeToOutputTrimmable : any >": " : ": " } emitter.emitJavascript(this.operand2, TokenID.Comma, false); >emitter.emitJavascript(this.operand2, TokenID.Comma, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.operand2 : AST >this : this @@ -3156,7 +3156,7 @@ module TypeScript { emitter.emitJavascript(this.operand1, TokenID.Comma, false); >emitter.emitJavascript(this.operand1, TokenID.Comma, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.operand1 : AST >this : this @@ -3169,14 +3169,14 @@ module TypeScript { if (emitter.emitState.inObjectLiteral) { >emitter.emitState.inObjectLiteral : any >emitter.emitState : any ->emitter : any +>emitter : Emitter >emitState : any >inObjectLiteral : any emitter.writeLineToOutput(", "); >emitter.writeLineToOutput(", ") : any >emitter.writeLineToOutput : any ->emitter : any +>emitter : Emitter >writeLineToOutput : any >", " : ", " } @@ -3184,14 +3184,14 @@ module TypeScript { emitter.writeToOutput(","); >emitter.writeToOutput(",") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"," : "," } emitter.emitJavascript(this.operand2, TokenID.Comma, false); >emitter.emitJavascript(this.operand2, TokenID.Comma, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.operand2 : AST >this : this @@ -3222,14 +3222,14 @@ module TypeScript { emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this emitter.emitParensAndCommentsInPlace(this, false); >emitter.emitParensAndCommentsInPlace(this, false) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >false : false @@ -3258,27 +3258,27 @@ module TypeScript { } public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => any ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => any +>typeFlow : TypeFlow return typeFlow.typeCheckQMark(this); >typeFlow.typeCheckQMark(this) : any >typeFlow.typeCheckQMark : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckQMark : any >this : this } public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean emitter.emitParensAndCommentsInPlace(this, true); >emitter.emitParensAndCommentsInPlace(this, true) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >true : true @@ -3286,14 +3286,14 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this emitter.emitJavascript(this.operand1, TokenID.Question, false); >emitter.emitJavascript(this.operand1, TokenID.Question, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.operand1 : AST >this : this @@ -3306,14 +3306,14 @@ module TypeScript { emitter.writeToOutput(" ? "); >emitter.writeToOutput(" ? ") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >" ? " : " ? " emitter.emitJavascript(this.operand2, TokenID.Question, false); >emitter.emitJavascript(this.operand2, TokenID.Question, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.operand2 : AST >this : this @@ -3326,14 +3326,14 @@ module TypeScript { emitter.writeToOutput(" : "); >emitter.writeToOutput(" : ") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >" : " : " : " emitter.emitJavascript(this.operand3, TokenID.Question, false); >emitter.emitJavascript(this.operand3, TokenID.Question, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.operand3 : AST >this : this @@ -3346,14 +3346,14 @@ module TypeScript { emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this emitter.emitParensAndCommentsInPlace(this, false); >emitter.emitParensAndCommentsInPlace(this, false) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >false : false @@ -3381,16 +3381,16 @@ module TypeScript { >false : false public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => this ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => this +>typeFlow : TypeFlow this.type = typeFlow.doubleType; >this.type = typeFlow.doubleType : any ->this.type : any +>this.type : Type >this : this ->type : any +>type : Type >typeFlow.doubleType : any ->typeFlow : any +>typeFlow : TypeFlow >doubleType : any return this; @@ -3410,15 +3410,15 @@ module TypeScript { } public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean emitter.emitParensAndCommentsInPlace(this, true); >emitter.emitParensAndCommentsInPlace(this, true) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >true : true @@ -3426,7 +3426,7 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this @@ -3438,7 +3438,7 @@ module TypeScript { emitter.writeToOutput("-"); >emitter.writeToOutput("-") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"-" : "-" } @@ -3446,7 +3446,7 @@ module TypeScript { emitter.writeToOutput(this.value.toString()); >emitter.writeToOutput(this.value.toString()) : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >this.value.toString() : string >this.value.toString : (radix?: number) => string @@ -3463,21 +3463,21 @@ module TypeScript { emitter.writeToOutput(".0"); >emitter.writeToOutput(".0") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >".0" : ".0" emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this emitter.emitParensAndCommentsInPlace(this, false); >emitter.emitParensAndCommentsInPlace(this, false) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >false : false @@ -3554,16 +3554,16 @@ module TypeScript { } public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => this ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => this +>typeFlow : TypeFlow this.type = typeFlow.regexType; >this.type = typeFlow.regexType : any ->this.type : any +>this.type : Type >this : this ->type : any +>type : Type >typeFlow.regexType : any ->typeFlow : any +>typeFlow : TypeFlow >regexType : any return this; @@ -3571,15 +3571,15 @@ module TypeScript { } public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean emitter.emitParensAndCommentsInPlace(this, true); >emitter.emitParensAndCommentsInPlace(this, true) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >true : true @@ -3587,14 +3587,14 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this emitter.writeToOutput(this.regex.toString()); >emitter.writeToOutput(this.regex.toString()) : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >this.regex.toString() : any >this.regex.toString : any @@ -3606,14 +3606,14 @@ module TypeScript { emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this emitter.emitParensAndCommentsInPlace(this, false); >emitter.emitParensAndCommentsInPlace(this, false) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >false : false @@ -3636,15 +3636,15 @@ module TypeScript { } public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean emitter.emitParensAndCommentsInPlace(this, true); >emitter.emitParensAndCommentsInPlace(this, true) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >true : true @@ -3652,14 +3652,14 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this emitter.emitStringLiteral(this.text); >emitter.emitStringLiteral(this.text) : any >emitter.emitStringLiteral : any ->emitter : any +>emitter : Emitter >emitStringLiteral : any >this.text : string >this : this @@ -3668,30 +3668,30 @@ module TypeScript { emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this emitter.emitParensAndCommentsInPlace(this, false); >emitter.emitParensAndCommentsInPlace(this, false) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >false : false } public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => this ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => this +>typeFlow : TypeFlow this.type = typeFlow.stringType; >this.type = typeFlow.stringType : any ->this.type : any +>this.type : Type >this : this ->type : any +>type : Type >typeFlow.stringType : any ->typeFlow : any +>typeFlow : TypeFlow >stringType : any return this; @@ -3724,12 +3724,12 @@ module TypeScript { >AST : AST constructor (nodeType: NodeType) { ->nodeType : any +>nodeType : NodeType super(nodeType); >super(nodeType) : void >super : typeof AST ->nodeType : any +>nodeType : NodeType } } @@ -3764,19 +3764,19 @@ module TypeScript { } public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean var mod = this.alias.type; ->mod : any ->this.alias.type : any ->this.alias.type : any +>mod : ModuleType +>this.alias.type : ModuleType +>this.alias.type : Type >this.alias : AST >this : this >alias : AST ->type : any +>type : Type // REVIEW: Only modules may be aliased for now, though there's no real // restriction on what the type symbol may be @@ -3795,8 +3795,8 @@ module TypeScript { >sym : Symbol >!(this.id.sym).onlyReferencedAsTypeRef : boolean >(this.id.sym).onlyReferencedAsTypeRef : any ->(this.id.sym) : any ->this.id.sym : any +>(this.id.sym) : TypeSymbol +>this.id.sym : TypeSymbol >this.id.sym : Symbol >this.id : Identifier >this : this @@ -3807,26 +3807,26 @@ module TypeScript { var prevModAliasId = emitter.modAliasId; >prevModAliasId : any >emitter.modAliasId : any ->emitter : any +>emitter : Emitter >modAliasId : any var prevFirstModAlias = emitter.firstModAlias; >prevFirstModAlias : any >emitter.firstModAlias : any ->emitter : any +>emitter : Emitter >firstModAlias : any emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this emitter.emitParensAndCommentsInPlace(this, true); >emitter.emitParensAndCommentsInPlace(this, true) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >true : true @@ -3834,7 +3834,7 @@ module TypeScript { emitter.writeToOutput("var " + this.id.actualText + " = "); >emitter.writeToOutput("var " + this.id.actualText + " = ") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"var " + this.id.actualText + " = " : string >"var " + this.id.actualText : string @@ -3849,7 +3849,7 @@ module TypeScript { emitter.modAliasId = this.id.actualText; >emitter.modAliasId = this.id.actualText : string >emitter.modAliasId : any ->emitter : any +>emitter : Emitter >modAliasId : any >this.id.actualText : string >this.id : Identifier @@ -3860,7 +3860,7 @@ module TypeScript { emitter.firstModAlias = this.firstAliasedModToString(); >emitter.firstModAlias = this.firstAliasedModToString() : string >emitter.firstModAlias : any ->emitter : any +>emitter : Emitter >firstModAlias : any >this.firstAliasedModToString() : string >this.firstAliasedModToString : () => string @@ -3870,7 +3870,7 @@ module TypeScript { emitter.emitJavascript(this.alias, TokenID.Tilde, false); >emitter.emitJavascript(this.alias, TokenID.Tilde, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.alias : AST >this : this @@ -3890,14 +3890,14 @@ module TypeScript { emitter.writeToOutput(";"); >emitter.writeToOutput(";") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >";" : ";" } emitter.emitParensAndCommentsInPlace(this, false); >emitter.emitParensAndCommentsInPlace(this, false) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >false : false @@ -3905,34 +3905,34 @@ module TypeScript { emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this emitter.modAliasId = prevModAliasId; >emitter.modAliasId = prevModAliasId : any >emitter.modAliasId : any ->emitter : any +>emitter : Emitter >modAliasId : any >prevModAliasId : any emitter.firstModAlias = prevFirstModAlias; >emitter.firstModAlias = prevFirstModAlias : any >emitter.firstModAlias : any ->emitter : any +>emitter : Emitter >firstModAlias : any >prevFirstModAlias : any } } public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => any ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => any +>typeFlow : TypeFlow return typeFlow.typeCheckImportDecl(this); >typeFlow.typeCheckImportDecl(this) : any >typeFlow.typeCheckImportDecl : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckImportDecl : any >this : this } @@ -3946,9 +3946,9 @@ module TypeScript { if (aliasAST.nodeType == NodeType.Name) { >aliasAST.nodeType == NodeType.Name : boolean ->aliasAST.nodeType : any +>aliasAST.nodeType : NodeType >aliasAST : AST ->nodeType : any +>nodeType : NodeType >NodeType.Name : any >NodeType : any >Name : any @@ -3992,11 +3992,11 @@ module TypeScript { if (this.alias.nodeType == NodeType.Name) { >this.alias.nodeType == NodeType.Name : boolean ->this.alias.nodeType : any +>this.alias.nodeType : NodeType >this.alias : AST >this : this >alias : AST ->nodeType : any +>nodeType : NodeType >NodeType.Name : any >NodeType : any >Name : any @@ -4057,13 +4057,13 @@ module TypeScript { constructor (public id: Identifier, nodeType: NodeType, public nestingLevel: number) { >id : Identifier ->nodeType : any +>nodeType : NodeType >nestingLevel : number super(nodeType); >super(nodeType) : void >super : typeof AST ->nodeType : any +>nodeType : NodeType } public isStatementOrExpression() { return true; } @@ -4104,13 +4104,13 @@ module TypeScript { >Property : any public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => any ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => any +>typeFlow : TypeFlow return typeFlow.typeCheckBoundDecl(this); >typeFlow.typeCheckBoundDecl(this) : any >typeFlow.typeCheckBoundDecl : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckBoundDecl : any >this : this } @@ -4178,18 +4178,18 @@ module TypeScript { >Static : any public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean emitter.emitJavascriptVarDecl(this, tokenId); >emitter.emitJavascriptVarDecl(this, tokenId) : any >emitter.emitJavascriptVarDecl : any ->emitter : any +>emitter : Emitter >emitJavascriptVarDecl : any >this : this ->tokenId : any +>tokenId : TokenID } public treeViewLabel() { @@ -4251,19 +4251,19 @@ module TypeScript { } public parameterPropertySym: FieldSymbol = null; ->parameterPropertySym : any +>parameterPropertySym : FieldSymbol >null : null public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean emitter.emitParensAndCommentsInPlace(this, true); >emitter.emitParensAndCommentsInPlace(this, true) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >true : true @@ -4271,14 +4271,14 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this emitter.writeToOutput(this.id.actualText); >emitter.writeToOutput(this.id.actualText) : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >this.id.actualText : string >this.id : Identifier @@ -4289,14 +4289,14 @@ module TypeScript { emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this emitter.emitParensAndCommentsInPlace(this, false); >emitter.emitParensAndCommentsInPlace(this, false) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >false : false @@ -4326,14 +4326,14 @@ module TypeScript { >null : null public symbols: IHashTable; ->symbols : any +>symbols : IHashTable public variableArgList = false; >variableArgList : boolean >false : false public signature: Signature; ->signature : any +>signature : Signature public envids: Identifier[]; >envids : Identifier[] @@ -4404,7 +4404,7 @@ module TypeScript { >[] : undefined[] public scopeType: Type = null; // Type of the FuncDecl, before target typing ->scopeType : any +>scopeType : Type >null : null public endingToken: ASTSpan = null; @@ -4549,9 +4549,9 @@ module TypeScript { >(outerFnc.type.symbol != sym.container) : boolean >outerFnc.type.symbol != sym.container : boolean >outerFnc.type.symbol : any ->outerFnc.type : any +>outerFnc.type : Type >outerFnc : FuncDecl ->type : any +>type : Type >symbol : any >sym.container : any >sym : Symbol @@ -4645,7 +4645,7 @@ module TypeScript { } public buildControlFlow(): ControlFlowContext { ->buildControlFlow : () => any +>buildControlFlow : () => ControlFlowContext var entry = new BasicBlock(); >entry : any @@ -4665,19 +4665,19 @@ module TypeScript { >exit : any var controlFlowPrefix = (ast: AST, parent: AST, walker: IAstWalker) => { ->controlFlowPrefix : (ast: AST, parent: AST, walker: any) => AST ->(ast: AST, parent: AST, walker: IAstWalker) => { ast.addToControlFlow(walker.state); return ast; } : (ast: AST, parent: AST, walker: any) => AST +>controlFlowPrefix : (ast: AST, parent: AST, walker: IAstWalker) => AST +>(ast: AST, parent: AST, walker: IAstWalker) => { ast.addToControlFlow(walker.state); return ast; } : (ast: AST, parent: AST, walker: IAstWalker) => AST >ast : AST >parent : AST ->walker : any +>walker : IAstWalker ast.addToControlFlow(walker.state); >ast.addToControlFlow(walker.state) : void ->ast.addToControlFlow : (context: any) => void +>ast.addToControlFlow : (context: ControlFlowContext) => void >ast : AST ->addToControlFlow : (context: any) => void +>addToControlFlow : (context: ControlFlowContext) => void >walker.state : any ->walker : any +>walker : IAstWalker >state : any return ast; @@ -4691,7 +4691,7 @@ module TypeScript { >getAstWalkerFactory() : any >getAstWalkerFactory : any >getWalker : any ->controlFlowPrefix : (ast: AST, parent: AST, walker: any) => AST +>controlFlowPrefix : (ast: AST, parent: AST, walker: IAstWalker) => AST >null : null >null : null >context : any @@ -4718,27 +4718,27 @@ module TypeScript { } public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => any ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => any +>typeFlow : TypeFlow return typeFlow.typeCheckFunction(this); >typeFlow.typeCheckFunction(this) : any >typeFlow.typeCheckFunction : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckFunction : any >this : this } public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean emitter.emitJavascriptFunction(this); >emitter.emitJavascriptFunction(this) : any >emitter.emitJavascriptFunction : any ->emitter : any +>emitter : Emitter >emitJavascriptFunction : any >this : this } @@ -5047,7 +5047,7 @@ module TypeScript { >null : null public referencedFiles: IFileReference[] = []; ->referencedFiles : any[] +>referencedFiles : IFileReference[] >[] : undefined[] public requiresGlobal = false; @@ -5133,13 +5133,13 @@ module TypeScript { } public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => any ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => any +>typeFlow : TypeFlow return typeFlow.typeCheckScript(this); >typeFlow.typeCheckScript(this) : any >typeFlow.typeCheckScript : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckScript : any >this : this } @@ -5198,9 +5198,9 @@ module TypeScript { if (stmt.nodeType == NodeType.ModuleDeclaration) { >stmt.nodeType == NodeType.ModuleDeclaration : boolean ->stmt.nodeType : any +>stmt.nodeType : NodeType >stmt : AST ->nodeType : any +>nodeType : NodeType >NodeType.ModuleDeclaration : any >NodeType : any >ModuleDeclaration : any @@ -5228,9 +5228,9 @@ module TypeScript { } else if (stmt.nodeType == NodeType.ClassDeclaration) { >stmt.nodeType == NodeType.ClassDeclaration : boolean ->stmt.nodeType : any +>stmt.nodeType : NodeType >stmt : AST ->nodeType : any +>nodeType : NodeType >NodeType.ClassDeclaration : any >NodeType : any >ClassDeclaration : any @@ -5254,9 +5254,9 @@ module TypeScript { } else if (stmt.nodeType == NodeType.VarDecl) { >stmt.nodeType == NodeType.VarDecl : boolean ->stmt.nodeType : any +>stmt.nodeType : NodeType >stmt : AST ->nodeType : any +>nodeType : NodeType >NodeType.VarDecl : any >NodeType : any >VarDecl : any @@ -5280,9 +5280,9 @@ module TypeScript { } else if (stmt.nodeType == NodeType.FuncDecl) { >stmt.nodeType == NodeType.FuncDecl : boolean ->stmt.nodeType : any +>stmt.nodeType : NodeType >stmt : AST ->nodeType : any +>nodeType : NodeType >NodeType.FuncDecl : any >NodeType : any >FuncDecl : any @@ -5303,16 +5303,16 @@ module TypeScript { else if (stmt.nodeType != NodeType.InterfaceDeclaration && stmt.nodeType != NodeType.Empty) { >stmt.nodeType != NodeType.InterfaceDeclaration && stmt.nodeType != NodeType.Empty : boolean >stmt.nodeType != NodeType.InterfaceDeclaration : boolean ->stmt.nodeType : any +>stmt.nodeType : NodeType >stmt : AST ->nodeType : any +>nodeType : NodeType >NodeType.InterfaceDeclaration : any >NodeType : any >InterfaceDeclaration : any >stmt.nodeType != NodeType.Empty : boolean ->stmt.nodeType : any +>stmt.nodeType : NodeType >stmt : AST ->nodeType : any +>nodeType : NodeType >NodeType.Empty : any >NodeType : any >Empty : any @@ -5327,9 +5327,9 @@ module TypeScript { } public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean if (this.emitRequired()) { @@ -5341,7 +5341,7 @@ module TypeScript { emitter.emitParensAndCommentsInPlace(this, true); >emitter.emitParensAndCommentsInPlace(this, true) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >true : true @@ -5349,14 +5349,14 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this emitter.emitJavascriptList(this.bod, null, TokenID.Semicolon, true, false, false, true, this.requiresInherits); >emitter.emitJavascriptList(this.bod, null, TokenID.Semicolon, true, false, false, true, this.requiresInherits) : any >emitter.emitJavascriptList : any ->emitter : any +>emitter : Emitter >emitJavascriptList : any >this.bod : ASTList >this : this @@ -5376,14 +5376,14 @@ module TypeScript { emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this emitter.emitParensAndCommentsInPlace(this, false); >emitter.emitParensAndCommentsInPlace(this, false) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >false : false @@ -5404,7 +5404,7 @@ module TypeScript { >0 : 0 constructor (nodeType: NodeType, ->nodeType : any +>nodeType : NodeType public name: Identifier, >name : Identifier @@ -5415,7 +5415,7 @@ module TypeScript { super(nodeType); >super(nodeType) : void >super : typeof ModuleElement ->nodeType : any +>nodeType : NodeType } } @@ -5430,7 +5430,7 @@ module TypeScript { >ShouldEmitModuleDecl : any public mod: ModuleType; ->mod : any +>mod : ModuleType public prettyName: string; >prettyName : string @@ -5544,21 +5544,21 @@ module TypeScript { } public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => any ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => any +>typeFlow : TypeFlow return typeFlow.typeCheckModule(this); >typeFlow.typeCheckModule(this) : any >typeFlow.typeCheckModule : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckModule : any >this : this } public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean if (!hasFlag(this.modFlags, ModuleFlags.ShouldEmitModuleDecl)) { @@ -5575,7 +5575,7 @@ module TypeScript { emitter.emitParensAndCommentsInPlace(this, true); >emitter.emitParensAndCommentsInPlace(this, true) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >true : true @@ -5583,28 +5583,28 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this emitter.emitJavascriptModule(this); >emitter.emitJavascriptModule(this) : any >emitter.emitJavascriptModule : any ->emitter : any +>emitter : Emitter >emitJavascriptModule : any >this : this emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this emitter.emitParensAndCommentsInPlace(this, false); >emitter.emitParensAndCommentsInPlace(this, false) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >false : false @@ -5623,7 +5623,7 @@ module TypeScript { >None : any constructor (nodeType: NodeType, ->nodeType : any +>nodeType : NodeType name: Identifier, >name : Identifier @@ -5640,7 +5640,7 @@ module TypeScript { super(nodeType, name, members); >super(nodeType, name, members) : void >super : typeof NamedDeclaration ->nodeType : any +>nodeType : NodeType >name : Identifier >members : ASTList } @@ -5719,27 +5719,27 @@ module TypeScript { } public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => any ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => any +>typeFlow : TypeFlow return typeFlow.typeCheckClass(this); >typeFlow.typeCheckClass(this) : any >typeFlow.typeCheckClass : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckClass : any >this : this } public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean emitter.emitJavascriptClass(this); >emitter.emitJavascriptClass(this) : any >emitter.emitJavascriptClass : any ->emitter : any +>emitter : Emitter >emitJavascriptClass : any >this : this } @@ -5774,21 +5774,21 @@ module TypeScript { } public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => any ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => any +>typeFlow : TypeFlow return typeFlow.typeCheckInterface(this); >typeFlow.typeCheckInterface(this) : any >typeFlow.typeCheckInterface : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckInterface : any >this : this } public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean } } @@ -5798,12 +5798,12 @@ module TypeScript { >ModuleElement : ModuleElement constructor (nodeType: NodeType) { ->nodeType : any +>nodeType : NodeType super(nodeType); >super(nodeType) : void >super : typeof ModuleElement ->nodeType : any +>nodeType : NodeType this.flags |= ASTFlags.IsStatement; >this.flags |= ASTFlags.IsStatement : number @@ -5831,16 +5831,16 @@ module TypeScript { >isLoop : () => boolean public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => this ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => this +>typeFlow : TypeFlow this.type = typeFlow.voidType; >this.type = typeFlow.voidType : any ->this.type : any +>this.type : Type >this : this ->type : any +>type : Type >typeFlow.voidType : any ->typeFlow : any +>typeFlow : TypeFlow >voidType : any return this; @@ -5865,15 +5865,15 @@ module TypeScript { } public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean emitter.emitParensAndCommentsInPlace(this, true); >emitter.emitParensAndCommentsInPlace(this, true) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >true : true @@ -5881,7 +5881,7 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this @@ -5911,7 +5911,7 @@ module TypeScript { this.labels.members[i].emit(emitter, tokenId, startLine); >this.labels.members[i].emit(emitter, tokenId, startLine) : void ->this.labels.members[i].emit : (emitter: any, tokenId: any, startLine: boolean) => void +>this.labels.members[i].emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void >this.labels.members[i] : AST >this.labels.members : AST[] >this.labels : ASTList @@ -5919,47 +5919,47 @@ module TypeScript { >labels : ASTList >members : AST[] >i : number ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean } } this.stmt.emit(emitter, tokenId, true); >this.stmt.emit(emitter, tokenId, true) : void ->this.stmt.emit : (emitter: any, tokenId: any, startLine: boolean) => void +>this.stmt.emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void >this.stmt : AST >this : this >stmt : AST ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >true : true emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this emitter.emitParensAndCommentsInPlace(this, false); >emitter.emitParensAndCommentsInPlace(this, false) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >false : false } public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => this ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => this +>typeFlow : TypeFlow typeFlow.typeCheck(this.labels); >typeFlow.typeCheck(this.labels) : any >typeFlow.typeCheck : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheck : any >this.labels : ASTList >this : this @@ -5971,25 +5971,25 @@ module TypeScript { >this : this >stmt : AST >this.stmt.typeCheck(typeFlow) : any ->this.stmt.typeCheck : (typeFlow: any) => any +>this.stmt.typeCheck : (typeFlow: TypeFlow) => any >this.stmt : AST >this : this >stmt : AST ->typeCheck : (typeFlow: any) => any ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => any +>typeFlow : TypeFlow return this; >this : this } public addToControlFlow(context: ControlFlowContext): void { ->addToControlFlow : (context: any) => void ->context : any +>addToControlFlow : (context: ControlFlowContext) => void +>context : ControlFlowContext var beforeBB = context.current; >beforeBB : any >context.current : any ->context : any +>context : ControlFlowContext >current : any var bb = new BasicBlock(); @@ -6000,7 +6000,7 @@ module TypeScript { context.current = bb; >context.current = bb : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >bb : any @@ -6032,15 +6032,15 @@ module TypeScript { } public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean emitter.emitParensAndCommentsInPlace(this, true); >emitter.emitParensAndCommentsInPlace(this, true) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >true : true @@ -6048,7 +6048,7 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this @@ -6060,7 +6060,7 @@ module TypeScript { emitter.writeLineToOutput(" {"); >emitter.writeLineToOutput(" {") : any >emitter.writeLineToOutput : any ->emitter : any +>emitter : Emitter >writeLineToOutput : any >" {" : " {" @@ -6068,7 +6068,7 @@ module TypeScript { >emitter.indenter.increaseIndent() : any >emitter.indenter.increaseIndent : any >emitter.indenter : any ->emitter : any +>emitter : Emitter >indenter : any >increaseIndent : any @@ -6076,7 +6076,7 @@ module TypeScript { emitter.setInVarBlock(this.statements.members.length); >emitter.setInVarBlock(this.statements.members.length) : any >emitter.setInVarBlock : any ->emitter : any +>emitter : Emitter >setInVarBlock : any >this.statements.members.length : number >this.statements.members : AST[] @@ -6090,7 +6090,7 @@ module TypeScript { >temp : any >emitter.setInObjectLiteral(false) : any >emitter.setInObjectLiteral : any ->emitter : any +>emitter : Emitter >setInObjectLiteral : any >false : false @@ -6102,7 +6102,7 @@ module TypeScript { emitter.emitJavascriptList(this.statements, null, TokenID.Semicolon, true, false, false); >emitter.emitJavascriptList(this.statements, null, TokenID.Semicolon, true, false, false) : any >emitter.emitJavascriptList : any ->emitter : any +>emitter : Emitter >emitJavascriptList : any >this.statements : ASTList >this : this @@ -6124,49 +6124,49 @@ module TypeScript { >emitter.indenter.decreaseIndent() : any >emitter.indenter.decreaseIndent : any >emitter.indenter : any ->emitter : any +>emitter : Emitter >indenter : any >decreaseIndent : any emitter.emitIndent(); >emitter.emitIndent() : any >emitter.emitIndent : any ->emitter : any +>emitter : Emitter >emitIndent : any emitter.writeToOutput("}"); >emitter.writeToOutput("}") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"}" : "}" } emitter.setInObjectLiteral(temp); >emitter.setInObjectLiteral(temp) : any >emitter.setInObjectLiteral : any ->emitter : any +>emitter : Emitter >setInObjectLiteral : any >temp : any emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this emitter.emitParensAndCommentsInPlace(this, false); >emitter.emitParensAndCommentsInPlace(this, false) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >false : false } public addToControlFlow(context: ControlFlowContext) { ->addToControlFlow : (context: any) => void ->context : any +>addToControlFlow : (context: ControlFlowContext) => void +>context : ControlFlowContext var afterIfNeeded = new BasicBlock(); >afterIfNeeded : any @@ -6176,11 +6176,11 @@ module TypeScript { context.pushStatement(this, context.current, afterIfNeeded); >context.pushStatement(this, context.current, afterIfNeeded) : any >context.pushStatement : any ->context : any +>context : ControlFlowContext >pushStatement : any >this : this >context.current : any ->context : any +>context : ControlFlowContext >current : any >afterIfNeeded : any @@ -6192,7 +6192,7 @@ module TypeScript { context.walk(this.statements, this); >context.walk(this.statements, this) : any >context.walk : any ->context : any +>context : ControlFlowContext >walk : any >this.statements : ASTList >this : this @@ -6204,7 +6204,7 @@ module TypeScript { >context.walker.options.goChildren : any >context.walker.options : any >context.walker : any ->context : any +>context : ControlFlowContext >walker : any >options : any >goChildren : any @@ -6213,7 +6213,7 @@ module TypeScript { context.popStatement(); >context.popStatement() : any >context.popStatement : any ->context : any +>context : ControlFlowContext >popStatement : any if (afterIfNeeded.predecessors.length > 0) { @@ -6229,7 +6229,7 @@ module TypeScript { >context.current.addSuccessor(afterIfNeeded) : any >context.current.addSuccessor : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >addSuccessor : any >afterIfNeeded : any @@ -6237,22 +6237,22 @@ module TypeScript { context.current = afterIfNeeded; >context.current = afterIfNeeded : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >afterIfNeeded : any } } public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => this ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => this +>typeFlow : TypeFlow if (!typeFlow.checker.styleSettings.emptyBlocks) { >!typeFlow.checker.styleSettings.emptyBlocks : boolean >typeFlow.checker.styleSettings.emptyBlocks : any >typeFlow.checker.styleSettings : any >typeFlow.checker : any ->typeFlow : any +>typeFlow : TypeFlow >checker : any >styleSettings : any >emptyBlocks : any @@ -6281,7 +6281,7 @@ module TypeScript { >typeFlow.checker.errorReporter.styleError : any >typeFlow.checker.errorReporter : any >typeFlow.checker : any ->typeFlow : any +>typeFlow : TypeFlow >checker : any >errorReporter : any >styleError : any @@ -6293,7 +6293,7 @@ module TypeScript { typeFlow.typeCheck(this.statements); >typeFlow.typeCheck(this.statements) : any >typeFlow.typeCheck : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheck : any >this.statements : ASTList >this : this @@ -6324,17 +6324,17 @@ module TypeScript { >null : null constructor (nodeType: NodeType) { ->nodeType : any +>nodeType : NodeType super(nodeType); >super(nodeType) : void >super : typeof Statement ->nodeType : any +>nodeType : NodeType } public setResolvedTarget(parser: Parser, stmt: Statement): boolean { ->setResolvedTarget : (parser: any, stmt: Statement) => boolean ->parser : any +>setResolvedTarget : (parser: Parser, stmt: Statement) => boolean +>parser : Parser >stmt : Statement if (stmt.isLoop()) { @@ -6355,9 +6355,9 @@ module TypeScript { } if (this.nodeType === NodeType.Continue) { >this.nodeType === NodeType.Continue : boolean ->this.nodeType : any +>this.nodeType : NodeType >this : this ->nodeType : any +>nodeType : NodeType >NodeType.Continue : any >NodeType : any >Continue : any @@ -6365,7 +6365,7 @@ module TypeScript { parser.reportParseError("continue statement applies only to loops"); >parser.reportParseError("continue statement applies only to loops") : any >parser.reportParseError : any ->parser : any +>parser : Parser >reportParseError : any >"continue statement applies only to loops" : "continue statement applies only to loops" @@ -6377,9 +6377,9 @@ module TypeScript { >(stmt.nodeType == NodeType.Switch) || this.hasExplicitTarget() : string | true >(stmt.nodeType == NodeType.Switch) : boolean >stmt.nodeType == NodeType.Switch : boolean ->stmt.nodeType : any +>stmt.nodeType : NodeType >stmt : Statement ->nodeType : any +>nodeType : NodeType >NodeType.Switch : any >NodeType : any >Switch : any @@ -6402,7 +6402,7 @@ module TypeScript { parser.reportParseError("break statement with no label can apply only to a loop or switch statement"); >parser.reportParseError("break statement with no label can apply only to a loop or switch statement") : any >parser.reportParseError : any ->parser : any +>parser : Parser >reportParseError : any >"break statement with no label can apply only to a loop or switch statement" : "break statement with no label can apply only to a loop or switch statement" @@ -6413,44 +6413,44 @@ module TypeScript { } public addToControlFlow(context: ControlFlowContext): void { ->addToControlFlow : (context: any) => void ->context : any +>addToControlFlow : (context: ControlFlowContext) => void +>context : ControlFlowContext super.addToControlFlow(context); >super.addToControlFlow(context) : void ->super.addToControlFlow : (context: any) => void +>super.addToControlFlow : (context: ControlFlowContext) => void >super : Statement ->addToControlFlow : (context: any) => void ->context : any +>addToControlFlow : (context: ControlFlowContext) => void +>context : ControlFlowContext context.unconditionalBranch(this.resolvedTarget, (this.nodeType == NodeType.Continue)); >context.unconditionalBranch(this.resolvedTarget, (this.nodeType == NodeType.Continue)) : any >context.unconditionalBranch : any ->context : any +>context : ControlFlowContext >unconditionalBranch : any >this.resolvedTarget : Statement >this : this >resolvedTarget : Statement >(this.nodeType == NodeType.Continue) : boolean >this.nodeType == NodeType.Continue : boolean ->this.nodeType : any +>this.nodeType : NodeType >this : this ->nodeType : any +>nodeType : NodeType >NodeType.Continue : any >NodeType : any >Continue : any } public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean emitter.emitParensAndCommentsInPlace(this, true); >emitter.emitParensAndCommentsInPlace(this, true) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >true : true @@ -6458,15 +6458,15 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this if (this.nodeType == NodeType.Break) { >this.nodeType == NodeType.Break : boolean ->this.nodeType : any +>this.nodeType : NodeType >this : this ->nodeType : any +>nodeType : NodeType >NodeType.Break : any >NodeType : any >Break : any @@ -6474,7 +6474,7 @@ module TypeScript { emitter.writeToOutput("break"); >emitter.writeToOutput("break") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"break" : "break" } @@ -6482,7 +6482,7 @@ module TypeScript { emitter.writeToOutput("continue"); >emitter.writeToOutput("continue") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"continue" : "continue" } @@ -6495,7 +6495,7 @@ module TypeScript { emitter.writeToOutput(" " + this.target); >emitter.writeToOutput(" " + this.target) : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >" " + this.target : string >" " : " " @@ -6506,21 +6506,21 @@ module TypeScript { emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this emitter.writeToOutput(";"); >emitter.writeToOutput(";") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >";" : ";" emitter.emitParensAndCommentsInPlace(this, false); >emitter.emitParensAndCommentsInPlace(this, false) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >false : false @@ -6551,15 +6551,15 @@ module TypeScript { >true : true public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean emitter.emitParensAndCommentsInPlace(this, true); >emitter.emitParensAndCommentsInPlace(this, true) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >true : true @@ -6567,7 +6567,7 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this @@ -6575,21 +6575,21 @@ module TypeScript { >temp : any >emitter.setInObjectLiteral(false) : any >emitter.setInObjectLiteral : any ->emitter : any +>emitter : Emitter >setInObjectLiteral : any >false : false emitter.writeToOutput("while("); >emitter.writeToOutput("while(") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"while(" : "while(" emitter.emitJavascript(this.cond, TokenID.While, false); >emitter.emitJavascript(this.cond, TokenID.While, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.cond : AST >this : this @@ -6602,14 +6602,14 @@ module TypeScript { emitter.writeToOutput(")"); >emitter.writeToOutput(")") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >")" : ")" emitter.emitJavascriptStatements(this.body, false, false); >emitter.emitJavascriptStatements(this.body, false, false) : any >emitter.emitJavascriptStatements : any ->emitter : any +>emitter : Emitter >emitJavascriptStatements : any >this.body : AST >this : this @@ -6620,46 +6620,46 @@ module TypeScript { emitter.setInObjectLiteral(temp); >emitter.setInObjectLiteral(temp) : any >emitter.setInObjectLiteral : any ->emitter : any +>emitter : Emitter >setInObjectLiteral : any >temp : any emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this emitter.emitParensAndCommentsInPlace(this, false); >emitter.emitParensAndCommentsInPlace(this, false) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >false : false } public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => any ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => any +>typeFlow : TypeFlow return typeFlow.typeCheckWhile(this); >typeFlow.typeCheckWhile(this) : any >typeFlow.typeCheckWhile : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckWhile : any >this : this } public addToControlFlow(context: ControlFlowContext): void { ->addToControlFlow : (context: any) => void ->context : any +>addToControlFlow : (context: ControlFlowContext) => void +>context : ControlFlowContext var loopHeader = context.current; >loopHeader : any >context.current : any ->context : any +>context : ControlFlowContext >current : any var loopStart = new BasicBlock(); @@ -6682,14 +6682,14 @@ module TypeScript { context.current = loopStart; >context.current = loopStart : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >loopStart : any context.addContent(this.cond); >context.addContent(this.cond) : any >context.addContent : any ->context : any +>context : ControlFlowContext >addContent : any >this.cond : AST >this : this @@ -6698,11 +6698,11 @@ module TypeScript { var condBlock = context.current; >condBlock : any >context.current : any ->context : any +>context : ControlFlowContext >current : any var targetInfo: ITargetInfo = null; ->targetInfo : any +>targetInfo : ITargetInfo >null : null if (this.body) { @@ -6713,7 +6713,7 @@ module TypeScript { context.current = new BasicBlock(); >context.current = new BasicBlock() : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >new BasicBlock() : any >BasicBlock : any @@ -6724,13 +6724,13 @@ module TypeScript { >condBlock : any >addSuccessor : any >context.current : any ->context : any +>context : ControlFlowContext >current : any context.pushStatement(this, loopStart, afterLoop); >context.pushStatement(this, loopStart, afterLoop) : any >context.pushStatement : any ->context : any +>context : ControlFlowContext >pushStatement : any >this : this >loopStart : any @@ -6739,7 +6739,7 @@ module TypeScript { context.walk(this.body, this); >context.walk(this.body, this) : any >context.walk : any ->context : any +>context : ControlFlowContext >walk : any >this.body : AST >this : this @@ -6748,23 +6748,23 @@ module TypeScript { targetInfo = context.popStatement(); >targetInfo = context.popStatement() : any ->targetInfo : any +>targetInfo : ITargetInfo >context.popStatement() : any >context.popStatement : any ->context : any +>context : ControlFlowContext >popStatement : any } if (!(context.noContinuation)) { >!(context.noContinuation) : boolean >(context.noContinuation) : any >context.noContinuation : any ->context : any +>context : ControlFlowContext >noContinuation : any var loopEnd = context.current; >loopEnd : any >context.current : any ->context : any +>context : ControlFlowContext >current : any loopEnd.addSuccessor(loopStart); @@ -6777,7 +6777,7 @@ module TypeScript { context.current = afterLoop; >context.current = afterLoop : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >afterLoop : any @@ -6792,7 +6792,7 @@ module TypeScript { context.noContinuation = false; >context.noContinuation = false : false >context.noContinuation : any ->context : any +>context : ControlFlowContext >noContinuation : any >false : false @@ -6801,7 +6801,7 @@ module TypeScript { >context.walker.options.goChildren : any >context.walker.options : any >context.walker : any ->context : any +>context : ControlFlowContext >walker : any >options : any >goChildren : any @@ -6839,15 +6839,15 @@ module TypeScript { } public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean emitter.emitParensAndCommentsInPlace(this, true); >emitter.emitParensAndCommentsInPlace(this, true) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >true : true @@ -6855,7 +6855,7 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this @@ -6863,21 +6863,21 @@ module TypeScript { >temp : any >emitter.setInObjectLiteral(false) : any >emitter.setInObjectLiteral : any ->emitter : any +>emitter : Emitter >setInObjectLiteral : any >false : false emitter.writeToOutput("do"); >emitter.writeToOutput("do") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"do" : "do" emitter.emitJavascriptStatements(this.body, true, false); >emitter.emitJavascriptStatements(this.body, true, false) : any >emitter.emitJavascriptStatements : any ->emitter : any +>emitter : Emitter >emitJavascriptStatements : any >this.body : AST >this : this @@ -6888,7 +6888,7 @@ module TypeScript { emitter.recordSourceMappingStart(this.whileAST); >emitter.recordSourceMappingStart(this.whileAST) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this.whileAST : AST >this : this @@ -6897,14 +6897,14 @@ module TypeScript { emitter.writeToOutput("while"); >emitter.writeToOutput("while") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"while" : "while" emitter.recordSourceMappingEnd(this.whileAST); >emitter.recordSourceMappingEnd(this.whileAST) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this.whileAST : AST >this : this @@ -6913,14 +6913,14 @@ module TypeScript { emitter.writeToOutput('('); >emitter.writeToOutput('(') : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >'(' : "(" emitter.emitJavascript(this.cond, TokenID.CloseParen, false); >emitter.emitJavascript(this.cond, TokenID.CloseParen, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.cond : AST >this : this @@ -6933,53 +6933,53 @@ module TypeScript { emitter.writeToOutput(")"); >emitter.writeToOutput(")") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >")" : ")" emitter.setInObjectLiteral(temp); >emitter.setInObjectLiteral(temp) : any >emitter.setInObjectLiteral : any ->emitter : any +>emitter : Emitter >setInObjectLiteral : any >temp : any emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this emitter.emitParensAndCommentsInPlace(this, false); >emitter.emitParensAndCommentsInPlace(this, false) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >false : false } public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => any ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => any +>typeFlow : TypeFlow return typeFlow.typeCheckDoWhile(this); >typeFlow.typeCheckDoWhile(this) : any >typeFlow.typeCheckDoWhile : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckDoWhile : any >this : this } public addToControlFlow(context: ControlFlowContext): void { ->addToControlFlow : (context: any) => void ->context : any +>addToControlFlow : (context: ControlFlowContext) => void +>context : ControlFlowContext var loopHeader = context.current; >loopHeader : any >context.current : any ->context : any +>context : ControlFlowContext >current : any var loopStart = new BasicBlock(); @@ -7002,12 +7002,12 @@ module TypeScript { context.current = loopStart; >context.current = loopStart : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >loopStart : any var targetInfo: ITargetInfo = null; ->targetInfo : any +>targetInfo : ITargetInfo >null : null if (this.body) { @@ -7018,7 +7018,7 @@ module TypeScript { context.pushStatement(this, loopStart, afterLoop); >context.pushStatement(this, loopStart, afterLoop) : any >context.pushStatement : any ->context : any +>context : ControlFlowContext >pushStatement : any >this : this >loopStart : any @@ -7027,7 +7027,7 @@ module TypeScript { context.walk(this.body, this); >context.walk(this.body, this) : any >context.walk : any ->context : any +>context : ControlFlowContext >walk : any >this.body : AST >this : this @@ -7036,23 +7036,23 @@ module TypeScript { targetInfo = context.popStatement(); >targetInfo = context.popStatement() : any ->targetInfo : any +>targetInfo : ITargetInfo >context.popStatement() : any >context.popStatement : any ->context : any +>context : ControlFlowContext >popStatement : any } if (!(context.noContinuation)) { >!(context.noContinuation) : boolean >(context.noContinuation) : any >context.noContinuation : any ->context : any +>context : ControlFlowContext >noContinuation : any var loopEnd = context.current; >loopEnd : any >context.current : any ->context : any +>context : ControlFlowContext >current : any loopEnd.addSuccessor(loopStart); @@ -7065,7 +7065,7 @@ module TypeScript { context.addContent(this.cond); >context.addContent(this.cond) : any >context.addContent : any ->context : any +>context : ControlFlowContext >addContent : any >this.cond : AST >this : this @@ -7075,7 +7075,7 @@ module TypeScript { context.current = afterLoop; >context.current = afterLoop : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >afterLoop : any @@ -7090,7 +7090,7 @@ module TypeScript { context.addUnreachable(this.cond); >context.addUnreachable(this.cond) : any >context.addUnreachable : any ->context : any +>context : ControlFlowContext >addUnreachable : any >this.cond : AST >this : this @@ -7101,7 +7101,7 @@ module TypeScript { >context.walker.options.goChildren : any >context.walker.options : any >context.walker : any ->context : any +>context : ControlFlowContext >walker : any >options : any >goChildren : any @@ -7141,15 +7141,15 @@ module TypeScript { >true : true public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean emitter.emitParensAndCommentsInPlace(this, true); >emitter.emitParensAndCommentsInPlace(this, true) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >true : true @@ -7157,7 +7157,7 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this @@ -7165,14 +7165,14 @@ module TypeScript { >temp : any >emitter.setInObjectLiteral(false) : any >emitter.setInObjectLiteral : any ->emitter : any +>emitter : Emitter >setInObjectLiteral : any >false : false emitter.recordSourceMappingStart(this.statement); >emitter.recordSourceMappingStart(this.statement) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this.statement : ASTSpan >this : this @@ -7181,14 +7181,14 @@ module TypeScript { emitter.writeToOutput("if("); >emitter.writeToOutput("if(") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"if(" : "if(" emitter.emitJavascript(this.cond, TokenID.If, false); >emitter.emitJavascript(this.cond, TokenID.If, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.cond : AST >this : this @@ -7201,14 +7201,14 @@ module TypeScript { emitter.writeToOutput(")"); >emitter.writeToOutput(")") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >")" : ")" emitter.recordSourceMappingEnd(this.statement); >emitter.recordSourceMappingEnd(this.statement) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this.statement : ASTSpan >this : this @@ -7217,7 +7217,7 @@ module TypeScript { emitter.emitJavascriptStatements(this.thenBod, true, false); >emitter.emitJavascriptStatements(this.thenBod, true, false) : any >emitter.emitJavascriptStatements : any ->emitter : any +>emitter : Emitter >emitJavascriptStatements : any >this.thenBod : AST >this : this @@ -7233,14 +7233,14 @@ module TypeScript { emitter.writeToOutput(" else"); >emitter.writeToOutput(" else") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >" else" : " else" emitter.emitJavascriptStatements(this.elseBod, true, true); >emitter.emitJavascriptStatements(this.elseBod, true, true) : any >emitter.emitJavascriptStatements : any ->emitter : any +>emitter : Emitter >emitJavascriptStatements : any >this.elseBod : AST >this : this @@ -7251,50 +7251,50 @@ module TypeScript { emitter.setInObjectLiteral(temp); >emitter.setInObjectLiteral(temp) : any >emitter.setInObjectLiteral : any ->emitter : any +>emitter : Emitter >setInObjectLiteral : any >temp : any emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this emitter.emitParensAndCommentsInPlace(this, false); >emitter.emitParensAndCommentsInPlace(this, false) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >false : false } public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => any ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => any +>typeFlow : TypeFlow return typeFlow.typeCheckIf(this); >typeFlow.typeCheckIf(this) : any >typeFlow.typeCheckIf : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckIf : any >this : this } public addToControlFlow(context: ControlFlowContext): void { ->addToControlFlow : (context: any) => void ->context : any +>addToControlFlow : (context: ControlFlowContext) => void +>context : ControlFlowContext this.cond.addToControlFlow(context); >this.cond.addToControlFlow(context) : void ->this.cond.addToControlFlow : (context: any) => void +>this.cond.addToControlFlow : (context: ControlFlowContext) => void >this.cond : AST >this : this >cond : AST ->addToControlFlow : (context: any) => void ->context : any +>addToControlFlow : (context: ControlFlowContext) => void +>context : ControlFlowContext var afterIf = new BasicBlock(); >afterIf : any @@ -7304,13 +7304,13 @@ module TypeScript { var beforeIf = context.current; >beforeIf : any >context.current : any ->context : any +>context : ControlFlowContext >current : any context.pushStatement(this, beforeIf, afterIf); >context.pushStatement(this, beforeIf, afterIf) : any >context.pushStatement : any ->context : any +>context : ControlFlowContext >pushStatement : any >this : this >beforeIf : any @@ -7323,7 +7323,7 @@ module TypeScript { context.current = new BasicBlock(); >context.current = new BasicBlock() : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >new BasicBlock() : any >BasicBlock : any @@ -7334,13 +7334,13 @@ module TypeScript { >beforeIf : any >addSuccessor : any >context.current : any ->context : any +>context : ControlFlowContext >current : any context.walk(this.thenBod, this); >context.walk(this.thenBod, this) : any >context.walk : any ->context : any +>context : ControlFlowContext >walk : any >this.thenBod : AST >this : this @@ -7350,7 +7350,7 @@ module TypeScript { if (!context.noContinuation) { >!context.noContinuation : boolean >context.noContinuation : any ->context : any +>context : ControlFlowContext >noContinuation : any hasContinuation = true; @@ -7362,7 +7362,7 @@ module TypeScript { >context.current.addSuccessor(afterIf) : any >context.current.addSuccessor : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >addSuccessor : any >afterIf : any @@ -7376,7 +7376,7 @@ module TypeScript { context.current = new BasicBlock(); >context.current = new BasicBlock() : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >new BasicBlock() : any >BasicBlock : any @@ -7384,7 +7384,7 @@ module TypeScript { context.noContinuation = false; >context.noContinuation = false : false >context.noContinuation : any ->context : any +>context : ControlFlowContext >noContinuation : any >false : false @@ -7394,13 +7394,13 @@ module TypeScript { >beforeIf : any >addSuccessor : any >context.current : any ->context : any +>context : ControlFlowContext >current : any context.walk(this.elseBod, this); >context.walk(this.elseBod, this) : any >context.walk : any ->context : any +>context : ControlFlowContext >walk : any >this.elseBod : AST >this : this @@ -7410,7 +7410,7 @@ module TypeScript { if (!context.noContinuation) { >!context.noContinuation : boolean >context.noContinuation : any ->context : any +>context : ControlFlowContext >noContinuation : any hasContinuation = true; @@ -7422,7 +7422,7 @@ module TypeScript { >context.current.addSuccessor(afterIf) : any >context.current.addSuccessor : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >addSuccessor : any >afterIf : any @@ -7435,7 +7435,7 @@ module TypeScript { context.noContinuation = false; >context.noContinuation = false : false >context.noContinuation : any ->context : any +>context : ControlFlowContext >noContinuation : any >false : false } @@ -7452,7 +7452,7 @@ module TypeScript { context.noContinuation = false; >context.noContinuation = false : false >context.noContinuation : any ->context : any +>context : ControlFlowContext >noContinuation : any >false : false @@ -7465,7 +7465,7 @@ module TypeScript { >targetInfo : any >context.popStatement() : any >context.popStatement : any ->context : any +>context : ControlFlowContext >popStatement : any if (afterIf.predecessors.length > 0) { @@ -7480,7 +7480,7 @@ module TypeScript { context.noContinuation = false; >context.noContinuation = false : false >context.noContinuation : any ->context : any +>context : ControlFlowContext >noContinuation : any >false : false @@ -7495,7 +7495,7 @@ module TypeScript { context.current = afterIf; >context.current = afterIf : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >afterIf : any } @@ -7504,7 +7504,7 @@ module TypeScript { >context.walker.options.goChildren : any >context.walker.options : any >context.walker : any ->context : any +>context : ControlFlowContext >walker : any >options : any >goChildren : any @@ -7530,15 +7530,15 @@ module TypeScript { } public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean emitter.emitParensAndCommentsInPlace(this, true); >emitter.emitParensAndCommentsInPlace(this, true) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >true : true @@ -7546,7 +7546,7 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this @@ -7554,7 +7554,7 @@ module TypeScript { >temp : any >emitter.setInObjectLiteral(false) : any >emitter.setInObjectLiteral : any ->emitter : any +>emitter : Emitter >setInObjectLiteral : any >false : false @@ -7566,14 +7566,14 @@ module TypeScript { emitter.writeToOutput("return "); >emitter.writeToOutput("return ") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"return " : "return " emitter.emitJavascript(this.returnExpression, TokenID.Semicolon, false); >emitter.emitJavascript(this.returnExpression, TokenID.Semicolon, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.returnExpression : AST >this : this @@ -7587,59 +7587,59 @@ module TypeScript { emitter.writeToOutput("return;"); >emitter.writeToOutput("return;") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"return;" : "return;" } emitter.setInObjectLiteral(temp); >emitter.setInObjectLiteral(temp) : any >emitter.setInObjectLiteral : any ->emitter : any +>emitter : Emitter >setInObjectLiteral : any >temp : any emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this emitter.emitParensAndCommentsInPlace(this, false); >emitter.emitParensAndCommentsInPlace(this, false) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >false : false } public addToControlFlow(context: ControlFlowContext): void { ->addToControlFlow : (context: any) => void ->context : any +>addToControlFlow : (context: ControlFlowContext) => void +>context : ControlFlowContext super.addToControlFlow(context); >super.addToControlFlow(context) : void ->super.addToControlFlow : (context: any) => void +>super.addToControlFlow : (context: ControlFlowContext) => void >super : Statement ->addToControlFlow : (context: any) => void ->context : any +>addToControlFlow : (context: ControlFlowContext) => void +>context : ControlFlowContext context.returnStmt(); >context.returnStmt() : any >context.returnStmt : any ->context : any +>context : ControlFlowContext >returnStmt : any } public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => any ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => any +>typeFlow : TypeFlow return typeFlow.typeCheckReturn(this); >typeFlow.typeCheckReturn(this) : any >typeFlow.typeCheckReturn : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckReturn : any >this : this } @@ -7681,11 +7681,11 @@ module TypeScript { >lval : AST >(this.lval.nodeType == NodeType.VarDecl) : boolean >this.lval.nodeType == NodeType.VarDecl : boolean ->this.lval.nodeType : any +>this.lval.nodeType : NodeType >this.lval : AST >this : this >lval : AST ->nodeType : any +>nodeType : NodeType >NodeType.VarDecl : any >NodeType : any >VarDecl : any @@ -7730,11 +7730,11 @@ module TypeScript { if (this.body.nodeType == NodeType.List) { >this.body.nodeType == NodeType.List : boolean ->this.body.nodeType : any +>this.body.nodeType : NodeType >this.body : AST >this : this >body : AST ->nodeType : any +>nodeType : NodeType >NodeType.List : any >NodeType : any >List : any @@ -7781,9 +7781,9 @@ module TypeScript { if (singleItem.nodeType == NodeType.Block) { >singleItem.nodeType == NodeType.Block : boolean ->singleItem.nodeType : any +>singleItem.nodeType : NodeType >singleItem : AST ->nodeType : any +>nodeType : NodeType >NodeType.Block : any >NodeType : any >Block : any @@ -7826,9 +7826,9 @@ module TypeScript { } if (singleItem.nodeType == NodeType.If) { >singleItem.nodeType == NodeType.If : boolean ->singleItem.nodeType : any +>singleItem.nodeType : NodeType >singleItem : AST ->nodeType : any +>nodeType : NodeType >NodeType.If : any >NodeType : any >If : any @@ -7843,9 +7843,9 @@ module TypeScript { if (cond.nodeType == NodeType.Call) { >cond.nodeType == NodeType.Call : boolean ->cond.nodeType : any +>cond.nodeType : NodeType >cond : AST ->nodeType : any +>nodeType : NodeType >NodeType.Call : any >NodeType : any >Call : any @@ -7860,9 +7860,9 @@ module TypeScript { if (target.nodeType == NodeType.Dot) { >target.nodeType == NodeType.Dot : boolean ->target.nodeType : any +>target.nodeType : NodeType >target : AST ->nodeType : any +>nodeType : NodeType >NodeType.Dot : any >NodeType : any >Dot : any @@ -7877,11 +7877,11 @@ module TypeScript { >(binex.operand1.nodeType == NodeType.Name) && (this.obj.nodeType == NodeType.Name) : boolean >(binex.operand1.nodeType == NodeType.Name) : boolean >binex.operand1.nodeType == NodeType.Name : boolean ->binex.operand1.nodeType : any +>binex.operand1.nodeType : NodeType >binex.operand1 : AST >binex : BinaryExpression >operand1 : AST ->nodeType : any +>nodeType : NodeType >NodeType.Name : any >NodeType : any >Name : any @@ -7889,11 +7889,11 @@ module TypeScript { (this.obj.nodeType == NodeType.Name) && >(this.obj.nodeType == NodeType.Name) : boolean >this.obj.nodeType == NodeType.Name : boolean ->this.obj.nodeType : any +>this.obj.nodeType : NodeType >this.obj : AST >this : this >obj : AST ->nodeType : any +>nodeType : NodeType >NodeType.Name : any >NodeType : any >Name : any @@ -7965,9 +7965,9 @@ module TypeScript { >(arg.nodeType == NodeType.Name) && (this.lval.nodeType == NodeType.Name) : boolean >(arg.nodeType == NodeType.Name) : boolean >arg.nodeType == NodeType.Name : boolean ->arg.nodeType : any +>arg.nodeType : NodeType >arg : AST ->nodeType : any +>nodeType : NodeType >NodeType.Name : any >NodeType : any >Name : any @@ -7975,11 +7975,11 @@ module TypeScript { (this.lval.nodeType == NodeType.Name)) { >(this.lval.nodeType == NodeType.Name) : boolean >this.lval.nodeType == NodeType.Name : boolean ->this.lval.nodeType : any +>this.lval.nodeType : NodeType >this.lval : AST >this : this >lval : AST ->nodeType : any +>nodeType : NodeType >NodeType.Name : any >NodeType : any >Name : any @@ -8017,15 +8017,15 @@ module TypeScript { } public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean emitter.emitParensAndCommentsInPlace(this, true); >emitter.emitParensAndCommentsInPlace(this, true) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >true : true @@ -8033,7 +8033,7 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this @@ -8041,14 +8041,14 @@ module TypeScript { >temp : any >emitter.setInObjectLiteral(false) : any >emitter.setInObjectLiteral : any ->emitter : any +>emitter : Emitter >setInObjectLiteral : any >false : false emitter.recordSourceMappingStart(this.statement); >emitter.recordSourceMappingStart(this.statement) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this.statement : ASTSpan >this : this @@ -8057,14 +8057,14 @@ module TypeScript { emitter.writeToOutput("for("); >emitter.writeToOutput("for(") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"for(" : "for(" emitter.emitJavascript(this.lval, TokenID.For, false); >emitter.emitJavascript(this.lval, TokenID.For, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.lval : AST >this : this @@ -8077,14 +8077,14 @@ module TypeScript { emitter.writeToOutput(" in "); >emitter.writeToOutput(" in ") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >" in " : " in " emitter.emitJavascript(this.obj, TokenID.For, false); >emitter.emitJavascript(this.obj, TokenID.For, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.obj : AST >this : this @@ -8097,14 +8097,14 @@ module TypeScript { emitter.writeToOutput(")"); >emitter.writeToOutput(")") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >")" : ")" emitter.recordSourceMappingEnd(this.statement); >emitter.recordSourceMappingEnd(this.statement) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this.statement : ASTSpan >this : this @@ -8113,7 +8113,7 @@ module TypeScript { emitter.emitJavascriptStatements(this.body, true, false); >emitter.emitJavascriptStatements(this.body, true, false) : any >emitter.emitJavascriptStatements : any ->emitter : any +>emitter : Emitter >emitJavascriptStatements : any >this.body : AST >this : this @@ -8124,35 +8124,35 @@ module TypeScript { emitter.setInObjectLiteral(temp); >emitter.setInObjectLiteral(temp) : any >emitter.setInObjectLiteral : any ->emitter : any +>emitter : Emitter >setInObjectLiteral : any >temp : any emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this emitter.emitParensAndCommentsInPlace(this, false); >emitter.emitParensAndCommentsInPlace(this, false) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >false : false } public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => any ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => any +>typeFlow : TypeFlow if (typeFlow.checker.styleSettings.forin) { >typeFlow.checker.styleSettings.forin : any >typeFlow.checker.styleSettings : any >typeFlow.checker : any ->typeFlow : any +>typeFlow : TypeFlow >checker : any >styleSettings : any >forin : any @@ -8169,7 +8169,7 @@ module TypeScript { >typeFlow.checker.errorReporter.styleError : any >typeFlow.checker.errorReporter : any >typeFlow.checker : any ->typeFlow : any +>typeFlow : TypeFlow >checker : any >errorReporter : any >styleError : any @@ -8180,14 +8180,14 @@ module TypeScript { return typeFlow.typeCheckForIn(this); >typeFlow.typeCheckForIn(this) : any >typeFlow.typeCheckForIn : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckForIn : any >this : this } public addToControlFlow(context: ControlFlowContext): void { ->addToControlFlow : (context: any) => void ->context : any +>addToControlFlow : (context: ControlFlowContext) => void +>context : ControlFlowContext if (this.lval) { >this.lval : AST @@ -8197,7 +8197,7 @@ module TypeScript { context.addContent(this.lval); >context.addContent(this.lval) : any >context.addContent : any ->context : any +>context : ControlFlowContext >addContent : any >this.lval : AST >this : this @@ -8211,7 +8211,7 @@ module TypeScript { context.addContent(this.obj); >context.addContent(this.obj) : any >context.addContent : any ->context : any +>context : ControlFlowContext >addContent : any >this.obj : AST >this : this @@ -8221,7 +8221,7 @@ module TypeScript { var loopHeader = context.current; >loopHeader : any >context.current : any ->context : any +>context : ControlFlowContext >current : any var loopStart = new BasicBlock(); @@ -8244,7 +8244,7 @@ module TypeScript { context.current = loopStart; >context.current = loopStart : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >loopStart : any @@ -8256,7 +8256,7 @@ module TypeScript { context.pushStatement(this, loopStart, afterLoop); >context.pushStatement(this, loopStart, afterLoop) : any >context.pushStatement : any ->context : any +>context : ControlFlowContext >pushStatement : any >this : this >loopStart : any @@ -8265,7 +8265,7 @@ module TypeScript { context.walk(this.body, this); >context.walk(this.body, this) : any >context.walk : any ->context : any +>context : ControlFlowContext >walk : any >this.body : AST >this : this @@ -8275,20 +8275,20 @@ module TypeScript { context.popStatement(); >context.popStatement() : any >context.popStatement : any ->context : any +>context : ControlFlowContext >popStatement : any } if (!(context.noContinuation)) { >!(context.noContinuation) : boolean >(context.noContinuation) : any >context.noContinuation : any ->context : any +>context : ControlFlowContext >noContinuation : any var loopEnd = context.current; >loopEnd : any >context.current : any ->context : any +>context : ControlFlowContext >current : any loopEnd.addSuccessor(loopStart); @@ -8301,14 +8301,14 @@ module TypeScript { context.current = afterLoop; >context.current = afterLoop : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >afterLoop : any context.noContinuation = false; >context.noContinuation = false : false >context.noContinuation : any ->context : any +>context : ControlFlowContext >noContinuation : any >false : false @@ -8324,7 +8324,7 @@ module TypeScript { >context.walker.options.goChildren : any >context.walker.options : any >context.walker : any ->context : any +>context : ControlFlowContext >walker : any >options : any >goChildren : any @@ -8361,15 +8361,15 @@ module TypeScript { >true : true public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean emitter.emitParensAndCommentsInPlace(this, true); >emitter.emitParensAndCommentsInPlace(this, true) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >true : true @@ -8377,7 +8377,7 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this @@ -8385,14 +8385,14 @@ module TypeScript { >temp : any >emitter.setInObjectLiteral(false) : any >emitter.setInObjectLiteral : any ->emitter : any +>emitter : Emitter >setInObjectLiteral : any >false : false emitter.writeToOutput("for("); >emitter.writeToOutput("for(") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"for(" : "for(" @@ -8403,11 +8403,11 @@ module TypeScript { if (this.init.nodeType != NodeType.List) { >this.init.nodeType != NodeType.List : boolean ->this.init.nodeType : any +>this.init.nodeType : NodeType >this.init : AST >this : this >init : AST ->nodeType : any +>nodeType : NodeType >NodeType.List : any >NodeType : any >List : any @@ -8415,7 +8415,7 @@ module TypeScript { emitter.emitJavascript(this.init, TokenID.For, false); >emitter.emitJavascript(this.init, TokenID.For, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.init : AST >this : this @@ -8429,7 +8429,7 @@ module TypeScript { emitter.setInVarBlock((this.init).members.length); >emitter.setInVarBlock((this.init).members.length) : any >emitter.setInVarBlock : any ->emitter : any +>emitter : Emitter >setInVarBlock : any >(this.init).members.length : number >(this.init).members : AST[] @@ -8444,7 +8444,7 @@ module TypeScript { emitter.emitJavascriptList(this.init, null, TokenID.For, false, false, false); >emitter.emitJavascriptList(this.init, null, TokenID.For, false, false, false) : any >emitter.emitJavascriptList : any ->emitter : any +>emitter : Emitter >emitJavascriptList : any >this.init : AST >this : this @@ -8461,14 +8461,14 @@ module TypeScript { emitter.writeToOutput("; "); >emitter.writeToOutput("; ") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"; " : "; " emitter.emitJavascript(this.cond, TokenID.For, false); >emitter.emitJavascript(this.cond, TokenID.For, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.cond : AST >this : this @@ -8481,14 +8481,14 @@ module TypeScript { emitter.writeToOutput("; "); >emitter.writeToOutput("; ") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"; " : "; " emitter.emitJavascript(this.incr, TokenID.For, false); >emitter.emitJavascript(this.incr, TokenID.For, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.incr : AST >this : this @@ -8501,14 +8501,14 @@ module TypeScript { emitter.writeToOutput(")"); >emitter.writeToOutput(")") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >")" : ")" emitter.emitJavascriptStatements(this.body, true, false); >emitter.emitJavascriptStatements(this.body, true, false) : any >emitter.emitJavascriptStatements : any ->emitter : any +>emitter : Emitter >emitJavascriptStatements : any >this.body : AST >this : this @@ -8519,41 +8519,41 @@ module TypeScript { emitter.setInObjectLiteral(temp); >emitter.setInObjectLiteral(temp) : any >emitter.setInObjectLiteral : any ->emitter : any +>emitter : Emitter >setInObjectLiteral : any >temp : any emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this emitter.emitParensAndCommentsInPlace(this, false); >emitter.emitParensAndCommentsInPlace(this, false) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >false : false } public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => any ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => any +>typeFlow : TypeFlow return typeFlow.typeCheckFor(this); >typeFlow.typeCheckFor(this) : any >typeFlow.typeCheckFor : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckFor : any >this : this } public addToControlFlow(context: ControlFlowContext): void { ->addToControlFlow : (context: any) => void ->context : any +>addToControlFlow : (context: ControlFlowContext) => void +>context : ControlFlowContext if (this.init) { >this.init : AST @@ -8563,7 +8563,7 @@ module TypeScript { context.addContent(this.init); >context.addContent(this.init) : any >context.addContent : any ->context : any +>context : ControlFlowContext >addContent : any >this.init : AST >this : this @@ -8572,7 +8572,7 @@ module TypeScript { var loopHeader = context.current; >loopHeader : any >context.current : any ->context : any +>context : ControlFlowContext >current : any var loopStart = new BasicBlock(); @@ -8595,12 +8595,12 @@ module TypeScript { context.current = loopStart; >context.current = loopStart : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >loopStart : any var condBlock: BasicBlock = null; ->condBlock : any +>condBlock : BasicBlock >null : null var continueTarget = loopStart; @@ -8608,7 +8608,7 @@ module TypeScript { >loopStart : any var incrBB: BasicBlock = null; ->incrBB : any +>incrBB : BasicBlock >null : null if (this.incr) { @@ -8618,14 +8618,14 @@ module TypeScript { incrBB = new BasicBlock(); >incrBB = new BasicBlock() : any ->incrBB : any +>incrBB : BasicBlock >new BasicBlock() : any >BasicBlock : any continueTarget = incrBB; ->continueTarget = incrBB : any +>continueTarget = incrBB : BasicBlock >continueTarget : any ->incrBB : any +>incrBB : BasicBlock } if (this.cond) { >this.cond : AST @@ -8634,15 +8634,15 @@ module TypeScript { condBlock = context.current; >condBlock = context.current : any ->condBlock : any +>condBlock : BasicBlock >context.current : any ->context : any +>context : ControlFlowContext >current : any context.addContent(this.cond); >context.addContent(this.cond) : any >context.addContent : any ->context : any +>context : ControlFlowContext >addContent : any >this.cond : AST >this : this @@ -8651,7 +8651,7 @@ module TypeScript { context.current = new BasicBlock(); >context.current = new BasicBlock() : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >new BasicBlock() : any >BasicBlock : any @@ -8659,14 +8659,14 @@ module TypeScript { condBlock.addSuccessor(context.current); >condBlock.addSuccessor(context.current) : any >condBlock.addSuccessor : any ->condBlock : any +>condBlock : BasicBlock >addSuccessor : any >context.current : any ->context : any +>context : ControlFlowContext >current : any } var targetInfo: ITargetInfo = null; ->targetInfo : any +>targetInfo : ITargetInfo >null : null if (this.body) { @@ -8677,7 +8677,7 @@ module TypeScript { context.pushStatement(this, continueTarget, afterLoop); >context.pushStatement(this, continueTarget, afterLoop) : any >context.pushStatement : any ->context : any +>context : ControlFlowContext >pushStatement : any >this : this >continueTarget : any @@ -8686,7 +8686,7 @@ module TypeScript { context.walk(this.body, this); >context.walk(this.body, this) : any >context.walk : any ->context : any +>context : ControlFlowContext >walk : any >this.body : AST >this : this @@ -8695,10 +8695,10 @@ module TypeScript { targetInfo = context.popStatement(); >targetInfo = context.popStatement() : any ->targetInfo : any +>targetInfo : ITargetInfo >context.popStatement() : any >context.popStatement : any ->context : any +>context : ControlFlowContext >popStatement : any } if (this.incr) { @@ -8708,14 +8708,14 @@ module TypeScript { if (context.noContinuation) { >context.noContinuation : any ->context : any +>context : ControlFlowContext >noContinuation : any if (incrBB.predecessors.length == 0) { >incrBB.predecessors.length == 0 : boolean >incrBB.predecessors.length : any >incrBB.predecessors : any ->incrBB : any +>incrBB : BasicBlock >predecessors : any >length : any >0 : 0 @@ -8723,7 +8723,7 @@ module TypeScript { context.addUnreachable(this.incr); >context.addUnreachable(this.incr) : any >context.addUnreachable : any ->context : any +>context : ControlFlowContext >addUnreachable : any >this.incr : AST >this : this @@ -8735,22 +8735,22 @@ module TypeScript { >context.current.addSuccessor(incrBB) : any >context.current.addSuccessor : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >addSuccessor : any ->incrBB : any +>incrBB : BasicBlock context.current = incrBB; ->context.current = incrBB : any +>context.current = incrBB : BasicBlock >context.current : any ->context : any +>context : ControlFlowContext >current : any ->incrBB : any +>incrBB : BasicBlock context.addContent(this.incr); >context.addContent(this.incr) : any >context.addContent : any ->context : any +>context : ControlFlowContext >addContent : any >this.incr : AST >this : this @@ -8760,14 +8760,14 @@ module TypeScript { var loopEnd = context.current; >loopEnd : any >context.current : any ->context : any +>context : ControlFlowContext >current : any if (!(context.noContinuation)) { >!(context.noContinuation) : boolean >(context.noContinuation) : any >context.noContinuation : any ->context : any +>context : ControlFlowContext >noContinuation : any loopEnd.addSuccessor(loopStart); @@ -8779,19 +8779,19 @@ module TypeScript { } if (condBlock) { ->condBlock : any +>condBlock : BasicBlock condBlock.addSuccessor(afterLoop); >condBlock.addSuccessor(afterLoop) : any >condBlock.addSuccessor : any ->condBlock : any +>condBlock : BasicBlock >addSuccessor : any >afterLoop : any context.noContinuation = false; >context.noContinuation = false : false >context.noContinuation : any ->context : any +>context : ControlFlowContext >noContinuation : any >false : false } @@ -8807,14 +8807,14 @@ module TypeScript { context.noContinuation = false; >context.noContinuation = false : false >context.noContinuation : any ->context : any +>context : ControlFlowContext >noContinuation : any >false : false context.current = afterLoop; >context.current = afterLoop : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >afterLoop : any } @@ -8823,7 +8823,7 @@ module TypeScript { >context.walker.options.goChildren : any >context.walker.options : any >context.walker : any ->context : any +>context : ControlFlowContext >walker : any >options : any >goChildren : any @@ -8843,7 +8843,7 @@ module TypeScript { >true : true public withSym: WithSymbol = null; ->withSym : any +>withSym : WithSymbol >null : null constructor (public expr: AST) { @@ -8858,15 +8858,15 @@ module TypeScript { } public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean emitter.emitParensAndCommentsInPlace(this, true); >emitter.emitParensAndCommentsInPlace(this, true) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >true : true @@ -8874,14 +8874,14 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this emitter.writeToOutput("with ("); >emitter.writeToOutput("with (") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"with (" : "with (" @@ -8893,7 +8893,7 @@ module TypeScript { emitter.emitJavascript(this.expr, TokenID.With, false); >emitter.emitJavascript(this.expr, TokenID.With, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.expr : AST >this : this @@ -8907,14 +8907,14 @@ module TypeScript { emitter.writeToOutput(")"); >emitter.writeToOutput(")") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >")" : ")" emitter.emitJavascriptStatements(this.body, true, false); >emitter.emitJavascriptStatements(this.body, true, false) : any >emitter.emitJavascriptStatements : any ->emitter : any +>emitter : Emitter >emitJavascriptStatements : any >this.body : AST >this : this @@ -8925,27 +8925,27 @@ module TypeScript { emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this emitter.emitParensAndCommentsInPlace(this, false); >emitter.emitParensAndCommentsInPlace(this, false) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >false : false } public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => any ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => any +>typeFlow : TypeFlow return typeFlow.typeCheckWith(this); >typeFlow.typeCheckWith(this) : any >typeFlow.typeCheckWith : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheckWith : any >this : this } @@ -8983,15 +8983,15 @@ module TypeScript { >true : true public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean emitter.emitParensAndCommentsInPlace(this, true); >emitter.emitParensAndCommentsInPlace(this, true) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >true : true @@ -8999,7 +8999,7 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this @@ -9007,14 +9007,14 @@ module TypeScript { >temp : any >emitter.setInObjectLiteral(false) : any >emitter.setInObjectLiteral : any ->emitter : any +>emitter : Emitter >setInObjectLiteral : any >false : false emitter.recordSourceMappingStart(this.statement); >emitter.recordSourceMappingStart(this.statement) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this.statement : ASTSpan >this : this @@ -9023,14 +9023,14 @@ module TypeScript { emitter.writeToOutput("switch("); >emitter.writeToOutput("switch(") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"switch(" : "switch(" emitter.emitJavascript(this.val, TokenID.Identifier, false); >emitter.emitJavascript(this.val, TokenID.Identifier, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.val : AST >this : this @@ -9043,14 +9043,14 @@ module TypeScript { emitter.writeToOutput(")"); >emitter.writeToOutput(")") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >")" : ")" emitter.recordSourceMappingEnd(this.statement); >emitter.recordSourceMappingEnd(this.statement) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this.statement : ASTSpan >this : this @@ -9059,7 +9059,7 @@ module TypeScript { emitter.writeLineToOutput(" {"); >emitter.writeLineToOutput(" {") : any >emitter.writeLineToOutput : any ->emitter : any +>emitter : Emitter >writeLineToOutput : any >" {" : " {" @@ -9067,7 +9067,7 @@ module TypeScript { >emitter.indenter.increaseIndent() : any >emitter.indenter.increaseIndent : any >emitter.indenter : any ->emitter : any +>emitter : Emitter >indenter : any >increaseIndent : any @@ -9103,7 +9103,7 @@ module TypeScript { emitter.emitJavascript(caseExpr, TokenID.Case, true); >emitter.emitJavascript(caseExpr, TokenID.Case, true) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >caseExpr : AST >TokenID.Case : any @@ -9114,7 +9114,7 @@ module TypeScript { emitter.writeLineToOutput(""); >emitter.writeLineToOutput("") : any >emitter.writeLineToOutput : any ->emitter : any +>emitter : Emitter >writeLineToOutput : any >"" : "" } @@ -9122,49 +9122,49 @@ module TypeScript { >emitter.indenter.decreaseIndent() : any >emitter.indenter.decreaseIndent : any >emitter.indenter : any ->emitter : any +>emitter : Emitter >indenter : any >decreaseIndent : any emitter.emitIndent(); >emitter.emitIndent() : any >emitter.emitIndent : any ->emitter : any +>emitter : Emitter >emitIndent : any emitter.writeToOutput("}"); >emitter.writeToOutput("}") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"}" : "}" emitter.setInObjectLiteral(temp); >emitter.setInObjectLiteral(temp) : any >emitter.setInObjectLiteral : any ->emitter : any +>emitter : Emitter >setInObjectLiteral : any >temp : any emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this emitter.emitParensAndCommentsInPlace(this, false); >emitter.emitParensAndCommentsInPlace(this, false) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >false : false } public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => this ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => this +>typeFlow : TypeFlow var len = this.caseList.members.length; >len : number @@ -9183,7 +9183,7 @@ module TypeScript { >val : AST >typeFlow.typeCheck(this.val) : any >typeFlow.typeCheck : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheck : any >this.val : AST >this : this @@ -9209,7 +9209,7 @@ module TypeScript { >i : number >typeFlow.typeCheck(this.caseList.members[i]) : any >typeFlow.typeCheck : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheck : any >this.caseList.members[i] : AST >this.caseList.members : AST[] @@ -9227,7 +9227,7 @@ module TypeScript { >typeFlow.typeCheck(this.defaultCase) : CaseStatement >typeFlow.typeCheck(this.defaultCase) : any >typeFlow.typeCheck : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheck : any >this.defaultCase : CaseStatement >this : this @@ -9235,11 +9235,11 @@ module TypeScript { this.type = typeFlow.voidType; >this.type = typeFlow.voidType : any ->this.type : any +>this.type : Type >this : this ->type : any +>type : Type >typeFlow.voidType : any ->typeFlow : any +>typeFlow : TypeFlow >voidType : any return this; @@ -9248,19 +9248,19 @@ module TypeScript { // if there are break statements that match this switch, then just link cond block with block after switch public addToControlFlow(context: ControlFlowContext) { ->addToControlFlow : (context: any) => void ->context : any +>addToControlFlow : (context: ControlFlowContext) => void +>context : ControlFlowContext var condBlock = context.current; >condBlock : any >context.current : any ->context : any +>context : ControlFlowContext >current : any context.addContent(this.val); >context.addContent(this.val) : any >context.addContent : any ->context : any +>context : ControlFlowContext >addContent : any >this.val : AST >this : this @@ -9286,21 +9286,21 @@ module TypeScript { context.pushSwitch(execBlock); >context.pushSwitch(execBlock) : any >context.pushSwitch : any ->context : any +>context : ControlFlowContext >pushSwitch : any >execBlock : any context.current = execBlock; >context.current = execBlock : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >execBlock : any context.pushStatement(this, execBlock, afterSwitch); >context.pushStatement(this, execBlock, afterSwitch) : any >context.pushStatement : any ->context : any +>context : ControlFlowContext >pushStatement : any >this : this >execBlock : any @@ -9309,7 +9309,7 @@ module TypeScript { context.walk(this.caseList, this); >context.walk(this.caseList, this) : any >context.walk : any ->context : any +>context : ControlFlowContext >walk : any >this.caseList : ASTList >this : this @@ -9319,14 +9319,14 @@ module TypeScript { context.popSwitch(); >context.popSwitch() : any >context.popSwitch : any ->context : any +>context : ControlFlowContext >popSwitch : any var targetInfo = context.popStatement(); >targetInfo : any >context.popStatement() : any >context.popStatement : any ->context : any +>context : ControlFlowContext >popStatement : any var hasCondContinuation = (this.defaultCase == null); @@ -9364,14 +9364,14 @@ module TypeScript { context.noContinuation = false; >context.noContinuation = false : false >context.noContinuation : any ->context : any +>context : ControlFlowContext >noContinuation : any >false : false context.current = afterSwitch; >context.current = afterSwitch : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >afterSwitch : any } @@ -9379,7 +9379,7 @@ module TypeScript { context.noContinuation = true; >context.noContinuation = true : true >context.noContinuation : any ->context : any +>context : ControlFlowContext >noContinuation : any >true : true } @@ -9388,7 +9388,7 @@ module TypeScript { >context.walker.options.goChildren : any >context.walker.options : any >context.walker : any ->context : any +>context : ControlFlowContext >walker : any >options : any >goChildren : any @@ -9417,15 +9417,15 @@ module TypeScript { } public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean emitter.emitParensAndCommentsInPlace(this, true); >emitter.emitParensAndCommentsInPlace(this, true) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >true : true @@ -9433,7 +9433,7 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this @@ -9445,14 +9445,14 @@ module TypeScript { emitter.writeToOutput("case "); >emitter.writeToOutput("case ") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"case " : "case " emitter.emitJavascript(this.expr, TokenID.Identifier, false); >emitter.emitJavascript(this.expr, TokenID.Identifier, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.expr : AST >this : this @@ -9466,21 +9466,21 @@ module TypeScript { emitter.writeToOutput("default"); >emitter.writeToOutput("default") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"default" : "default" } emitter.writeToOutput(":"); >emitter.writeToOutput(":") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >":" : ":" emitter.emitJavascriptStatements(this.body, false, false); >emitter.emitJavascriptStatements(this.body, false, false) : any >emitter.emitJavascriptStatements : any ->emitter : any +>emitter : Emitter >emitJavascriptStatements : any >this.body : ASTList >this : this @@ -9491,22 +9491,22 @@ module TypeScript { emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this emitter.emitParensAndCommentsInPlace(this, false); >emitter.emitParensAndCommentsInPlace(this, false) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >false : false } public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => this ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => this +>typeFlow : TypeFlow this.expr = typeFlow.typeCheck(this.expr); >this.expr = typeFlow.typeCheck(this.expr) : any @@ -9515,7 +9515,7 @@ module TypeScript { >expr : AST >typeFlow.typeCheck(this.expr) : any >typeFlow.typeCheck : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheck : any >this.expr : AST >this : this @@ -9524,7 +9524,7 @@ module TypeScript { typeFlow.typeCheck(this.body); >typeFlow.typeCheck(this.body) : any >typeFlow.typeCheck : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheck : any >this.body : ASTList >this : this @@ -9532,11 +9532,11 @@ module TypeScript { this.type = typeFlow.voidType; >this.type = typeFlow.voidType : any ->this.type : any +>this.type : Type >this : this ->type : any +>type : Type >typeFlow.voidType : any ->typeFlow : any +>typeFlow : TypeFlow >voidType : any return this; @@ -9546,8 +9546,8 @@ module TypeScript { // TODO: more reasoning about unreachable cases (such as duplicate literals as case expressions) // for now, assume all cases are reachable, regardless of whether some cases fall through public addToControlFlow(context: ControlFlowContext) { ->addToControlFlow : (context: any) => void ->context : any +>addToControlFlow : (context: ControlFlowContext) => void +>context : ControlFlowContext var execBlock = new BasicBlock(); >execBlock : any @@ -9558,12 +9558,12 @@ module TypeScript { >sw : any >context.currentSwitch[context.currentSwitch.length - 1] : any >context.currentSwitch : any ->context : any +>context : ControlFlowContext >currentSwitch : any >context.currentSwitch.length - 1 : number >context.currentSwitch.length : any >context.currentSwitch : any ->context : any +>context : ControlFlowContext >currentSwitch : any >length : any >1 : 1 @@ -9582,7 +9582,7 @@ module TypeScript { context.current = exprBlock; >context.current = exprBlock : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >exprBlock : any @@ -9596,7 +9596,7 @@ module TypeScript { context.addContent(this.expr); >context.addContent(this.expr) : any >context.addContent : any ->context : any +>context : ControlFlowContext >addContent : any >this.expr : AST >this : this @@ -9620,7 +9620,7 @@ module TypeScript { context.current = execBlock; >context.current = execBlock : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >execBlock : any @@ -9632,7 +9632,7 @@ module TypeScript { context.walk(this.body, this); >context.walk(this.body, this) : any >context.walk : any ->context : any +>context : ControlFlowContext >walk : any >this.body : ASTList >this : this @@ -9642,7 +9642,7 @@ module TypeScript { context.noContinuation = false; >context.noContinuation = false : false >context.noContinuation : any ->context : any +>context : ControlFlowContext >noContinuation : any >false : false @@ -9651,7 +9651,7 @@ module TypeScript { >context.walker.options.goChildren : any >context.walker.options : any >context.walker : any ->context : any +>context : ControlFlowContext >walker : any >options : any >goChildren : any @@ -9676,9 +9676,9 @@ module TypeScript { } public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean throw new Error("should not emit a type ref"); @@ -9688,19 +9688,19 @@ module TypeScript { } public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => this ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => this +>typeFlow : TypeFlow var prevInTCTR = typeFlow.inTypeRefTypeCheck; >prevInTCTR : any >typeFlow.inTypeRefTypeCheck : any ->typeFlow : any +>typeFlow : TypeFlow >inTypeRefTypeCheck : any typeFlow.inTypeRefTypeCheck = true; >typeFlow.inTypeRefTypeCheck = true : true >typeFlow.inTypeRefTypeCheck : any ->typeFlow : any +>typeFlow : TypeFlow >inTypeRefTypeCheck : any >true : true @@ -9710,7 +9710,7 @@ module TypeScript { >getTypeLink : any >this : this >typeFlow.checker : any ->typeFlow : any +>typeFlow : TypeFlow >checker : any >true : true @@ -9718,11 +9718,11 @@ module TypeScript { >typeFlow.checker.resolveTypeLink(typeFlow.scope, typeLink, false) : any >typeFlow.checker.resolveTypeLink : any >typeFlow.checker : any ->typeFlow : any +>typeFlow : TypeFlow >checker : any >resolveTypeLink : any >typeFlow.scope : any ->typeFlow : any +>typeFlow : TypeFlow >scope : any >typeLink : any >false : false @@ -9735,7 +9735,7 @@ module TypeScript { typeFlow.typeCheck(this.term); >typeFlow.typeCheck(this.term) : any >typeFlow.typeCheck : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheck : any >this.term : AST >this : this @@ -9745,7 +9745,7 @@ module TypeScript { typeFlow.checkForVoidConstructor(typeLink.type, this); >typeFlow.checkForVoidConstructor(typeLink.type, this) : any >typeFlow.checkForVoidConstructor : any ->typeFlow : any +>typeFlow : TypeFlow >checkForVoidConstructor : any >typeLink.type : any >typeLink : any @@ -9754,9 +9754,9 @@ module TypeScript { this.type = typeLink.type; >this.type = typeLink.type : any ->this.type : any +>this.type : Type >this : this ->type : any +>type : Type >typeLink.type : any >typeLink : any >type : any @@ -9768,21 +9768,21 @@ module TypeScript { >term : AST this.term.type = this.type; ->this.term.type = this.type : any ->this.term.type : any +>this.term.type = this.type : Type +>this.term.type : Type >this.term : AST >this : this >term : AST ->type : any ->this.type : any +>type : Type +>this.type : Type >this : this ->type : any +>type : Type } typeFlow.inTypeRefTypeCheck = prevInTCTR; >typeFlow.inTypeRefTypeCheck = prevInTCTR : any >typeFlow.inTypeRefTypeCheck : any ->typeFlow : any +>typeFlow : TypeFlow >inTypeRefTypeCheck : any >prevInTCTR : any @@ -9812,22 +9812,22 @@ module TypeScript { >true : true public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this emitter.emitJavascript(this.tryNode, TokenID.Try, false); >emitter.emitJavascript(this.tryNode, TokenID.Try, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.tryNode : AST >this : this @@ -9840,7 +9840,7 @@ module TypeScript { emitter.emitJavascript(this.finallyNode, TokenID.Finally, false); >emitter.emitJavascript(this.finallyNode, TokenID.Finally, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.finallyNode : Finally >this : this @@ -9853,14 +9853,14 @@ module TypeScript { emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this } public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => this ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => this +>typeFlow : TypeFlow this.tryNode = typeFlow.typeCheck(this.tryNode); >this.tryNode = typeFlow.typeCheck(this.tryNode) : any @@ -9869,7 +9869,7 @@ module TypeScript { >tryNode : AST >typeFlow.typeCheck(this.tryNode) : any >typeFlow.typeCheck : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheck : any >this.tryNode : AST >this : this @@ -9883,7 +9883,7 @@ module TypeScript { >typeFlow.typeCheck(this.finallyNode) : Finally >typeFlow.typeCheck(this.finallyNode) : any >typeFlow.typeCheck : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheck : any >this.finallyNode : Finally >this : this @@ -9891,11 +9891,11 @@ module TypeScript { this.type = typeFlow.voidType; >this.type = typeFlow.voidType : any ->this.type : any +>this.type : Type >this : this ->type : any +>type : Type >typeFlow.voidType : any ->typeFlow : any +>typeFlow : TypeFlow >voidType : any return this; @@ -9903,8 +9903,8 @@ module TypeScript { } public addToControlFlow(context: ControlFlowContext) { ->addToControlFlow : (context: any) => void ->context : any +>addToControlFlow : (context: ControlFlowContext) => void +>context : ControlFlowContext var afterFinally = new BasicBlock(); >afterFinally : any @@ -9914,7 +9914,7 @@ module TypeScript { context.walk(this.tryNode, this); >context.walk(this.tryNode, this) : any >context.walk : any ->context : any +>context : ControlFlowContext >walk : any >this.tryNode : AST >this : this @@ -9928,14 +9928,14 @@ module TypeScript { if (context.current) { >context.current : any ->context : any +>context : ControlFlowContext >current : any context.current.addSuccessor(finBlock); >context.current.addSuccessor(finBlock) : any >context.current.addSuccessor : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >addSuccessor : any >finBlock : any @@ -9943,14 +9943,14 @@ module TypeScript { context.current = finBlock; >context.current = finBlock : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >finBlock : any context.pushStatement(this, null, afterFinally); >context.pushStatement(this, null, afterFinally) : any >context.pushStatement : any ->context : any +>context : ControlFlowContext >pushStatement : any >this : this >null : null @@ -9959,7 +9959,7 @@ module TypeScript { context.walk(this.finallyNode, this); >context.walk(this.finallyNode, this) : any >context.walk : any ->context : any +>context : ControlFlowContext >walk : any >this.finallyNode : Finally >this : this @@ -9970,17 +9970,17 @@ module TypeScript { >!context.noContinuation && context.current : any >!context.noContinuation : boolean >context.noContinuation : any ->context : any +>context : ControlFlowContext >noContinuation : any >context.current : any ->context : any +>context : ControlFlowContext >current : any context.current.addSuccessor(afterFinally); >context.current.addSuccessor(afterFinally) : any >context.current.addSuccessor : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >addSuccessor : any >afterFinally : any @@ -9997,7 +9997,7 @@ module TypeScript { context.current = afterFinally; >context.current = afterFinally : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >afterFinally : any } @@ -10005,14 +10005,14 @@ module TypeScript { context.noContinuation = true; >context.noContinuation = true : true >context.noContinuation : any ->context : any +>context : ControlFlowContext >noContinuation : any >true : true } context.popStatement(); >context.popStatement() : any >context.popStatement : any ->context : any +>context : ControlFlowContext >popStatement : any context.walker.options.goChildren = false; @@ -10020,7 +10020,7 @@ module TypeScript { >context.walker.options.goChildren : any >context.walker.options : any >context.walker : any ->context : any +>context : ControlFlowContext >walker : any >options : any >goChildren : any @@ -10049,15 +10049,15 @@ module TypeScript { >true : true public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean emitter.emitParensAndCommentsInPlace(this, true); >emitter.emitParensAndCommentsInPlace(this, true) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >true : true @@ -10065,14 +10065,14 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this emitter.emitJavascript(this.tryNode, TokenID.Try, false); >emitter.emitJavascript(this.tryNode, TokenID.Try, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.tryNode : Try >this : this @@ -10085,7 +10085,7 @@ module TypeScript { emitter.emitJavascript(this.catchNode, TokenID.Catch, false); >emitter.emitJavascript(this.catchNode, TokenID.Catch, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.catchNode : Catch >this : this @@ -10098,27 +10098,27 @@ module TypeScript { emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this emitter.emitParensAndCommentsInPlace(this, false); >emitter.emitParensAndCommentsInPlace(this, false) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >false : false } public addToControlFlow(context: ControlFlowContext) { ->addToControlFlow : (context: any) => void ->context : any +>addToControlFlow : (context: ControlFlowContext) => void +>context : ControlFlowContext var beforeTry = context.current; >beforeTry : any >context.current : any ->context : any +>context : ControlFlowContext >current : any var tryBlock = new BasicBlock(); @@ -10136,7 +10136,7 @@ module TypeScript { context.current = tryBlock; >context.current = tryBlock : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >tryBlock : any @@ -10148,7 +10148,7 @@ module TypeScript { context.pushStatement(this, null, afterTryCatch); >context.pushStatement(this, null, afterTryCatch) : any >context.pushStatement : any ->context : any +>context : ControlFlowContext >pushStatement : any >this : this >null : null @@ -10157,7 +10157,7 @@ module TypeScript { context.walk(this.tryNode, this); >context.walk(this.tryNode, this) : any >context.walk : any ->context : any +>context : ControlFlowContext >walk : any >this.tryNode : Try >this : this @@ -10167,19 +10167,19 @@ module TypeScript { if (!context.noContinuation) { >!context.noContinuation : boolean >context.noContinuation : any ->context : any +>context : ControlFlowContext >noContinuation : any if (context.current) { >context.current : any ->context : any +>context : ControlFlowContext >current : any context.current.addSuccessor(afterTryCatch); >context.current.addSuccessor(afterTryCatch) : any >context.current.addSuccessor : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >addSuccessor : any >afterTryCatch : any @@ -10188,7 +10188,7 @@ module TypeScript { context.current = new BasicBlock(); >context.current = new BasicBlock() : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >new BasicBlock() : any >BasicBlock : any @@ -10199,13 +10199,13 @@ module TypeScript { >beforeTry : any >addSuccessor : any >context.current : any ->context : any +>context : ControlFlowContext >current : any context.walk(this.catchNode, this); >context.walk(this.catchNode, this) : any >context.walk : any ->context : any +>context : ControlFlowContext >walk : any >this.catchNode : Catch >this : this @@ -10215,25 +10215,25 @@ module TypeScript { context.popStatement(); >context.popStatement() : any >context.popStatement : any ->context : any +>context : ControlFlowContext >popStatement : any if (!context.noContinuation) { >!context.noContinuation : boolean >context.noContinuation : any ->context : any +>context : ControlFlowContext >noContinuation : any if (context.current) { >context.current : any ->context : any +>context : ControlFlowContext >current : any context.current.addSuccessor(afterTryCatch); >context.current.addSuccessor(afterTryCatch) : any >context.current.addSuccessor : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >addSuccessor : any >afterTryCatch : any @@ -10242,7 +10242,7 @@ module TypeScript { context.current = afterTryCatch; >context.current = afterTryCatch : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >afterTryCatch : any @@ -10251,7 +10251,7 @@ module TypeScript { >context.walker.options.goChildren : any >context.walker.options : any >context.walker : any ->context : any +>context : ControlFlowContext >walker : any >options : any >goChildren : any @@ -10259,8 +10259,8 @@ module TypeScript { } public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => this ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => this +>typeFlow : TypeFlow this.tryNode = typeFlow.typeCheck(this.tryNode); >this.tryNode = typeFlow.typeCheck(this.tryNode) : Try @@ -10270,7 +10270,7 @@ module TypeScript { >typeFlow.typeCheck(this.tryNode) : Try >typeFlow.typeCheck(this.tryNode) : any >typeFlow.typeCheck : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheck : any >this.tryNode : Try >this : this @@ -10284,7 +10284,7 @@ module TypeScript { >typeFlow.typeCheck(this.catchNode) : Catch >typeFlow.typeCheck(this.catchNode) : any >typeFlow.typeCheck : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheck : any >this.catchNode : Catch >this : this @@ -10292,11 +10292,11 @@ module TypeScript { this.type = typeFlow.voidType; >this.type = typeFlow.voidType : any ->this.type : any +>this.type : Type >this : this ->type : any +>type : Type >typeFlow.voidType : any ->typeFlow : any +>typeFlow : TypeFlow >voidType : any return this; @@ -10320,15 +10320,15 @@ module TypeScript { } public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean emitter.emitParensAndCommentsInPlace(this, true); >emitter.emitParensAndCommentsInPlace(this, true) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >true : true @@ -10336,21 +10336,21 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this emitter.writeToOutput("try "); >emitter.writeToOutput("try ") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"try " : "try " emitter.emitJavascript(this.body, TokenID.Try, false); >emitter.emitJavascript(this.body, TokenID.Try, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.body : AST >this : this @@ -10363,22 +10363,22 @@ module TypeScript { emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this emitter.emitParensAndCommentsInPlace(this, false); >emitter.emitParensAndCommentsInPlace(this, false) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >false : false } public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => this ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => this +>typeFlow : TypeFlow this.body = typeFlow.typeCheck(this.body); >this.body = typeFlow.typeCheck(this.body) : any @@ -10387,7 +10387,7 @@ module TypeScript { >body : AST >typeFlow.typeCheck(this.body) : any >typeFlow.typeCheck : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheck : any >this.body : AST >this : this @@ -10398,8 +10398,8 @@ module TypeScript { } public addToControlFlow(context: ControlFlowContext) { ->addToControlFlow : (context: any) => void ->context : any +>addToControlFlow : (context: ControlFlowContext) => void +>context : ControlFlowContext if (this.body) { >this.body : AST @@ -10409,7 +10409,7 @@ module TypeScript { context.walk(this.body, this); >context.walk(this.body, this) : any >context.walk : any ->context : any +>context : ControlFlowContext >walk : any >this.body : AST >this : this @@ -10421,7 +10421,7 @@ module TypeScript { >context.walker.options.goChildren : any >context.walker.options : any >context.walker : any ->context : any +>context : ControlFlowContext >walker : any >options : any >goChildren : any @@ -10430,7 +10430,7 @@ module TypeScript { context.noContinuation = false; >context.noContinuation = false : false >context.noContinuation : any ->context : any +>context : ControlFlowContext >noContinuation : any >false : false } @@ -10474,19 +10474,19 @@ module TypeScript { >ASTSpan : typeof ASTSpan public containedScope: SymbolScope = null; ->containedScope : any +>containedScope : SymbolScope >null : null public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean emitter.emitParensAndCommentsInPlace(this, true); >emitter.emitParensAndCommentsInPlace(this, true) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >true : true @@ -10494,21 +10494,21 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this emitter.writeToOutput(" "); >emitter.writeToOutput(" ") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >" " : " " emitter.recordSourceMappingStart(this.statement); >emitter.recordSourceMappingStart(this.statement) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this.statement : ASTSpan >this : this @@ -10517,14 +10517,14 @@ module TypeScript { emitter.writeToOutput("catch ("); >emitter.writeToOutput("catch (") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"catch (" : "catch (" emitter.emitJavascript(this.param, TokenID.OpenParen, false); >emitter.emitJavascript(this.param, TokenID.OpenParen, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.param : VarDecl >this : this @@ -10537,14 +10537,14 @@ module TypeScript { emitter.writeToOutput(")"); >emitter.writeToOutput(")") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >")" : ")" emitter.recordSourceMappingEnd(this.statement); >emitter.recordSourceMappingEnd(this.statement) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this.statement : ASTSpan >this : this @@ -10553,7 +10553,7 @@ module TypeScript { emitter.emitJavascript(this.body, TokenID.Catch, false); >emitter.emitJavascript(this.body, TokenID.Catch, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.body : AST >this : this @@ -10566,22 +10566,22 @@ module TypeScript { emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this emitter.emitParensAndCommentsInPlace(this, false); >emitter.emitParensAndCommentsInPlace(this, false) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >false : false } public addToControlFlow(context: ControlFlowContext) { ->addToControlFlow : (context: any) => void ->context : any +>addToControlFlow : (context: ControlFlowContext) => void +>context : ControlFlowContext if (this.param) { >this.param : VarDecl @@ -10591,7 +10591,7 @@ module TypeScript { context.addContent(this.param); >context.addContent(this.param) : any >context.addContent : any ->context : any +>context : ControlFlowContext >addContent : any >this.param : VarDecl >this : this @@ -10606,7 +10606,7 @@ module TypeScript { >context.current.addSuccessor(bodBlock) : any >context.current.addSuccessor : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >addSuccessor : any >bodBlock : any @@ -10614,7 +10614,7 @@ module TypeScript { context.current = bodBlock; >context.current = bodBlock : any >context.current : any ->context : any +>context : ControlFlowContext >current : any >bodBlock : any } @@ -10626,7 +10626,7 @@ module TypeScript { context.walk(this.body, this); >context.walk(this.body, this) : any >context.walk : any ->context : any +>context : ControlFlowContext >walk : any >this.body : AST >this : this @@ -10636,7 +10636,7 @@ module TypeScript { context.noContinuation = false; >context.noContinuation = false : false >context.noContinuation : any ->context : any +>context : ControlFlowContext >noContinuation : any >false : false @@ -10645,7 +10645,7 @@ module TypeScript { >context.walker.options.goChildren : any >context.walker.options : any >context.walker : any ->context : any +>context : ControlFlowContext >walker : any >options : any >goChildren : any @@ -10653,23 +10653,23 @@ module TypeScript { } public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => this ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => this +>typeFlow : TypeFlow var prevScope = typeFlow.scope; >prevScope : any >typeFlow.scope : any ->typeFlow : any +>typeFlow : TypeFlow >scope : any typeFlow.scope = this.containedScope; ->typeFlow.scope = this.containedScope : any +>typeFlow.scope = this.containedScope : SymbolScope >typeFlow.scope : any ->typeFlow : any +>typeFlow : TypeFlow >scope : any ->this.containedScope : any +>this.containedScope : SymbolScope >this : this ->containedScope : any +>containedScope : SymbolScope this.param = typeFlow.typeCheck(this.param); >this.param = typeFlow.typeCheck(this.param) : VarDecl @@ -10679,7 +10679,7 @@ module TypeScript { >typeFlow.typeCheck(this.param) : VarDecl >typeFlow.typeCheck(this.param) : any >typeFlow.typeCheck : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheck : any >this.param : VarDecl >this : this @@ -10715,7 +10715,7 @@ module TypeScript { >typeFlow.checker.locationInfo.unitIndex : any >typeFlow.checker.locationInfo : any >typeFlow.checker : any ->typeFlow : any +>typeFlow : TypeFlow >checker : any >locationInfo : any >unitIndex : any @@ -10747,13 +10747,13 @@ module TypeScript { >typeLink : any >type : any >typeFlow.anyType : any ->typeFlow : any +>typeFlow : TypeFlow >anyType : any var thisFnc = typeFlow.thisFnc; >thisFnc : any >typeFlow.thisFnc : any ->typeFlow : any +>typeFlow : TypeFlow >thisFnc : any if (thisFnc && thisFnc.type) { @@ -10801,7 +10801,7 @@ module TypeScript { >typeFlow.scope.enter(exceptVar.symbol.container, this.param, exceptVar.symbol, typeFlow.checker.errorReporter, false, false, false) : any >typeFlow.scope.enter : any >typeFlow.scope : any ->typeFlow : any +>typeFlow : TypeFlow >scope : any >enter : any >exceptVar.symbol.container : any @@ -10819,7 +10819,7 @@ module TypeScript { typeFlow.checker.errorReporter, false, false, false); >typeFlow.checker.errorReporter : any >typeFlow.checker : any ->typeFlow : any +>typeFlow : TypeFlow >checker : any >errorReporter : any >false : false @@ -10833,7 +10833,7 @@ module TypeScript { >body : AST >typeFlow.typeCheck(this.body) : any >typeFlow.typeCheck : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheck : any >this.body : AST >this : this @@ -10847,7 +10847,7 @@ module TypeScript { >typeFlow.checker.inProvisionalTypecheckMode() : any >typeFlow.checker.inProvisionalTypecheckMode : any >typeFlow.checker : any ->typeFlow : any +>typeFlow : TypeFlow >checker : any >inProvisionalTypecheckMode : any @@ -10856,7 +10856,7 @@ module TypeScript { >typeFlow.scope.getTable() : any >typeFlow.scope.getTable : any >typeFlow.scope : any ->typeFlow : any +>typeFlow : TypeFlow >scope : any >getTable : any @@ -10879,17 +10879,17 @@ module TypeScript { } this.type = typeFlow.voidType; >this.type = typeFlow.voidType : any ->this.type : any +>this.type : Type >this : this ->type : any +>type : Type >typeFlow.voidType : any ->typeFlow : any +>typeFlow : TypeFlow >voidType : any typeFlow.scope = prevScope; >typeFlow.scope = prevScope : any >typeFlow.scope : any ->typeFlow : any +>typeFlow : TypeFlow >scope : any >prevScope : any @@ -10914,15 +10914,15 @@ module TypeScript { } public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean emitter.emitParensAndCommentsInPlace(this, true); >emitter.emitParensAndCommentsInPlace(this, true) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >true : true @@ -10930,21 +10930,21 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this emitter.writeToOutput("finally"); >emitter.writeToOutput("finally") : any >emitter.writeToOutput : any ->emitter : any +>emitter : Emitter >writeToOutput : any >"finally" : "finally" emitter.emitJavascript(this.body, TokenID.Finally, false); >emitter.emitJavascript(this.body, TokenID.Finally, false) : any >emitter.emitJavascript : any ->emitter : any +>emitter : Emitter >emitJavascript : any >this.body : AST >this : this @@ -10957,22 +10957,22 @@ module TypeScript { emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this emitter.emitParensAndCommentsInPlace(this, false); >emitter.emitParensAndCommentsInPlace(this, false) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >false : false } public addToControlFlow(context: ControlFlowContext) { ->addToControlFlow : (context: any) => void ->context : any +>addToControlFlow : (context: ControlFlowContext) => void +>context : ControlFlowContext if (this.body) { >this.body : AST @@ -10982,7 +10982,7 @@ module TypeScript { context.walk(this.body, this); >context.walk(this.body, this) : any >context.walk : any ->context : any +>context : ControlFlowContext >walk : any >this.body : AST >this : this @@ -10994,7 +10994,7 @@ module TypeScript { >context.walker.options.goChildren : any >context.walker.options : any >context.walker : any ->context : any +>context : ControlFlowContext >walker : any >options : any >goChildren : any @@ -11003,14 +11003,14 @@ module TypeScript { context.noContinuation = false; >context.noContinuation = false : false >context.noContinuation : any ->context : any +>context : ControlFlowContext >noContinuation : any >false : false } public typeCheck(typeFlow: TypeFlow) { ->typeCheck : (typeFlow: any) => this ->typeFlow : any +>typeCheck : (typeFlow: TypeFlow) => this +>typeFlow : TypeFlow this.body = typeFlow.typeCheck(this.body); >this.body = typeFlow.typeCheck(this.body) : any @@ -11019,7 +11019,7 @@ module TypeScript { >body : AST >typeFlow.typeCheck(this.body) : any >typeFlow.typeCheck : any ->typeFlow : any +>typeFlow : TypeFlow >typeCheck : any >this.body : AST >this : this @@ -11151,15 +11151,15 @@ module TypeScript { } public emit(emitter: Emitter, tokenId: TokenID, startLine: boolean) { ->emit : (emitter: any, tokenId: any, startLine: boolean) => void ->emitter : any ->tokenId : any +>emit : (emitter: Emitter, tokenId: TokenID, startLine: boolean) => void +>emitter : Emitter +>tokenId : TokenID >startLine : boolean emitter.emitParensAndCommentsInPlace(this, true); >emitter.emitParensAndCommentsInPlace(this, true) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >true : true @@ -11167,28 +11167,28 @@ module TypeScript { emitter.recordSourceMappingStart(this); >emitter.recordSourceMappingStart(this) : any >emitter.recordSourceMappingStart : any ->emitter : any +>emitter : Emitter >recordSourceMappingStart : any >this : this emitter.writeLineToOutput("debugger;"); >emitter.writeLineToOutput("debugger;") : any >emitter.writeLineToOutput : any ->emitter : any +>emitter : Emitter >writeLineToOutput : any >"debugger;" : "debugger;" emitter.recordSourceMappingEnd(this); >emitter.recordSourceMappingEnd(this) : any >emitter.recordSourceMappingEnd : any ->emitter : any +>emitter : Emitter >recordSourceMappingEnd : any >this : this emitter.emitParensAndCommentsInPlace(this, false); >emitter.emitParensAndCommentsInPlace(this, false) : any >emitter.emitParensAndCommentsInPlace : any ->emitter : any +>emitter : Emitter >emitParensAndCommentsInPlace : any >this : this >false : false diff --git a/tests/baselines/reference/parserRealSource12.symbols b/tests/baselines/reference/parserRealSource12.symbols index 88bf2f162d0fc..280d4044efb2c 100644 --- a/tests/baselines/reference/parserRealSource12.symbols +++ b/tests/baselines/reference/parserRealSource12.symbols @@ -13,7 +13,10 @@ module TypeScript { walk(ast: AST, parent: AST): AST; >walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) >ast : Symbol(ast, Decl(parserRealSource12.ts, 7, 13)) +>AST : Symbol(AST) >parent : Symbol(parent, Decl(parserRealSource12.ts, 7, 22)) +>AST : Symbol(AST) +>AST : Symbol(AST) options: AstWalkOptions; >options : Symbol(IAstWalker.options, Decl(parserRealSource12.ts, 7, 41)) @@ -58,9 +61,12 @@ module TypeScript { (ast: AST, parent: AST, walker: IAstWalker): AST; >ast : Symbol(ast, Decl(parserRealSource12.ts, 24, 9)) +>AST : Symbol(AST) >parent : Symbol(parent, Decl(parserRealSource12.ts, 24, 18)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 24, 31)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) +>AST : Symbol(AST) } export interface IAstWalkChildren { @@ -68,7 +74,9 @@ module TypeScript { (preAst: AST, parent: AST, walker: IAstWalker): void; >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 28, 9)) +>AST : Symbol(AST) >parent : Symbol(parent, Decl(parserRealSource12.ts, 28, 21)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 28, 34)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) } @@ -101,7 +109,10 @@ module TypeScript { public walk(ast: AST, parent: AST): AST { >walk : Symbol(AstWalker.walk, Decl(parserRealSource12.ts, 38, 9)) >ast : Symbol(ast, Decl(parserRealSource12.ts, 40, 20)) +>AST : Symbol(AST) >parent : Symbol(parent, Decl(parserRealSource12.ts, 40, 29)) +>AST : Symbol(AST) +>AST : Symbol(AST) var preAst = this.pre(ast, parent, this); >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 41, 15)) @@ -218,6 +229,7 @@ module TypeScript { public walk(ast: AST, pre: IAstWalkCallback, post?: IAstWalkCallback, options?: AstWalkOptions, state?: any): AST { >walk : Symbol(AstWalkerFactory.walk, Decl(parserRealSource12.ts, 74, 9)) >ast : Symbol(ast, Decl(parserRealSource12.ts, 76, 20)) +>AST : Symbol(AST) >pre : Symbol(pre, Decl(parserRealSource12.ts, 76, 29)) >IAstWalkCallback : Symbol(IAstWalkCallback, Decl(parserRealSource12.ts, 21, 5)) >post : Symbol(post, Decl(parserRealSource12.ts, 76, 52)) @@ -225,6 +237,7 @@ module TypeScript { >options : Symbol(options, Decl(parserRealSource12.ts, 76, 77)) >AstWalkOptions : Symbol(AstWalkOptions, Decl(parserRealSource12.ts, 10, 5)) >state : Symbol(state, Decl(parserRealSource12.ts, 76, 103)) +>AST : Symbol(AST) return this.getWalker(pre, post, options, state).walk(ast, null) >this.getWalker(pre, post, options, state).walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) @@ -1192,7 +1205,9 @@ module TypeScript { export function walkNone(preAst: ASTList, parent: AST, walker: IAstWalker): void { >walkNone : Symbol(walkNone, Decl(parserRealSource12.ts, 219, 28)) >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 220, 33)) +>ASTList : Symbol(ASTList) >parent : Symbol(parent, Decl(parserRealSource12.ts, 220, 49)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 220, 62)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) @@ -1202,7 +1217,9 @@ module TypeScript { export function walkListChildren(preAst: ASTList, parent: AST, walker: IAstWalker): void { >walkListChildren : Symbol(walkListChildren, Decl(parserRealSource12.ts, 222, 9)) >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 224, 41)) +>ASTList : Symbol(ASTList) >parent : Symbol(parent, Decl(parserRealSource12.ts, 224, 57)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 224, 70)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) @@ -1273,7 +1290,9 @@ module TypeScript { export function walkUnaryExpressionChildren(preAst: UnaryExpression, parent: AST, walker: IAstWalker): void { >walkUnaryExpressionChildren : Symbol(walkUnaryExpressionChildren, Decl(parserRealSource12.ts, 240, 9)) >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 242, 52)) +>UnaryExpression : Symbol(UnaryExpression) >parent : Symbol(parent, Decl(parserRealSource12.ts, 242, 76)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 242, 89)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) @@ -1304,7 +1323,9 @@ module TypeScript { export function walkBinaryExpressionChildren(preAst: BinaryExpression, parent: AST, walker: IAstWalker): void { >walkBinaryExpressionChildren : Symbol(walkBinaryExpressionChildren, Decl(parserRealSource12.ts, 249, 9)) >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 251, 53)) +>BinaryExpression : Symbol(BinaryExpression) >parent : Symbol(parent, Decl(parserRealSource12.ts, 251, 78)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 251, 91)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) @@ -1376,7 +1397,9 @@ module TypeScript { export function walkTypeReferenceChildren(preAst: TypeReference, parent: AST, walker: IAstWalker): void { >walkTypeReferenceChildren : Symbol(walkTypeReferenceChildren, Decl(parserRealSource12.ts, 267, 9)) >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 269, 50)) +>TypeReference : Symbol(TypeReference) >parent : Symbol(parent, Decl(parserRealSource12.ts, 269, 72)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 269, 85)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) @@ -1396,7 +1419,9 @@ module TypeScript { export function walkCallExpressionChildren(preAst: CallExpression, parent: AST, walker: IAstWalker): void { >walkCallExpressionChildren : Symbol(walkCallExpressionChildren, Decl(parserRealSource12.ts, 273, 9)) >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 275, 51)) +>CallExpression : Symbol(CallExpression) >parent : Symbol(parent, Decl(parserRealSource12.ts, 275, 74)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 275, 87)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) @@ -1425,6 +1450,7 @@ module TypeScript { preAst.arguments = walker.walk(preAst.arguments, preAst); >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 275, 51)) +>ASTList : Symbol(ASTList) >walker.walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) >walker : Symbol(walker, Decl(parserRealSource12.ts, 275, 87)) >walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) @@ -1456,7 +1482,9 @@ module TypeScript { export function walkTrinaryExpressionChildren(preAst: ConditionalExpression, parent: AST, walker: IAstWalker): void { >walkTrinaryExpressionChildren : Symbol(walkTrinaryExpressionChildren, Decl(parserRealSource12.ts, 285, 9)) >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 287, 54)) +>ConditionalExpression : Symbol(ConditionalExpression) >parent : Symbol(parent, Decl(parserRealSource12.ts, 287, 84)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 287, 97)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) @@ -1508,7 +1536,9 @@ module TypeScript { export function walkFuncDeclChildren(preAst: FuncDecl, parent: AST, walker: IAstWalker): void { >walkFuncDeclChildren : Symbol(walkFuncDeclChildren, Decl(parserRealSource12.ts, 297, 9)) >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 299, 45)) +>FuncDecl : Symbol(FuncDecl) >parent : Symbol(parent, Decl(parserRealSource12.ts, 299, 62)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 299, 75)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) @@ -1517,6 +1547,7 @@ module TypeScript { preAst.name = walker.walk(preAst.name, preAst); >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 299, 45)) +>Identifier : Symbol(Identifier) >walker.walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) >walker : Symbol(walker, Decl(parserRealSource12.ts, 299, 75)) >walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) @@ -1534,6 +1565,7 @@ module TypeScript { preAst.arguments = walker.walk(preAst.arguments, preAst); >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 299, 45)) +>ASTList : Symbol(ASTList) >walker.walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) >walker : Symbol(walker, Decl(parserRealSource12.ts, 299, 75)) >walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) @@ -1567,6 +1599,7 @@ module TypeScript { preAst.bod = walker.walk(preAst.bod, preAst); >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 299, 45)) +>ASTList : Symbol(ASTList) >walker.walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) >walker : Symbol(walker, Decl(parserRealSource12.ts, 299, 75)) >walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) @@ -1578,7 +1611,9 @@ module TypeScript { export function walkBoundDeclChildren(preAst: BoundDecl, parent: AST, walker: IAstWalker): void { >walkBoundDeclChildren : Symbol(walkBoundDeclChildren, Decl(parserRealSource12.ts, 312, 9)) >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 314, 46)) +>BoundDecl : Symbol(BoundDecl) >parent : Symbol(parent, Decl(parserRealSource12.ts, 314, 64)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 314, 77)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) @@ -1587,6 +1622,7 @@ module TypeScript { preAst.id = walker.walk(preAst.id, preAst); >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 314, 46)) +>Identifier : Symbol(Identifier) >walker.walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) >walker : Symbol(walker, Decl(parserRealSource12.ts, 314, 77)) >walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) @@ -1625,7 +1661,9 @@ module TypeScript { export function walkReturnStatementChildren(preAst: ReturnStatement, parent: AST, walker: IAstWalker): void { >walkReturnStatementChildren : Symbol(walkReturnStatementChildren, Decl(parserRealSource12.ts, 324, 9)) >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 326, 52)) +>ReturnStatement : Symbol(ReturnStatement) >parent : Symbol(parent, Decl(parserRealSource12.ts, 326, 76)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 326, 89)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) @@ -1645,7 +1683,9 @@ module TypeScript { export function walkForStatementChildren(preAst: ForStatement, parent: AST, walker: IAstWalker): void { >walkForStatementChildren : Symbol(walkForStatementChildren, Decl(parserRealSource12.ts, 330, 9)) >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 332, 49)) +>ForStatement : Symbol(ForStatement) >parent : Symbol(parent, Decl(parserRealSource12.ts, 332, 70)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 332, 83)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) @@ -1716,7 +1756,9 @@ module TypeScript { export function walkForInStatementChildren(preAst: ForInStatement, parent: AST, walker: IAstWalker): void { >walkForInStatementChildren : Symbol(walkForInStatementChildren, Decl(parserRealSource12.ts, 348, 9)) >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 350, 51)) +>ForInStatement : Symbol(ForInStatement) >parent : Symbol(parent, Decl(parserRealSource12.ts, 350, 74)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 350, 87)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) @@ -1764,7 +1806,9 @@ module TypeScript { export function walkIfStatementChildren(preAst: IfStatement, parent: AST, walker: IAstWalker): void { >walkIfStatementChildren : Symbol(walkIfStatementChildren, Decl(parserRealSource12.ts, 358, 9)) >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 360, 48)) +>IfStatement : Symbol(IfStatement) >parent : Symbol(parent, Decl(parserRealSource12.ts, 360, 68)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 360, 81)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) @@ -1813,7 +1857,9 @@ module TypeScript { export function walkWhileStatementChildren(preAst: WhileStatement, parent: AST, walker: IAstWalker): void { >walkWhileStatementChildren : Symbol(walkWhileStatementChildren, Decl(parserRealSource12.ts, 368, 9)) >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 370, 51)) +>WhileStatement : Symbol(WhileStatement) >parent : Symbol(parent, Decl(parserRealSource12.ts, 370, 74)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 370, 87)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) @@ -1846,7 +1892,9 @@ module TypeScript { export function walkDoWhileStatementChildren(preAst: DoWhileStatement, parent: AST, walker: IAstWalker): void { >walkDoWhileStatementChildren : Symbol(walkDoWhileStatementChildren, Decl(parserRealSource12.ts, 375, 9)) >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 377, 53)) +>DoWhileStatement : Symbol(DoWhileStatement) >parent : Symbol(parent, Decl(parserRealSource12.ts, 377, 78)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 377, 91)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) @@ -1879,7 +1927,9 @@ module TypeScript { export function walkBlockChildren(preAst: Block, parent: AST, walker: IAstWalker): void { >walkBlockChildren : Symbol(walkBlockChildren, Decl(parserRealSource12.ts, 382, 9)) >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 384, 42)) +>Block : Symbol(Block) >parent : Symbol(parent, Decl(parserRealSource12.ts, 384, 56)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 384, 69)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) @@ -1888,6 +1938,7 @@ module TypeScript { preAst.statements = walker.walk(preAst.statements, preAst); >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 384, 42)) +>ASTList : Symbol(ASTList) >walker.walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) >walker : Symbol(walker, Decl(parserRealSource12.ts, 384, 69)) >walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) @@ -1899,7 +1950,9 @@ module TypeScript { export function walkCaseStatementChildren(preAst: CaseStatement, parent: AST, walker: IAstWalker): void { >walkCaseStatementChildren : Symbol(walkCaseStatementChildren, Decl(parserRealSource12.ts, 388, 9)) >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 390, 50)) +>CaseStatement : Symbol(CaseStatement) >parent : Symbol(parent, Decl(parserRealSource12.ts, 390, 72)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 390, 85)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) @@ -1925,6 +1978,7 @@ module TypeScript { preAst.body = walker.walk(preAst.body, preAst); >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 390, 50)) +>ASTList : Symbol(ASTList) >walker.walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) >walker : Symbol(walker, Decl(parserRealSource12.ts, 390, 85)) >walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) @@ -1936,7 +1990,9 @@ module TypeScript { export function walkSwitchStatementChildren(preAst: SwitchStatement, parent: AST, walker: IAstWalker): void { >walkSwitchStatementChildren : Symbol(walkSwitchStatementChildren, Decl(parserRealSource12.ts, 398, 9)) >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 400, 52)) +>SwitchStatement : Symbol(SwitchStatement) >parent : Symbol(parent, Decl(parserRealSource12.ts, 400, 76)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 400, 89)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) @@ -1962,6 +2018,7 @@ module TypeScript { preAst.caseList = walker.walk(preAst.caseList, preAst); >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 400, 52)) +>ASTList : Symbol(ASTList) >walker.walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) >walker : Symbol(walker, Decl(parserRealSource12.ts, 400, 89)) >walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) @@ -1973,7 +2030,9 @@ module TypeScript { export function walkTryChildren(preAst: Try, parent: AST, walker: IAstWalker): void { >walkTryChildren : Symbol(walkTryChildren, Decl(parserRealSource12.ts, 408, 9)) >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 410, 40)) +>Try : Symbol(Try) >parent : Symbol(parent, Decl(parserRealSource12.ts, 410, 52)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 410, 65)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) @@ -1993,7 +2052,9 @@ module TypeScript { export function walkTryCatchChildren(preAst: TryCatch, parent: AST, walker: IAstWalker): void { >walkTryCatchChildren : Symbol(walkTryCatchChildren, Decl(parserRealSource12.ts, 414, 9)) >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 416, 45)) +>TryCatch : Symbol(TryCatch) >parent : Symbol(parent, Decl(parserRealSource12.ts, 416, 62)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 416, 75)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) @@ -2002,6 +2063,7 @@ module TypeScript { preAst.tryNode = walker.walk(preAst.tryNode, preAst); >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 416, 45)) +>Try : Symbol(Try) >walker.walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) >walker : Symbol(walker, Decl(parserRealSource12.ts, 416, 75)) >walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) @@ -2019,6 +2081,7 @@ module TypeScript { preAst.catchNode = walker.walk(preAst.catchNode, preAst); >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 416, 45)) +>Catch : Symbol(Catch) >walker.walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) >walker : Symbol(walker, Decl(parserRealSource12.ts, 416, 75)) >walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) @@ -2030,7 +2093,9 @@ module TypeScript { export function walkTryFinallyChildren(preAst: TryFinally, parent: AST, walker: IAstWalker): void { >walkTryFinallyChildren : Symbol(walkTryFinallyChildren, Decl(parserRealSource12.ts, 424, 9)) >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 426, 47)) +>TryFinally : Symbol(TryFinally) >parent : Symbol(parent, Decl(parserRealSource12.ts, 426, 66)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 426, 79)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) @@ -2056,6 +2121,7 @@ module TypeScript { preAst.finallyNode = walker.walk(preAst.finallyNode, preAst); >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 426, 47)) +>Finally : Symbol(Finally) >walker.walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) >walker : Symbol(walker, Decl(parserRealSource12.ts, 426, 79)) >walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) @@ -2067,7 +2133,9 @@ module TypeScript { export function walkFinallyChildren(preAst: Finally, parent: AST, walker: IAstWalker): void { >walkFinallyChildren : Symbol(walkFinallyChildren, Decl(parserRealSource12.ts, 434, 9)) >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 436, 44)) +>Finally : Symbol(Finally) >parent : Symbol(parent, Decl(parserRealSource12.ts, 436, 60)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 436, 73)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) @@ -2087,7 +2155,9 @@ module TypeScript { export function walkCatchChildren(preAst: Catch, parent: AST, walker: IAstWalker): void { >walkCatchChildren : Symbol(walkCatchChildren, Decl(parserRealSource12.ts, 440, 9)) >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 442, 42)) +>Catch : Symbol(Catch) >parent : Symbol(parent, Decl(parserRealSource12.ts, 442, 56)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 442, 69)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) @@ -2096,6 +2166,7 @@ module TypeScript { preAst.param = walker.walk(preAst.param, preAst); >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 442, 42)) +>VarDecl : Symbol(VarDecl) >walker.walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) >walker : Symbol(walker, Decl(parserRealSource12.ts, 442, 69)) >walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) @@ -2124,12 +2195,15 @@ module TypeScript { export function walkRecordChildren(preAst: NamedDeclaration, parent: AST, walker: IAstWalker): void { >walkRecordChildren : Symbol(walkRecordChildren, Decl(parserRealSource12.ts, 450, 9)) >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 452, 43)) +>NamedDeclaration : Symbol(NamedDeclaration) >parent : Symbol(parent, Decl(parserRealSource12.ts, 452, 68)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 452, 81)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) preAst.name = walker.walk(preAst.name, preAst); >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 452, 43)) +>Identifier : Symbol(Identifier) >walker.walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) >walker : Symbol(walker, Decl(parserRealSource12.ts, 452, 81)) >walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) @@ -2146,6 +2220,7 @@ module TypeScript { preAst.members = walker.walk(preAst.members, preAst); >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 452, 43)) +>ASTList : Symbol(ASTList) >walker.walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) >walker : Symbol(walker, Decl(parserRealSource12.ts, 452, 81)) >walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) @@ -2158,7 +2233,9 @@ module TypeScript { export function walkNamedTypeChildren(preAst: TypeDeclaration, parent: AST, walker: IAstWalker): void { >walkNamedTypeChildren : Symbol(walkNamedTypeChildren, Decl(parserRealSource12.ts, 458, 9)) >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 460, 46)) +>TypeDeclaration : Symbol(TypeDeclaration) >parent : Symbol(parent, Decl(parserRealSource12.ts, 460, 70)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 460, 83)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) @@ -2172,7 +2249,9 @@ module TypeScript { export function walkClassDeclChildren(preAst: ClassDeclaration, parent: AST, walker: IAstWalker): void { >walkClassDeclChildren : Symbol(walkClassDeclChildren, Decl(parserRealSource12.ts, 462, 9)) >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 464, 46)) +>ClassDeclaration : Symbol(ClassDeclaration) >parent : Symbol(parent, Decl(parserRealSource12.ts, 464, 71)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 464, 84)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) @@ -2192,6 +2271,7 @@ module TypeScript { preAst.extendsList = walker.walk(preAst.extendsList, preAst); >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 464, 46)) +>ASTList : Symbol(ASTList) >walker.walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) >walker : Symbol(walker, Decl(parserRealSource12.ts, 464, 84)) >walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) @@ -2209,6 +2289,7 @@ module TypeScript { preAst.implementsList = walker.walk(preAst.implementsList, preAst); >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 464, 46)) +>ASTList : Symbol(ASTList) >walker.walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) >walker : Symbol(walker, Decl(parserRealSource12.ts, 464, 84)) >walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) @@ -2220,7 +2301,9 @@ module TypeScript { export function walkScriptChildren(preAst: Script, parent: AST, walker: IAstWalker): void { >walkScriptChildren : Symbol(walkScriptChildren, Decl(parserRealSource12.ts, 474, 9)) >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 476, 43)) +>Script : Symbol(Script) >parent : Symbol(parent, Decl(parserRealSource12.ts, 476, 58)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 476, 71)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) @@ -2229,6 +2312,7 @@ module TypeScript { preAst.bod = walker.walk(preAst.bod, preAst); >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 476, 43)) +>ASTList : Symbol(ASTList) >walker.walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) >walker : Symbol(walker, Decl(parserRealSource12.ts, 476, 71)) >walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) @@ -2240,7 +2324,9 @@ module TypeScript { export function walkTypeDeclChildren(preAst: InterfaceDeclaration, parent: AST, walker: IAstWalker): void { >walkTypeDeclChildren : Symbol(walkTypeDeclChildren, Decl(parserRealSource12.ts, 480, 9)) >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 482, 45)) +>InterfaceDeclaration : Symbol(InterfaceDeclaration) >parent : Symbol(parent, Decl(parserRealSource12.ts, 482, 74)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 482, 87)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) @@ -2261,6 +2347,7 @@ module TypeScript { preAst.extendsList = walker.walk(preAst.extendsList, preAst); >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 482, 45)) +>ASTList : Symbol(ASTList) >walker.walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) >walker : Symbol(walker, Decl(parserRealSource12.ts, 482, 87)) >walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) @@ -2278,6 +2365,7 @@ module TypeScript { preAst.implementsList = walker.walk(preAst.implementsList, preAst); >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 482, 45)) +>ASTList : Symbol(ASTList) >walker.walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) >walker : Symbol(walker, Decl(parserRealSource12.ts, 482, 87)) >walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) @@ -2289,7 +2377,9 @@ module TypeScript { export function walkModuleDeclChildren(preAst: ModuleDeclaration, parent: AST, walker: IAstWalker): void { >walkModuleDeclChildren : Symbol(walkModuleDeclChildren, Decl(parserRealSource12.ts, 493, 9)) >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 495, 47)) +>ModuleDeclaration : Symbol(ModuleDeclaration) >parent : Symbol(parent, Decl(parserRealSource12.ts, 495, 73)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 495, 86)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) @@ -2303,7 +2393,9 @@ module TypeScript { export function walkImportDeclChildren(preAst: ImportDeclaration, parent: AST, walker: IAstWalker): void { >walkImportDeclChildren : Symbol(walkImportDeclChildren, Decl(parserRealSource12.ts, 497, 9)) >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 499, 47)) +>ImportDeclaration : Symbol(ImportDeclaration) >parent : Symbol(parent, Decl(parserRealSource12.ts, 499, 73)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 499, 86)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) @@ -2312,6 +2404,7 @@ module TypeScript { preAst.id = walker.walk(preAst.id, preAst); >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 499, 47)) +>Identifier : Symbol(Identifier) >walker.walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) >walker : Symbol(walker, Decl(parserRealSource12.ts, 499, 86)) >walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) @@ -2334,7 +2427,9 @@ module TypeScript { export function walkWithStatementChildren(preAst: WithStatement, parent: AST, walker: IAstWalker): void { >walkWithStatementChildren : Symbol(walkWithStatementChildren, Decl(parserRealSource12.ts, 506, 9)) >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 508, 50)) +>WithStatement : Symbol(WithStatement) >parent : Symbol(parent, Decl(parserRealSource12.ts, 508, 72)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 508, 85)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) @@ -2371,7 +2466,9 @@ module TypeScript { export function walkLabelChildren(preAst: Label, parent: AST, walker: IAstWalker): void { >walkLabelChildren : Symbol(walkLabelChildren, Decl(parserRealSource12.ts, 516, 9)) >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 518, 42)) +>Label : Symbol(Label) >parent : Symbol(parent, Decl(parserRealSource12.ts, 518, 56)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 518, 69)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) @@ -2381,12 +2478,15 @@ module TypeScript { export function walkLabeledStatementChildren(preAst: LabeledStatement, parent: AST, walker: IAstWalker): void { >walkLabeledStatementChildren : Symbol(walkLabeledStatementChildren, Decl(parserRealSource12.ts, 520, 9)) >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 522, 53)) +>LabeledStatement : Symbol(LabeledStatement) >parent : Symbol(parent, Decl(parserRealSource12.ts, 522, 78)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource12.ts, 522, 91)) >IAstWalker : Symbol(IAstWalker, Decl(parserRealSource12.ts, 5, 19)) preAst.labels = walker.walk(preAst.labels, preAst); >preAst : Symbol(preAst, Decl(parserRealSource12.ts, 522, 53)) +>ASTList : Symbol(ASTList) >walker.walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) >walker : Symbol(walker, Decl(parserRealSource12.ts, 522, 91)) >walk : Symbol(IAstWalker.walk, Decl(parserRealSource12.ts, 6, 33)) diff --git a/tests/baselines/reference/parserRealSource12.types b/tests/baselines/reference/parserRealSource12.types index 9531d5edd2198..0f7b67d91217d 100644 --- a/tests/baselines/reference/parserRealSource12.types +++ b/tests/baselines/reference/parserRealSource12.types @@ -9,9 +9,9 @@ module TypeScript { export interface IAstWalker { walk(ast: AST, parent: AST): AST; ->walk : (ast: any, parent: any) => any ->ast : any ->parent : any +>walk : (ast: AST, parent: AST) => AST +>ast : AST +>parent : AST options: AstWalkOptions; >options : AstWalkOptions @@ -60,15 +60,15 @@ module TypeScript { export interface IAstWalkCallback { (ast: AST, parent: AST, walker: IAstWalker): AST; ->ast : any ->parent : any +>ast : AST +>parent : AST >walker : IAstWalker } export interface IAstWalkChildren { (preAst: AST, parent: AST, walker: IAstWalker): void; ->preAst : any ->parent : any +>preAst : AST +>parent : AST >walker : IAstWalker } @@ -93,29 +93,29 @@ module TypeScript { } public walk(ast: AST, parent: AST): AST { ->walk : (ast: any, parent: any) => any ->ast : any ->parent : any +>walk : (ast: AST, parent: AST) => AST +>ast : AST +>parent : AST var preAst = this.pre(ast, parent, this); ->preAst : any ->this.pre(ast, parent, this) : any +>preAst : AST +>this.pre(ast, parent, this) : AST >this.pre : IAstWalkCallback >this : this >pre : IAstWalkCallback ->ast : any ->parent : any +>ast : AST +>parent : AST >this : this if (preAst === undefined) { >preAst === undefined : boolean ->preAst : any +>preAst : AST >undefined : undefined preAst = ast; ->preAst = ast : any ->preAst : any ->ast : any +>preAst = ast : AST +>preAst : AST +>ast : AST } if (this.options.goChildren) { >this.options.goChildren : boolean @@ -149,10 +149,10 @@ module TypeScript { >this : this >childrenWalkers : IAstWalkChildren[] >ast.nodeType : any ->ast : any +>ast : AST >nodeType : any ->ast : any ->parent : any +>ast : AST +>parent : AST >this : this this.options.goNextSibling = svGoSib; @@ -181,31 +181,31 @@ module TypeScript { >post : IAstWalkCallback var postAst = this.post(preAst, parent, this); ->postAst : any ->this.post(preAst, parent, this) : any +>postAst : AST +>this.post(preAst, parent, this) : AST >this.post : IAstWalkCallback >this : this >post : IAstWalkCallback ->preAst : any ->parent : any +>preAst : AST +>parent : AST >this : this if (postAst === undefined) { >postAst === undefined : boolean ->postAst : any +>postAst : AST >undefined : undefined postAst = preAst; ->postAst = preAst : any ->postAst : any ->preAst : any +>postAst = preAst : AST +>postAst : AST +>preAst : AST } return postAst; ->postAst : any +>postAst : AST } else { return preAst; ->preAst : any +>preAst : AST } } } @@ -226,16 +226,16 @@ module TypeScript { } public walk(ast: AST, pre: IAstWalkCallback, post?: IAstWalkCallback, options?: AstWalkOptions, state?: any): AST { ->walk : (ast: any, pre: IAstWalkCallback, post?: IAstWalkCallback, options?: AstWalkOptions, state?: any) => any ->ast : any +>walk : (ast: AST, pre: IAstWalkCallback, post?: IAstWalkCallback, options?: AstWalkOptions, state?: any) => AST +>ast : AST >pre : IAstWalkCallback >post : IAstWalkCallback >options : AstWalkOptions >state : any return this.getWalker(pre, post, options, state).walk(ast, null) ->this.getWalker(pre, post, options, state).walk(ast, null) : any ->this.getWalker(pre, post, options, state).walk : (ast: any, parent: any) => any +>this.getWalker(pre, post, options, state).walk(ast, null) : AST +>this.getWalker(pre, post, options, state).walk : (ast: AST, parent: AST) => AST >this.getWalker(pre, post, options, state) : IAstWalker >this.getWalker : (pre: IAstWalkCallback, post?: IAstWalkCallback, options?: AstWalkOptions, state?: any) => IAstWalker >this : this @@ -244,8 +244,8 @@ module TypeScript { >post : IAstWalkCallback >options : AstWalkOptions >state : any ->walk : (ast: any, parent: any) => any ->ast : any +>walk : (ast: AST, parent: AST) => AST +>ast : AST >null : null } @@ -301,7 +301,7 @@ module TypeScript { >initChildrenWalkers : () => void this.childrenWalkers[NodeType.None] = ChildrenWalkers.walkNone; ->this.childrenWalkers[NodeType.None] = ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.None] = ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.None] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -309,12 +309,12 @@ module TypeScript { >NodeType.None : any >NodeType : any >None : any ->ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Empty] = ChildrenWalkers.walkNone; ->this.childrenWalkers[NodeType.Empty] = ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Empty] = ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Empty] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -322,12 +322,12 @@ module TypeScript { >NodeType.Empty : any >NodeType : any >Empty : any ->ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.EmptyExpr] = ChildrenWalkers.walkNone; ->this.childrenWalkers[NodeType.EmptyExpr] = ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.EmptyExpr] = ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.EmptyExpr] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -335,12 +335,12 @@ module TypeScript { >NodeType.EmptyExpr : any >NodeType : any >EmptyExpr : any ->ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.True] = ChildrenWalkers.walkNone; ->this.childrenWalkers[NodeType.True] = ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.True] = ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.True] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -348,12 +348,12 @@ module TypeScript { >NodeType.True : any >NodeType : any >True : any ->ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.False] = ChildrenWalkers.walkNone; ->this.childrenWalkers[NodeType.False] = ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.False] = ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.False] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -361,12 +361,12 @@ module TypeScript { >NodeType.False : any >NodeType : any >False : any ->ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.This] = ChildrenWalkers.walkNone; ->this.childrenWalkers[NodeType.This] = ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.This] = ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.This] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -374,12 +374,12 @@ module TypeScript { >NodeType.This : any >NodeType : any >This : any ->ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Super] = ChildrenWalkers.walkNone; ->this.childrenWalkers[NodeType.Super] = ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Super] = ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Super] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -387,12 +387,12 @@ module TypeScript { >NodeType.Super : any >NodeType : any >Super : any ->ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.QString] = ChildrenWalkers.walkNone; ->this.childrenWalkers[NodeType.QString] = ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.QString] = ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.QString] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -400,12 +400,12 @@ module TypeScript { >NodeType.QString : any >NodeType : any >QString : any ->ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Regex] = ChildrenWalkers.walkNone; ->this.childrenWalkers[NodeType.Regex] = ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Regex] = ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Regex] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -413,12 +413,12 @@ module TypeScript { >NodeType.Regex : any >NodeType : any >Regex : any ->ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Null] = ChildrenWalkers.walkNone; ->this.childrenWalkers[NodeType.Null] = ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Null] = ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Null] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -426,12 +426,12 @@ module TypeScript { >NodeType.Null : any >NodeType : any >Null : any ->ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.ArrayLit] = ChildrenWalkers.walkUnaryExpressionChildren; ->this.childrenWalkers[NodeType.ArrayLit] = ChildrenWalkers.walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.ArrayLit] = ChildrenWalkers.walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.ArrayLit] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -439,12 +439,12 @@ module TypeScript { >NodeType.ArrayLit : any >NodeType : any >ArrayLit : any ->ChildrenWalkers.walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.ObjectLit] = ChildrenWalkers.walkUnaryExpressionChildren; ->this.childrenWalkers[NodeType.ObjectLit] = ChildrenWalkers.walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.ObjectLit] = ChildrenWalkers.walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.ObjectLit] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -452,12 +452,12 @@ module TypeScript { >NodeType.ObjectLit : any >NodeType : any >ObjectLit : any ->ChildrenWalkers.walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Void] = ChildrenWalkers.walkUnaryExpressionChildren; ->this.childrenWalkers[NodeType.Void] = ChildrenWalkers.walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Void] = ChildrenWalkers.walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Void] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -465,12 +465,12 @@ module TypeScript { >NodeType.Void : any >NodeType : any >Void : any ->ChildrenWalkers.walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Comma] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.Comma] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Comma] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Comma] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -478,12 +478,12 @@ module TypeScript { >NodeType.Comma : any >NodeType : any >Comma : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Pos] = ChildrenWalkers.walkUnaryExpressionChildren; ->this.childrenWalkers[NodeType.Pos] = ChildrenWalkers.walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Pos] = ChildrenWalkers.walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Pos] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -491,12 +491,12 @@ module TypeScript { >NodeType.Pos : any >NodeType : any >Pos : any ->ChildrenWalkers.walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Neg] = ChildrenWalkers.walkUnaryExpressionChildren; ->this.childrenWalkers[NodeType.Neg] = ChildrenWalkers.walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Neg] = ChildrenWalkers.walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Neg] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -504,12 +504,12 @@ module TypeScript { >NodeType.Neg : any >NodeType : any >Neg : any ->ChildrenWalkers.walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Delete] = ChildrenWalkers.walkUnaryExpressionChildren; ->this.childrenWalkers[NodeType.Delete] = ChildrenWalkers.walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Delete] = ChildrenWalkers.walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Delete] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -517,12 +517,12 @@ module TypeScript { >NodeType.Delete : any >NodeType : any >Delete : any ->ChildrenWalkers.walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Await] = ChildrenWalkers.walkUnaryExpressionChildren; ->this.childrenWalkers[NodeType.Await] = ChildrenWalkers.walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Await] = ChildrenWalkers.walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Await] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -530,12 +530,12 @@ module TypeScript { >NodeType.Await : any >NodeType : any >Await : any ->ChildrenWalkers.walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.In] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.In] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.In] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.In] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -543,12 +543,12 @@ module TypeScript { >NodeType.In : any >NodeType : any >In : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Dot] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.Dot] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Dot] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Dot] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -556,12 +556,12 @@ module TypeScript { >NodeType.Dot : any >NodeType : any >Dot : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.From] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.From] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.From] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.From] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -569,12 +569,12 @@ module TypeScript { >NodeType.From : any >NodeType : any >From : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Is] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.Is] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Is] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Is] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -582,12 +582,12 @@ module TypeScript { >NodeType.Is : any >NodeType : any >Is : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.InstOf] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.InstOf] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.InstOf] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.InstOf] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -595,12 +595,12 @@ module TypeScript { >NodeType.InstOf : any >NodeType : any >InstOf : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Typeof] = ChildrenWalkers.walkUnaryExpressionChildren; ->this.childrenWalkers[NodeType.Typeof] = ChildrenWalkers.walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Typeof] = ChildrenWalkers.walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Typeof] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -608,12 +608,12 @@ module TypeScript { >NodeType.Typeof : any >NodeType : any >Typeof : any ->ChildrenWalkers.walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.NumberLit] = ChildrenWalkers.walkNone; ->this.childrenWalkers[NodeType.NumberLit] = ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.NumberLit] = ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.NumberLit] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -621,12 +621,12 @@ module TypeScript { >NodeType.NumberLit : any >NodeType : any >NumberLit : any ->ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Name] = ChildrenWalkers.walkNone; ->this.childrenWalkers[NodeType.Name] = ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Name] = ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Name] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -634,12 +634,12 @@ module TypeScript { >NodeType.Name : any >NodeType : any >Name : any ->ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.TypeRef] = ChildrenWalkers.walkTypeReferenceChildren; ->this.childrenWalkers[NodeType.TypeRef] = ChildrenWalkers.walkTypeReferenceChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.TypeRef] = ChildrenWalkers.walkTypeReferenceChildren : (preAst: TypeReference, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.TypeRef] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -647,12 +647,12 @@ module TypeScript { >NodeType.TypeRef : any >NodeType : any >TypeRef : any ->ChildrenWalkers.walkTypeReferenceChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkTypeReferenceChildren : (preAst: TypeReference, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkTypeReferenceChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkTypeReferenceChildren : (preAst: TypeReference, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Index] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.Index] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Index] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Index] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -660,12 +660,12 @@ module TypeScript { >NodeType.Index : any >NodeType : any >Index : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Call] = ChildrenWalkers.walkCallExpressionChildren; ->this.childrenWalkers[NodeType.Call] = ChildrenWalkers.walkCallExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Call] = ChildrenWalkers.walkCallExpressionChildren : (preAst: CallExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Call] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -673,12 +673,12 @@ module TypeScript { >NodeType.Call : any >NodeType : any >Call : any ->ChildrenWalkers.walkCallExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkCallExpressionChildren : (preAst: CallExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkCallExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkCallExpressionChildren : (preAst: CallExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.New] = ChildrenWalkers.walkCallExpressionChildren; ->this.childrenWalkers[NodeType.New] = ChildrenWalkers.walkCallExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.New] = ChildrenWalkers.walkCallExpressionChildren : (preAst: CallExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.New] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -686,12 +686,12 @@ module TypeScript { >NodeType.New : any >NodeType : any >New : any ->ChildrenWalkers.walkCallExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkCallExpressionChildren : (preAst: CallExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkCallExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkCallExpressionChildren : (preAst: CallExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Asg] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.Asg] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Asg] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Asg] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -699,12 +699,12 @@ module TypeScript { >NodeType.Asg : any >NodeType : any >Asg : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.AsgAdd] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.AsgAdd] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.AsgAdd] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.AsgAdd] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -712,12 +712,12 @@ module TypeScript { >NodeType.AsgAdd : any >NodeType : any >AsgAdd : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.AsgSub] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.AsgSub] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.AsgSub] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.AsgSub] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -725,12 +725,12 @@ module TypeScript { >NodeType.AsgSub : any >NodeType : any >AsgSub : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.AsgDiv] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.AsgDiv] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.AsgDiv] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.AsgDiv] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -738,12 +738,12 @@ module TypeScript { >NodeType.AsgDiv : any >NodeType : any >AsgDiv : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.AsgMul] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.AsgMul] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.AsgMul] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.AsgMul] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -751,12 +751,12 @@ module TypeScript { >NodeType.AsgMul : any >NodeType : any >AsgMul : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.AsgMod] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.AsgMod] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.AsgMod] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.AsgMod] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -764,12 +764,12 @@ module TypeScript { >NodeType.AsgMod : any >NodeType : any >AsgMod : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.AsgAnd] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.AsgAnd] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.AsgAnd] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.AsgAnd] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -777,12 +777,12 @@ module TypeScript { >NodeType.AsgAnd : any >NodeType : any >AsgAnd : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.AsgXor] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.AsgXor] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.AsgXor] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.AsgXor] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -790,12 +790,12 @@ module TypeScript { >NodeType.AsgXor : any >NodeType : any >AsgXor : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.AsgOr] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.AsgOr] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.AsgOr] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.AsgOr] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -803,12 +803,12 @@ module TypeScript { >NodeType.AsgOr : any >NodeType : any >AsgOr : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.AsgLsh] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.AsgLsh] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.AsgLsh] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.AsgLsh] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -816,12 +816,12 @@ module TypeScript { >NodeType.AsgLsh : any >NodeType : any >AsgLsh : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.AsgRsh] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.AsgRsh] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.AsgRsh] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.AsgRsh] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -829,12 +829,12 @@ module TypeScript { >NodeType.AsgRsh : any >NodeType : any >AsgRsh : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.AsgRs2] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.AsgRs2] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.AsgRs2] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.AsgRs2] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -842,12 +842,12 @@ module TypeScript { >NodeType.AsgRs2 : any >NodeType : any >AsgRs2 : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.ConditionalExpression] = ChildrenWalkers.walkTrinaryExpressionChildren; ->this.childrenWalkers[NodeType.ConditionalExpression] = ChildrenWalkers.walkTrinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.ConditionalExpression] = ChildrenWalkers.walkTrinaryExpressionChildren : (preAst: ConditionalExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.ConditionalExpression] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -855,12 +855,12 @@ module TypeScript { >NodeType.ConditionalExpression : any >NodeType : any >ConditionalExpression : any ->ChildrenWalkers.walkTrinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkTrinaryExpressionChildren : (preAst: ConditionalExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkTrinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkTrinaryExpressionChildren : (preAst: ConditionalExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.LogOr] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.LogOr] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.LogOr] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.LogOr] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -868,12 +868,12 @@ module TypeScript { >NodeType.LogOr : any >NodeType : any >LogOr : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.LogAnd] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.LogAnd] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.LogAnd] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.LogAnd] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -881,12 +881,12 @@ module TypeScript { >NodeType.LogAnd : any >NodeType : any >LogAnd : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Or] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.Or] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Or] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Or] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -894,12 +894,12 @@ module TypeScript { >NodeType.Or : any >NodeType : any >Or : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Xor] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.Xor] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Xor] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Xor] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -907,12 +907,12 @@ module TypeScript { >NodeType.Xor : any >NodeType : any >Xor : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.And] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.And] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.And] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.And] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -920,12 +920,12 @@ module TypeScript { >NodeType.And : any >NodeType : any >And : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Eq] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.Eq] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Eq] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Eq] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -933,12 +933,12 @@ module TypeScript { >NodeType.Eq : any >NodeType : any >Eq : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Ne] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.Ne] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Ne] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Ne] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -946,12 +946,12 @@ module TypeScript { >NodeType.Ne : any >NodeType : any >Ne : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Eqv] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.Eqv] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Eqv] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Eqv] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -959,12 +959,12 @@ module TypeScript { >NodeType.Eqv : any >NodeType : any >Eqv : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.NEqv] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.NEqv] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.NEqv] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.NEqv] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -972,12 +972,12 @@ module TypeScript { >NodeType.NEqv : any >NodeType : any >NEqv : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Lt] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.Lt] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Lt] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Lt] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -985,12 +985,12 @@ module TypeScript { >NodeType.Lt : any >NodeType : any >Lt : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Le] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.Le] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Le] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Le] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -998,12 +998,12 @@ module TypeScript { >NodeType.Le : any >NodeType : any >Le : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Gt] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.Gt] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Gt] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Gt] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1011,12 +1011,12 @@ module TypeScript { >NodeType.Gt : any >NodeType : any >Gt : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Ge] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.Ge] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Ge] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Ge] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1024,12 +1024,12 @@ module TypeScript { >NodeType.Ge : any >NodeType : any >Ge : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Add] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.Add] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Add] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Add] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1037,12 +1037,12 @@ module TypeScript { >NodeType.Add : any >NodeType : any >Add : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Sub] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.Sub] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Sub] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Sub] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1050,12 +1050,12 @@ module TypeScript { >NodeType.Sub : any >NodeType : any >Sub : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Mul] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.Mul] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Mul] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Mul] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1063,12 +1063,12 @@ module TypeScript { >NodeType.Mul : any >NodeType : any >Mul : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Div] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.Div] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Div] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Div] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1076,12 +1076,12 @@ module TypeScript { >NodeType.Div : any >NodeType : any >Div : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Mod] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.Mod] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Mod] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Mod] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1089,12 +1089,12 @@ module TypeScript { >NodeType.Mod : any >NodeType : any >Mod : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Lsh] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.Lsh] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Lsh] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Lsh] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1102,12 +1102,12 @@ module TypeScript { >NodeType.Lsh : any >NodeType : any >Lsh : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Rsh] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.Rsh] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Rsh] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Rsh] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1115,12 +1115,12 @@ module TypeScript { >NodeType.Rsh : any >NodeType : any >Rsh : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Rs2] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.Rs2] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Rs2] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Rs2] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1128,12 +1128,12 @@ module TypeScript { >NodeType.Rs2 : any >NodeType : any >Rs2 : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Not] = ChildrenWalkers.walkUnaryExpressionChildren; ->this.childrenWalkers[NodeType.Not] = ChildrenWalkers.walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Not] = ChildrenWalkers.walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Not] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1141,12 +1141,12 @@ module TypeScript { >NodeType.Not : any >NodeType : any >Not : any ->ChildrenWalkers.walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.LogNot] = ChildrenWalkers.walkUnaryExpressionChildren; ->this.childrenWalkers[NodeType.LogNot] = ChildrenWalkers.walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.LogNot] = ChildrenWalkers.walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.LogNot] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1154,12 +1154,12 @@ module TypeScript { >NodeType.LogNot : any >NodeType : any >LogNot : any ->ChildrenWalkers.walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.IncPre] = ChildrenWalkers.walkUnaryExpressionChildren; ->this.childrenWalkers[NodeType.IncPre] = ChildrenWalkers.walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.IncPre] = ChildrenWalkers.walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.IncPre] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1167,12 +1167,12 @@ module TypeScript { >NodeType.IncPre : any >NodeType : any >IncPre : any ->ChildrenWalkers.walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.DecPre] = ChildrenWalkers.walkUnaryExpressionChildren; ->this.childrenWalkers[NodeType.DecPre] = ChildrenWalkers.walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.DecPre] = ChildrenWalkers.walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.DecPre] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1180,12 +1180,12 @@ module TypeScript { >NodeType.DecPre : any >NodeType : any >DecPre : any ->ChildrenWalkers.walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.IncPost] = ChildrenWalkers.walkUnaryExpressionChildren; ->this.childrenWalkers[NodeType.IncPost] = ChildrenWalkers.walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.IncPost] = ChildrenWalkers.walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.IncPost] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1193,12 +1193,12 @@ module TypeScript { >NodeType.IncPost : any >NodeType : any >IncPost : any ->ChildrenWalkers.walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.DecPost] = ChildrenWalkers.walkUnaryExpressionChildren; ->this.childrenWalkers[NodeType.DecPost] = ChildrenWalkers.walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.DecPost] = ChildrenWalkers.walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.DecPost] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1206,12 +1206,12 @@ module TypeScript { >NodeType.DecPost : any >NodeType : any >DecPost : any ->ChildrenWalkers.walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.TypeAssertion] = ChildrenWalkers.walkUnaryExpressionChildren; ->this.childrenWalkers[NodeType.TypeAssertion] = ChildrenWalkers.walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.TypeAssertion] = ChildrenWalkers.walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.TypeAssertion] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1219,12 +1219,12 @@ module TypeScript { >NodeType.TypeAssertion : any >NodeType : any >TypeAssertion : any ->ChildrenWalkers.walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.FuncDecl] = ChildrenWalkers.walkFuncDeclChildren; ->this.childrenWalkers[NodeType.FuncDecl] = ChildrenWalkers.walkFuncDeclChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.FuncDecl] = ChildrenWalkers.walkFuncDeclChildren : (preAst: FuncDecl, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.FuncDecl] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1232,12 +1232,12 @@ module TypeScript { >NodeType.FuncDecl : any >NodeType : any >FuncDecl : any ->ChildrenWalkers.walkFuncDeclChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkFuncDeclChildren : (preAst: FuncDecl, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkFuncDeclChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkFuncDeclChildren : (preAst: FuncDecl, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Member] = ChildrenWalkers.walkBinaryExpressionChildren; ->this.childrenWalkers[NodeType.Member] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Member] = ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Member] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1245,12 +1245,12 @@ module TypeScript { >NodeType.Member : any >NodeType : any >Member : any ->ChildrenWalkers.walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.VarDecl] = ChildrenWalkers.walkBoundDeclChildren; ->this.childrenWalkers[NodeType.VarDecl] = ChildrenWalkers.walkBoundDeclChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.VarDecl] = ChildrenWalkers.walkBoundDeclChildren : (preAst: BoundDecl, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.VarDecl] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1258,12 +1258,12 @@ module TypeScript { >NodeType.VarDecl : any >NodeType : any >VarDecl : any ->ChildrenWalkers.walkBoundDeclChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBoundDeclChildren : (preAst: BoundDecl, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBoundDeclChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBoundDeclChildren : (preAst: BoundDecl, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.ArgDecl] = ChildrenWalkers.walkBoundDeclChildren; ->this.childrenWalkers[NodeType.ArgDecl] = ChildrenWalkers.walkBoundDeclChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.ArgDecl] = ChildrenWalkers.walkBoundDeclChildren : (preAst: BoundDecl, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.ArgDecl] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1271,12 +1271,12 @@ module TypeScript { >NodeType.ArgDecl : any >NodeType : any >ArgDecl : any ->ChildrenWalkers.walkBoundDeclChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBoundDeclChildren : (preAst: BoundDecl, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBoundDeclChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBoundDeclChildren : (preAst: BoundDecl, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Return] = ChildrenWalkers.walkReturnStatementChildren; ->this.childrenWalkers[NodeType.Return] = ChildrenWalkers.walkReturnStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Return] = ChildrenWalkers.walkReturnStatementChildren : (preAst: ReturnStatement, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Return] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1284,12 +1284,12 @@ module TypeScript { >NodeType.Return : any >NodeType : any >Return : any ->ChildrenWalkers.walkReturnStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkReturnStatementChildren : (preAst: ReturnStatement, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkReturnStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkReturnStatementChildren : (preAst: ReturnStatement, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Break] = ChildrenWalkers.walkNone; ->this.childrenWalkers[NodeType.Break] = ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Break] = ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Break] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1297,12 +1297,12 @@ module TypeScript { >NodeType.Break : any >NodeType : any >Break : any ->ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Continue] = ChildrenWalkers.walkNone; ->this.childrenWalkers[NodeType.Continue] = ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Continue] = ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Continue] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1310,12 +1310,12 @@ module TypeScript { >NodeType.Continue : any >NodeType : any >Continue : any ->ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Throw] = ChildrenWalkers.walkUnaryExpressionChildren; ->this.childrenWalkers[NodeType.Throw] = ChildrenWalkers.walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Throw] = ChildrenWalkers.walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Throw] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1323,12 +1323,12 @@ module TypeScript { >NodeType.Throw : any >NodeType : any >Throw : any ->ChildrenWalkers.walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.For] = ChildrenWalkers.walkForStatementChildren; ->this.childrenWalkers[NodeType.For] = ChildrenWalkers.walkForStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.For] = ChildrenWalkers.walkForStatementChildren : (preAst: ForStatement, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.For] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1336,12 +1336,12 @@ module TypeScript { >NodeType.For : any >NodeType : any >For : any ->ChildrenWalkers.walkForStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkForStatementChildren : (preAst: ForStatement, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkForStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkForStatementChildren : (preAst: ForStatement, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.ForIn] = ChildrenWalkers.walkForInStatementChildren; ->this.childrenWalkers[NodeType.ForIn] = ChildrenWalkers.walkForInStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.ForIn] = ChildrenWalkers.walkForInStatementChildren : (preAst: ForInStatement, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.ForIn] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1349,12 +1349,12 @@ module TypeScript { >NodeType.ForIn : any >NodeType : any >ForIn : any ->ChildrenWalkers.walkForInStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkForInStatementChildren : (preAst: ForInStatement, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkForInStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkForInStatementChildren : (preAst: ForInStatement, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.If] = ChildrenWalkers.walkIfStatementChildren; ->this.childrenWalkers[NodeType.If] = ChildrenWalkers.walkIfStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.If] = ChildrenWalkers.walkIfStatementChildren : (preAst: IfStatement, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.If] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1362,12 +1362,12 @@ module TypeScript { >NodeType.If : any >NodeType : any >If : any ->ChildrenWalkers.walkIfStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkIfStatementChildren : (preAst: IfStatement, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkIfStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkIfStatementChildren : (preAst: IfStatement, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.While] = ChildrenWalkers.walkWhileStatementChildren; ->this.childrenWalkers[NodeType.While] = ChildrenWalkers.walkWhileStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.While] = ChildrenWalkers.walkWhileStatementChildren : (preAst: WhileStatement, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.While] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1375,12 +1375,12 @@ module TypeScript { >NodeType.While : any >NodeType : any >While : any ->ChildrenWalkers.walkWhileStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkWhileStatementChildren : (preAst: WhileStatement, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkWhileStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkWhileStatementChildren : (preAst: WhileStatement, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.DoWhile] = ChildrenWalkers.walkDoWhileStatementChildren; ->this.childrenWalkers[NodeType.DoWhile] = ChildrenWalkers.walkDoWhileStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.DoWhile] = ChildrenWalkers.walkDoWhileStatementChildren : (preAst: DoWhileStatement, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.DoWhile] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1388,12 +1388,12 @@ module TypeScript { >NodeType.DoWhile : any >NodeType : any >DoWhile : any ->ChildrenWalkers.walkDoWhileStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkDoWhileStatementChildren : (preAst: DoWhileStatement, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkDoWhileStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkDoWhileStatementChildren : (preAst: DoWhileStatement, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Block] = ChildrenWalkers.walkBlockChildren; ->this.childrenWalkers[NodeType.Block] = ChildrenWalkers.walkBlockChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Block] = ChildrenWalkers.walkBlockChildren : (preAst: Block, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Block] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1401,12 +1401,12 @@ module TypeScript { >NodeType.Block : any >NodeType : any >Block : any ->ChildrenWalkers.walkBlockChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkBlockChildren : (preAst: Block, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkBlockChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkBlockChildren : (preAst: Block, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Case] = ChildrenWalkers.walkCaseStatementChildren; ->this.childrenWalkers[NodeType.Case] = ChildrenWalkers.walkCaseStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Case] = ChildrenWalkers.walkCaseStatementChildren : (preAst: CaseStatement, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Case] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1414,12 +1414,12 @@ module TypeScript { >NodeType.Case : any >NodeType : any >Case : any ->ChildrenWalkers.walkCaseStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkCaseStatementChildren : (preAst: CaseStatement, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkCaseStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkCaseStatementChildren : (preAst: CaseStatement, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Switch] = ChildrenWalkers.walkSwitchStatementChildren; ->this.childrenWalkers[NodeType.Switch] = ChildrenWalkers.walkSwitchStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Switch] = ChildrenWalkers.walkSwitchStatementChildren : (preAst: SwitchStatement, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Switch] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1427,12 +1427,12 @@ module TypeScript { >NodeType.Switch : any >NodeType : any >Switch : any ->ChildrenWalkers.walkSwitchStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkSwitchStatementChildren : (preAst: SwitchStatement, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkSwitchStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkSwitchStatementChildren : (preAst: SwitchStatement, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Try] = ChildrenWalkers.walkTryChildren; ->this.childrenWalkers[NodeType.Try] = ChildrenWalkers.walkTryChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Try] = ChildrenWalkers.walkTryChildren : (preAst: Try, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Try] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1440,12 +1440,12 @@ module TypeScript { >NodeType.Try : any >NodeType : any >Try : any ->ChildrenWalkers.walkTryChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkTryChildren : (preAst: Try, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkTryChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkTryChildren : (preAst: Try, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.TryCatch] = ChildrenWalkers.walkTryCatchChildren; ->this.childrenWalkers[NodeType.TryCatch] = ChildrenWalkers.walkTryCatchChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.TryCatch] = ChildrenWalkers.walkTryCatchChildren : (preAst: TryCatch, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.TryCatch] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1453,12 +1453,12 @@ module TypeScript { >NodeType.TryCatch : any >NodeType : any >TryCatch : any ->ChildrenWalkers.walkTryCatchChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkTryCatchChildren : (preAst: TryCatch, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkTryCatchChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkTryCatchChildren : (preAst: TryCatch, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.TryFinally] = ChildrenWalkers.walkTryFinallyChildren; ->this.childrenWalkers[NodeType.TryFinally] = ChildrenWalkers.walkTryFinallyChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.TryFinally] = ChildrenWalkers.walkTryFinallyChildren : (preAst: TryFinally, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.TryFinally] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1466,12 +1466,12 @@ module TypeScript { >NodeType.TryFinally : any >NodeType : any >TryFinally : any ->ChildrenWalkers.walkTryFinallyChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkTryFinallyChildren : (preAst: TryFinally, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkTryFinallyChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkTryFinallyChildren : (preAst: TryFinally, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Finally] = ChildrenWalkers.walkFinallyChildren; ->this.childrenWalkers[NodeType.Finally] = ChildrenWalkers.walkFinallyChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Finally] = ChildrenWalkers.walkFinallyChildren : (preAst: Finally, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Finally] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1479,12 +1479,12 @@ module TypeScript { >NodeType.Finally : any >NodeType : any >Finally : any ->ChildrenWalkers.walkFinallyChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkFinallyChildren : (preAst: Finally, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkFinallyChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkFinallyChildren : (preAst: Finally, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Catch] = ChildrenWalkers.walkCatchChildren; ->this.childrenWalkers[NodeType.Catch] = ChildrenWalkers.walkCatchChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Catch] = ChildrenWalkers.walkCatchChildren : (preAst: Catch, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Catch] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1492,12 +1492,12 @@ module TypeScript { >NodeType.Catch : any >NodeType : any >Catch : any ->ChildrenWalkers.walkCatchChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkCatchChildren : (preAst: Catch, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkCatchChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkCatchChildren : (preAst: Catch, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.List] = ChildrenWalkers.walkListChildren; ->this.childrenWalkers[NodeType.List] = ChildrenWalkers.walkListChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.List] = ChildrenWalkers.walkListChildren : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.List] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1505,12 +1505,12 @@ module TypeScript { >NodeType.List : any >NodeType : any >List : any ->ChildrenWalkers.walkListChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkListChildren : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkListChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkListChildren : (preAst: ASTList, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Script] = ChildrenWalkers.walkScriptChildren; ->this.childrenWalkers[NodeType.Script] = ChildrenWalkers.walkScriptChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Script] = ChildrenWalkers.walkScriptChildren : (preAst: Script, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Script] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1518,12 +1518,12 @@ module TypeScript { >NodeType.Script : any >NodeType : any >Script : any ->ChildrenWalkers.walkScriptChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkScriptChildren : (preAst: Script, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkScriptChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkScriptChildren : (preAst: Script, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.ClassDeclaration] = ChildrenWalkers.walkClassDeclChildren; ->this.childrenWalkers[NodeType.ClassDeclaration] = ChildrenWalkers.walkClassDeclChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.ClassDeclaration] = ChildrenWalkers.walkClassDeclChildren : (preAst: ClassDeclaration, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.ClassDeclaration] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1531,12 +1531,12 @@ module TypeScript { >NodeType.ClassDeclaration : any >NodeType : any >ClassDeclaration : any ->ChildrenWalkers.walkClassDeclChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkClassDeclChildren : (preAst: ClassDeclaration, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkClassDeclChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkClassDeclChildren : (preAst: ClassDeclaration, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.InterfaceDeclaration] = ChildrenWalkers.walkTypeDeclChildren; ->this.childrenWalkers[NodeType.InterfaceDeclaration] = ChildrenWalkers.walkTypeDeclChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.InterfaceDeclaration] = ChildrenWalkers.walkTypeDeclChildren : (preAst: InterfaceDeclaration, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.InterfaceDeclaration] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1544,12 +1544,12 @@ module TypeScript { >NodeType.InterfaceDeclaration : any >NodeType : any >InterfaceDeclaration : any ->ChildrenWalkers.walkTypeDeclChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkTypeDeclChildren : (preAst: InterfaceDeclaration, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkTypeDeclChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkTypeDeclChildren : (preAst: InterfaceDeclaration, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.ModuleDeclaration] = ChildrenWalkers.walkModuleDeclChildren; ->this.childrenWalkers[NodeType.ModuleDeclaration] = ChildrenWalkers.walkModuleDeclChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.ModuleDeclaration] = ChildrenWalkers.walkModuleDeclChildren : (preAst: ModuleDeclaration, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.ModuleDeclaration] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1557,12 +1557,12 @@ module TypeScript { >NodeType.ModuleDeclaration : any >NodeType : any >ModuleDeclaration : any ->ChildrenWalkers.walkModuleDeclChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkModuleDeclChildren : (preAst: ModuleDeclaration, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkModuleDeclChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkModuleDeclChildren : (preAst: ModuleDeclaration, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.ImportDeclaration] = ChildrenWalkers.walkImportDeclChildren; ->this.childrenWalkers[NodeType.ImportDeclaration] = ChildrenWalkers.walkImportDeclChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.ImportDeclaration] = ChildrenWalkers.walkImportDeclChildren : (preAst: ImportDeclaration, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.ImportDeclaration] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1570,12 +1570,12 @@ module TypeScript { >NodeType.ImportDeclaration : any >NodeType : any >ImportDeclaration : any ->ChildrenWalkers.walkImportDeclChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkImportDeclChildren : (preAst: ImportDeclaration, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkImportDeclChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkImportDeclChildren : (preAst: ImportDeclaration, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.With] = ChildrenWalkers.walkWithStatementChildren; ->this.childrenWalkers[NodeType.With] = ChildrenWalkers.walkWithStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.With] = ChildrenWalkers.walkWithStatementChildren : (preAst: WithStatement, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.With] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1583,12 +1583,12 @@ module TypeScript { >NodeType.With : any >NodeType : any >With : any ->ChildrenWalkers.walkWithStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkWithStatementChildren : (preAst: WithStatement, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkWithStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkWithStatementChildren : (preAst: WithStatement, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Label] = ChildrenWalkers.walkLabelChildren; ->this.childrenWalkers[NodeType.Label] = ChildrenWalkers.walkLabelChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Label] = ChildrenWalkers.walkLabelChildren : (preAst: Label, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Label] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1596,12 +1596,12 @@ module TypeScript { >NodeType.Label : any >NodeType : any >Label : any ->ChildrenWalkers.walkLabelChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkLabelChildren : (preAst: Label, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkLabelChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkLabelChildren : (preAst: Label, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.LabeledStatement] = ChildrenWalkers.walkLabeledStatementChildren; ->this.childrenWalkers[NodeType.LabeledStatement] = ChildrenWalkers.walkLabeledStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.LabeledStatement] = ChildrenWalkers.walkLabeledStatementChildren : (preAst: LabeledStatement, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.LabeledStatement] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1609,12 +1609,12 @@ module TypeScript { >NodeType.LabeledStatement : any >NodeType : any >LabeledStatement : any ->ChildrenWalkers.walkLabeledStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkLabeledStatementChildren : (preAst: LabeledStatement, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkLabeledStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void +>walkLabeledStatementChildren : (preAst: LabeledStatement, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.EBStart] = ChildrenWalkers.walkNone; ->this.childrenWalkers[NodeType.EBStart] = ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.EBStart] = ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.EBStart] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1622,12 +1622,12 @@ module TypeScript { >NodeType.EBStart : any >NodeType : any >EBStart : any ->ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.GotoEB] = ChildrenWalkers.walkNone; ->this.childrenWalkers[NodeType.GotoEB] = ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.GotoEB] = ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.GotoEB] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1635,12 +1635,12 @@ module TypeScript { >NodeType.GotoEB : any >NodeType : any >GotoEB : any ->ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.EndCode] = ChildrenWalkers.walkNone; ->this.childrenWalkers[NodeType.EndCode] = ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.EndCode] = ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.EndCode] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1648,12 +1648,12 @@ module TypeScript { >NodeType.EndCode : any >NodeType : any >EndCode : any ->ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Error] = ChildrenWalkers.walkNone; ->this.childrenWalkers[NodeType.Error] = ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Error] = ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Error] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1661,12 +1661,12 @@ module TypeScript { >NodeType.Error : any >NodeType : any >Error : any ->ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Comment] = ChildrenWalkers.walkNone; ->this.childrenWalkers[NodeType.Comment] = ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Comment] = ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Comment] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1674,12 +1674,12 @@ module TypeScript { >NodeType.Comment : any >NodeType : any >Comment : any ->ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void this.childrenWalkers[NodeType.Debugger] = ChildrenWalkers.walkNone; ->this.childrenWalkers[NodeType.Debugger] = ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>this.childrenWalkers[NodeType.Debugger] = ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >this.childrenWalkers[NodeType.Debugger] : IAstWalkChildren >this.childrenWalkers : IAstWalkChildren[] >this : this @@ -1687,9 +1687,9 @@ module TypeScript { >NodeType.Debugger : any >NodeType : any >Debugger : any ->ChildrenWalkers.walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void >ChildrenWalkers : typeof ChildrenWalkers ->walkNone : (preAst: any, parent: any, walker: IAstWalker) => void +>walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void // Verify the code is up to date with the enum for (var e in (NodeType)._map) { @@ -1744,25 +1744,25 @@ module TypeScript { >ChildrenWalkers : typeof ChildrenWalkers export function walkNone(preAst: ASTList, parent: AST, walker: IAstWalker): void { ->walkNone : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void +>preAst : ASTList +>parent : AST >walker : IAstWalker // Nothing to do } export function walkListChildren(preAst: ASTList, parent: AST, walker: IAstWalker): void { ->walkListChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkListChildren : (preAst: ASTList, parent: AST, walker: IAstWalker) => void +>preAst : ASTList +>parent : AST >walker : IAstWalker var len = preAst.members.length; >len : any >preAst.members.length : any >preAst.members : any ->preAst : any +>preAst : ASTList >members : any >length : any @@ -1792,22 +1792,22 @@ module TypeScript { >goNextSibling : boolean preAst.members[i] = walker.walk(preAst.members[i], preAst); ->preAst.members[i] = walker.walk(preAst.members[i], preAst) : any +>preAst.members[i] = walker.walk(preAst.members[i], preAst) : AST >preAst.members[i] : any >preAst.members : any ->preAst : any +>preAst : ASTList >members : any >i : number ->walker.walk(preAst.members[i], preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.members[i], preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.members[i] : any >preAst.members : any ->preAst : any +>preAst : ASTList >members : any >i : number ->preAst : any +>preAst : ASTList } } } @@ -1829,77 +1829,77 @@ module TypeScript { >goNextSibling : boolean preAst.members[i] = walker.walk(preAst.members[i], preAst); ->preAst.members[i] = walker.walk(preAst.members[i], preAst) : any +>preAst.members[i] = walker.walk(preAst.members[i], preAst) : AST >preAst.members[i] : any >preAst.members : any ->preAst : any +>preAst : ASTList >members : any >i : number ->walker.walk(preAst.members[i], preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.members[i], preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.members[i] : any >preAst.members : any ->preAst : any +>preAst : ASTList >members : any >i : number ->preAst : any +>preAst : ASTList } } } } export function walkUnaryExpressionChildren(preAst: UnaryExpression, parent: AST, walker: IAstWalker): void { ->walkUnaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkUnaryExpressionChildren : (preAst: UnaryExpression, parent: AST, walker: IAstWalker) => void +>preAst : UnaryExpression +>parent : AST >walker : IAstWalker if (preAst.castTerm) { >preAst.castTerm : any ->preAst : any +>preAst : UnaryExpression >castTerm : any preAst.castTerm = walker.walk(preAst.castTerm, preAst); ->preAst.castTerm = walker.walk(preAst.castTerm, preAst) : any +>preAst.castTerm = walker.walk(preAst.castTerm, preAst) : AST >preAst.castTerm : any ->preAst : any +>preAst : UnaryExpression >castTerm : any ->walker.walk(preAst.castTerm, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.castTerm, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.castTerm : any ->preAst : any +>preAst : UnaryExpression >castTerm : any ->preAst : any +>preAst : UnaryExpression } if (preAst.operand) { >preAst.operand : any ->preAst : any +>preAst : UnaryExpression >operand : any preAst.operand = walker.walk(preAst.operand, preAst); ->preAst.operand = walker.walk(preAst.operand, preAst) : any +>preAst.operand = walker.walk(preAst.operand, preAst) : AST >preAst.operand : any ->preAst : any +>preAst : UnaryExpression >operand : any ->walker.walk(preAst.operand, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.operand, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.operand : any ->preAst : any +>preAst : UnaryExpression >operand : any ->preAst : any +>preAst : UnaryExpression } } export function walkBinaryExpressionChildren(preAst: BinaryExpression, parent: AST, walker: IAstWalker): void { ->walkBinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkBinaryExpressionChildren : (preAst: BinaryExpression, parent: AST, walker: IAstWalker) => void +>preAst : BinaryExpression +>parent : AST >walker : IAstWalker if (walker.options.reverseSiblings) { @@ -1911,28 +1911,28 @@ module TypeScript { if (preAst.operand2) { >preAst.operand2 : any ->preAst : any +>preAst : BinaryExpression >operand2 : any preAst.operand2 = walker.walk(preAst.operand2, preAst); ->preAst.operand2 = walker.walk(preAst.operand2, preAst) : any +>preAst.operand2 = walker.walk(preAst.operand2, preAst) : AST >preAst.operand2 : any ->preAst : any +>preAst : BinaryExpression >operand2 : any ->walker.walk(preAst.operand2, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.operand2, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.operand2 : any ->preAst : any +>preAst : BinaryExpression >operand2 : any ->preAst : any +>preAst : BinaryExpression } if ((preAst.operand1) && (walker.options.goNextSibling)) { >(preAst.operand1) && (walker.options.goNextSibling) : boolean >(preAst.operand1) : any >preAst.operand1 : any ->preAst : any +>preAst : BinaryExpression >operand1 : any >(walker.options.goNextSibling) : boolean >walker.options.goNextSibling : boolean @@ -1942,44 +1942,44 @@ module TypeScript { >goNextSibling : boolean preAst.operand1 = walker.walk(preAst.operand1, preAst); ->preAst.operand1 = walker.walk(preAst.operand1, preAst) : any +>preAst.operand1 = walker.walk(preAst.operand1, preAst) : AST >preAst.operand1 : any ->preAst : any +>preAst : BinaryExpression >operand1 : any ->walker.walk(preAst.operand1, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.operand1, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.operand1 : any ->preAst : any +>preAst : BinaryExpression >operand1 : any ->preAst : any +>preAst : BinaryExpression } } else { if (preAst.operand1) { >preAst.operand1 : any ->preAst : any +>preAst : BinaryExpression >operand1 : any preAst.operand1 = walker.walk(preAst.operand1, preAst); ->preAst.operand1 = walker.walk(preAst.operand1, preAst) : any +>preAst.operand1 = walker.walk(preAst.operand1, preAst) : AST >preAst.operand1 : any ->preAst : any +>preAst : BinaryExpression >operand1 : any ->walker.walk(preAst.operand1, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.operand1, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.operand1 : any ->preAst : any +>preAst : BinaryExpression >operand1 : any ->preAst : any +>preAst : BinaryExpression } if ((preAst.operand2) && (walker.options.goNextSibling)) { >(preAst.operand2) && (walker.options.goNextSibling) : boolean >(preAst.operand2) : any >preAst.operand2 : any ->preAst : any +>preAst : BinaryExpression >operand2 : any >(walker.options.goNextSibling) : boolean >walker.options.goNextSibling : boolean @@ -1989,53 +1989,53 @@ module TypeScript { >goNextSibling : boolean preAst.operand2 = walker.walk(preAst.operand2, preAst); ->preAst.operand2 = walker.walk(preAst.operand2, preAst) : any +>preAst.operand2 = walker.walk(preAst.operand2, preAst) : AST >preAst.operand2 : any ->preAst : any +>preAst : BinaryExpression >operand2 : any ->walker.walk(preAst.operand2, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.operand2, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.operand2 : any ->preAst : any +>preAst : BinaryExpression >operand2 : any ->preAst : any +>preAst : BinaryExpression } } } export function walkTypeReferenceChildren(preAst: TypeReference, parent: AST, walker: IAstWalker): void { ->walkTypeReferenceChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkTypeReferenceChildren : (preAst: TypeReference, parent: AST, walker: IAstWalker) => void +>preAst : TypeReference +>parent : AST >walker : IAstWalker if (preAst.term) { >preAst.term : any ->preAst : any +>preAst : TypeReference >term : any preAst.term = walker.walk(preAst.term, preAst); ->preAst.term = walker.walk(preAst.term, preAst) : any +>preAst.term = walker.walk(preAst.term, preAst) : AST >preAst.term : any ->preAst : any +>preAst : TypeReference >term : any ->walker.walk(preAst.term, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.term, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.term : any ->preAst : any +>preAst : TypeReference >term : any ->preAst : any +>preAst : TypeReference } } export function walkCallExpressionChildren(preAst: CallExpression, parent: AST, walker: IAstWalker): void { ->walkCallExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkCallExpressionChildren : (preAst: CallExpression, parent: AST, walker: IAstWalker) => void +>preAst : CallExpression +>parent : AST >walker : IAstWalker if (!walker.options.reverseSiblings) { @@ -2047,23 +2047,23 @@ module TypeScript { >reverseSiblings : boolean preAst.target = walker.walk(preAst.target, preAst); ->preAst.target = walker.walk(preAst.target, preAst) : any +>preAst.target = walker.walk(preAst.target, preAst) : AST >preAst.target : any ->preAst : any +>preAst : CallExpression >target : any ->walker.walk(preAst.target, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.target, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.target : any ->preAst : any +>preAst : CallExpression >target : any ->preAst : any +>preAst : CallExpression } if (preAst.arguments && (walker.options.goNextSibling)) { >preAst.arguments && (walker.options.goNextSibling) : boolean >preAst.arguments : any ->preAst : any +>preAst : CallExpression >arguments : any >(walker.options.goNextSibling) : boolean >walker.options.goNextSibling : boolean @@ -2073,19 +2073,19 @@ module TypeScript { >goNextSibling : boolean preAst.arguments = walker.walk(preAst.arguments, preAst); ->preAst.arguments = walker.walk(preAst.arguments, preAst) : any +>preAst.arguments = walker.walk(preAst.arguments, preAst) : ASTList >preAst.arguments : any ->preAst : any +>preAst : CallExpression >arguments : any -> walker.walk(preAst.arguments, preAst) : any ->walker.walk(preAst.arguments, preAst) : any ->walker.walk : (ast: any, parent: any) => any +> walker.walk(preAst.arguments, preAst) : ASTList +>walker.walk(preAst.arguments, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.arguments : any ->preAst : any +>preAst : CallExpression >arguments : any ->preAst : any +>preAst : CallExpression } if ((walker.options.reverseSiblings) && (walker.options.goNextSibling)) { >(walker.options.reverseSiblings) && (walker.options.goNextSibling) : boolean @@ -2103,50 +2103,50 @@ module TypeScript { >goNextSibling : boolean preAst.target = walker.walk(preAst.target, preAst); ->preAst.target = walker.walk(preAst.target, preAst) : any +>preAst.target = walker.walk(preAst.target, preAst) : AST >preAst.target : any ->preAst : any +>preAst : CallExpression >target : any ->walker.walk(preAst.target, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.target, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.target : any ->preAst : any +>preAst : CallExpression >target : any ->preAst : any +>preAst : CallExpression } } export function walkTrinaryExpressionChildren(preAst: ConditionalExpression, parent: AST, walker: IAstWalker): void { ->walkTrinaryExpressionChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkTrinaryExpressionChildren : (preAst: ConditionalExpression, parent: AST, walker: IAstWalker) => void +>preAst : ConditionalExpression +>parent : AST >walker : IAstWalker if (preAst.operand1) { >preAst.operand1 : any ->preAst : any +>preAst : ConditionalExpression >operand1 : any preAst.operand1 = walker.walk(preAst.operand1, preAst); ->preAst.operand1 = walker.walk(preAst.operand1, preAst) : any +>preAst.operand1 = walker.walk(preAst.operand1, preAst) : AST >preAst.operand1 : any ->preAst : any +>preAst : ConditionalExpression >operand1 : any ->walker.walk(preAst.operand1, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.operand1, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.operand1 : any ->preAst : any +>preAst : ConditionalExpression >operand1 : any ->preAst : any +>preAst : ConditionalExpression } if (preAst.operand2 && (walker.options.goNextSibling)) { >preAst.operand2 && (walker.options.goNextSibling) : boolean >preAst.operand2 : any ->preAst : any +>preAst : ConditionalExpression >operand2 : any >(walker.options.goNextSibling) : boolean >walker.options.goNextSibling : boolean @@ -2156,23 +2156,23 @@ module TypeScript { >goNextSibling : boolean preAst.operand2 = walker.walk(preAst.operand2, preAst); ->preAst.operand2 = walker.walk(preAst.operand2, preAst) : any +>preAst.operand2 = walker.walk(preAst.operand2, preAst) : AST >preAst.operand2 : any ->preAst : any +>preAst : ConditionalExpression >operand2 : any ->walker.walk(preAst.operand2, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.operand2, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.operand2 : any ->preAst : any +>preAst : ConditionalExpression >operand2 : any ->preAst : any +>preAst : ConditionalExpression } if (preAst.operand3 && (walker.options.goNextSibling)) { >preAst.operand3 && (walker.options.goNextSibling) : boolean >preAst.operand3 : any ->preAst : any +>preAst : ConditionalExpression >operand3 : any >(walker.options.goNextSibling) : boolean >walker.options.goNextSibling : boolean @@ -2182,59 +2182,59 @@ module TypeScript { >goNextSibling : boolean preAst.operand3 = walker.walk(preAst.operand3, preAst); ->preAst.operand3 = walker.walk(preAst.operand3, preAst) : any +>preAst.operand3 = walker.walk(preAst.operand3, preAst) : AST >preAst.operand3 : any ->preAst : any +>preAst : ConditionalExpression >operand3 : any ->walker.walk(preAst.operand3, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.operand3, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.operand3 : any ->preAst : any +>preAst : ConditionalExpression >operand3 : any ->preAst : any +>preAst : ConditionalExpression } } export function walkFuncDeclChildren(preAst: FuncDecl, parent: AST, walker: IAstWalker): void { ->walkFuncDeclChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkFuncDeclChildren : (preAst: FuncDecl, parent: AST, walker: IAstWalker) => void +>preAst : FuncDecl +>parent : AST >walker : IAstWalker if (preAst.name) { >preAst.name : any ->preAst : any +>preAst : FuncDecl >name : any preAst.name = walker.walk(preAst.name, preAst); ->preAst.name = walker.walk(preAst.name, preAst) : any +>preAst.name = walker.walk(preAst.name, preAst) : Identifier >preAst.name : any ->preAst : any +>preAst : FuncDecl >name : any ->walker.walk(preAst.name, preAst) : any ->walker.walk(preAst.name, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.name, preAst) : Identifier +>walker.walk(preAst.name, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.name : any ->preAst : any +>preAst : FuncDecl >name : any ->preAst : any +>preAst : FuncDecl } if (preAst.arguments && (preAst.arguments.members.length > 0) && (walker.options.goNextSibling)) { >preAst.arguments && (preAst.arguments.members.length > 0) && (walker.options.goNextSibling) : boolean >preAst.arguments && (preAst.arguments.members.length > 0) : boolean >preAst.arguments : any ->preAst : any +>preAst : FuncDecl >arguments : any >(preAst.arguments.members.length > 0) : boolean >preAst.arguments.members.length > 0 : boolean >preAst.arguments.members.length : any >preAst.arguments.members : any >preAst.arguments : any ->preAst : any +>preAst : FuncDecl >arguments : any >members : any >length : any @@ -2247,24 +2247,24 @@ module TypeScript { >goNextSibling : boolean preAst.arguments = walker.walk(preAst.arguments, preAst); ->preAst.arguments = walker.walk(preAst.arguments, preAst) : any +>preAst.arguments = walker.walk(preAst.arguments, preAst) : ASTList >preAst.arguments : any ->preAst : any +>preAst : FuncDecl >arguments : any ->walker.walk(preAst.arguments, preAst) : any ->walker.walk(preAst.arguments, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.arguments, preAst) : ASTList +>walker.walk(preAst.arguments, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.arguments : any ->preAst : any +>preAst : FuncDecl >arguments : any ->preAst : any +>preAst : FuncDecl } if (preAst.returnTypeAnnotation && (walker.options.goNextSibling)) { >preAst.returnTypeAnnotation && (walker.options.goNextSibling) : boolean >preAst.returnTypeAnnotation : any ->preAst : any +>preAst : FuncDecl >returnTypeAnnotation : any >(walker.options.goNextSibling) : boolean >walker.options.goNextSibling : boolean @@ -2274,31 +2274,31 @@ module TypeScript { >goNextSibling : boolean preAst.returnTypeAnnotation = walker.walk(preAst.returnTypeAnnotation, preAst); ->preAst.returnTypeAnnotation = walker.walk(preAst.returnTypeAnnotation, preAst) : any +>preAst.returnTypeAnnotation = walker.walk(preAst.returnTypeAnnotation, preAst) : AST >preAst.returnTypeAnnotation : any ->preAst : any +>preAst : FuncDecl >returnTypeAnnotation : any ->walker.walk(preAst.returnTypeAnnotation, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.returnTypeAnnotation, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.returnTypeAnnotation : any ->preAst : any +>preAst : FuncDecl >returnTypeAnnotation : any ->preAst : any +>preAst : FuncDecl } if (preAst.bod && (preAst.bod.members.length > 0) && (walker.options.goNextSibling)) { >preAst.bod && (preAst.bod.members.length > 0) && (walker.options.goNextSibling) : boolean >preAst.bod && (preAst.bod.members.length > 0) : boolean >preAst.bod : any ->preAst : any +>preAst : FuncDecl >bod : any >(preAst.bod.members.length > 0) : boolean >preAst.bod.members.length > 0 : boolean >preAst.bod.members.length : any >preAst.bod.members : any >preAst.bod : any ->preAst : any +>preAst : FuncDecl >bod : any >members : any >length : any @@ -2311,72 +2311,72 @@ module TypeScript { >goNextSibling : boolean preAst.bod = walker.walk(preAst.bod, preAst); ->preAst.bod = walker.walk(preAst.bod, preAst) : any +>preAst.bod = walker.walk(preAst.bod, preAst) : ASTList >preAst.bod : any ->preAst : any +>preAst : FuncDecl >bod : any ->walker.walk(preAst.bod, preAst) : any ->walker.walk(preAst.bod, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.bod, preAst) : ASTList +>walker.walk(preAst.bod, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.bod : any ->preAst : any +>preAst : FuncDecl >bod : any ->preAst : any +>preAst : FuncDecl } } export function walkBoundDeclChildren(preAst: BoundDecl, parent: AST, walker: IAstWalker): void { ->walkBoundDeclChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkBoundDeclChildren : (preAst: BoundDecl, parent: AST, walker: IAstWalker) => void +>preAst : BoundDecl +>parent : AST >walker : IAstWalker if (preAst.id) { >preAst.id : any ->preAst : any +>preAst : BoundDecl >id : any preAst.id = walker.walk(preAst.id, preAst); ->preAst.id = walker.walk(preAst.id, preAst) : any +>preAst.id = walker.walk(preAst.id, preAst) : Identifier >preAst.id : any ->preAst : any +>preAst : BoundDecl >id : any ->walker.walk(preAst.id, preAst) : any ->walker.walk(preAst.id, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.id, preAst) : Identifier +>walker.walk(preAst.id, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.id : any ->preAst : any +>preAst : BoundDecl >id : any ->preAst : any +>preAst : BoundDecl } if (preAst.init) { >preAst.init : any ->preAst : any +>preAst : BoundDecl >init : any preAst.init = walker.walk(preAst.init, preAst); ->preAst.init = walker.walk(preAst.init, preAst) : any +>preAst.init = walker.walk(preAst.init, preAst) : AST >preAst.init : any ->preAst : any +>preAst : BoundDecl >init : any ->walker.walk(preAst.init, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.init, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.init : any ->preAst : any +>preAst : BoundDecl >init : any ->preAst : any +>preAst : BoundDecl } if ((preAst.typeExpr) && (walker.options.goNextSibling)) { >(preAst.typeExpr) && (walker.options.goNextSibling) : boolean >(preAst.typeExpr) : any >preAst.typeExpr : any ->preAst : any +>preAst : BoundDecl >typeExpr : any >(walker.options.goNextSibling) : boolean >walker.options.goNextSibling : boolean @@ -2386,78 +2386,78 @@ module TypeScript { >goNextSibling : boolean preAst.typeExpr = walker.walk(preAst.typeExpr, preAst); ->preAst.typeExpr = walker.walk(preAst.typeExpr, preAst) : any +>preAst.typeExpr = walker.walk(preAst.typeExpr, preAst) : AST >preAst.typeExpr : any ->preAst : any +>preAst : BoundDecl >typeExpr : any ->walker.walk(preAst.typeExpr, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.typeExpr, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.typeExpr : any ->preAst : any +>preAst : BoundDecl >typeExpr : any ->preAst : any +>preAst : BoundDecl } } export function walkReturnStatementChildren(preAst: ReturnStatement, parent: AST, walker: IAstWalker): void { ->walkReturnStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkReturnStatementChildren : (preAst: ReturnStatement, parent: AST, walker: IAstWalker) => void +>preAst : ReturnStatement +>parent : AST >walker : IAstWalker if (preAst.returnExpression) { >preAst.returnExpression : any ->preAst : any +>preAst : ReturnStatement >returnExpression : any preAst.returnExpression = walker.walk(preAst.returnExpression, preAst); ->preAst.returnExpression = walker.walk(preAst.returnExpression, preAst) : any +>preAst.returnExpression = walker.walk(preAst.returnExpression, preAst) : AST >preAst.returnExpression : any ->preAst : any +>preAst : ReturnStatement >returnExpression : any ->walker.walk(preAst.returnExpression, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.returnExpression, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.returnExpression : any ->preAst : any +>preAst : ReturnStatement >returnExpression : any ->preAst : any +>preAst : ReturnStatement } } export function walkForStatementChildren(preAst: ForStatement, parent: AST, walker: IAstWalker): void { ->walkForStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkForStatementChildren : (preAst: ForStatement, parent: AST, walker: IAstWalker) => void +>preAst : ForStatement +>parent : AST >walker : IAstWalker if (preAst.init) { >preAst.init : any ->preAst : any +>preAst : ForStatement >init : any preAst.init = walker.walk(preAst.init, preAst); ->preAst.init = walker.walk(preAst.init, preAst) : any +>preAst.init = walker.walk(preAst.init, preAst) : AST >preAst.init : any ->preAst : any +>preAst : ForStatement >init : any ->walker.walk(preAst.init, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.init, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.init : any ->preAst : any +>preAst : ForStatement >init : any ->preAst : any +>preAst : ForStatement } if (preAst.cond && walker.options.goNextSibling) { >preAst.cond && walker.options.goNextSibling : boolean >preAst.cond : any ->preAst : any +>preAst : ForStatement >cond : any >walker.options.goNextSibling : boolean >walker.options : AstWalkOptions @@ -2466,24 +2466,24 @@ module TypeScript { >goNextSibling : boolean preAst.cond = walker.walk(preAst.cond, preAst); ->preAst.cond = walker.walk(preAst.cond, preAst) : any +>preAst.cond = walker.walk(preAst.cond, preAst) : AST >preAst.cond : any ->preAst : any +>preAst : ForStatement >cond : any ->walker.walk(preAst.cond, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.cond, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.cond : any ->preAst : any +>preAst : ForStatement >cond : any ->preAst : any +>preAst : ForStatement } if (preAst.incr && walker.options.goNextSibling) { >preAst.incr && walker.options.goNextSibling : boolean >preAst.incr : any ->preAst : any +>preAst : ForStatement >incr : any >walker.options.goNextSibling : boolean >walker.options : AstWalkOptions @@ -2492,24 +2492,24 @@ module TypeScript { >goNextSibling : boolean preAst.incr = walker.walk(preAst.incr, preAst); ->preAst.incr = walker.walk(preAst.incr, preAst) : any +>preAst.incr = walker.walk(preAst.incr, preAst) : AST >preAst.incr : any ->preAst : any +>preAst : ForStatement >incr : any ->walker.walk(preAst.incr, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.incr, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.incr : any ->preAst : any +>preAst : ForStatement >incr : any ->preAst : any +>preAst : ForStatement } if (preAst.body && walker.options.goNextSibling) { >preAst.body && walker.options.goNextSibling : boolean >preAst.body : any ->preAst : any +>preAst : ForStatement >body : any >walker.options.goNextSibling : boolean >walker.options : AstWalkOptions @@ -2518,40 +2518,40 @@ module TypeScript { >goNextSibling : boolean preAst.body = walker.walk(preAst.body, preAst); ->preAst.body = walker.walk(preAst.body, preAst) : any +>preAst.body = walker.walk(preAst.body, preAst) : AST >preAst.body : any ->preAst : any +>preAst : ForStatement >body : any ->walker.walk(preAst.body, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.body, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.body : any ->preAst : any +>preAst : ForStatement >body : any ->preAst : any +>preAst : ForStatement } } export function walkForInStatementChildren(preAst: ForInStatement, parent: AST, walker: IAstWalker): void { ->walkForInStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkForInStatementChildren : (preAst: ForInStatement, parent: AST, walker: IAstWalker) => void +>preAst : ForInStatement +>parent : AST >walker : IAstWalker preAst.lval = walker.walk(preAst.lval, preAst); ->preAst.lval = walker.walk(preAst.lval, preAst) : any +>preAst.lval = walker.walk(preAst.lval, preAst) : AST >preAst.lval : any ->preAst : any +>preAst : ForInStatement >lval : any ->walker.walk(preAst.lval, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.lval, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.lval : any ->preAst : any +>preAst : ForInStatement >lval : any ->preAst : any +>preAst : ForInStatement if (walker.options.goNextSibling) { >walker.options.goNextSibling : boolean @@ -2561,23 +2561,23 @@ module TypeScript { >goNextSibling : boolean preAst.obj = walker.walk(preAst.obj, preAst); ->preAst.obj = walker.walk(preAst.obj, preAst) : any +>preAst.obj = walker.walk(preAst.obj, preAst) : AST >preAst.obj : any ->preAst : any +>preAst : ForInStatement >obj : any ->walker.walk(preAst.obj, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.obj, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.obj : any ->preAst : any +>preAst : ForInStatement >obj : any ->preAst : any +>preAst : ForInStatement } if (preAst.body && (walker.options.goNextSibling)) { >preAst.body && (walker.options.goNextSibling) : boolean >preAst.body : any ->preAst : any +>preAst : ForInStatement >body : any >(walker.options.goNextSibling) : boolean >walker.options.goNextSibling : boolean @@ -2587,45 +2587,45 @@ module TypeScript { >goNextSibling : boolean preAst.body = walker.walk(preAst.body, preAst); ->preAst.body = walker.walk(preAst.body, preAst) : any +>preAst.body = walker.walk(preAst.body, preAst) : AST >preAst.body : any ->preAst : any +>preAst : ForInStatement >body : any ->walker.walk(preAst.body, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.body, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.body : any ->preAst : any +>preAst : ForInStatement >body : any ->preAst : any +>preAst : ForInStatement } } export function walkIfStatementChildren(preAst: IfStatement, parent: AST, walker: IAstWalker): void { ->walkIfStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkIfStatementChildren : (preAst: IfStatement, parent: AST, walker: IAstWalker) => void +>preAst : IfStatement +>parent : AST >walker : IAstWalker preAst.cond = walker.walk(preAst.cond, preAst); ->preAst.cond = walker.walk(preAst.cond, preAst) : any +>preAst.cond = walker.walk(preAst.cond, preAst) : AST >preAst.cond : any ->preAst : any +>preAst : IfStatement >cond : any ->walker.walk(preAst.cond, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.cond, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.cond : any ->preAst : any +>preAst : IfStatement >cond : any ->preAst : any +>preAst : IfStatement if (preAst.thenBod && (walker.options.goNextSibling)) { >preAst.thenBod && (walker.options.goNextSibling) : boolean >preAst.thenBod : any ->preAst : any +>preAst : IfStatement >thenBod : any >(walker.options.goNextSibling) : boolean >walker.options.goNextSibling : boolean @@ -2635,23 +2635,23 @@ module TypeScript { >goNextSibling : boolean preAst.thenBod = walker.walk(preAst.thenBod, preAst); ->preAst.thenBod = walker.walk(preAst.thenBod, preAst) : any +>preAst.thenBod = walker.walk(preAst.thenBod, preAst) : AST >preAst.thenBod : any ->preAst : any +>preAst : IfStatement >thenBod : any ->walker.walk(preAst.thenBod, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.thenBod, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.thenBod : any ->preAst : any +>preAst : IfStatement >thenBod : any ->preAst : any +>preAst : IfStatement } if (preAst.elseBod && (walker.options.goNextSibling)) { >preAst.elseBod && (walker.options.goNextSibling) : boolean >preAst.elseBod : any ->preAst : any +>preAst : IfStatement >elseBod : any >(walker.options.goNextSibling) : boolean >walker.options.goNextSibling : boolean @@ -2661,45 +2661,45 @@ module TypeScript { >goNextSibling : boolean preAst.elseBod = walker.walk(preAst.elseBod, preAst); ->preAst.elseBod = walker.walk(preAst.elseBod, preAst) : any +>preAst.elseBod = walker.walk(preAst.elseBod, preAst) : AST >preAst.elseBod : any ->preAst : any +>preAst : IfStatement >elseBod : any ->walker.walk(preAst.elseBod, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.elseBod, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.elseBod : any ->preAst : any +>preAst : IfStatement >elseBod : any ->preAst : any +>preAst : IfStatement } } export function walkWhileStatementChildren(preAst: WhileStatement, parent: AST, walker: IAstWalker): void { ->walkWhileStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkWhileStatementChildren : (preAst: WhileStatement, parent: AST, walker: IAstWalker) => void +>preAst : WhileStatement +>parent : AST >walker : IAstWalker preAst.cond = walker.walk(preAst.cond, preAst); ->preAst.cond = walker.walk(preAst.cond, preAst) : any +>preAst.cond = walker.walk(preAst.cond, preAst) : AST >preAst.cond : any ->preAst : any +>preAst : WhileStatement >cond : any ->walker.walk(preAst.cond, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.cond, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.cond : any ->preAst : any +>preAst : WhileStatement >cond : any ->preAst : any +>preAst : WhileStatement if (preAst.body && (walker.options.goNextSibling)) { >preAst.body && (walker.options.goNextSibling) : boolean >preAst.body : any ->preAst : any +>preAst : WhileStatement >body : any >(walker.options.goNextSibling) : boolean >walker.options.goNextSibling : boolean @@ -2709,45 +2709,45 @@ module TypeScript { >goNextSibling : boolean preAst.body = walker.walk(preAst.body, preAst); ->preAst.body = walker.walk(preAst.body, preAst) : any +>preAst.body = walker.walk(preAst.body, preAst) : AST >preAst.body : any ->preAst : any +>preAst : WhileStatement >body : any ->walker.walk(preAst.body, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.body, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.body : any ->preAst : any +>preAst : WhileStatement >body : any ->preAst : any +>preAst : WhileStatement } } export function walkDoWhileStatementChildren(preAst: DoWhileStatement, parent: AST, walker: IAstWalker): void { ->walkDoWhileStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkDoWhileStatementChildren : (preAst: DoWhileStatement, parent: AST, walker: IAstWalker) => void +>preAst : DoWhileStatement +>parent : AST >walker : IAstWalker preAst.cond = walker.walk(preAst.cond, preAst); ->preAst.cond = walker.walk(preAst.cond, preAst) : any +>preAst.cond = walker.walk(preAst.cond, preAst) : AST >preAst.cond : any ->preAst : any +>preAst : DoWhileStatement >cond : any ->walker.walk(preAst.cond, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.cond, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.cond : any ->preAst : any +>preAst : DoWhileStatement >cond : any ->preAst : any +>preAst : DoWhileStatement if (preAst.body && (walker.options.goNextSibling)) { >preAst.body && (walker.options.goNextSibling) : boolean >preAst.body : any ->preAst : any +>preAst : DoWhileStatement >body : any >(walker.options.goNextSibling) : boolean >walker.options.goNextSibling : boolean @@ -2757,79 +2757,79 @@ module TypeScript { >goNextSibling : boolean preAst.body = walker.walk(preAst.body, preAst); ->preAst.body = walker.walk(preAst.body, preAst) : any +>preAst.body = walker.walk(preAst.body, preAst) : AST >preAst.body : any ->preAst : any +>preAst : DoWhileStatement >body : any ->walker.walk(preAst.body, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.body, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.body : any ->preAst : any +>preAst : DoWhileStatement >body : any ->preAst : any +>preAst : DoWhileStatement } } export function walkBlockChildren(preAst: Block, parent: AST, walker: IAstWalker): void { ->walkBlockChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkBlockChildren : (preAst: Block, parent: AST, walker: IAstWalker) => void +>preAst : Block +>parent : AST >walker : IAstWalker if (preAst.statements) { >preAst.statements : any ->preAst : any +>preAst : Block >statements : any preAst.statements = walker.walk(preAst.statements, preAst); ->preAst.statements = walker.walk(preAst.statements, preAst) : any +>preAst.statements = walker.walk(preAst.statements, preAst) : ASTList >preAst.statements : any ->preAst : any +>preAst : Block >statements : any ->walker.walk(preAst.statements, preAst) : any ->walker.walk(preAst.statements, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.statements, preAst) : ASTList +>walker.walk(preAst.statements, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.statements : any ->preAst : any +>preAst : Block >statements : any ->preAst : any +>preAst : Block } } export function walkCaseStatementChildren(preAst: CaseStatement, parent: AST, walker: IAstWalker): void { ->walkCaseStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkCaseStatementChildren : (preAst: CaseStatement, parent: AST, walker: IAstWalker) => void +>preAst : CaseStatement +>parent : AST >walker : IAstWalker if (preAst.expr) { >preAst.expr : any ->preAst : any +>preAst : CaseStatement >expr : any preAst.expr = walker.walk(preAst.expr, preAst); ->preAst.expr = walker.walk(preAst.expr, preAst) : any +>preAst.expr = walker.walk(preAst.expr, preAst) : AST >preAst.expr : any ->preAst : any +>preAst : CaseStatement >expr : any ->walker.walk(preAst.expr, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.expr, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.expr : any ->preAst : any +>preAst : CaseStatement >expr : any ->preAst : any +>preAst : CaseStatement } if (preAst.body && walker.options.goNextSibling) { >preAst.body && walker.options.goNextSibling : boolean >preAst.body : any ->preAst : any +>preAst : CaseStatement >body : any >walker.options.goNextSibling : boolean >walker.options : AstWalkOptions @@ -2838,53 +2838,53 @@ module TypeScript { >goNextSibling : boolean preAst.body = walker.walk(preAst.body, preAst); ->preAst.body = walker.walk(preAst.body, preAst) : any +>preAst.body = walker.walk(preAst.body, preAst) : ASTList >preAst.body : any ->preAst : any +>preAst : CaseStatement >body : any ->walker.walk(preAst.body, preAst) : any ->walker.walk(preAst.body, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.body, preAst) : ASTList +>walker.walk(preAst.body, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.body : any ->preAst : any +>preAst : CaseStatement >body : any ->preAst : any +>preAst : CaseStatement } } export function walkSwitchStatementChildren(preAst: SwitchStatement, parent: AST, walker: IAstWalker): void { ->walkSwitchStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkSwitchStatementChildren : (preAst: SwitchStatement, parent: AST, walker: IAstWalker) => void +>preAst : SwitchStatement +>parent : AST >walker : IAstWalker if (preAst.val) { >preAst.val : any ->preAst : any +>preAst : SwitchStatement >val : any preAst.val = walker.walk(preAst.val, preAst); ->preAst.val = walker.walk(preAst.val, preAst) : any +>preAst.val = walker.walk(preAst.val, preAst) : AST >preAst.val : any ->preAst : any +>preAst : SwitchStatement >val : any ->walker.walk(preAst.val, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.val, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.val : any ->preAst : any +>preAst : SwitchStatement >val : any ->preAst : any +>preAst : SwitchStatement } if ((preAst.caseList) && walker.options.goNextSibling) { >(preAst.caseList) && walker.options.goNextSibling : boolean >(preAst.caseList) : any >preAst.caseList : any ->preAst : any +>preAst : SwitchStatement >caseList : any >walker.options.goNextSibling : boolean >walker.options : AstWalkOptions @@ -2893,81 +2893,81 @@ module TypeScript { >goNextSibling : boolean preAst.caseList = walker.walk(preAst.caseList, preAst); ->preAst.caseList = walker.walk(preAst.caseList, preAst) : any +>preAst.caseList = walker.walk(preAst.caseList, preAst) : ASTList >preAst.caseList : any ->preAst : any +>preAst : SwitchStatement >caseList : any ->walker.walk(preAst.caseList, preAst) : any ->walker.walk(preAst.caseList, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.caseList, preAst) : ASTList +>walker.walk(preAst.caseList, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.caseList : any ->preAst : any +>preAst : SwitchStatement >caseList : any ->preAst : any +>preAst : SwitchStatement } } export function walkTryChildren(preAst: Try, parent: AST, walker: IAstWalker): void { ->walkTryChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkTryChildren : (preAst: Try, parent: AST, walker: IAstWalker) => void +>preAst : Try +>parent : AST >walker : IAstWalker if (preAst.body) { >preAst.body : any ->preAst : any +>preAst : Try >body : any preAst.body = walker.walk(preAst.body, preAst); ->preAst.body = walker.walk(preAst.body, preAst) : any +>preAst.body = walker.walk(preAst.body, preAst) : AST >preAst.body : any ->preAst : any +>preAst : Try >body : any ->walker.walk(preAst.body, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.body, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.body : any ->preAst : any +>preAst : Try >body : any ->preAst : any +>preAst : Try } } export function walkTryCatchChildren(preAst: TryCatch, parent: AST, walker: IAstWalker): void { ->walkTryCatchChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkTryCatchChildren : (preAst: TryCatch, parent: AST, walker: IAstWalker) => void +>preAst : TryCatch +>parent : AST >walker : IAstWalker if (preAst.tryNode) { >preAst.tryNode : any ->preAst : any +>preAst : TryCatch >tryNode : any preAst.tryNode = walker.walk(preAst.tryNode, preAst); ->preAst.tryNode = walker.walk(preAst.tryNode, preAst) : any +>preAst.tryNode = walker.walk(preAst.tryNode, preAst) : Try >preAst.tryNode : any ->preAst : any +>preAst : TryCatch >tryNode : any ->walker.walk(preAst.tryNode, preAst) : any ->walker.walk(preAst.tryNode, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.tryNode, preAst) : Try +>walker.walk(preAst.tryNode, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.tryNode : any ->preAst : any +>preAst : TryCatch >tryNode : any ->preAst : any +>preAst : TryCatch } if ((preAst.catchNode) && walker.options.goNextSibling) { >(preAst.catchNode) && walker.options.goNextSibling : boolean >(preAst.catchNode) : any >preAst.catchNode : any ->preAst : any +>preAst : TryCatch >catchNode : any >walker.options.goNextSibling : boolean >walker.options : AstWalkOptions @@ -2976,52 +2976,52 @@ module TypeScript { >goNextSibling : boolean preAst.catchNode = walker.walk(preAst.catchNode, preAst); ->preAst.catchNode = walker.walk(preAst.catchNode, preAst) : any +>preAst.catchNode = walker.walk(preAst.catchNode, preAst) : Catch >preAst.catchNode : any ->preAst : any +>preAst : TryCatch >catchNode : any ->walker.walk(preAst.catchNode, preAst) : any ->walker.walk(preAst.catchNode, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.catchNode, preAst) : Catch +>walker.walk(preAst.catchNode, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.catchNode : any ->preAst : any +>preAst : TryCatch >catchNode : any ->preAst : any +>preAst : TryCatch } } export function walkTryFinallyChildren(preAst: TryFinally, parent: AST, walker: IAstWalker): void { ->walkTryFinallyChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkTryFinallyChildren : (preAst: TryFinally, parent: AST, walker: IAstWalker) => void +>preAst : TryFinally +>parent : AST >walker : IAstWalker if (preAst.tryNode) { >preAst.tryNode : any ->preAst : any +>preAst : TryFinally >tryNode : any preAst.tryNode = walker.walk(preAst.tryNode, preAst); ->preAst.tryNode = walker.walk(preAst.tryNode, preAst) : any +>preAst.tryNode = walker.walk(preAst.tryNode, preAst) : AST >preAst.tryNode : any ->preAst : any +>preAst : TryFinally >tryNode : any ->walker.walk(preAst.tryNode, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.tryNode, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.tryNode : any ->preAst : any +>preAst : TryFinally >tryNode : any ->preAst : any +>preAst : TryFinally } if (preAst.finallyNode && walker.options.goNextSibling) { >preAst.finallyNode && walker.options.goNextSibling : boolean >preAst.finallyNode : any ->preAst : any +>preAst : TryFinally >finallyNode : any >walker.options.goNextSibling : boolean >walker.options : AstWalkOptions @@ -3030,81 +3030,81 @@ module TypeScript { >goNextSibling : boolean preAst.finallyNode = walker.walk(preAst.finallyNode, preAst); ->preAst.finallyNode = walker.walk(preAst.finallyNode, preAst) : any +>preAst.finallyNode = walker.walk(preAst.finallyNode, preAst) : Finally >preAst.finallyNode : any ->preAst : any +>preAst : TryFinally >finallyNode : any ->walker.walk(preAst.finallyNode, preAst) : any ->walker.walk(preAst.finallyNode, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.finallyNode, preAst) : Finally +>walker.walk(preAst.finallyNode, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.finallyNode : any ->preAst : any +>preAst : TryFinally >finallyNode : any ->preAst : any +>preAst : TryFinally } } export function walkFinallyChildren(preAst: Finally, parent: AST, walker: IAstWalker): void { ->walkFinallyChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkFinallyChildren : (preAst: Finally, parent: AST, walker: IAstWalker) => void +>preAst : Finally +>parent : AST >walker : IAstWalker if (preAst.body) { >preAst.body : any ->preAst : any +>preAst : Finally >body : any preAst.body = walker.walk(preAst.body, preAst); ->preAst.body = walker.walk(preAst.body, preAst) : any +>preAst.body = walker.walk(preAst.body, preAst) : AST >preAst.body : any ->preAst : any +>preAst : Finally >body : any ->walker.walk(preAst.body, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.body, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.body : any ->preAst : any +>preAst : Finally >body : any ->preAst : any +>preAst : Finally } } export function walkCatchChildren(preAst: Catch, parent: AST, walker: IAstWalker): void { ->walkCatchChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkCatchChildren : (preAst: Catch, parent: AST, walker: IAstWalker) => void +>preAst : Catch +>parent : AST >walker : IAstWalker if (preAst.param) { >preAst.param : any ->preAst : any +>preAst : Catch >param : any preAst.param = walker.walk(preAst.param, preAst); ->preAst.param = walker.walk(preAst.param, preAst) : any +>preAst.param = walker.walk(preAst.param, preAst) : VarDecl >preAst.param : any ->preAst : any +>preAst : Catch >param : any ->walker.walk(preAst.param, preAst) : any ->walker.walk(preAst.param, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.param, preAst) : VarDecl +>walker.walk(preAst.param, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.param : any ->preAst : any +>preAst : Catch >param : any ->preAst : any +>preAst : Catch } if ((preAst.body) && walker.options.goNextSibling) { >(preAst.body) && walker.options.goNextSibling : boolean >(preAst.body) : any >preAst.body : any ->preAst : any +>preAst : Catch >body : any >walker.options.goNextSibling : boolean >walker.options : AstWalkOptions @@ -3113,41 +3113,41 @@ module TypeScript { >goNextSibling : boolean preAst.body = walker.walk(preAst.body, preAst); ->preAst.body = walker.walk(preAst.body, preAst) : any +>preAst.body = walker.walk(preAst.body, preAst) : AST >preAst.body : any ->preAst : any +>preAst : Catch >body : any ->walker.walk(preAst.body, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.body, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.body : any ->preAst : any +>preAst : Catch >body : any ->preAst : any +>preAst : Catch } } export function walkRecordChildren(preAst: NamedDeclaration, parent: AST, walker: IAstWalker): void { ->walkRecordChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkRecordChildren : (preAst: NamedDeclaration, parent: AST, walker: IAstWalker) => void +>preAst : NamedDeclaration +>parent : AST >walker : IAstWalker preAst.name = walker.walk(preAst.name, preAst); ->preAst.name = walker.walk(preAst.name, preAst) : any +>preAst.name = walker.walk(preAst.name, preAst) : Identifier >preAst.name : any ->preAst : any +>preAst : NamedDeclaration >name : any ->walker.walk(preAst.name, preAst) : any ->walker.walk(preAst.name, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.name, preAst) : Identifier +>walker.walk(preAst.name, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.name : any ->preAst : any +>preAst : NamedDeclaration >name : any ->preAst : any +>preAst : NamedDeclaration if (walker.options.goNextSibling && preAst.members) { >walker.options.goNextSibling && preAst.members : any @@ -3157,52 +3157,52 @@ module TypeScript { >options : AstWalkOptions >goNextSibling : boolean >preAst.members : any ->preAst : any +>preAst : NamedDeclaration >members : any preAst.members = walker.walk(preAst.members, preAst); ->preAst.members = walker.walk(preAst.members, preAst) : any +>preAst.members = walker.walk(preAst.members, preAst) : ASTList >preAst.members : any ->preAst : any +>preAst : NamedDeclaration >members : any ->walker.walk(preAst.members, preAst) : any ->walker.walk(preAst.members, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.members, preAst) : ASTList +>walker.walk(preAst.members, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.members : any ->preAst : any +>preAst : NamedDeclaration >members : any ->preAst : any +>preAst : NamedDeclaration } } export function walkNamedTypeChildren(preAst: TypeDeclaration, parent: AST, walker: IAstWalker): void { ->walkNamedTypeChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkNamedTypeChildren : (preAst: TypeDeclaration, parent: AST, walker: IAstWalker) => void +>preAst : TypeDeclaration +>parent : AST >walker : IAstWalker walkRecordChildren(preAst, parent, walker); >walkRecordChildren(preAst, parent, walker) : void ->walkRecordChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkRecordChildren : (preAst: NamedDeclaration, parent: AST, walker: IAstWalker) => void +>preAst : TypeDeclaration +>parent : AST >walker : IAstWalker } export function walkClassDeclChildren(preAst: ClassDeclaration, parent: AST, walker: IAstWalker): void { ->walkClassDeclChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkClassDeclChildren : (preAst: ClassDeclaration, parent: AST, walker: IAstWalker) => void +>preAst : ClassDeclaration +>parent : AST >walker : IAstWalker walkNamedTypeChildren(preAst, parent, walker); >walkNamedTypeChildren(preAst, parent, walker) : void ->walkNamedTypeChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkNamedTypeChildren : (preAst: TypeDeclaration, parent: AST, walker: IAstWalker) => void +>preAst : ClassDeclaration +>parent : AST >walker : IAstWalker if (walker.options.goNextSibling && preAst.extendsList) { @@ -3213,23 +3213,23 @@ module TypeScript { >options : AstWalkOptions >goNextSibling : boolean >preAst.extendsList : any ->preAst : any +>preAst : ClassDeclaration >extendsList : any preAst.extendsList = walker.walk(preAst.extendsList, preAst); ->preAst.extendsList = walker.walk(preAst.extendsList, preAst) : any +>preAst.extendsList = walker.walk(preAst.extendsList, preAst) : ASTList >preAst.extendsList : any ->preAst : any +>preAst : ClassDeclaration >extendsList : any ->walker.walk(preAst.extendsList, preAst) : any ->walker.walk(preAst.extendsList, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.extendsList, preAst) : ASTList +>walker.walk(preAst.extendsList, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.extendsList : any ->preAst : any +>preAst : ClassDeclaration >extendsList : any ->preAst : any +>preAst : ClassDeclaration } if (walker.options.goNextSibling && preAst.implementsList) { @@ -3240,65 +3240,65 @@ module TypeScript { >options : AstWalkOptions >goNextSibling : boolean >preAst.implementsList : any ->preAst : any +>preAst : ClassDeclaration >implementsList : any preAst.implementsList = walker.walk(preAst.implementsList, preAst); ->preAst.implementsList = walker.walk(preAst.implementsList, preAst) : any +>preAst.implementsList = walker.walk(preAst.implementsList, preAst) : ASTList >preAst.implementsList : any ->preAst : any +>preAst : ClassDeclaration >implementsList : any ->walker.walk(preAst.implementsList, preAst) : any ->walker.walk(preAst.implementsList, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.implementsList, preAst) : ASTList +>walker.walk(preAst.implementsList, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.implementsList : any ->preAst : any +>preAst : ClassDeclaration >implementsList : any ->preAst : any +>preAst : ClassDeclaration } } export function walkScriptChildren(preAst: Script, parent: AST, walker: IAstWalker): void { ->walkScriptChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkScriptChildren : (preAst: Script, parent: AST, walker: IAstWalker) => void +>preAst : Script +>parent : AST >walker : IAstWalker if (preAst.bod) { >preAst.bod : any ->preAst : any +>preAst : Script >bod : any preAst.bod = walker.walk(preAst.bod, preAst); ->preAst.bod = walker.walk(preAst.bod, preAst) : any +>preAst.bod = walker.walk(preAst.bod, preAst) : ASTList >preAst.bod : any ->preAst : any +>preAst : Script >bod : any ->walker.walk(preAst.bod, preAst) : any ->walker.walk(preAst.bod, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.bod, preAst) : ASTList +>walker.walk(preAst.bod, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.bod : any ->preAst : any +>preAst : Script >bod : any ->preAst : any +>preAst : Script } } export function walkTypeDeclChildren(preAst: InterfaceDeclaration, parent: AST, walker: IAstWalker): void { ->walkTypeDeclChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkTypeDeclChildren : (preAst: InterfaceDeclaration, parent: AST, walker: IAstWalker) => void +>preAst : InterfaceDeclaration +>parent : AST >walker : IAstWalker walkNamedTypeChildren(preAst, parent, walker); >walkNamedTypeChildren(preAst, parent, walker) : void ->walkNamedTypeChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkNamedTypeChildren : (preAst: TypeDeclaration, parent: AST, walker: IAstWalker) => void +>preAst : InterfaceDeclaration +>parent : AST >walker : IAstWalker // walked arguments as part of members @@ -3310,23 +3310,23 @@ module TypeScript { >options : AstWalkOptions >goNextSibling : boolean >preAst.extendsList : any ->preAst : any +>preAst : InterfaceDeclaration >extendsList : any preAst.extendsList = walker.walk(preAst.extendsList, preAst); ->preAst.extendsList = walker.walk(preAst.extendsList, preAst) : any +>preAst.extendsList = walker.walk(preAst.extendsList, preAst) : ASTList >preAst.extendsList : any ->preAst : any +>preAst : InterfaceDeclaration >extendsList : any ->walker.walk(preAst.extendsList, preAst) : any ->walker.walk(preAst.extendsList, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.extendsList, preAst) : ASTList +>walker.walk(preAst.extendsList, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.extendsList : any ->preAst : any +>preAst : InterfaceDeclaration >extendsList : any ->preAst : any +>preAst : InterfaceDeclaration } if (walker.options.goNextSibling && preAst.implementsList) { @@ -3337,117 +3337,117 @@ module TypeScript { >options : AstWalkOptions >goNextSibling : boolean >preAst.implementsList : any ->preAst : any +>preAst : InterfaceDeclaration >implementsList : any preAst.implementsList = walker.walk(preAst.implementsList, preAst); ->preAst.implementsList = walker.walk(preAst.implementsList, preAst) : any +>preAst.implementsList = walker.walk(preAst.implementsList, preAst) : ASTList >preAst.implementsList : any ->preAst : any +>preAst : InterfaceDeclaration >implementsList : any ->walker.walk(preAst.implementsList, preAst) : any ->walker.walk(preAst.implementsList, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.implementsList, preAst) : ASTList +>walker.walk(preAst.implementsList, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.implementsList : any ->preAst : any +>preAst : InterfaceDeclaration >implementsList : any ->preAst : any +>preAst : InterfaceDeclaration } } export function walkModuleDeclChildren(preAst: ModuleDeclaration, parent: AST, walker: IAstWalker): void { ->walkModuleDeclChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkModuleDeclChildren : (preAst: ModuleDeclaration, parent: AST, walker: IAstWalker) => void +>preAst : ModuleDeclaration +>parent : AST >walker : IAstWalker walkRecordChildren(preAst, parent, walker); >walkRecordChildren(preAst, parent, walker) : void ->walkRecordChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkRecordChildren : (preAst: NamedDeclaration, parent: AST, walker: IAstWalker) => void +>preAst : ModuleDeclaration +>parent : AST >walker : IAstWalker } export function walkImportDeclChildren(preAst: ImportDeclaration, parent: AST, walker: IAstWalker): void { ->walkImportDeclChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkImportDeclChildren : (preAst: ImportDeclaration, parent: AST, walker: IAstWalker) => void +>preAst : ImportDeclaration +>parent : AST >walker : IAstWalker if (preAst.id) { >preAst.id : any ->preAst : any +>preAst : ImportDeclaration >id : any preAst.id = walker.walk(preAst.id, preAst); ->preAst.id = walker.walk(preAst.id, preAst) : any +>preAst.id = walker.walk(preAst.id, preAst) : Identifier >preAst.id : any ->preAst : any +>preAst : ImportDeclaration >id : any ->walker.walk(preAst.id, preAst) : any ->walker.walk(preAst.id, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.id, preAst) : Identifier +>walker.walk(preAst.id, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.id : any ->preAst : any +>preAst : ImportDeclaration >id : any ->preAst : any +>preAst : ImportDeclaration } if (preAst.alias) { >preAst.alias : any ->preAst : any +>preAst : ImportDeclaration >alias : any preAst.alias = walker.walk(preAst.alias, preAst); ->preAst.alias = walker.walk(preAst.alias, preAst) : any +>preAst.alias = walker.walk(preAst.alias, preAst) : AST >preAst.alias : any ->preAst : any +>preAst : ImportDeclaration >alias : any ->walker.walk(preAst.alias, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.alias, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.alias : any ->preAst : any +>preAst : ImportDeclaration >alias : any ->preAst : any +>preAst : ImportDeclaration } } export function walkWithStatementChildren(preAst: WithStatement, parent: AST, walker: IAstWalker): void { ->walkWithStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkWithStatementChildren : (preAst: WithStatement, parent: AST, walker: IAstWalker) => void +>preAst : WithStatement +>parent : AST >walker : IAstWalker if (preAst.expr) { >preAst.expr : any ->preAst : any +>preAst : WithStatement >expr : any preAst.expr = walker.walk(preAst.expr, preAst); ->preAst.expr = walker.walk(preAst.expr, preAst) : any +>preAst.expr = walker.walk(preAst.expr, preAst) : AST >preAst.expr : any ->preAst : any +>preAst : WithStatement >expr : any ->walker.walk(preAst.expr, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.expr, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.expr : any ->preAst : any +>preAst : WithStatement >expr : any ->preAst : any +>preAst : WithStatement } if (preAst.body && walker.options.goNextSibling) { >preAst.body && walker.options.goNextSibling : boolean >preAst.body : any ->preAst : any +>preAst : WithStatement >body : any >walker.options.goNextSibling : boolean >walker.options : AstWalkOptions @@ -3456,50 +3456,50 @@ module TypeScript { >goNextSibling : boolean preAst.body = walker.walk(preAst.body, preAst); ->preAst.body = walker.walk(preAst.body, preAst) : any +>preAst.body = walker.walk(preAst.body, preAst) : AST >preAst.body : any ->preAst : any +>preAst : WithStatement >body : any ->walker.walk(preAst.body, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.body, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.body : any ->preAst : any +>preAst : WithStatement >body : any ->preAst : any +>preAst : WithStatement } } export function walkLabelChildren(preAst: Label, parent: AST, walker: IAstWalker): void { ->walkLabelChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkLabelChildren : (preAst: Label, parent: AST, walker: IAstWalker) => void +>preAst : Label +>parent : AST >walker : IAstWalker //TODO: Walk "id"? } export function walkLabeledStatementChildren(preAst: LabeledStatement, parent: AST, walker: IAstWalker): void { ->walkLabeledStatementChildren : (preAst: any, parent: any, walker: IAstWalker) => void ->preAst : any ->parent : any +>walkLabeledStatementChildren : (preAst: LabeledStatement, parent: AST, walker: IAstWalker) => void +>preAst : LabeledStatement +>parent : AST >walker : IAstWalker preAst.labels = walker.walk(preAst.labels, preAst); ->preAst.labels = walker.walk(preAst.labels, preAst) : any +>preAst.labels = walker.walk(preAst.labels, preAst) : ASTList >preAst.labels : any ->preAst : any +>preAst : LabeledStatement >labels : any ->walker.walk(preAst.labels, preAst) : any ->walker.walk(preAst.labels, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.labels, preAst) : ASTList +>walker.walk(preAst.labels, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.labels : any ->preAst : any +>preAst : LabeledStatement >labels : any ->preAst : any +>preAst : LabeledStatement if (walker.options.goNextSibling) { >walker.options.goNextSibling : boolean @@ -3509,18 +3509,18 @@ module TypeScript { >goNextSibling : boolean preAst.stmt = walker.walk(preAst.stmt, preAst); ->preAst.stmt = walker.walk(preAst.stmt, preAst) : any +>preAst.stmt = walker.walk(preAst.stmt, preAst) : AST >preAst.stmt : any ->preAst : any +>preAst : LabeledStatement >stmt : any ->walker.walk(preAst.stmt, preAst) : any ->walker.walk : (ast: any, parent: any) => any +>walker.walk(preAst.stmt, preAst) : AST +>walker.walk : (ast: AST, parent: AST) => AST >walker : IAstWalker ->walk : (ast: any, parent: any) => any +>walk : (ast: AST, parent: AST) => AST >preAst.stmt : any ->preAst : any +>preAst : LabeledStatement >stmt : any ->preAst : any +>preAst : LabeledStatement } } } diff --git a/tests/baselines/reference/parserRealSource13.symbols b/tests/baselines/reference/parserRealSource13.symbols index a63b957846258..bdfbea2f1af7f 100644 --- a/tests/baselines/reference/parserRealSource13.symbols +++ b/tests/baselines/reference/parserRealSource13.symbols @@ -15,548 +15,658 @@ module TypeScript.AstWalkerWithDetailCallback { >EmptyCallback : Symbol(AstWalkerDetailCallback.EmptyCallback, Decl(parserRealSource13.ts, 6, 46)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 7, 24)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 7, 28)) +>AST : Symbol(AST) EmptyExprCallback? (pre, ast: AST): boolean; >EmptyExprCallback : Symbol(AstWalkerDetailCallback.EmptyExprCallback, Decl(parserRealSource13.ts, 7, 48)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 8, 28)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 8, 32)) +>AST : Symbol(AST) TrueCallback? (pre, ast: AST): boolean; >TrueCallback : Symbol(AstWalkerDetailCallback.TrueCallback, Decl(parserRealSource13.ts, 8, 52)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 9, 23)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 9, 27)) +>AST : Symbol(AST) FalseCallback? (pre, ast: AST): boolean; >FalseCallback : Symbol(AstWalkerDetailCallback.FalseCallback, Decl(parserRealSource13.ts, 9, 47)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 10, 24)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 10, 28)) +>AST : Symbol(AST) ThisCallback? (pre, ast: AST): boolean; >ThisCallback : Symbol(AstWalkerDetailCallback.ThisCallback, Decl(parserRealSource13.ts, 10, 48)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 11, 23)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 11, 27)) +>AST : Symbol(AST) SuperCallback? (pre, ast: AST): boolean; >SuperCallback : Symbol(AstWalkerDetailCallback.SuperCallback, Decl(parserRealSource13.ts, 11, 47)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 12, 24)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 12, 28)) +>AST : Symbol(AST) QStringCallback? (pre, ast: AST): boolean; >QStringCallback : Symbol(AstWalkerDetailCallback.QStringCallback, Decl(parserRealSource13.ts, 12, 48)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 13, 26)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 13, 30)) +>AST : Symbol(AST) RegexCallback? (pre, ast: AST): boolean; >RegexCallback : Symbol(AstWalkerDetailCallback.RegexCallback, Decl(parserRealSource13.ts, 13, 50)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 14, 24)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 14, 28)) +>AST : Symbol(AST) NullCallback? (pre, ast: AST): boolean; >NullCallback : Symbol(AstWalkerDetailCallback.NullCallback, Decl(parserRealSource13.ts, 14, 48)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 15, 23)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 15, 27)) +>AST : Symbol(AST) ArrayLitCallback? (pre, ast: AST): boolean; >ArrayLitCallback : Symbol(AstWalkerDetailCallback.ArrayLitCallback, Decl(parserRealSource13.ts, 15, 47)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 16, 27)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 16, 31)) +>AST : Symbol(AST) ObjectLitCallback? (pre, ast: AST): boolean; >ObjectLitCallback : Symbol(AstWalkerDetailCallback.ObjectLitCallback, Decl(parserRealSource13.ts, 16, 51)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 17, 28)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 17, 32)) +>AST : Symbol(AST) VoidCallback? (pre, ast: AST): boolean; >VoidCallback : Symbol(AstWalkerDetailCallback.VoidCallback, Decl(parserRealSource13.ts, 17, 52)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 18, 23)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 18, 27)) +>AST : Symbol(AST) CommaCallback? (pre, ast: AST): boolean; >CommaCallback : Symbol(AstWalkerDetailCallback.CommaCallback, Decl(parserRealSource13.ts, 18, 47)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 19, 24)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 19, 28)) +>AST : Symbol(AST) PosCallback? (pre, ast: AST): boolean; >PosCallback : Symbol(AstWalkerDetailCallback.PosCallback, Decl(parserRealSource13.ts, 19, 48)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 20, 22)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 20, 26)) +>AST : Symbol(AST) NegCallback? (pre, ast: AST): boolean; >NegCallback : Symbol(AstWalkerDetailCallback.NegCallback, Decl(parserRealSource13.ts, 20, 46)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 21, 22)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 21, 26)) +>AST : Symbol(AST) DeleteCallback? (pre, ast: AST): boolean; >DeleteCallback : Symbol(AstWalkerDetailCallback.DeleteCallback, Decl(parserRealSource13.ts, 21, 46)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 22, 25)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 22, 29)) +>AST : Symbol(AST) AwaitCallback? (pre, ast: AST): boolean; >AwaitCallback : Symbol(AstWalkerDetailCallback.AwaitCallback, Decl(parserRealSource13.ts, 22, 49)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 23, 24)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 23, 28)) +>AST : Symbol(AST) InCallback? (pre, ast: AST): boolean; >InCallback : Symbol(AstWalkerDetailCallback.InCallback, Decl(parserRealSource13.ts, 23, 48)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 24, 21)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 24, 25)) +>AST : Symbol(AST) DotCallback? (pre, ast: AST): boolean; >DotCallback : Symbol(AstWalkerDetailCallback.DotCallback, Decl(parserRealSource13.ts, 24, 45)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 25, 22)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 25, 26)) +>AST : Symbol(AST) FromCallback? (pre, ast: AST): boolean; >FromCallback : Symbol(AstWalkerDetailCallback.FromCallback, Decl(parserRealSource13.ts, 25, 46)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 26, 23)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 26, 27)) +>AST : Symbol(AST) IsCallback? (pre, ast: AST): boolean; >IsCallback : Symbol(AstWalkerDetailCallback.IsCallback, Decl(parserRealSource13.ts, 26, 47)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 27, 21)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 27, 25)) +>AST : Symbol(AST) InstOfCallback? (pre, ast: AST): boolean; >InstOfCallback : Symbol(AstWalkerDetailCallback.InstOfCallback, Decl(parserRealSource13.ts, 27, 45)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 28, 25)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 28, 29)) +>AST : Symbol(AST) TypeofCallback? (pre, ast: AST): boolean; >TypeofCallback : Symbol(AstWalkerDetailCallback.TypeofCallback, Decl(parserRealSource13.ts, 28, 49)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 29, 25)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 29, 29)) +>AST : Symbol(AST) NumberLitCallback? (pre, ast: AST): boolean; >NumberLitCallback : Symbol(AstWalkerDetailCallback.NumberLitCallback, Decl(parserRealSource13.ts, 29, 49)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 30, 28)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 30, 32)) +>AST : Symbol(AST) NameCallback? (pre, identifierAst: Identifier): boolean; >NameCallback : Symbol(AstWalkerDetailCallback.NameCallback, Decl(parserRealSource13.ts, 30, 52)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 31, 23)) >identifierAst : Symbol(identifierAst, Decl(parserRealSource13.ts, 31, 27)) +>Identifier : Symbol(Identifier) TypeRefCallback? (pre, ast: AST): boolean; >TypeRefCallback : Symbol(AstWalkerDetailCallback.TypeRefCallback, Decl(parserRealSource13.ts, 31, 64)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 32, 26)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 32, 30)) +>AST : Symbol(AST) IndexCallback? (pre, ast: AST): boolean; >IndexCallback : Symbol(AstWalkerDetailCallback.IndexCallback, Decl(parserRealSource13.ts, 32, 50)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 33, 24)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 33, 28)) +>AST : Symbol(AST) CallCallback? (pre, ast: AST): boolean; >CallCallback : Symbol(AstWalkerDetailCallback.CallCallback, Decl(parserRealSource13.ts, 33, 48)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 34, 23)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 34, 27)) +>AST : Symbol(AST) NewCallback? (pre, ast: AST): boolean; >NewCallback : Symbol(AstWalkerDetailCallback.NewCallback, Decl(parserRealSource13.ts, 34, 47)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 35, 22)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 35, 26)) +>AST : Symbol(AST) AsgCallback? (pre, ast: AST): boolean; >AsgCallback : Symbol(AstWalkerDetailCallback.AsgCallback, Decl(parserRealSource13.ts, 35, 46)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 36, 22)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 36, 26)) +>AST : Symbol(AST) AsgAddCallback? (pre, ast: AST): boolean; >AsgAddCallback : Symbol(AstWalkerDetailCallback.AsgAddCallback, Decl(parserRealSource13.ts, 36, 46)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 37, 25)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 37, 29)) +>AST : Symbol(AST) AsgSubCallback? (pre, ast: AST): boolean; >AsgSubCallback : Symbol(AstWalkerDetailCallback.AsgSubCallback, Decl(parserRealSource13.ts, 37, 49)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 38, 25)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 38, 29)) +>AST : Symbol(AST) AsgDivCallback? (pre, ast: AST): boolean; >AsgDivCallback : Symbol(AstWalkerDetailCallback.AsgDivCallback, Decl(parserRealSource13.ts, 38, 49)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 39, 25)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 39, 29)) +>AST : Symbol(AST) AsgMulCallback? (pre, ast: AST): boolean; >AsgMulCallback : Symbol(AstWalkerDetailCallback.AsgMulCallback, Decl(parserRealSource13.ts, 39, 49)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 40, 25)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 40, 29)) +>AST : Symbol(AST) AsgModCallback? (pre, ast: AST): boolean; >AsgModCallback : Symbol(AstWalkerDetailCallback.AsgModCallback, Decl(parserRealSource13.ts, 40, 49)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 41, 25)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 41, 29)) +>AST : Symbol(AST) AsgAndCallback? (pre, ast: AST): boolean; >AsgAndCallback : Symbol(AstWalkerDetailCallback.AsgAndCallback, Decl(parserRealSource13.ts, 41, 49)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 42, 25)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 42, 29)) +>AST : Symbol(AST) AsgXorCallback? (pre, ast: AST): boolean; >AsgXorCallback : Symbol(AstWalkerDetailCallback.AsgXorCallback, Decl(parserRealSource13.ts, 42, 49)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 43, 25)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 43, 29)) +>AST : Symbol(AST) AsgOrCallback? (pre, ast: AST): boolean; >AsgOrCallback : Symbol(AstWalkerDetailCallback.AsgOrCallback, Decl(parserRealSource13.ts, 43, 49)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 44, 24)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 44, 28)) +>AST : Symbol(AST) AsgLshCallback? (pre, ast: AST): boolean; >AsgLshCallback : Symbol(AstWalkerDetailCallback.AsgLshCallback, Decl(parserRealSource13.ts, 44, 48)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 45, 25)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 45, 29)) +>AST : Symbol(AST) AsgRshCallback? (pre, ast: AST): boolean; >AsgRshCallback : Symbol(AstWalkerDetailCallback.AsgRshCallback, Decl(parserRealSource13.ts, 45, 49)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 46, 25)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 46, 29)) +>AST : Symbol(AST) AsgRs2Callback? (pre, ast: AST): boolean; >AsgRs2Callback : Symbol(AstWalkerDetailCallback.AsgRs2Callback, Decl(parserRealSource13.ts, 46, 49)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 47, 25)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 47, 29)) +>AST : Symbol(AST) QMarkCallback? (pre, ast: AST): boolean; >QMarkCallback : Symbol(AstWalkerDetailCallback.QMarkCallback, Decl(parserRealSource13.ts, 47, 49)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 48, 24)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 48, 28)) +>AST : Symbol(AST) LogOrCallback? (pre, ast: AST): boolean; >LogOrCallback : Symbol(AstWalkerDetailCallback.LogOrCallback, Decl(parserRealSource13.ts, 48, 48)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 49, 24)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 49, 28)) +>AST : Symbol(AST) LogAndCallback? (pre, ast: AST): boolean; >LogAndCallback : Symbol(AstWalkerDetailCallback.LogAndCallback, Decl(parserRealSource13.ts, 49, 48)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 50, 25)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 50, 29)) +>AST : Symbol(AST) OrCallback? (pre, ast: AST): boolean; >OrCallback : Symbol(AstWalkerDetailCallback.OrCallback, Decl(parserRealSource13.ts, 50, 49)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 51, 21)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 51, 25)) +>AST : Symbol(AST) XorCallback? (pre, ast: AST): boolean; >XorCallback : Symbol(AstWalkerDetailCallback.XorCallback, Decl(parserRealSource13.ts, 51, 45)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 52, 22)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 52, 26)) +>AST : Symbol(AST) AndCallback? (pre, ast: AST): boolean; >AndCallback : Symbol(AstWalkerDetailCallback.AndCallback, Decl(parserRealSource13.ts, 52, 46)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 53, 22)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 53, 26)) +>AST : Symbol(AST) EqCallback? (pre, ast: AST): boolean; >EqCallback : Symbol(AstWalkerDetailCallback.EqCallback, Decl(parserRealSource13.ts, 53, 46)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 54, 21)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 54, 25)) +>AST : Symbol(AST) NeCallback? (pre, ast: AST): boolean; >NeCallback : Symbol(AstWalkerDetailCallback.NeCallback, Decl(parserRealSource13.ts, 54, 45)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 55, 21)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 55, 25)) +>AST : Symbol(AST) EqvCallback? (pre, ast: AST): boolean; >EqvCallback : Symbol(AstWalkerDetailCallback.EqvCallback, Decl(parserRealSource13.ts, 55, 45)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 56, 22)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 56, 26)) +>AST : Symbol(AST) NEqvCallback? (pre, ast: AST): boolean; >NEqvCallback : Symbol(AstWalkerDetailCallback.NEqvCallback, Decl(parserRealSource13.ts, 56, 46)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 57, 23)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 57, 27)) +>AST : Symbol(AST) LtCallback? (pre, ast: AST): boolean; >LtCallback : Symbol(AstWalkerDetailCallback.LtCallback, Decl(parserRealSource13.ts, 57, 47)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 58, 21)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 58, 25)) +>AST : Symbol(AST) LeCallback? (pre, ast: AST): boolean; >LeCallback : Symbol(AstWalkerDetailCallback.LeCallback, Decl(parserRealSource13.ts, 58, 45)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 59, 21)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 59, 25)) +>AST : Symbol(AST) GtCallback? (pre, ast: AST): boolean; >GtCallback : Symbol(AstWalkerDetailCallback.GtCallback, Decl(parserRealSource13.ts, 59, 45)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 60, 21)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 60, 25)) +>AST : Symbol(AST) GeCallback? (pre, ast: AST): boolean; >GeCallback : Symbol(AstWalkerDetailCallback.GeCallback, Decl(parserRealSource13.ts, 60, 45)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 61, 21)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 61, 25)) +>AST : Symbol(AST) AddCallback? (pre, ast: AST): boolean; >AddCallback : Symbol(AstWalkerDetailCallback.AddCallback, Decl(parserRealSource13.ts, 61, 45)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 62, 22)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 62, 26)) +>AST : Symbol(AST) SubCallback? (pre, ast: AST): boolean; >SubCallback : Symbol(AstWalkerDetailCallback.SubCallback, Decl(parserRealSource13.ts, 62, 46)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 63, 22)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 63, 26)) +>AST : Symbol(AST) MulCallback? (pre, ast: AST): boolean; >MulCallback : Symbol(AstWalkerDetailCallback.MulCallback, Decl(parserRealSource13.ts, 63, 46)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 64, 22)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 64, 26)) +>AST : Symbol(AST) DivCallback? (pre, ast: AST): boolean; >DivCallback : Symbol(AstWalkerDetailCallback.DivCallback, Decl(parserRealSource13.ts, 64, 46)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 65, 22)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 65, 26)) +>AST : Symbol(AST) ModCallback? (pre, ast: AST): boolean; >ModCallback : Symbol(AstWalkerDetailCallback.ModCallback, Decl(parserRealSource13.ts, 65, 46)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 66, 22)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 66, 26)) +>AST : Symbol(AST) LshCallback? (pre, ast: AST): boolean; >LshCallback : Symbol(AstWalkerDetailCallback.LshCallback, Decl(parserRealSource13.ts, 66, 46)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 67, 22)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 67, 26)) +>AST : Symbol(AST) RshCallback? (pre, ast: AST): boolean; >RshCallback : Symbol(AstWalkerDetailCallback.RshCallback, Decl(parserRealSource13.ts, 67, 46)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 68, 22)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 68, 26)) +>AST : Symbol(AST) Rs2Callback? (pre, ast: AST): boolean; >Rs2Callback : Symbol(AstWalkerDetailCallback.Rs2Callback, Decl(parserRealSource13.ts, 68, 46)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 69, 22)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 69, 26)) +>AST : Symbol(AST) NotCallback? (pre, ast: AST): boolean; >NotCallback : Symbol(AstWalkerDetailCallback.NotCallback, Decl(parserRealSource13.ts, 69, 46)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 70, 22)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 70, 26)) +>AST : Symbol(AST) LogNotCallback? (pre, ast: AST): boolean; >LogNotCallback : Symbol(AstWalkerDetailCallback.LogNotCallback, Decl(parserRealSource13.ts, 70, 46)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 71, 25)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 71, 29)) +>AST : Symbol(AST) IncPreCallback? (pre, ast: AST): boolean; >IncPreCallback : Symbol(AstWalkerDetailCallback.IncPreCallback, Decl(parserRealSource13.ts, 71, 49)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 72, 25)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 72, 29)) +>AST : Symbol(AST) DecPreCallback? (pre, ast: AST): boolean; >DecPreCallback : Symbol(AstWalkerDetailCallback.DecPreCallback, Decl(parserRealSource13.ts, 72, 49)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 73, 25)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 73, 29)) +>AST : Symbol(AST) IncPostCallback? (pre, ast: AST): boolean; >IncPostCallback : Symbol(AstWalkerDetailCallback.IncPostCallback, Decl(parserRealSource13.ts, 73, 49)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 74, 26)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 74, 30)) +>AST : Symbol(AST) DecPostCallback? (pre, ast: AST): boolean; >DecPostCallback : Symbol(AstWalkerDetailCallback.DecPostCallback, Decl(parserRealSource13.ts, 74, 50)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 75, 26)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 75, 30)) +>AST : Symbol(AST) TypeAssertionCallback? (pre, ast: AST): boolean; >TypeAssertionCallback : Symbol(AstWalkerDetailCallback.TypeAssertionCallback, Decl(parserRealSource13.ts, 75, 50)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 76, 32)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 76, 36)) +>AST : Symbol(AST) FuncDeclCallback? (pre, funcDecl: FuncDecl): boolean; >FuncDeclCallback : Symbol(AstWalkerDetailCallback.FuncDeclCallback, Decl(parserRealSource13.ts, 76, 56)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 77, 27)) >funcDecl : Symbol(funcDecl, Decl(parserRealSource13.ts, 77, 31)) +>FuncDecl : Symbol(FuncDecl) MemberCallback? (pre, ast: AST): boolean; >MemberCallback : Symbol(AstWalkerDetailCallback.MemberCallback, Decl(parserRealSource13.ts, 77, 61)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 78, 25)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 78, 29)) +>AST : Symbol(AST) VarDeclCallback? (pre, varDecl: VarDecl): boolean; >VarDeclCallback : Symbol(AstWalkerDetailCallback.VarDeclCallback, Decl(parserRealSource13.ts, 78, 49)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 79, 26)) >varDecl : Symbol(varDecl, Decl(parserRealSource13.ts, 79, 30)) +>VarDecl : Symbol(VarDecl) ArgDeclCallback? (pre, ast: AST): boolean; >ArgDeclCallback : Symbol(AstWalkerDetailCallback.ArgDeclCallback, Decl(parserRealSource13.ts, 79, 58)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 80, 26)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 80, 30)) +>AST : Symbol(AST) ReturnCallback? (pre, ast: AST): boolean; >ReturnCallback : Symbol(AstWalkerDetailCallback.ReturnCallback, Decl(parserRealSource13.ts, 80, 50)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 81, 25)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 81, 29)) +>AST : Symbol(AST) BreakCallback? (pre, ast: AST): boolean; >BreakCallback : Symbol(AstWalkerDetailCallback.BreakCallback, Decl(parserRealSource13.ts, 81, 49)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 82, 24)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 82, 28)) +>AST : Symbol(AST) ContinueCallback? (pre, ast: AST): boolean; >ContinueCallback : Symbol(AstWalkerDetailCallback.ContinueCallback, Decl(parserRealSource13.ts, 82, 48)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 83, 27)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 83, 31)) +>AST : Symbol(AST) ThrowCallback? (pre, ast: AST): boolean; >ThrowCallback : Symbol(AstWalkerDetailCallback.ThrowCallback, Decl(parserRealSource13.ts, 83, 51)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 84, 24)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 84, 28)) +>AST : Symbol(AST) ForCallback? (pre, ast: AST): boolean; >ForCallback : Symbol(AstWalkerDetailCallback.ForCallback, Decl(parserRealSource13.ts, 84, 48)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 85, 22)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 85, 26)) +>AST : Symbol(AST) ForInCallback? (pre, ast: AST): boolean; >ForInCallback : Symbol(AstWalkerDetailCallback.ForInCallback, Decl(parserRealSource13.ts, 85, 46)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 86, 24)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 86, 28)) +>AST : Symbol(AST) IfCallback? (pre, ast: AST): boolean; >IfCallback : Symbol(AstWalkerDetailCallback.IfCallback, Decl(parserRealSource13.ts, 86, 48)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 87, 21)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 87, 25)) +>AST : Symbol(AST) WhileCallback? (pre, ast: AST): boolean; >WhileCallback : Symbol(AstWalkerDetailCallback.WhileCallback, Decl(parserRealSource13.ts, 87, 45)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 88, 24)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 88, 28)) +>AST : Symbol(AST) DoWhileCallback? (pre, ast: AST): boolean; >DoWhileCallback : Symbol(AstWalkerDetailCallback.DoWhileCallback, Decl(parserRealSource13.ts, 88, 48)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 89, 26)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 89, 30)) +>AST : Symbol(AST) BlockCallback? (pre, block: Block): boolean; >BlockCallback : Symbol(AstWalkerDetailCallback.BlockCallback, Decl(parserRealSource13.ts, 89, 50)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 90, 24)) >block : Symbol(block, Decl(parserRealSource13.ts, 90, 28)) +>Block : Symbol(Block) CaseCallback? (pre, ast: AST): boolean; >CaseCallback : Symbol(AstWalkerDetailCallback.CaseCallback, Decl(parserRealSource13.ts, 90, 52)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 91, 23)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 91, 27)) +>AST : Symbol(AST) SwitchCallback? (pre, ast: AST): boolean; >SwitchCallback : Symbol(AstWalkerDetailCallback.SwitchCallback, Decl(parserRealSource13.ts, 91, 47)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 92, 25)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 92, 29)) +>AST : Symbol(AST) TryCallback? (pre, ast: AST): boolean; >TryCallback : Symbol(AstWalkerDetailCallback.TryCallback, Decl(parserRealSource13.ts, 92, 49)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 93, 22)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 93, 26)) +>AST : Symbol(AST) TryCatchCallback? (pre, ast: AST): boolean; >TryCatchCallback : Symbol(AstWalkerDetailCallback.TryCatchCallback, Decl(parserRealSource13.ts, 93, 46)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 94, 27)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 94, 31)) +>AST : Symbol(AST) TryFinallyCallback? (pre, ast: AST): boolean; >TryFinallyCallback : Symbol(AstWalkerDetailCallback.TryFinallyCallback, Decl(parserRealSource13.ts, 94, 51)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 95, 29)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 95, 33)) +>AST : Symbol(AST) FinallyCallback? (pre, ast: AST): boolean; >FinallyCallback : Symbol(AstWalkerDetailCallback.FinallyCallback, Decl(parserRealSource13.ts, 95, 53)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 96, 26)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 96, 30)) +>AST : Symbol(AST) CatchCallback? (pre, ast: AST): boolean; >CatchCallback : Symbol(AstWalkerDetailCallback.CatchCallback, Decl(parserRealSource13.ts, 96, 50)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 97, 24)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 97, 28)) +>AST : Symbol(AST) ListCallback? (pre, astList: ASTList): boolean; >ListCallback : Symbol(AstWalkerDetailCallback.ListCallback, Decl(parserRealSource13.ts, 97, 48)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 98, 23)) >astList : Symbol(astList, Decl(parserRealSource13.ts, 98, 27)) +>ASTList : Symbol(ASTList) ScriptCallback? (pre, script: Script): boolean; >ScriptCallback : Symbol(AstWalkerDetailCallback.ScriptCallback, Decl(parserRealSource13.ts, 98, 55)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 99, 25)) >script : Symbol(script, Decl(parserRealSource13.ts, 99, 29)) +>Script : Symbol(Script) ClassDeclarationCallback? (pre, ast: AST): boolean; >ClassDeclarationCallback : Symbol(AstWalkerDetailCallback.ClassDeclarationCallback, Decl(parserRealSource13.ts, 99, 55)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 100, 35)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 100, 39)) +>AST : Symbol(AST) InterfaceDeclarationCallback? (pre, interfaceDecl: InterfaceDeclaration): boolean; >InterfaceDeclarationCallback : Symbol(AstWalkerDetailCallback.InterfaceDeclarationCallback, Decl(parserRealSource13.ts, 100, 59)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 101, 39)) >interfaceDecl : Symbol(interfaceDecl, Decl(parserRealSource13.ts, 101, 43)) +>InterfaceDeclaration : Symbol(InterfaceDeclaration) ModuleDeclarationCallback? (pre, moduleDecl: ModuleDeclaration): boolean; >ModuleDeclarationCallback : Symbol(AstWalkerDetailCallback.ModuleDeclarationCallback, Decl(parserRealSource13.ts, 101, 90)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 102, 36)) >moduleDecl : Symbol(moduleDecl, Decl(parserRealSource13.ts, 102, 40)) +>ModuleDeclaration : Symbol(ModuleDeclaration) ImportDeclarationCallback? (pre, ast: AST): boolean; >ImportDeclarationCallback : Symbol(AstWalkerDetailCallback.ImportDeclarationCallback, Decl(parserRealSource13.ts, 102, 81)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 103, 36)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 103, 40)) +>AST : Symbol(AST) WithCallback? (pre, ast: AST): boolean; >WithCallback : Symbol(AstWalkerDetailCallback.WithCallback, Decl(parserRealSource13.ts, 103, 60)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 104, 23)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 104, 27)) +>AST : Symbol(AST) LabelCallback? (pre, labelAST: AST): boolean; >LabelCallback : Symbol(AstWalkerDetailCallback.LabelCallback, Decl(parserRealSource13.ts, 104, 47)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 105, 24)) >labelAST : Symbol(labelAST, Decl(parserRealSource13.ts, 105, 28)) +>AST : Symbol(AST) LabeledStatementCallback? (pre, ast: AST): boolean; >LabeledStatementCallback : Symbol(AstWalkerDetailCallback.LabeledStatementCallback, Decl(parserRealSource13.ts, 105, 53)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 106, 35)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 106, 39)) +>AST : Symbol(AST) EBStartCallback? (pre, ast: AST): boolean; >EBStartCallback : Symbol(AstWalkerDetailCallback.EBStartCallback, Decl(parserRealSource13.ts, 106, 59)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 107, 26)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 107, 30)) +>AST : Symbol(AST) GotoEBCallback? (pre, ast: AST): boolean; >GotoEBCallback : Symbol(AstWalkerDetailCallback.GotoEBCallback, Decl(parserRealSource13.ts, 107, 50)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 108, 25)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 108, 29)) +>AST : Symbol(AST) EndCodeCallback? (pre, ast: AST): boolean; >EndCodeCallback : Symbol(AstWalkerDetailCallback.EndCodeCallback, Decl(parserRealSource13.ts, 108, 49)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 109, 26)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 109, 30)) +>AST : Symbol(AST) ErrorCallback? (pre, ast: AST): boolean; >ErrorCallback : Symbol(AstWalkerDetailCallback.ErrorCallback, Decl(parserRealSource13.ts, 109, 50)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 110, 24)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 110, 28)) +>AST : Symbol(AST) CommentCallback? (pre, ast: AST): boolean; >CommentCallback : Symbol(AstWalkerDetailCallback.CommentCallback, Decl(parserRealSource13.ts, 110, 48)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 111, 26)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 111, 30)) +>AST : Symbol(AST) DebuggerCallback? (pre, ast: AST): boolean; >DebuggerCallback : Symbol(AstWalkerDetailCallback.DebuggerCallback, Decl(parserRealSource13.ts, 111, 50)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 112, 27)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 112, 31)) +>AST : Symbol(AST) DefaultCallback? (pre, ast: AST): boolean; >DefaultCallback : Symbol(AstWalkerDetailCallback.DefaultCallback, Decl(parserRealSource13.ts, 112, 51)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 113, 26)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 113, 30)) +>AST : Symbol(AST) } export function walk(script: Script, callback: AstWalkerDetailCallback): void { >walk : Symbol(walk, Decl(parserRealSource13.ts, 114, 5)) >script : Symbol(script, Decl(parserRealSource13.ts, 116, 25)) +>Script : Symbol(Script) >callback : Symbol(callback, Decl(parserRealSource13.ts, 116, 40)) >AstWalkerDetailCallback : Symbol(AstWalkerDetailCallback, Decl(parserRealSource13.ts, 5, 47)) var pre = (cur: AST, parent: AST) => { >pre : Symbol(pre, Decl(parserRealSource13.ts, 117, 11)) >cur : Symbol(cur, Decl(parserRealSource13.ts, 117, 19)) +>AST : Symbol(AST) >parent : Symbol(parent, Decl(parserRealSource13.ts, 117, 28)) +>AST : Symbol(AST) walker.options.goChildren = AstWalkerCallback(true, cur, callback); >walker : Symbol(walker, Decl(parserRealSource13.ts, 127, 11)) @@ -571,7 +681,9 @@ module TypeScript.AstWalkerWithDetailCallback { var post = (cur: AST, parent: AST) => { >post : Symbol(post, Decl(parserRealSource13.ts, 122, 11)) >cur : Symbol(cur, Decl(parserRealSource13.ts, 122, 20)) +>AST : Symbol(AST) >parent : Symbol(parent, Decl(parserRealSource13.ts, 122, 29)) +>AST : Symbol(AST) AstWalkerCallback(false, cur, callback); >AstWalkerCallback : Symbol(AstWalkerCallback, Decl(parserRealSource13.ts, 129, 5)) @@ -597,6 +709,7 @@ module TypeScript.AstWalkerWithDetailCallback { >AstWalkerCallback : Symbol(AstWalkerCallback, Decl(parserRealSource13.ts, 129, 5)) >pre : Symbol(pre, Decl(parserRealSource13.ts, 131, 31)) >ast : Symbol(ast, Decl(parserRealSource13.ts, 131, 44)) +>AST : Symbol(AST) >callback : Symbol(callback, Decl(parserRealSource13.ts, 131, 54)) >AstWalkerDetailCallback : Symbol(AstWalkerDetailCallback, Decl(parserRealSource13.ts, 5, 47)) diff --git a/tests/baselines/reference/parserRealSource13.types b/tests/baselines/reference/parserRealSource13.types index 843d6cf720ddb..33bc062ecc8fe 100644 --- a/tests/baselines/reference/parserRealSource13.types +++ b/tests/baselines/reference/parserRealSource13.types @@ -10,551 +10,551 @@ module TypeScript.AstWalkerWithDetailCallback { export interface AstWalkerDetailCallback { EmptyCallback? (pre, ast: AST): boolean; ->EmptyCallback : (pre: any, ast: any) => boolean +>EmptyCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST EmptyExprCallback? (pre, ast: AST): boolean; ->EmptyExprCallback : (pre: any, ast: any) => boolean +>EmptyExprCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST TrueCallback? (pre, ast: AST): boolean; ->TrueCallback : (pre: any, ast: any) => boolean +>TrueCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST FalseCallback? (pre, ast: AST): boolean; ->FalseCallback : (pre: any, ast: any) => boolean +>FalseCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST ThisCallback? (pre, ast: AST): boolean; ->ThisCallback : (pre: any, ast: any) => boolean +>ThisCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST SuperCallback? (pre, ast: AST): boolean; ->SuperCallback : (pre: any, ast: any) => boolean +>SuperCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST QStringCallback? (pre, ast: AST): boolean; ->QStringCallback : (pre: any, ast: any) => boolean +>QStringCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST RegexCallback? (pre, ast: AST): boolean; ->RegexCallback : (pre: any, ast: any) => boolean +>RegexCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST NullCallback? (pre, ast: AST): boolean; ->NullCallback : (pre: any, ast: any) => boolean +>NullCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST ArrayLitCallback? (pre, ast: AST): boolean; ->ArrayLitCallback : (pre: any, ast: any) => boolean +>ArrayLitCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST ObjectLitCallback? (pre, ast: AST): boolean; ->ObjectLitCallback : (pre: any, ast: any) => boolean +>ObjectLitCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST VoidCallback? (pre, ast: AST): boolean; ->VoidCallback : (pre: any, ast: any) => boolean +>VoidCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST CommaCallback? (pre, ast: AST): boolean; ->CommaCallback : (pre: any, ast: any) => boolean +>CommaCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST PosCallback? (pre, ast: AST): boolean; ->PosCallback : (pre: any, ast: any) => boolean +>PosCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST NegCallback? (pre, ast: AST): boolean; ->NegCallback : (pre: any, ast: any) => boolean +>NegCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST DeleteCallback? (pre, ast: AST): boolean; ->DeleteCallback : (pre: any, ast: any) => boolean +>DeleteCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST AwaitCallback? (pre, ast: AST): boolean; ->AwaitCallback : (pre: any, ast: any) => boolean +>AwaitCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST InCallback? (pre, ast: AST): boolean; ->InCallback : (pre: any, ast: any) => boolean +>InCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST DotCallback? (pre, ast: AST): boolean; ->DotCallback : (pre: any, ast: any) => boolean +>DotCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST FromCallback? (pre, ast: AST): boolean; ->FromCallback : (pre: any, ast: any) => boolean +>FromCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST IsCallback? (pre, ast: AST): boolean; ->IsCallback : (pre: any, ast: any) => boolean +>IsCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST InstOfCallback? (pre, ast: AST): boolean; ->InstOfCallback : (pre: any, ast: any) => boolean +>InstOfCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST TypeofCallback? (pre, ast: AST): boolean; ->TypeofCallback : (pre: any, ast: any) => boolean +>TypeofCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST NumberLitCallback? (pre, ast: AST): boolean; ->NumberLitCallback : (pre: any, ast: any) => boolean +>NumberLitCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST NameCallback? (pre, identifierAst: Identifier): boolean; ->NameCallback : (pre: any, identifierAst: any) => boolean +>NameCallback : (pre: any, identifierAst: Identifier) => boolean >pre : any ->identifierAst : any +>identifierAst : Identifier TypeRefCallback? (pre, ast: AST): boolean; ->TypeRefCallback : (pre: any, ast: any) => boolean +>TypeRefCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST IndexCallback? (pre, ast: AST): boolean; ->IndexCallback : (pre: any, ast: any) => boolean +>IndexCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST CallCallback? (pre, ast: AST): boolean; ->CallCallback : (pre: any, ast: any) => boolean +>CallCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST NewCallback? (pre, ast: AST): boolean; ->NewCallback : (pre: any, ast: any) => boolean +>NewCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST AsgCallback? (pre, ast: AST): boolean; ->AsgCallback : (pre: any, ast: any) => boolean +>AsgCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST AsgAddCallback? (pre, ast: AST): boolean; ->AsgAddCallback : (pre: any, ast: any) => boolean +>AsgAddCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST AsgSubCallback? (pre, ast: AST): boolean; ->AsgSubCallback : (pre: any, ast: any) => boolean +>AsgSubCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST AsgDivCallback? (pre, ast: AST): boolean; ->AsgDivCallback : (pre: any, ast: any) => boolean +>AsgDivCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST AsgMulCallback? (pre, ast: AST): boolean; ->AsgMulCallback : (pre: any, ast: any) => boolean +>AsgMulCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST AsgModCallback? (pre, ast: AST): boolean; ->AsgModCallback : (pre: any, ast: any) => boolean +>AsgModCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST AsgAndCallback? (pre, ast: AST): boolean; ->AsgAndCallback : (pre: any, ast: any) => boolean +>AsgAndCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST AsgXorCallback? (pre, ast: AST): boolean; ->AsgXorCallback : (pre: any, ast: any) => boolean +>AsgXorCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST AsgOrCallback? (pre, ast: AST): boolean; ->AsgOrCallback : (pre: any, ast: any) => boolean +>AsgOrCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST AsgLshCallback? (pre, ast: AST): boolean; ->AsgLshCallback : (pre: any, ast: any) => boolean +>AsgLshCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST AsgRshCallback? (pre, ast: AST): boolean; ->AsgRshCallback : (pre: any, ast: any) => boolean +>AsgRshCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST AsgRs2Callback? (pre, ast: AST): boolean; ->AsgRs2Callback : (pre: any, ast: any) => boolean +>AsgRs2Callback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST QMarkCallback? (pre, ast: AST): boolean; ->QMarkCallback : (pre: any, ast: any) => boolean +>QMarkCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST LogOrCallback? (pre, ast: AST): boolean; ->LogOrCallback : (pre: any, ast: any) => boolean +>LogOrCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST LogAndCallback? (pre, ast: AST): boolean; ->LogAndCallback : (pre: any, ast: any) => boolean +>LogAndCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST OrCallback? (pre, ast: AST): boolean; ->OrCallback : (pre: any, ast: any) => boolean +>OrCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST XorCallback? (pre, ast: AST): boolean; ->XorCallback : (pre: any, ast: any) => boolean +>XorCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST AndCallback? (pre, ast: AST): boolean; ->AndCallback : (pre: any, ast: any) => boolean +>AndCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST EqCallback? (pre, ast: AST): boolean; ->EqCallback : (pre: any, ast: any) => boolean +>EqCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST NeCallback? (pre, ast: AST): boolean; ->NeCallback : (pre: any, ast: any) => boolean +>NeCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST EqvCallback? (pre, ast: AST): boolean; ->EqvCallback : (pre: any, ast: any) => boolean +>EqvCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST NEqvCallback? (pre, ast: AST): boolean; ->NEqvCallback : (pre: any, ast: any) => boolean +>NEqvCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST LtCallback? (pre, ast: AST): boolean; ->LtCallback : (pre: any, ast: any) => boolean +>LtCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST LeCallback? (pre, ast: AST): boolean; ->LeCallback : (pre: any, ast: any) => boolean +>LeCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST GtCallback? (pre, ast: AST): boolean; ->GtCallback : (pre: any, ast: any) => boolean +>GtCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST GeCallback? (pre, ast: AST): boolean; ->GeCallback : (pre: any, ast: any) => boolean +>GeCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST AddCallback? (pre, ast: AST): boolean; ->AddCallback : (pre: any, ast: any) => boolean +>AddCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST SubCallback? (pre, ast: AST): boolean; ->SubCallback : (pre: any, ast: any) => boolean +>SubCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST MulCallback? (pre, ast: AST): boolean; ->MulCallback : (pre: any, ast: any) => boolean +>MulCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST DivCallback? (pre, ast: AST): boolean; ->DivCallback : (pre: any, ast: any) => boolean +>DivCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST ModCallback? (pre, ast: AST): boolean; ->ModCallback : (pre: any, ast: any) => boolean +>ModCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST LshCallback? (pre, ast: AST): boolean; ->LshCallback : (pre: any, ast: any) => boolean +>LshCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST RshCallback? (pre, ast: AST): boolean; ->RshCallback : (pre: any, ast: any) => boolean +>RshCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST Rs2Callback? (pre, ast: AST): boolean; ->Rs2Callback : (pre: any, ast: any) => boolean +>Rs2Callback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST NotCallback? (pre, ast: AST): boolean; ->NotCallback : (pre: any, ast: any) => boolean +>NotCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST LogNotCallback? (pre, ast: AST): boolean; ->LogNotCallback : (pre: any, ast: any) => boolean +>LogNotCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST IncPreCallback? (pre, ast: AST): boolean; ->IncPreCallback : (pre: any, ast: any) => boolean +>IncPreCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST DecPreCallback? (pre, ast: AST): boolean; ->DecPreCallback : (pre: any, ast: any) => boolean +>DecPreCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST IncPostCallback? (pre, ast: AST): boolean; ->IncPostCallback : (pre: any, ast: any) => boolean +>IncPostCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST DecPostCallback? (pre, ast: AST): boolean; ->DecPostCallback : (pre: any, ast: any) => boolean +>DecPostCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST TypeAssertionCallback? (pre, ast: AST): boolean; ->TypeAssertionCallback : (pre: any, ast: any) => boolean +>TypeAssertionCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST FuncDeclCallback? (pre, funcDecl: FuncDecl): boolean; ->FuncDeclCallback : (pre: any, funcDecl: any) => boolean +>FuncDeclCallback : (pre: any, funcDecl: FuncDecl) => boolean >pre : any ->funcDecl : any +>funcDecl : FuncDecl MemberCallback? (pre, ast: AST): boolean; ->MemberCallback : (pre: any, ast: any) => boolean +>MemberCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST VarDeclCallback? (pre, varDecl: VarDecl): boolean; ->VarDeclCallback : (pre: any, varDecl: any) => boolean +>VarDeclCallback : (pre: any, varDecl: VarDecl) => boolean >pre : any ->varDecl : any +>varDecl : VarDecl ArgDeclCallback? (pre, ast: AST): boolean; ->ArgDeclCallback : (pre: any, ast: any) => boolean +>ArgDeclCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST ReturnCallback? (pre, ast: AST): boolean; ->ReturnCallback : (pre: any, ast: any) => boolean +>ReturnCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST BreakCallback? (pre, ast: AST): boolean; ->BreakCallback : (pre: any, ast: any) => boolean +>BreakCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST ContinueCallback? (pre, ast: AST): boolean; ->ContinueCallback : (pre: any, ast: any) => boolean +>ContinueCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST ThrowCallback? (pre, ast: AST): boolean; ->ThrowCallback : (pre: any, ast: any) => boolean +>ThrowCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST ForCallback? (pre, ast: AST): boolean; ->ForCallback : (pre: any, ast: any) => boolean +>ForCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST ForInCallback? (pre, ast: AST): boolean; ->ForInCallback : (pre: any, ast: any) => boolean +>ForInCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST IfCallback? (pre, ast: AST): boolean; ->IfCallback : (pre: any, ast: any) => boolean +>IfCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST WhileCallback? (pre, ast: AST): boolean; ->WhileCallback : (pre: any, ast: any) => boolean +>WhileCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST DoWhileCallback? (pre, ast: AST): boolean; ->DoWhileCallback : (pre: any, ast: any) => boolean +>DoWhileCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST BlockCallback? (pre, block: Block): boolean; ->BlockCallback : (pre: any, block: any) => boolean +>BlockCallback : (pre: any, block: Block) => boolean >pre : any ->block : any +>block : Block CaseCallback? (pre, ast: AST): boolean; ->CaseCallback : (pre: any, ast: any) => boolean +>CaseCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST SwitchCallback? (pre, ast: AST): boolean; ->SwitchCallback : (pre: any, ast: any) => boolean +>SwitchCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST TryCallback? (pre, ast: AST): boolean; ->TryCallback : (pre: any, ast: any) => boolean +>TryCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST TryCatchCallback? (pre, ast: AST): boolean; ->TryCatchCallback : (pre: any, ast: any) => boolean +>TryCatchCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST TryFinallyCallback? (pre, ast: AST): boolean; ->TryFinallyCallback : (pre: any, ast: any) => boolean +>TryFinallyCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST FinallyCallback? (pre, ast: AST): boolean; ->FinallyCallback : (pre: any, ast: any) => boolean +>FinallyCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST CatchCallback? (pre, ast: AST): boolean; ->CatchCallback : (pre: any, ast: any) => boolean +>CatchCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST ListCallback? (pre, astList: ASTList): boolean; ->ListCallback : (pre: any, astList: any) => boolean +>ListCallback : (pre: any, astList: ASTList) => boolean >pre : any ->astList : any +>astList : ASTList ScriptCallback? (pre, script: Script): boolean; ->ScriptCallback : (pre: any, script: any) => boolean +>ScriptCallback : (pre: any, script: Script) => boolean >pre : any ->script : any +>script : Script ClassDeclarationCallback? (pre, ast: AST): boolean; ->ClassDeclarationCallback : (pre: any, ast: any) => boolean +>ClassDeclarationCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST InterfaceDeclarationCallback? (pre, interfaceDecl: InterfaceDeclaration): boolean; ->InterfaceDeclarationCallback : (pre: any, interfaceDecl: any) => boolean +>InterfaceDeclarationCallback : (pre: any, interfaceDecl: InterfaceDeclaration) => boolean >pre : any ->interfaceDecl : any +>interfaceDecl : InterfaceDeclaration ModuleDeclarationCallback? (pre, moduleDecl: ModuleDeclaration): boolean; ->ModuleDeclarationCallback : (pre: any, moduleDecl: any) => boolean +>ModuleDeclarationCallback : (pre: any, moduleDecl: ModuleDeclaration) => boolean >pre : any ->moduleDecl : any +>moduleDecl : ModuleDeclaration ImportDeclarationCallback? (pre, ast: AST): boolean; ->ImportDeclarationCallback : (pre: any, ast: any) => boolean +>ImportDeclarationCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST WithCallback? (pre, ast: AST): boolean; ->WithCallback : (pre: any, ast: any) => boolean +>WithCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST LabelCallback? (pre, labelAST: AST): boolean; ->LabelCallback : (pre: any, labelAST: any) => boolean +>LabelCallback : (pre: any, labelAST: AST) => boolean >pre : any ->labelAST : any +>labelAST : AST LabeledStatementCallback? (pre, ast: AST): boolean; ->LabeledStatementCallback : (pre: any, ast: any) => boolean +>LabeledStatementCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST EBStartCallback? (pre, ast: AST): boolean; ->EBStartCallback : (pre: any, ast: any) => boolean +>EBStartCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST GotoEBCallback? (pre, ast: AST): boolean; ->GotoEBCallback : (pre: any, ast: any) => boolean +>GotoEBCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST EndCodeCallback? (pre, ast: AST): boolean; ->EndCodeCallback : (pre: any, ast: any) => boolean +>EndCodeCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST ErrorCallback? (pre, ast: AST): boolean; ->ErrorCallback : (pre: any, ast: any) => boolean +>ErrorCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST CommentCallback? (pre, ast: AST): boolean; ->CommentCallback : (pre: any, ast: any) => boolean +>CommentCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST DebuggerCallback? (pre, ast: AST): boolean; ->DebuggerCallback : (pre: any, ast: any) => boolean +>DebuggerCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST DefaultCallback? (pre, ast: AST): boolean; ->DefaultCallback : (pre: any, ast: any) => boolean +>DefaultCallback : (pre: any, ast: AST) => boolean >pre : any ->ast : any +>ast : AST } export function walk(script: Script, callback: AstWalkerDetailCallback): void { ->walk : (script: any, callback: AstWalkerDetailCallback) => void ->script : any +>walk : (script: Script, callback: AstWalkerDetailCallback) => void +>script : Script >callback : AstWalkerDetailCallback var pre = (cur: AST, parent: AST) => { ->pre : (cur: any, parent: any) => any ->(cur: AST, parent: AST) => { walker.options.goChildren = AstWalkerCallback(true, cur, callback); return cur; } : (cur: any, parent: any) => any ->cur : any ->parent : any +>pre : (cur: AST, parent: AST) => AST +>(cur: AST, parent: AST) => { walker.options.goChildren = AstWalkerCallback(true, cur, callback); return cur; } : (cur: AST, parent: AST) => AST +>cur : AST +>parent : AST walker.options.goChildren = AstWalkerCallback(true, cur, callback); >walker.options.goChildren = AstWalkerCallback(true, cur, callback) : boolean @@ -564,30 +564,30 @@ module TypeScript.AstWalkerWithDetailCallback { >options : any >goChildren : any >AstWalkerCallback(true, cur, callback) : boolean ->AstWalkerCallback : (pre: boolean, ast: any, callback: AstWalkerDetailCallback) => boolean +>AstWalkerCallback : (pre: boolean, ast: AST, callback: AstWalkerDetailCallback) => boolean >true : true ->cur : any +>cur : AST >callback : AstWalkerDetailCallback return cur; ->cur : any +>cur : AST } var post = (cur: AST, parent: AST) => { ->post : (cur: any, parent: any) => any ->(cur: AST, parent: AST) => { AstWalkerCallback(false, cur, callback); return cur; } : (cur: any, parent: any) => any ->cur : any ->parent : any +>post : (cur: AST, parent: AST) => AST +>(cur: AST, parent: AST) => { AstWalkerCallback(false, cur, callback); return cur; } : (cur: AST, parent: AST) => AST +>cur : AST +>parent : AST AstWalkerCallback(false, cur, callback); >AstWalkerCallback(false, cur, callback) : boolean ->AstWalkerCallback : (pre: boolean, ast: any, callback: AstWalkerDetailCallback) => boolean +>AstWalkerCallback : (pre: boolean, ast: AST, callback: AstWalkerDetailCallback) => boolean >false : false ->cur : any +>cur : AST >callback : AstWalkerDetailCallback return cur; ->cur : any +>cur : AST } var walker = TypeScript.getAstWalkerFactory().getWalker(pre, post); @@ -599,29 +599,29 @@ module TypeScript.AstWalkerWithDetailCallback { >TypeScript : typeof TypeScript >getAstWalkerFactory : any >getWalker : any ->pre : (cur: any, parent: any) => any ->post : (cur: any, parent: any) => any +>pre : (cur: AST, parent: AST) => AST +>post : (cur: AST, parent: AST) => AST walker.walk(script, null); >walker.walk(script, null) : any >walker.walk : any >walker : any >walk : any ->script : any +>script : Script >null : null } function AstWalkerCallback(pre: boolean, ast: AST, callback: AstWalkerDetailCallback): boolean { ->AstWalkerCallback : (pre: boolean, ast: any, callback: AstWalkerDetailCallback) => boolean +>AstWalkerCallback : (pre: boolean, ast: AST, callback: AstWalkerDetailCallback) => boolean >pre : boolean ->ast : any +>ast : AST >callback : AstWalkerDetailCallback // See if the Callback needs to be handled using specific one or default one var nodeType = ast.nodeType; >nodeType : any >ast.nodeType : any ->ast : any +>ast : AST >nodeType : any var callbackString = (NodeType)._map[nodeType] + "Callback"; @@ -647,21 +647,21 @@ module TypeScript.AstWalkerWithDetailCallback { >callback : AstWalkerDetailCallback >callbackString : string >pre : boolean ->ast : any +>ast : AST } if (callback.DefaultCallback) { ->callback.DefaultCallback : (pre: any, ast: any) => boolean +>callback.DefaultCallback : (pre: any, ast: AST) => boolean >callback : AstWalkerDetailCallback ->DefaultCallback : (pre: any, ast: any) => boolean +>DefaultCallback : (pre: any, ast: AST) => boolean return callback.DefaultCallback(pre, ast); >callback.DefaultCallback(pre, ast) : boolean ->callback.DefaultCallback : (pre: any, ast: any) => boolean +>callback.DefaultCallback : (pre: any, ast: AST) => boolean >callback : AstWalkerDetailCallback ->DefaultCallback : (pre: any, ast: any) => boolean +>DefaultCallback : (pre: any, ast: AST) => boolean >pre : boolean ->ast : any +>ast : AST } return true; diff --git a/tests/baselines/reference/parserRealSource14.symbols b/tests/baselines/reference/parserRealSource14.symbols index abeef54b54c8c..e03220da4c118 100644 --- a/tests/baselines/reference/parserRealSource14.symbols +++ b/tests/baselines/reference/parserRealSource14.symbols @@ -56,6 +56,7 @@ module TypeScript { public asts: TypeScript.AST[] = []; >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>AST : Symbol(TypeScript.AST) public top: number = -1; >top : Symbol(AstPath.top, Decl(parserRealSource14.ts, 23, 43)) @@ -113,6 +114,7 @@ module TypeScript { public pop(): TypeScript.AST { >pop : Symbol(AstPath.pop, Decl(parserRealSource14.ts, 35, 9)) >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>AST : Symbol(TypeScript.AST) var head = this.ast(); >head : Symbol(head, Decl(parserRealSource14.ts, 38, 15)) @@ -150,6 +152,7 @@ module TypeScript { >push : Symbol(AstPath.push, Decl(parserRealSource14.ts, 45, 9)) >ast : Symbol(ast, Decl(parserRealSource14.ts, 47, 20)) >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>AST : Symbol(TypeScript.AST) while (this.asts.length > this.count()) { >this.asts.length : Symbol(Array.length, Decl(lib.es5.d.ts, --, --)) @@ -229,6 +232,7 @@ module TypeScript { public nodeType(): TypeScript.NodeType { >nodeType : Symbol(AstPath.nodeType, Decl(parserRealSource14.ts, 65, 9)) >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>NodeType : Symbol(TypeScript.NodeType) if (this.ast() == null) >this.ast : Symbol(AstPath.ast, Decl(parserRealSource14.ts, 71, 9)) @@ -249,6 +253,7 @@ module TypeScript { return AstPath.reverseIndexOf(this.asts, this.asts.length - (this.top + 1)); >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>AST : Symbol(TypeScript.AST) >AstPath.reverseIndexOf : Symbol(AstPath.reverseIndexOf, Decl(parserRealSource14.ts, 24, 32)) >AstPath : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >reverseIndexOf : Symbol(AstPath.reverseIndexOf, Decl(parserRealSource14.ts, 24, 32)) @@ -270,6 +275,7 @@ module TypeScript { return AstPath.reverseIndexOf(this.asts, this.asts.length - this.top); >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>AST : Symbol(TypeScript.AST) >AstPath.reverseIndexOf : Symbol(AstPath.reverseIndexOf, Decl(parserRealSource14.ts, 24, 32)) >AstPath : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >reverseIndexOf : Symbol(AstPath.reverseIndexOf, Decl(parserRealSource14.ts, 24, 32)) @@ -299,6 +305,7 @@ module TypeScript { >get : Symbol(AstPath.get, Decl(parserRealSource14.ts, 83, 9)) >index : Symbol(index, Decl(parserRealSource14.ts, 85, 19)) >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>AST : Symbol(TypeScript.AST) return this.asts[index]; >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -334,6 +341,7 @@ module TypeScript { ((this.parent()).name === this.ast()); >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>InterfaceDeclaration : Symbol(TypeScript.InterfaceDeclaration) >this.parent : Symbol(AstPath.parent, Decl(parserRealSource14.ts, 75, 9)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >parent : Symbol(AstPath.parent, Decl(parserRealSource14.ts, 75, 9)) @@ -369,6 +377,7 @@ module TypeScript { ((this.parent()).name === this.ast()); >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>InterfaceDeclaration : Symbol(TypeScript.InterfaceDeclaration) >this.parent : Symbol(AstPath.parent, Decl(parserRealSource14.ts, 75, 9)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >parent : Symbol(AstPath.parent, Decl(parserRealSource14.ts, 75, 9)) @@ -404,6 +413,7 @@ module TypeScript { ((this.parent()).id === this.ast()); >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>ArgDecl : Symbol(TypeScript.ArgDecl) >this.parent : Symbol(AstPath.parent, Decl(parserRealSource14.ts, 75, 9)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >parent : Symbol(AstPath.parent, Decl(parserRealSource14.ts, 75, 9)) @@ -439,6 +449,7 @@ module TypeScript { ((this.parent()).id === this.ast()); >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>VarDecl : Symbol(TypeScript.VarDecl) >this.parent : Symbol(AstPath.parent, Decl(parserRealSource14.ts, 75, 9)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >parent : Symbol(AstPath.parent, Decl(parserRealSource14.ts, 75, 9)) @@ -474,6 +485,7 @@ module TypeScript { ((this.parent()).name === this.ast()); >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>ModuleDeclaration : Symbol(TypeScript.ModuleDeclaration) >this.parent : Symbol(AstPath.parent, Decl(parserRealSource14.ts, 75, 9)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >parent : Symbol(AstPath.parent, Decl(parserRealSource14.ts, 75, 9)) @@ -509,6 +521,7 @@ module TypeScript { ((this.parent()).name === this.ast()); >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>FuncDecl : Symbol(TypeScript.FuncDecl) >this.parent : Symbol(AstPath.parent, Decl(parserRealSource14.ts, 75, 9)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >parent : Symbol(AstPath.parent, Decl(parserRealSource14.ts, 75, 9)) @@ -708,6 +721,7 @@ module TypeScript { ((this.asts[this.top - 2]).isConstructor) && >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>FuncDecl : Symbol(TypeScript.FuncDecl) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -717,6 +731,7 @@ module TypeScript { ((this.asts[this.top - 2]).arguments === this.asts[this.top - 1]) && >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>FuncDecl : Symbol(TypeScript.FuncDecl) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -732,6 +747,7 @@ module TypeScript { ((this.asts[this.top - 4]).constructorDecl === this.asts[this.top - 2]); >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>ClassDeclaration : Symbol(TypeScript.ClassDeclaration) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -809,6 +825,7 @@ module TypeScript { TypeScript.hasFlag((this.asts[this.top]).modFlags, TypeScript.ModuleFlags.IsWholeFile); >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>ModuleDeclaration : Symbol(TypeScript.ModuleDeclaration) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -846,6 +863,7 @@ module TypeScript { (this.asts[this.top - 1]).members == this.asts[this.top - 0] && >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>ModuleDeclaration : Symbol(TypeScript.ModuleDeclaration) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -862,6 +880,7 @@ module TypeScript { TypeScript.hasFlag((this.asts[this.top - 1]).modFlags, TypeScript.ModuleFlags.IsWholeFile); >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>ModuleDeclaration : Symbol(TypeScript.ModuleDeclaration) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -890,6 +909,7 @@ module TypeScript { (this.asts[this.top - 1]).bod == this.asts[this.top - 0]; >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>Script : Symbol(TypeScript.Script) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -923,6 +943,7 @@ module TypeScript { (this.asts[this.top - 1]).caseList == this.asts[this.top - 0]; >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>SwitchStatement : Symbol(TypeScript.SwitchStatement) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -956,6 +977,7 @@ module TypeScript { (this.asts[this.top - 1]).members == this.asts[this.top - 0]; >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>ModuleDeclaration : Symbol(TypeScript.ModuleDeclaration) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -989,6 +1011,7 @@ module TypeScript { (this.asts[this.top - 1]).members == this.asts[this.top - 0]; >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>ClassDeclaration : Symbol(TypeScript.ClassDeclaration) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -1022,6 +1045,7 @@ module TypeScript { (this.asts[this.top - 1]).bod == this.asts[this.top - 0]; >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>FuncDecl : Symbol(TypeScript.FuncDecl) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -1055,6 +1079,7 @@ module TypeScript { (this.asts[this.top - 1]).members == this.asts[this.top - 0]; >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>InterfaceDeclaration : Symbol(TypeScript.InterfaceDeclaration) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -1088,6 +1113,7 @@ module TypeScript { (this.asts[this.top - 1]).statements == this.asts[this.top - 0]; >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>Block : Symbol(TypeScript.Block) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -1121,6 +1147,7 @@ module TypeScript { (this.asts[this.top - 1]).body == this.asts[this.top - 0]; >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>ForStatement : Symbol(TypeScript.ForStatement) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -1154,6 +1181,7 @@ module TypeScript { (this.asts[this.top - 1]).body == this.asts[this.top - 0]; >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>CaseStatement : Symbol(TypeScript.CaseStatement) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -1187,6 +1215,7 @@ module TypeScript { (this.asts[this.top - 1]).body == this.asts[this.top - 0]; >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>Try : Symbol(TypeScript.Try) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -1220,6 +1249,7 @@ module TypeScript { (this.asts[this.top - 1]).body == this.asts[this.top - 0]; >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>Catch : Symbol(TypeScript.Catch) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -1253,6 +1283,7 @@ module TypeScript { (this.asts[this.top - 1]).body == this.asts[this.top - 0]; >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>DoWhileStatement : Symbol(TypeScript.DoWhileStatement) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -1286,6 +1317,7 @@ module TypeScript { (this.asts[this.top - 1]).body == this.asts[this.top - 0]; >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>WhileStatement : Symbol(TypeScript.WhileStatement) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -1319,6 +1351,7 @@ module TypeScript { (this.asts[this.top - 1]).body == this.asts[this.top - 0]; >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>ForInStatement : Symbol(TypeScript.ForInStatement) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -1352,6 +1385,7 @@ module TypeScript { (this.asts[this.top - 1]).body == this.asts[this.top - 0]; >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>WithStatement : Symbol(TypeScript.WithStatement) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -1385,6 +1419,7 @@ module TypeScript { (this.asts[this.top - 1]).body == this.asts[this.top - 0]; >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>Finally : Symbol(TypeScript.Finally) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -1427,6 +1462,7 @@ module TypeScript { (this.asts[this.top - 2]).caseList == this.asts[this.top - 1]; >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>SwitchStatement : Symbol(TypeScript.SwitchStatement) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -1469,6 +1505,7 @@ module TypeScript { (this.asts[this.top - 2]).caseList == this.asts[this.top - 1] && >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>SwitchStatement : Symbol(TypeScript.SwitchStatement) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -1484,6 +1521,7 @@ module TypeScript { (this.asts[this.top - 2]).defaultCase == this.asts[this.top - 0]; >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>SwitchStatement : Symbol(TypeScript.SwitchStatement) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -1526,6 +1564,7 @@ module TypeScript { (this.asts[this.top - 1]).operand == this.asts[this.top - 0]; >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>UnaryExpression : Symbol(TypeScript.UnaryExpression) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -1577,6 +1616,7 @@ module TypeScript { (this.asts[this.top - 1]).operand == this.asts[this.top - 0] && >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>UnaryExpression : Symbol(TypeScript.UnaryExpression) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -1592,6 +1632,7 @@ module TypeScript { (this.asts[this.top - 0]).members.length == 0; >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>ASTList : Symbol(TypeScript.ASTList) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -1637,6 +1678,7 @@ module TypeScript { (this.asts[this.top - 2]).operand == this.asts[this.top - 1]; >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>UnaryExpression : Symbol(TypeScript.UnaryExpression) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -1697,6 +1739,7 @@ module TypeScript { (this.asts[this.top - 3]).operand == this.asts[this.top - 2]; >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>UnaryExpression : Symbol(TypeScript.UnaryExpression) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -1739,6 +1782,7 @@ module TypeScript { (this.asts[this.top - 1]).operand == this.asts[this.top - 0]; >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>UnaryExpression : Symbol(TypeScript.UnaryExpression) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -1772,6 +1816,7 @@ module TypeScript { (this.asts[this.top - 1]).operand1 === this.asts[this.top - 0]; >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>BinaryExpression : Symbol(TypeScript.BinaryExpression) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -1805,6 +1850,7 @@ module TypeScript { (this.asts[this.top - 1]).operand2 === this.asts[this.top - 0]; >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>BinaryExpression : Symbol(TypeScript.BinaryExpression) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -1858,6 +1904,7 @@ module TypeScript { (this.asts[this.top - 1]).thenBod == this.asts[this.top - 0]; >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>IfStatement : Symbol(TypeScript.IfStatement) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -1891,6 +1938,7 @@ module TypeScript { (this.asts[this.top - 1]).elseBod == this.asts[this.top - 0]; >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>IfStatement : Symbol(TypeScript.IfStatement) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -1933,6 +1981,7 @@ module TypeScript { (this.asts[this.top]).members.length === 1; >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>ASTList : Symbol(TypeScript.ASTList) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -1969,6 +2018,7 @@ module TypeScript { (this.asts[this.top - 1]).arguments === this.asts[this.top - 0]; >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>FuncDecl : Symbol(TypeScript.FuncDecl) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -2011,6 +2061,7 @@ module TypeScript { (this.asts[this.top - 2]).arguments === this.asts[this.top - 1]; >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>FuncDecl : Symbol(TypeScript.FuncDecl) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -2053,6 +2104,7 @@ module TypeScript { (this.asts[this.top - 1]).arguments === this.asts[this.top - 0]; >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>CallExpression : Symbol(TypeScript.CallExpression) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -2095,6 +2147,7 @@ module TypeScript { (this.asts[this.top - 1]).arguments === this.asts[this.top - 0]; >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>CallExpression : Symbol(TypeScript.CallExpression) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -2128,6 +2181,7 @@ module TypeScript { (this.asts[this.top - 0]).isStatementBlock === false; >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>Block : Symbol(TypeScript.Block) >this.asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) >this : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >asts : Symbol(AstPath.asts, Decl(parserRealSource14.ts, 22, 26)) @@ -2141,6 +2195,7 @@ module TypeScript { >isValidAstNode : Symbol(isValidAstNode, Decl(parserRealSource14.ts, 429, 5)) >ast : Symbol(ast, Decl(parserRealSource14.ts, 431, 35)) >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>ASTSpan : Symbol(TypeScript.ASTSpan) if (ast === null) >ast : Symbol(ast, Decl(parserRealSource14.ts, 431, 35)) @@ -2193,6 +2248,7 @@ module TypeScript { >getAstPathToPosition : Symbol(getAstPathToPosition, Decl(parserRealSource14.ts, 456, 5)) >script : Symbol(script, Decl(parserRealSource14.ts, 461, 41)) >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>AST : Symbol(TypeScript.AST) >pos : Symbol(pos, Decl(parserRealSource14.ts, 461, 64)) >options : Symbol(options, Decl(parserRealSource14.ts, 461, 77)) >GetAstPathOptions.Default : Symbol(GetAstPathOptions.Default, Decl(parserRealSource14.ts, 445, 35)) @@ -2205,6 +2261,7 @@ module TypeScript { >lookInComments : Symbol(lookInComments, Decl(parserRealSource14.ts, 462, 11)) >comments : Symbol(comments, Decl(parserRealSource14.ts, 462, 30)) >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>Comment : Symbol(TypeScript.Comment) if (comments && comments.length > 0) { >comments : Symbol(comments, Decl(parserRealSource14.ts, 462, 30)) @@ -2260,9 +2317,12 @@ module TypeScript { >pre : Symbol(pre, Decl(parserRealSource14.ts, 477, 11)) >cur : Symbol(cur, Decl(parserRealSource14.ts, 477, 28)) >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>AST : Symbol(TypeScript.AST) >parent : Symbol(parent, Decl(parserRealSource14.ts, 477, 48)) >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>AST : Symbol(TypeScript.AST) >walker : Symbol(walker, Decl(parserRealSource14.ts, 477, 72)) +>IAstWalker : Symbol(IAstWalker) if (isValidAstNode(cur)) { >isValidAstNode : Symbol(isValidAstNode, Decl(parserRealSource14.ts, 429, 5)) @@ -2398,6 +2458,7 @@ module TypeScript { >getTokenizationOffset : Symbol(getTokenizationOffset, Decl(parserRealSource14.ts, 526, 5)) >script : Symbol(script, Decl(parserRealSource14.ts, 532, 42)) >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>Script : Symbol(TypeScript.Script) >position : Symbol(position, Decl(parserRealSource14.ts, 532, 68)) var bestOffset = 0; @@ -2407,11 +2468,15 @@ module TypeScript { >pre : Symbol(pre, Decl(parserRealSource14.ts, 534, 11)) >cur : Symbol(cur, Decl(parserRealSource14.ts, 534, 19)) >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>AST : Symbol(TypeScript.AST) >parent : Symbol(parent, Decl(parserRealSource14.ts, 534, 39)) >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>AST : Symbol(TypeScript.AST) >walker : Symbol(walker, Decl(parserRealSource14.ts, 534, 63)) >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>IAstWalker : Symbol(TypeScript.IAstWalker) >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>AST : Symbol(TypeScript.AST) if (TypeScript.isValidAstNode(cur)) { >TypeScript.isValidAstNode : Symbol(isValidAstNode, Decl(parserRealSource14.ts, 429, 5)) @@ -2463,20 +2528,25 @@ module TypeScript { >walkAST : Symbol(walkAST, Decl(parserRealSource14.ts, 552, 5)) >ast : Symbol(ast, Decl(parserRealSource14.ts, 557, 28)) >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>AST : Symbol(TypeScript.AST) >callback : Symbol(callback, Decl(parserRealSource14.ts, 557, 48)) >path : Symbol(path, Decl(parserRealSource14.ts, 557, 60)) >AstPath : Symbol(AstPath, Decl(parserRealSource14.ts, 16, 5)) >walker : Symbol(walker, Decl(parserRealSource14.ts, 557, 74)) >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>IAstWalker : Symbol(TypeScript.IAstWalker) var pre = function (cur: TypeScript.AST, parent: TypeScript.AST, walker: TypeScript.IAstWalker) { >pre : Symbol(pre, Decl(parserRealSource14.ts, 558, 11)) >cur : Symbol(cur, Decl(parserRealSource14.ts, 558, 28)) >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>AST : Symbol(TypeScript.AST) >parent : Symbol(parent, Decl(parserRealSource14.ts, 558, 48)) >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>AST : Symbol(TypeScript.AST) >walker : Symbol(walker, Decl(parserRealSource14.ts, 558, 72)) >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>IAstWalker : Symbol(TypeScript.IAstWalker) var path: TypeScript.AstPath = walker.state; >path : Symbol(path, Decl(parserRealSource14.ts, 559, 15)) @@ -2502,10 +2572,13 @@ module TypeScript { >post : Symbol(post, Decl(parserRealSource14.ts, 564, 11)) >cur : Symbol(cur, Decl(parserRealSource14.ts, 564, 29)) >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>AST : Symbol(TypeScript.AST) >parent : Symbol(parent, Decl(parserRealSource14.ts, 564, 49)) >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>AST : Symbol(TypeScript.AST) >walker : Symbol(walker, Decl(parserRealSource14.ts, 564, 73)) >TypeScript : Symbol(TypeScript, Decl(parserRealSource14.ts, 0, 0)) +>IAstWalker : Symbol(TypeScript.IAstWalker) var path: TypeScript.AstPath = walker.state; >path : Symbol(path, Decl(parserRealSource14.ts, 565, 15)) diff --git a/tests/baselines/reference/parserRealSource14.types b/tests/baselines/reference/parserRealSource14.types index 4ba24e6fd4a62..6bff1f2cd6f5f 100644 --- a/tests/baselines/reference/parserRealSource14.types +++ b/tests/baselines/reference/parserRealSource14.types @@ -69,7 +69,7 @@ module TypeScript { >AstPath : AstPath public asts: TypeScript.AST[] = []; ->asts : any[] +>asts : TypeScript.AST[] >TypeScript : any >[] : undefined[] @@ -116,19 +116,19 @@ module TypeScript { >AstPath : typeof AstPath clone.asts = this.asts.map((value) => { return value; }); ->clone.asts = this.asts.map((value) => { return value; }) : any[] ->clone.asts : any[] +>clone.asts = this.asts.map((value) => { return value; }) : TypeScript.AST[] +>clone.asts : TypeScript.AST[] >clone : AstPath ->asts : any[] ->this.asts.map((value) => { return value; }) : any[] ->this.asts.map : (callbackfn: (value: any, index: number, array: any[]) => U, thisArg?: any) => U[] ->this.asts : any[] +>asts : TypeScript.AST[] +>this.asts.map((value) => { return value; }) : TypeScript.AST[] +>this.asts.map : (callbackfn: (value: TypeScript.AST, index: number, array: TypeScript.AST[]) => U, thisArg?: any) => U[] +>this.asts : TypeScript.AST[] >this : this ->asts : any[] ->map : (callbackfn: (value: any, index: number, array: any[]) => U, thisArg?: any) => U[] ->(value) => { return value; } : (value: any) => any ->value : any ->value : any +>asts : TypeScript.AST[] +>map : (callbackfn: (value: TypeScript.AST, index: number, array: TypeScript.AST[]) => U, thisArg?: any) => U[] +>(value) => { return value; } : (value: TypeScript.AST) => TypeScript.AST +>value : TypeScript.AST +>value : TypeScript.AST clone.top = this.top; >clone.top = this.top : number @@ -144,15 +144,15 @@ module TypeScript { } public pop(): TypeScript.AST { ->pop : () => any +>pop : () => TypeScript.AST >TypeScript : any var head = this.ast(); ->head : any ->this.ast() : any ->this.ast : () => any +>head : TypeScript.AST +>this.ast() : TypeScript.AST +>this.ast : () => TypeScript.AST >this : this ->ast : () => any +>ast : () => TypeScript.AST this.up(); >this.up() : void @@ -163,9 +163,9 @@ module TypeScript { while (this.asts.length > this.count()) { >this.asts.length > this.count() : boolean >this.asts.length : number ->this.asts : any[] +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >length : number >this.count() : number >this.count : () => number @@ -173,28 +173,28 @@ module TypeScript { >count : () => number this.asts.pop(); ->this.asts.pop() : any ->this.asts.pop : () => any ->this.asts : any[] +>this.asts.pop() : TypeScript.AST +>this.asts.pop : () => TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] ->pop : () => any +>asts : TypeScript.AST[] +>pop : () => TypeScript.AST } return head; ->head : any +>head : TypeScript.AST } public push(ast: TypeScript.AST) { ->push : (ast: any) => void ->ast : any +>push : (ast: TypeScript.AST) => void +>ast : TypeScript.AST >TypeScript : any while (this.asts.length > this.count()) { >this.asts.length > this.count() : boolean >this.asts.length : number ->this.asts : any[] +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >length : number >this.count() : number >this.count : () => number @@ -202,12 +202,12 @@ module TypeScript { >count : () => number this.asts.pop(); ->this.asts.pop() : any ->this.asts.pop : () => any ->this.asts : any[] +>this.asts.pop() : TypeScript.AST +>this.asts.pop : () => TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] ->pop : () => any +>asts : TypeScript.AST[] +>pop : () => TypeScript.AST } this.top = this.asts.length; >this.top = this.asts.length : number @@ -215,19 +215,19 @@ module TypeScript { >this : this >top : number >this.asts.length : number ->this.asts : any[] +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >length : number this.asts.push(ast); >this.asts.push(ast) : number ->this.asts.push : (...items: any[]) => number ->this.asts : any[] +>this.asts.push : (...items: TypeScript.AST[]) => number +>this.asts : TypeScript.AST[] >this : this ->asts : any[] ->push : (...items: any[]) => number ->ast : any +>asts : TypeScript.AST[] +>push : (...items: TypeScript.AST[]) => number +>ast : TypeScript.AST } public up() { @@ -263,9 +263,9 @@ module TypeScript { >top : number >this.ast.length - 1 : number >this.ast.length : number ->this.ast : () => any +>this.ast : () => TypeScript.AST >this : this ->ast : () => any +>ast : () => TypeScript.AST >length : number >1 : 1 @@ -282,15 +282,15 @@ module TypeScript { } public nodeType(): TypeScript.NodeType { ->nodeType : () => any +>nodeType : () => TypeScript.NodeType >TypeScript : any if (this.ast() == null) >this.ast() == null : boolean ->this.ast() : any ->this.ast : () => any +>this.ast() : TypeScript.AST +>this.ast : () => TypeScript.AST >this : this ->ast : () => any +>ast : () => TypeScript.AST >null : null return TypeScript.NodeType.None; @@ -302,31 +302,31 @@ module TypeScript { return this.ast().nodeType; >this.ast().nodeType : any ->this.ast() : any ->this.ast : () => any +>this.ast() : TypeScript.AST +>this.ast : () => TypeScript.AST >this : this ->ast : () => any +>ast : () => TypeScript.AST >nodeType : any } public ast() { ->ast : () => any +>ast : () => TypeScript.AST return AstPath.reverseIndexOf(this.asts, this.asts.length - (this.top + 1)); ->AstPath.reverseIndexOf(this.asts, this.asts.length - (this.top + 1)) : any +>AstPath.reverseIndexOf(this.asts, this.asts.length - (this.top + 1)) : TypeScript.AST >TypeScript : any >AstPath.reverseIndexOf(this.asts, this.asts.length - (this.top + 1)) : any >AstPath.reverseIndexOf : (items: any[], index: number) => any >AstPath : typeof AstPath >reverseIndexOf : (items: any[], index: number) => any ->this.asts : any[] +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.asts.length - (this.top + 1) : number >this.asts.length : number ->this.asts : any[] +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >length : number >(this.top + 1) : number >this.top + 1 : number @@ -337,23 +337,23 @@ module TypeScript { } public parent() { ->parent : () => any +>parent : () => TypeScript.AST return AstPath.reverseIndexOf(this.asts, this.asts.length - this.top); ->AstPath.reverseIndexOf(this.asts, this.asts.length - this.top) : any +>AstPath.reverseIndexOf(this.asts, this.asts.length - this.top) : TypeScript.AST >TypeScript : any >AstPath.reverseIndexOf(this.asts, this.asts.length - this.top) : any >AstPath.reverseIndexOf : (items: any[], index: number) => any >AstPath : typeof AstPath >reverseIndexOf : (items: any[], index: number) => any ->this.asts : any[] +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.asts.length - this.top : number >this.asts.length : number ->this.asts : any[] +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >length : number >this.top : number >this : this @@ -372,15 +372,15 @@ module TypeScript { } public get(index: number): TypeScript.AST { ->get : (index: number) => any +>get : (index: number) => TypeScript.AST >index : number >TypeScript : any return this.asts[index]; ->this.asts[index] : any ->this.asts : any[] +>this.asts[index] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >index : number } @@ -390,16 +390,16 @@ module TypeScript { if (this.ast() === null || this.parent() === null) >this.ast() === null || this.parent() === null : boolean >this.ast() === null : boolean ->this.ast() : any ->this.ast : () => any +>this.ast() : TypeScript.AST +>this.ast : () => TypeScript.AST >this : this ->ast : () => any +>ast : () => TypeScript.AST >null : null >this.parent() === null : boolean ->this.parent() : any ->this.parent : () => any +>this.parent() : TypeScript.AST +>this.parent : () => TypeScript.AST >this : this ->parent : () => any +>parent : () => TypeScript.AST >null : null return false; @@ -411,10 +411,10 @@ module TypeScript { >(this.ast().nodeType === TypeScript.NodeType.Name) : boolean >this.ast().nodeType === TypeScript.NodeType.Name : boolean >this.ast().nodeType : any ->this.ast() : any ->this.ast : () => any +>this.ast() : TypeScript.AST +>this.ast : () => TypeScript.AST >this : this ->ast : () => any +>ast : () => TypeScript.AST >nodeType : any >TypeScript.NodeType.Name : any >TypeScript.NodeType : any @@ -426,10 +426,10 @@ module TypeScript { >(this.parent().nodeType === TypeScript.NodeType.ClassDeclaration) : boolean >this.parent().nodeType === TypeScript.NodeType.ClassDeclaration : boolean >this.parent().nodeType : any ->this.parent() : any ->this.parent : () => any +>this.parent() : TypeScript.AST +>this.parent : () => TypeScript.AST >this : this ->parent : () => any +>parent : () => TypeScript.AST >nodeType : any >TypeScript.NodeType.ClassDeclaration : any >TypeScript.NodeType : any @@ -441,18 +441,18 @@ module TypeScript { >((this.parent()).name === this.ast()) : boolean >(this.parent()).name === this.ast() : boolean >(this.parent()).name : any ->(this.parent()) : any ->this.parent() : any +>(this.parent()) : TypeScript.InterfaceDeclaration +>this.parent() : TypeScript.InterfaceDeclaration >TypeScript : any ->this.parent() : any ->this.parent : () => any +>this.parent() : TypeScript.AST +>this.parent : () => TypeScript.AST >this : this ->parent : () => any +>parent : () => TypeScript.AST >name : any ->this.ast() : any ->this.ast : () => any +>this.ast() : TypeScript.AST +>this.ast : () => TypeScript.AST >this : this ->ast : () => any +>ast : () => TypeScript.AST } public isNameOfInterface(): boolean { @@ -461,16 +461,16 @@ module TypeScript { if (this.ast() === null || this.parent() === null) >this.ast() === null || this.parent() === null : boolean >this.ast() === null : boolean ->this.ast() : any ->this.ast : () => any +>this.ast() : TypeScript.AST +>this.ast : () => TypeScript.AST >this : this ->ast : () => any +>ast : () => TypeScript.AST >null : null >this.parent() === null : boolean ->this.parent() : any ->this.parent : () => any +>this.parent() : TypeScript.AST +>this.parent : () => TypeScript.AST >this : this ->parent : () => any +>parent : () => TypeScript.AST >null : null return false; @@ -482,10 +482,10 @@ module TypeScript { >(this.ast().nodeType === TypeScript.NodeType.Name) : boolean >this.ast().nodeType === TypeScript.NodeType.Name : boolean >this.ast().nodeType : any ->this.ast() : any ->this.ast : () => any +>this.ast() : TypeScript.AST +>this.ast : () => TypeScript.AST >this : this ->ast : () => any +>ast : () => TypeScript.AST >nodeType : any >TypeScript.NodeType.Name : any >TypeScript.NodeType : any @@ -497,10 +497,10 @@ module TypeScript { >(this.parent().nodeType === TypeScript.NodeType.InterfaceDeclaration) : boolean >this.parent().nodeType === TypeScript.NodeType.InterfaceDeclaration : boolean >this.parent().nodeType : any ->this.parent() : any ->this.parent : () => any +>this.parent() : TypeScript.AST +>this.parent : () => TypeScript.AST >this : this ->parent : () => any +>parent : () => TypeScript.AST >nodeType : any >TypeScript.NodeType.InterfaceDeclaration : any >TypeScript.NodeType : any @@ -512,18 +512,18 @@ module TypeScript { >((this.parent()).name === this.ast()) : boolean >(this.parent()).name === this.ast() : boolean >(this.parent()).name : any ->(this.parent()) : any ->this.parent() : any +>(this.parent()) : TypeScript.InterfaceDeclaration +>this.parent() : TypeScript.InterfaceDeclaration >TypeScript : any ->this.parent() : any ->this.parent : () => any +>this.parent() : TypeScript.AST +>this.parent : () => TypeScript.AST >this : this ->parent : () => any +>parent : () => TypeScript.AST >name : any ->this.ast() : any ->this.ast : () => any +>this.ast() : TypeScript.AST +>this.ast : () => TypeScript.AST >this : this ->ast : () => any +>ast : () => TypeScript.AST } public isNameOfArgument(): boolean { @@ -532,16 +532,16 @@ module TypeScript { if (this.ast() === null || this.parent() === null) >this.ast() === null || this.parent() === null : boolean >this.ast() === null : boolean ->this.ast() : any ->this.ast : () => any +>this.ast() : TypeScript.AST +>this.ast : () => TypeScript.AST >this : this ->ast : () => any +>ast : () => TypeScript.AST >null : null >this.parent() === null : boolean ->this.parent() : any ->this.parent : () => any +>this.parent() : TypeScript.AST +>this.parent : () => TypeScript.AST >this : this ->parent : () => any +>parent : () => TypeScript.AST >null : null return false; @@ -553,10 +553,10 @@ module TypeScript { >(this.ast().nodeType === TypeScript.NodeType.Name) : boolean >this.ast().nodeType === TypeScript.NodeType.Name : boolean >this.ast().nodeType : any ->this.ast() : any ->this.ast : () => any +>this.ast() : TypeScript.AST +>this.ast : () => TypeScript.AST >this : this ->ast : () => any +>ast : () => TypeScript.AST >nodeType : any >TypeScript.NodeType.Name : any >TypeScript.NodeType : any @@ -568,10 +568,10 @@ module TypeScript { >(this.parent().nodeType === TypeScript.NodeType.ArgDecl) : boolean >this.parent().nodeType === TypeScript.NodeType.ArgDecl : boolean >this.parent().nodeType : any ->this.parent() : any ->this.parent : () => any +>this.parent() : TypeScript.AST +>this.parent : () => TypeScript.AST >this : this ->parent : () => any +>parent : () => TypeScript.AST >nodeType : any >TypeScript.NodeType.ArgDecl : any >TypeScript.NodeType : any @@ -583,18 +583,18 @@ module TypeScript { >((this.parent()).id === this.ast()) : boolean >(this.parent()).id === this.ast() : boolean >(this.parent()).id : any ->(this.parent()) : any ->this.parent() : any +>(this.parent()) : TypeScript.ArgDecl +>this.parent() : TypeScript.ArgDecl >TypeScript : any ->this.parent() : any ->this.parent : () => any +>this.parent() : TypeScript.AST +>this.parent : () => TypeScript.AST >this : this ->parent : () => any +>parent : () => TypeScript.AST >id : any ->this.ast() : any ->this.ast : () => any +>this.ast() : TypeScript.AST +>this.ast : () => TypeScript.AST >this : this ->ast : () => any +>ast : () => TypeScript.AST } public isNameOfVariable(): boolean { @@ -603,16 +603,16 @@ module TypeScript { if (this.ast() === null || this.parent() === null) >this.ast() === null || this.parent() === null : boolean >this.ast() === null : boolean ->this.ast() : any ->this.ast : () => any +>this.ast() : TypeScript.AST +>this.ast : () => TypeScript.AST >this : this ->ast : () => any +>ast : () => TypeScript.AST >null : null >this.parent() === null : boolean ->this.parent() : any ->this.parent : () => any +>this.parent() : TypeScript.AST +>this.parent : () => TypeScript.AST >this : this ->parent : () => any +>parent : () => TypeScript.AST >null : null return false; @@ -624,10 +624,10 @@ module TypeScript { >(this.ast().nodeType === TypeScript.NodeType.Name) : boolean >this.ast().nodeType === TypeScript.NodeType.Name : boolean >this.ast().nodeType : any ->this.ast() : any ->this.ast : () => any +>this.ast() : TypeScript.AST +>this.ast : () => TypeScript.AST >this : this ->ast : () => any +>ast : () => TypeScript.AST >nodeType : any >TypeScript.NodeType.Name : any >TypeScript.NodeType : any @@ -639,10 +639,10 @@ module TypeScript { >(this.parent().nodeType === TypeScript.NodeType.VarDecl) : boolean >this.parent().nodeType === TypeScript.NodeType.VarDecl : boolean >this.parent().nodeType : any ->this.parent() : any ->this.parent : () => any +>this.parent() : TypeScript.AST +>this.parent : () => TypeScript.AST >this : this ->parent : () => any +>parent : () => TypeScript.AST >nodeType : any >TypeScript.NodeType.VarDecl : any >TypeScript.NodeType : any @@ -654,18 +654,18 @@ module TypeScript { >((this.parent()).id === this.ast()) : boolean >(this.parent()).id === this.ast() : boolean >(this.parent()).id : any ->(this.parent()) : any ->this.parent() : any +>(this.parent()) : TypeScript.VarDecl +>this.parent() : TypeScript.VarDecl >TypeScript : any ->this.parent() : any ->this.parent : () => any +>this.parent() : TypeScript.AST +>this.parent : () => TypeScript.AST >this : this ->parent : () => any +>parent : () => TypeScript.AST >id : any ->this.ast() : any ->this.ast : () => any +>this.ast() : TypeScript.AST +>this.ast : () => TypeScript.AST >this : this ->ast : () => any +>ast : () => TypeScript.AST } public isNameOfModule(): boolean { @@ -674,16 +674,16 @@ module TypeScript { if (this.ast() === null || this.parent() === null) >this.ast() === null || this.parent() === null : boolean >this.ast() === null : boolean ->this.ast() : any ->this.ast : () => any +>this.ast() : TypeScript.AST +>this.ast : () => TypeScript.AST >this : this ->ast : () => any +>ast : () => TypeScript.AST >null : null >this.parent() === null : boolean ->this.parent() : any ->this.parent : () => any +>this.parent() : TypeScript.AST +>this.parent : () => TypeScript.AST >this : this ->parent : () => any +>parent : () => TypeScript.AST >null : null return false; @@ -695,10 +695,10 @@ module TypeScript { >(this.ast().nodeType === TypeScript.NodeType.Name) : boolean >this.ast().nodeType === TypeScript.NodeType.Name : boolean >this.ast().nodeType : any ->this.ast() : any ->this.ast : () => any +>this.ast() : TypeScript.AST +>this.ast : () => TypeScript.AST >this : this ->ast : () => any +>ast : () => TypeScript.AST >nodeType : any >TypeScript.NodeType.Name : any >TypeScript.NodeType : any @@ -710,10 +710,10 @@ module TypeScript { >(this.parent().nodeType === TypeScript.NodeType.ModuleDeclaration) : boolean >this.parent().nodeType === TypeScript.NodeType.ModuleDeclaration : boolean >this.parent().nodeType : any ->this.parent() : any ->this.parent : () => any +>this.parent() : TypeScript.AST +>this.parent : () => TypeScript.AST >this : this ->parent : () => any +>parent : () => TypeScript.AST >nodeType : any >TypeScript.NodeType.ModuleDeclaration : any >TypeScript.NodeType : any @@ -725,18 +725,18 @@ module TypeScript { >((this.parent()).name === this.ast()) : boolean >(this.parent()).name === this.ast() : boolean >(this.parent()).name : any ->(this.parent()) : any ->this.parent() : any +>(this.parent()) : TypeScript.ModuleDeclaration +>this.parent() : TypeScript.ModuleDeclaration >TypeScript : any ->this.parent() : any ->this.parent : () => any +>this.parent() : TypeScript.AST +>this.parent : () => TypeScript.AST >this : this ->parent : () => any +>parent : () => TypeScript.AST >name : any ->this.ast() : any ->this.ast : () => any +>this.ast() : TypeScript.AST +>this.ast : () => TypeScript.AST >this : this ->ast : () => any +>ast : () => TypeScript.AST } public isNameOfFunction(): boolean { @@ -745,16 +745,16 @@ module TypeScript { if (this.ast() === null || this.parent() === null) >this.ast() === null || this.parent() === null : boolean >this.ast() === null : boolean ->this.ast() : any ->this.ast : () => any +>this.ast() : TypeScript.AST +>this.ast : () => TypeScript.AST >this : this ->ast : () => any +>ast : () => TypeScript.AST >null : null >this.parent() === null : boolean ->this.parent() : any ->this.parent : () => any +>this.parent() : TypeScript.AST +>this.parent : () => TypeScript.AST >this : this ->parent : () => any +>parent : () => TypeScript.AST >null : null return false; @@ -766,10 +766,10 @@ module TypeScript { >(this.ast().nodeType === TypeScript.NodeType.Name) : boolean >this.ast().nodeType === TypeScript.NodeType.Name : boolean >this.ast().nodeType : any ->this.ast() : any ->this.ast : () => any +>this.ast() : TypeScript.AST +>this.ast : () => TypeScript.AST >this : this ->ast : () => any +>ast : () => TypeScript.AST >nodeType : any >TypeScript.NodeType.Name : any >TypeScript.NodeType : any @@ -781,10 +781,10 @@ module TypeScript { >(this.parent().nodeType === TypeScript.NodeType.FuncDecl) : boolean >this.parent().nodeType === TypeScript.NodeType.FuncDecl : boolean >this.parent().nodeType : any ->this.parent() : any ->this.parent : () => any +>this.parent() : TypeScript.AST +>this.parent : () => TypeScript.AST >this : this ->parent : () => any +>parent : () => TypeScript.AST >nodeType : any >TypeScript.NodeType.FuncDecl : any >TypeScript.NodeType : any @@ -796,18 +796,18 @@ module TypeScript { >((this.parent()).name === this.ast()) : boolean >(this.parent()).name === this.ast() : boolean >(this.parent()).name : any ->(this.parent()) : any ->this.parent() : any +>(this.parent()) : TypeScript.FuncDecl +>this.parent() : TypeScript.FuncDecl >TypeScript : any ->this.parent() : any ->this.parent : () => any +>this.parent() : TypeScript.AST +>this.parent : () => TypeScript.AST >this : this ->parent : () => any +>parent : () => TypeScript.AST >name : any ->this.ast() : any ->this.ast : () => any +>this.ast() : TypeScript.AST +>this.ast : () => TypeScript.AST >this : this ->ast : () => any +>ast : () => TypeScript.AST } public isChildOfScript(): boolean { @@ -817,9 +817,9 @@ module TypeScript { >ast : any >lastOf(this.asts) : any >lastOf : (items: any[]) => any ->this.asts : any[] +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] return this.count() >= 3 && >this.count() >= 3 && this.asts[this.top] === ast && this.asts[this.top - 1].nodeType === TypeScript.NodeType.List && this.asts[this.top - 2].nodeType === TypeScript.NodeType.Script : boolean @@ -834,10 +834,10 @@ module TypeScript { this.asts[this.top] === ast && >this.asts[this.top] === ast : boolean ->this.asts[this.top] : any ->this.asts : any[] +>this.asts[this.top] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top : number >this : this >top : number @@ -846,10 +846,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.List && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.List : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -865,10 +865,10 @@ module TypeScript { this.asts[this.top - 2].nodeType === TypeScript.NodeType.Script; >this.asts[this.top - 2].nodeType === TypeScript.NodeType.Script : boolean >this.asts[this.top - 2].nodeType : any ->this.asts[this.top - 2] : any ->this.asts : any[] +>this.asts[this.top - 2] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 2 : number >this.top : number >this : this @@ -889,9 +889,9 @@ module TypeScript { >ast : any >lastOf(this.asts) : any >lastOf : (items: any[]) => any ->this.asts : any[] +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] return this.count() >= 3 && >this.count() >= 3 && this.asts[this.top] === ast && this.asts[this.top - 1].nodeType === TypeScript.NodeType.List && this.asts[this.top - 2].nodeType === TypeScript.NodeType.ModuleDeclaration : boolean @@ -906,10 +906,10 @@ module TypeScript { this.asts[this.top] === ast && >this.asts[this.top] === ast : boolean ->this.asts[this.top] : any ->this.asts : any[] +>this.asts[this.top] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top : number >this : this >top : number @@ -918,10 +918,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.List && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.List : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -937,10 +937,10 @@ module TypeScript { this.asts[this.top - 2].nodeType === TypeScript.NodeType.ModuleDeclaration; >this.asts[this.top - 2].nodeType === TypeScript.NodeType.ModuleDeclaration : boolean >this.asts[this.top - 2].nodeType : any ->this.asts[this.top - 2] : any ->this.asts : any[] +>this.asts[this.top - 2] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 2 : number >this.top : number >this : this @@ -961,9 +961,9 @@ module TypeScript { >ast : any >lastOf(this.asts) : any >lastOf : (items: any[]) => any ->this.asts : any[] +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] return this.count() >= 3 && >this.count() >= 3 && this.asts[this.top] === ast && this.asts[this.top - 1].nodeType === TypeScript.NodeType.List && this.asts[this.top - 2].nodeType === TypeScript.NodeType.ClassDeclaration : boolean @@ -978,10 +978,10 @@ module TypeScript { this.asts[this.top] === ast && >this.asts[this.top] === ast : boolean ->this.asts[this.top] : any ->this.asts : any[] +>this.asts[this.top] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top : number >this : this >top : number @@ -990,10 +990,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.List && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.List : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -1009,10 +1009,10 @@ module TypeScript { this.asts[this.top - 2].nodeType === TypeScript.NodeType.ClassDeclaration; >this.asts[this.top - 2].nodeType === TypeScript.NodeType.ClassDeclaration : boolean >this.asts[this.top - 2].nodeType : any ->this.asts[this.top - 2] : any ->this.asts : any[] +>this.asts[this.top - 2] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 2 : number >this.top : number >this : this @@ -1033,9 +1033,9 @@ module TypeScript { >ast : any >lastOf(this.asts) : any >lastOf : (items: any[]) => any ->this.asts : any[] +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] return this.count() >= 5 && >this.count() >= 5 && this.asts[this.top] === ast && this.asts[this.top - 1].nodeType === TypeScript.NodeType.List && this.asts[this.top - 2].nodeType === TypeScript.NodeType.FuncDecl && this.asts[this.top - 3].nodeType === TypeScript.NodeType.List && this.asts[this.top - 4].nodeType === TypeScript.NodeType.ClassDeclaration && ((this.asts[this.top - 2]).isConstructor) && ((this.asts[this.top - 2]).arguments === this.asts[this.top - 1]) && ((this.asts[this.top - 4]).constructorDecl === this.asts[this.top - 2]) : boolean @@ -1055,10 +1055,10 @@ module TypeScript { this.asts[this.top] === ast && >this.asts[this.top] === ast : boolean ->this.asts[this.top] : any ->this.asts : any[] +>this.asts[this.top] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top : number >this : this >top : number @@ -1067,10 +1067,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.List && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.List : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -1086,10 +1086,10 @@ module TypeScript { this.asts[this.top - 2].nodeType === TypeScript.NodeType.FuncDecl && >this.asts[this.top - 2].nodeType === TypeScript.NodeType.FuncDecl : boolean >this.asts[this.top - 2].nodeType : any ->this.asts[this.top - 2] : any ->this.asts : any[] +>this.asts[this.top - 2] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 2 : number >this.top : number >this : this @@ -1105,10 +1105,10 @@ module TypeScript { this.asts[this.top - 3].nodeType === TypeScript.NodeType.List && >this.asts[this.top - 3].nodeType === TypeScript.NodeType.List : boolean >this.asts[this.top - 3].nodeType : any ->this.asts[this.top - 3] : any ->this.asts : any[] +>this.asts[this.top - 3] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 3 : number >this.top : number >this : this @@ -1124,10 +1124,10 @@ module TypeScript { this.asts[this.top - 4].nodeType === TypeScript.NodeType.ClassDeclaration && >this.asts[this.top - 4].nodeType === TypeScript.NodeType.ClassDeclaration : boolean >this.asts[this.top - 4].nodeType : any ->this.asts[this.top - 4] : any ->this.asts : any[] +>this.asts[this.top - 4] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 4 : number >this.top : number >this : this @@ -1143,13 +1143,13 @@ module TypeScript { ((this.asts[this.top - 2]).isConstructor) && >((this.asts[this.top - 2]).isConstructor) : any >(this.asts[this.top - 2]).isConstructor : any ->(this.asts[this.top - 2]) : any ->this.asts[this.top - 2] : any +>(this.asts[this.top - 2]) : TypeScript.FuncDecl +>this.asts[this.top - 2] : TypeScript.FuncDecl >TypeScript : any ->this.asts[this.top - 2] : any ->this.asts : any[] +>this.asts[this.top - 2] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 2 : number >this.top : number >this : this @@ -1161,23 +1161,23 @@ module TypeScript { >((this.asts[this.top - 2]).arguments === this.asts[this.top - 1]) : boolean >(this.asts[this.top - 2]).arguments === this.asts[this.top - 1] : boolean >(this.asts[this.top - 2]).arguments : any ->(this.asts[this.top - 2]) : any ->this.asts[this.top - 2] : any +>(this.asts[this.top - 2]) : TypeScript.FuncDecl +>this.asts[this.top - 2] : TypeScript.FuncDecl >TypeScript : any ->this.asts[this.top - 2] : any ->this.asts : any[] +>this.asts[this.top - 2] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 2 : number >this.top : number >this : this >top : number >2 : 2 >arguments : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -1188,23 +1188,23 @@ module TypeScript { >((this.asts[this.top - 4]).constructorDecl === this.asts[this.top - 2]) : boolean >(this.asts[this.top - 4]).constructorDecl === this.asts[this.top - 2] : boolean >(this.asts[this.top - 4]).constructorDecl : any ->(this.asts[this.top - 4]) : any ->this.asts[this.top - 4] : any +>(this.asts[this.top - 4]) : TypeScript.ClassDeclaration +>this.asts[this.top - 4] : TypeScript.ClassDeclaration >TypeScript : any ->this.asts[this.top - 4] : any ->this.asts : any[] +>this.asts[this.top - 4] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 4 : number >this.top : number >this : this >top : number >4 : 4 >constructorDecl : any ->this.asts[this.top - 2] : any ->this.asts : any[] +>this.asts[this.top - 2] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 2 : number >this.top : number >this : this @@ -1219,9 +1219,9 @@ module TypeScript { >ast : any >lastOf(this.asts) : any >lastOf : (items: any[]) => any ->this.asts : any[] +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] return this.count() >= 3 && >this.count() >= 3 && this.asts[this.top] === ast && this.asts[this.top - 1].nodeType === TypeScript.NodeType.List && this.asts[this.top - 2].nodeType === TypeScript.NodeType.InterfaceDeclaration : boolean @@ -1236,10 +1236,10 @@ module TypeScript { this.asts[this.top] === ast && >this.asts[this.top] === ast : boolean ->this.asts[this.top] : any ->this.asts : any[] +>this.asts[this.top] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top : number >this : this >top : number @@ -1248,10 +1248,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.List && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.List : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -1267,10 +1267,10 @@ module TypeScript { this.asts[this.top - 2].nodeType === TypeScript.NodeType.InterfaceDeclaration; >this.asts[this.top - 2].nodeType === TypeScript.NodeType.InterfaceDeclaration : boolean >this.asts[this.top - 2].nodeType : any ->this.asts[this.top - 2] : any ->this.asts : any[] +>this.asts[this.top - 2] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 2 : number >this.top : number >this : this @@ -1300,10 +1300,10 @@ module TypeScript { this.asts[this.top].nodeType === TypeScript.NodeType.ModuleDeclaration && >this.asts[this.top].nodeType === TypeScript.NodeType.ModuleDeclaration : boolean >this.asts[this.top].nodeType : any ->this.asts[this.top] : any ->this.asts : any[] +>this.asts[this.top] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top : number >this : this >top : number @@ -1320,13 +1320,13 @@ module TypeScript { >TypeScript : typeof TypeScript >hasFlag : any >(this.asts[this.top]).modFlags : any ->(this.asts[this.top]) : any ->this.asts[this.top] : any +>(this.asts[this.top]) : TypeScript.ModuleDeclaration +>this.asts[this.top] : TypeScript.ModuleDeclaration >TypeScript : any ->this.asts[this.top] : any ->this.asts : any[] +>this.asts[this.top] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top : number >this : this >top : number @@ -1356,10 +1356,10 @@ module TypeScript { this.asts[this.top - 0].nodeType === TypeScript.NodeType.List && >this.asts[this.top - 0].nodeType === TypeScript.NodeType.List : boolean >this.asts[this.top - 0].nodeType : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -1375,10 +1375,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.ModuleDeclaration && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.ModuleDeclaration : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -1394,23 +1394,23 @@ module TypeScript { (this.asts[this.top - 1]).members == this.asts[this.top - 0] && >(this.asts[this.top - 1]).members == this.asts[this.top - 0] : boolean >(this.asts[this.top - 1]).members : any ->(this.asts[this.top - 1]) : any ->this.asts[this.top - 1] : any +>(this.asts[this.top - 1]) : TypeScript.ModuleDeclaration +>this.asts[this.top - 1] : TypeScript.ModuleDeclaration >TypeScript : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this >top : number >1 : 1 >members : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -1423,13 +1423,13 @@ module TypeScript { >TypeScript : typeof TypeScript >hasFlag : any >(this.asts[this.top - 1]).modFlags : any ->(this.asts[this.top - 1]) : any ->this.asts[this.top - 1] : any +>(this.asts[this.top - 1]) : TypeScript.ModuleDeclaration +>this.asts[this.top - 1] : TypeScript.ModuleDeclaration >TypeScript : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -1459,10 +1459,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.Script && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.Script : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -1478,23 +1478,23 @@ module TypeScript { (this.asts[this.top - 1]).bod == this.asts[this.top - 0]; >(this.asts[this.top - 1]).bod == this.asts[this.top - 0] : boolean >(this.asts[this.top - 1]).bod : any ->(this.asts[this.top - 1]) : any ->this.asts[this.top - 1] : any +>(this.asts[this.top - 1]) : TypeScript.Script +>this.asts[this.top - 1] : TypeScript.Script >TypeScript : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this >top : number >1 : 1 >bod : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -1518,10 +1518,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.Switch && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.Switch : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -1537,23 +1537,23 @@ module TypeScript { (this.asts[this.top - 1]).caseList == this.asts[this.top - 0]; >(this.asts[this.top - 1]).caseList == this.asts[this.top - 0] : boolean >(this.asts[this.top - 1]).caseList : any ->(this.asts[this.top - 1]) : any ->this.asts[this.top - 1] : any +>(this.asts[this.top - 1]) : TypeScript.SwitchStatement +>this.asts[this.top - 1] : TypeScript.SwitchStatement >TypeScript : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this >top : number >1 : 1 >caseList : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -1577,10 +1577,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.ModuleDeclaration && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.ModuleDeclaration : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -1596,23 +1596,23 @@ module TypeScript { (this.asts[this.top - 1]).members == this.asts[this.top - 0]; >(this.asts[this.top - 1]).members == this.asts[this.top - 0] : boolean >(this.asts[this.top - 1]).members : any ->(this.asts[this.top - 1]) : any ->this.asts[this.top - 1] : any +>(this.asts[this.top - 1]) : TypeScript.ModuleDeclaration +>this.asts[this.top - 1] : TypeScript.ModuleDeclaration >TypeScript : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this >top : number >1 : 1 >members : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -1636,10 +1636,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.ClassDeclaration && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.ClassDeclaration : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -1655,23 +1655,23 @@ module TypeScript { (this.asts[this.top - 1]).members == this.asts[this.top - 0]; >(this.asts[this.top - 1]).members == this.asts[this.top - 0] : boolean >(this.asts[this.top - 1]).members : any ->(this.asts[this.top - 1]) : any ->this.asts[this.top - 1] : any +>(this.asts[this.top - 1]) : TypeScript.ClassDeclaration +>this.asts[this.top - 1] : TypeScript.ClassDeclaration >TypeScript : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this >top : number >1 : 1 >members : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -1695,10 +1695,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.FuncDecl && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.FuncDecl : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -1714,23 +1714,23 @@ module TypeScript { (this.asts[this.top - 1]).bod == this.asts[this.top - 0]; >(this.asts[this.top - 1]).bod == this.asts[this.top - 0] : boolean >(this.asts[this.top - 1]).bod : any ->(this.asts[this.top - 1]) : any ->this.asts[this.top - 1] : any +>(this.asts[this.top - 1]) : TypeScript.FuncDecl +>this.asts[this.top - 1] : TypeScript.FuncDecl >TypeScript : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this >top : number >1 : 1 >bod : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -1754,10 +1754,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.InterfaceDeclaration && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.InterfaceDeclaration : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -1773,23 +1773,23 @@ module TypeScript { (this.asts[this.top - 1]).members == this.asts[this.top - 0]; >(this.asts[this.top - 1]).members == this.asts[this.top - 0] : boolean >(this.asts[this.top - 1]).members : any ->(this.asts[this.top - 1]) : any ->this.asts[this.top - 1] : any +>(this.asts[this.top - 1]) : TypeScript.InterfaceDeclaration +>this.asts[this.top - 1] : TypeScript.InterfaceDeclaration >TypeScript : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this >top : number >1 : 1 >members : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -1813,10 +1813,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.Block && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.Block : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -1832,23 +1832,23 @@ module TypeScript { (this.asts[this.top - 1]).statements == this.asts[this.top - 0]; >(this.asts[this.top - 1]).statements == this.asts[this.top - 0] : boolean >(this.asts[this.top - 1]).statements : any ->(this.asts[this.top - 1]) : any ->this.asts[this.top - 1] : any +>(this.asts[this.top - 1]) : TypeScript.Block +>this.asts[this.top - 1] : TypeScript.Block >TypeScript : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this >top : number >1 : 1 >statements : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -1872,10 +1872,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.For && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.For : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -1891,23 +1891,23 @@ module TypeScript { (this.asts[this.top - 1]).body == this.asts[this.top - 0]; >(this.asts[this.top - 1]).body == this.asts[this.top - 0] : boolean >(this.asts[this.top - 1]).body : any ->(this.asts[this.top - 1]) : any ->this.asts[this.top - 1] : any +>(this.asts[this.top - 1]) : TypeScript.ForStatement +>this.asts[this.top - 1] : TypeScript.ForStatement >TypeScript : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this >top : number >1 : 1 >body : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -1931,10 +1931,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.Case && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.Case : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -1950,23 +1950,23 @@ module TypeScript { (this.asts[this.top - 1]).body == this.asts[this.top - 0]; >(this.asts[this.top - 1]).body == this.asts[this.top - 0] : boolean >(this.asts[this.top - 1]).body : any ->(this.asts[this.top - 1]) : any ->this.asts[this.top - 1] : any +>(this.asts[this.top - 1]) : TypeScript.CaseStatement +>this.asts[this.top - 1] : TypeScript.CaseStatement >TypeScript : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this >top : number >1 : 1 >body : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -1990,10 +1990,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.Try && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.Try : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -2009,23 +2009,23 @@ module TypeScript { (this.asts[this.top - 1]).body == this.asts[this.top - 0]; >(this.asts[this.top - 1]).body == this.asts[this.top - 0] : boolean >(this.asts[this.top - 1]).body : any ->(this.asts[this.top - 1]) : any ->this.asts[this.top - 1] : any +>(this.asts[this.top - 1]) : TypeScript.Try +>this.asts[this.top - 1] : TypeScript.Try >TypeScript : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this >top : number >1 : 1 >body : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -2049,10 +2049,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.Catch && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.Catch : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -2068,23 +2068,23 @@ module TypeScript { (this.asts[this.top - 1]).body == this.asts[this.top - 0]; >(this.asts[this.top - 1]).body == this.asts[this.top - 0] : boolean >(this.asts[this.top - 1]).body : any ->(this.asts[this.top - 1]) : any ->this.asts[this.top - 1] : any +>(this.asts[this.top - 1]) : TypeScript.Catch +>this.asts[this.top - 1] : TypeScript.Catch >TypeScript : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this >top : number >1 : 1 >body : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -2108,10 +2108,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.DoWhile && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.DoWhile : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -2127,23 +2127,23 @@ module TypeScript { (this.asts[this.top - 1]).body == this.asts[this.top - 0]; >(this.asts[this.top - 1]).body == this.asts[this.top - 0] : boolean >(this.asts[this.top - 1]).body : any ->(this.asts[this.top - 1]) : any ->this.asts[this.top - 1] : any +>(this.asts[this.top - 1]) : TypeScript.DoWhileStatement +>this.asts[this.top - 1] : TypeScript.DoWhileStatement >TypeScript : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this >top : number >1 : 1 >body : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -2167,10 +2167,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.While && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.While : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -2186,23 +2186,23 @@ module TypeScript { (this.asts[this.top - 1]).body == this.asts[this.top - 0]; >(this.asts[this.top - 1]).body == this.asts[this.top - 0] : boolean >(this.asts[this.top - 1]).body : any ->(this.asts[this.top - 1]) : any ->this.asts[this.top - 1] : any +>(this.asts[this.top - 1]) : TypeScript.WhileStatement +>this.asts[this.top - 1] : TypeScript.WhileStatement >TypeScript : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this >top : number >1 : 1 >body : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -2226,10 +2226,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.ForIn && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.ForIn : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -2245,23 +2245,23 @@ module TypeScript { (this.asts[this.top - 1]).body == this.asts[this.top - 0]; >(this.asts[this.top - 1]).body == this.asts[this.top - 0] : boolean >(this.asts[this.top - 1]).body : any ->(this.asts[this.top - 1]) : any ->this.asts[this.top - 1] : any +>(this.asts[this.top - 1]) : TypeScript.ForInStatement +>this.asts[this.top - 1] : TypeScript.ForInStatement >TypeScript : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this >top : number >1 : 1 >body : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -2285,10 +2285,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.With && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.With : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -2304,23 +2304,23 @@ module TypeScript { (this.asts[this.top - 1]).body == this.asts[this.top - 0]; >(this.asts[this.top - 1]).body == this.asts[this.top - 0] : boolean >(this.asts[this.top - 1]).body : any ->(this.asts[this.top - 1]) : any ->this.asts[this.top - 1] : any +>(this.asts[this.top - 1]) : TypeScript.WithStatement +>this.asts[this.top - 1] : TypeScript.WithStatement >TypeScript : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this >top : number >1 : 1 >body : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -2344,10 +2344,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.Finally && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.Finally : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -2363,23 +2363,23 @@ module TypeScript { (this.asts[this.top - 1]).body == this.asts[this.top - 0]; >(this.asts[this.top - 1]).body == this.asts[this.top - 0] : boolean >(this.asts[this.top - 1]).body : any ->(this.asts[this.top - 1]) : any ->this.asts[this.top - 1] : any +>(this.asts[this.top - 1]) : TypeScript.Finally +>this.asts[this.top - 1] : TypeScript.Finally >TypeScript : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this >top : number >1 : 1 >body : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -2404,10 +2404,10 @@ module TypeScript { this.asts[this.top - 2].nodeType === TypeScript.NodeType.Switch && >this.asts[this.top - 2].nodeType === TypeScript.NodeType.Switch : boolean >this.asts[this.top - 2].nodeType : any ->this.asts[this.top - 2] : any ->this.asts : any[] +>this.asts[this.top - 2] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 2 : number >this.top : number >this : this @@ -2423,10 +2423,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.List && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.List : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -2442,23 +2442,23 @@ module TypeScript { (this.asts[this.top - 2]).caseList == this.asts[this.top - 1]; >(this.asts[this.top - 2]).caseList == this.asts[this.top - 1] : boolean >(this.asts[this.top - 2]).caseList : any ->(this.asts[this.top - 2]) : any ->this.asts[this.top - 2] : any +>(this.asts[this.top - 2]) : TypeScript.SwitchStatement +>this.asts[this.top - 2] : TypeScript.SwitchStatement >TypeScript : any ->this.asts[this.top - 2] : any ->this.asts : any[] +>this.asts[this.top - 2] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 2 : number >this.top : number >this : this >top : number >2 : 2 >caseList : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -2484,10 +2484,10 @@ module TypeScript { this.asts[this.top - 2].nodeType === TypeScript.NodeType.Switch && >this.asts[this.top - 2].nodeType === TypeScript.NodeType.Switch : boolean >this.asts[this.top - 2].nodeType : any ->this.asts[this.top - 2] : any ->this.asts : any[] +>this.asts[this.top - 2] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 2 : number >this.top : number >this : this @@ -2503,10 +2503,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.List && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.List : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -2522,23 +2522,23 @@ module TypeScript { (this.asts[this.top - 2]).caseList == this.asts[this.top - 1] && >(this.asts[this.top - 2]).caseList == this.asts[this.top - 1] : boolean >(this.asts[this.top - 2]).caseList : any ->(this.asts[this.top - 2]) : any ->this.asts[this.top - 2] : any +>(this.asts[this.top - 2]) : TypeScript.SwitchStatement +>this.asts[this.top - 2] : TypeScript.SwitchStatement >TypeScript : any ->this.asts[this.top - 2] : any ->this.asts : any[] +>this.asts[this.top - 2] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 2 : number >this.top : number >this : this >top : number >2 : 2 >caseList : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -2548,23 +2548,23 @@ module TypeScript { (this.asts[this.top - 2]).defaultCase == this.asts[this.top - 0]; >(this.asts[this.top - 2]).defaultCase == this.asts[this.top - 0] : boolean >(this.asts[this.top - 2]).defaultCase : any ->(this.asts[this.top - 2]) : any ->this.asts[this.top - 2] : any +>(this.asts[this.top - 2]) : TypeScript.SwitchStatement +>this.asts[this.top - 2] : TypeScript.SwitchStatement >TypeScript : any ->this.asts[this.top - 2] : any ->this.asts : any[] +>this.asts[this.top - 2] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 2 : number >this.top : number >this : this >top : number >2 : 2 >defaultCase : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -2589,10 +2589,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.ObjectLit && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.ObjectLit : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -2608,10 +2608,10 @@ module TypeScript { this.asts[this.top - 0].nodeType === TypeScript.NodeType.List && >this.asts[this.top - 0].nodeType === TypeScript.NodeType.List : boolean >this.asts[this.top - 0].nodeType : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -2627,23 +2627,23 @@ module TypeScript { (this.asts[this.top - 1]).operand == this.asts[this.top - 0]; >(this.asts[this.top - 1]).operand == this.asts[this.top - 0] : boolean >(this.asts[this.top - 1]).operand : any ->(this.asts[this.top - 1]) : any ->this.asts[this.top - 1] : any +>(this.asts[this.top - 1]) : TypeScript.UnaryExpression +>this.asts[this.top - 1] : TypeScript.UnaryExpression >TypeScript : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this >top : number >1 : 1 >operand : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -2679,10 +2679,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.ObjectLit && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.ObjectLit : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -2698,10 +2698,10 @@ module TypeScript { this.asts[this.top - 0].nodeType === TypeScript.NodeType.List && >this.asts[this.top - 0].nodeType === TypeScript.NodeType.List : boolean >this.asts[this.top - 0].nodeType : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -2717,23 +2717,23 @@ module TypeScript { (this.asts[this.top - 1]).operand == this.asts[this.top - 0] && >(this.asts[this.top - 1]).operand == this.asts[this.top - 0] : boolean >(this.asts[this.top - 1]).operand : any ->(this.asts[this.top - 1]) : any ->this.asts[this.top - 1] : any +>(this.asts[this.top - 1]) : TypeScript.UnaryExpression +>this.asts[this.top - 1] : TypeScript.UnaryExpression >TypeScript : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this >top : number >1 : 1 >operand : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -2744,13 +2744,13 @@ module TypeScript { >(this.asts[this.top - 0]).members.length == 0 : boolean >(this.asts[this.top - 0]).members.length : any >(this.asts[this.top - 0]).members : any ->(this.asts[this.top - 0]) : any ->this.asts[this.top - 0] : any +>(this.asts[this.top - 0]) : TypeScript.ASTList +>this.asts[this.top - 0] : TypeScript.ASTList >TypeScript : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -2779,10 +2779,10 @@ module TypeScript { this.asts[this.top - 2].nodeType === TypeScript.NodeType.ObjectLit && >this.asts[this.top - 2].nodeType === TypeScript.NodeType.ObjectLit : boolean >this.asts[this.top - 2].nodeType : any ->this.asts[this.top - 2] : any ->this.asts : any[] +>this.asts[this.top - 2] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 2 : number >this.top : number >this : this @@ -2798,10 +2798,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.List && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.List : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -2817,10 +2817,10 @@ module TypeScript { this.asts[this.top - 0].nodeType === TypeScript.NodeType.Member && >this.asts[this.top - 0].nodeType === TypeScript.NodeType.Member : boolean >this.asts[this.top - 0].nodeType : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -2836,23 +2836,23 @@ module TypeScript { (this.asts[this.top - 2]).operand == this.asts[this.top - 1]; >(this.asts[this.top - 2]).operand == this.asts[this.top - 1] : boolean >(this.asts[this.top - 2]).operand : any ->(this.asts[this.top - 2]) : any ->this.asts[this.top - 2] : any +>(this.asts[this.top - 2]) : TypeScript.UnaryExpression +>this.asts[this.top - 2] : TypeScript.UnaryExpression >TypeScript : any ->this.asts[this.top - 2] : any ->this.asts : any[] +>this.asts[this.top - 2] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 2 : number >this.top : number >this : this >top : number >2 : 2 >operand : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -2879,10 +2879,10 @@ module TypeScript { this.asts[this.top - 3].nodeType === TypeScript.NodeType.ObjectLit && >this.asts[this.top - 3].nodeType === TypeScript.NodeType.ObjectLit : boolean >this.asts[this.top - 3].nodeType : any ->this.asts[this.top - 3] : any ->this.asts : any[] +>this.asts[this.top - 3] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 3 : number >this.top : number >this : this @@ -2898,10 +2898,10 @@ module TypeScript { this.asts[this.top - 2].nodeType === TypeScript.NodeType.List && >this.asts[this.top - 2].nodeType === TypeScript.NodeType.List : boolean >this.asts[this.top - 2].nodeType : any ->this.asts[this.top - 2] : any ->this.asts : any[] +>this.asts[this.top - 2] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 2 : number >this.top : number >this : this @@ -2917,10 +2917,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.Member && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.Member : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -2936,10 +2936,10 @@ module TypeScript { this.asts[this.top - 0].nodeType === TypeScript.NodeType.Name && >this.asts[this.top - 0].nodeType === TypeScript.NodeType.Name : boolean >this.asts[this.top - 0].nodeType : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -2955,23 +2955,23 @@ module TypeScript { (this.asts[this.top - 3]).operand == this.asts[this.top - 2]; >(this.asts[this.top - 3]).operand == this.asts[this.top - 2] : boolean >(this.asts[this.top - 3]).operand : any ->(this.asts[this.top - 3]) : any ->this.asts[this.top - 3] : any +>(this.asts[this.top - 3]) : TypeScript.UnaryExpression +>this.asts[this.top - 3] : TypeScript.UnaryExpression >TypeScript : any ->this.asts[this.top - 3] : any ->this.asts : any[] +>this.asts[this.top - 3] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 3 : number >this.top : number >this : this >top : number >3 : 3 >operand : any ->this.asts[this.top - 2] : any ->this.asts : any[] +>this.asts[this.top - 2] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 2 : number >this.top : number >this : this @@ -2996,10 +2996,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.ArrayLit && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.ArrayLit : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -3015,10 +3015,10 @@ module TypeScript { this.asts[this.top - 0].nodeType === TypeScript.NodeType.List && >this.asts[this.top - 0].nodeType === TypeScript.NodeType.List : boolean >this.asts[this.top - 0].nodeType : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -3034,23 +3034,23 @@ module TypeScript { (this.asts[this.top - 1]).operand == this.asts[this.top - 0]; >(this.asts[this.top - 1]).operand == this.asts[this.top - 0] : boolean >(this.asts[this.top - 1]).operand : any ->(this.asts[this.top - 1]) : any ->this.asts[this.top - 1] : any +>(this.asts[this.top - 1]) : TypeScript.UnaryExpression +>this.asts[this.top - 1] : TypeScript.UnaryExpression >TypeScript : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this >top : number >1 : 1 >operand : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -3074,10 +3074,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.Member && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.Member : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -3093,23 +3093,23 @@ module TypeScript { (this.asts[this.top - 1]).operand1 === this.asts[this.top - 0]; >(this.asts[this.top - 1]).operand1 === this.asts[this.top - 0] : boolean >(this.asts[this.top - 1]).operand1 : any ->(this.asts[this.top - 1]) : any ->this.asts[this.top - 1] : any +>(this.asts[this.top - 1]) : TypeScript.BinaryExpression +>this.asts[this.top - 1] : TypeScript.BinaryExpression >TypeScript : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this >top : number >1 : 1 >operand1 : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -3133,10 +3133,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.Member && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.Member : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -3152,23 +3152,23 @@ module TypeScript { (this.asts[this.top - 1]).operand2 === this.asts[this.top - 0]; >(this.asts[this.top - 1]).operand2 === this.asts[this.top - 0] : boolean >(this.asts[this.top - 1]).operand2 : any ->(this.asts[this.top - 1]) : any ->this.asts[this.top - 1] : any +>(this.asts[this.top - 1]) : TypeScript.BinaryExpression +>this.asts[this.top - 1] : TypeScript.BinaryExpression >TypeScript : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this >top : number >1 : 1 >operand2 : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -3191,10 +3191,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.List; >this.asts[this.top - 1].nodeType === TypeScript.NodeType.List : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -3226,10 +3226,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.If && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.If : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -3245,23 +3245,23 @@ module TypeScript { (this.asts[this.top - 1]).thenBod == this.asts[this.top - 0]; >(this.asts[this.top - 1]).thenBod == this.asts[this.top - 0] : boolean >(this.asts[this.top - 1]).thenBod : any ->(this.asts[this.top - 1]) : any ->this.asts[this.top - 1] : any +>(this.asts[this.top - 1]) : TypeScript.IfStatement +>this.asts[this.top - 1] : TypeScript.IfStatement >TypeScript : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this >top : number >1 : 1 >thenBod : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -3285,10 +3285,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.If && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.If : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -3304,23 +3304,23 @@ module TypeScript { (this.asts[this.top - 1]).elseBod == this.asts[this.top - 0]; >(this.asts[this.top - 1]).elseBod == this.asts[this.top - 0] : boolean >(this.asts[this.top - 1]).elseBod : any ->(this.asts[this.top - 1]) : any ->this.asts[this.top - 1] : any +>(this.asts[this.top - 1]) : TypeScript.IfStatement +>this.asts[this.top - 1] : TypeScript.IfStatement >TypeScript : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this >top : number >1 : 1 >elseBod : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -3354,10 +3354,10 @@ module TypeScript { this.asts[this.top].nodeType === TypeScript.NodeType.List && >this.asts[this.top].nodeType === TypeScript.NodeType.List : boolean >this.asts[this.top].nodeType : any ->this.asts[this.top] : any ->this.asts : any[] +>this.asts[this.top] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top : number >this : this >top : number @@ -3372,13 +3372,13 @@ module TypeScript { >(this.asts[this.top]).members.length === 1 : boolean >(this.asts[this.top]).members.length : any >(this.asts[this.top]).members : any ->(this.asts[this.top]) : any ->this.asts[this.top] : any +>(this.asts[this.top]) : TypeScript.ASTList +>this.asts[this.top] : TypeScript.ASTList >TypeScript : any ->this.asts[this.top] : any ->this.asts : any[] +>this.asts[this.top] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top : number >this : this >top : number @@ -3404,10 +3404,10 @@ module TypeScript { this.asts[this.top - 0].nodeType === TypeScript.NodeType.List && >this.asts[this.top - 0].nodeType === TypeScript.NodeType.List : boolean >this.asts[this.top - 0].nodeType : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -3423,10 +3423,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.FuncDecl && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.FuncDecl : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -3442,23 +3442,23 @@ module TypeScript { (this.asts[this.top - 1]).arguments === this.asts[this.top - 0]; >(this.asts[this.top - 1]).arguments === this.asts[this.top - 0] : boolean >(this.asts[this.top - 1]).arguments : any ->(this.asts[this.top - 1]) : any ->this.asts[this.top - 1] : any +>(this.asts[this.top - 1]) : TypeScript.FuncDecl +>this.asts[this.top - 1] : TypeScript.FuncDecl >TypeScript : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this >top : number >1 : 1 >arguments : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -3483,10 +3483,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.List && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.List : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -3502,10 +3502,10 @@ module TypeScript { this.asts[this.top - 2].nodeType === TypeScript.NodeType.FuncDecl && >this.asts[this.top - 2].nodeType === TypeScript.NodeType.FuncDecl : boolean >this.asts[this.top - 2].nodeType : any ->this.asts[this.top - 2] : any ->this.asts : any[] +>this.asts[this.top - 2] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 2 : number >this.top : number >this : this @@ -3521,23 +3521,23 @@ module TypeScript { (this.asts[this.top - 2]).arguments === this.asts[this.top - 1]; >(this.asts[this.top - 2]).arguments === this.asts[this.top - 1] : boolean >(this.asts[this.top - 2]).arguments : any ->(this.asts[this.top - 2]) : any ->this.asts[this.top - 2] : any +>(this.asts[this.top - 2]) : TypeScript.FuncDecl +>this.asts[this.top - 2] : TypeScript.FuncDecl >TypeScript : any ->this.asts[this.top - 2] : any ->this.asts : any[] +>this.asts[this.top - 2] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 2 : number >this.top : number >this : this >top : number >2 : 2 >arguments : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -3562,10 +3562,10 @@ module TypeScript { this.asts[this.top - 0].nodeType === TypeScript.NodeType.List && >this.asts[this.top - 0].nodeType === TypeScript.NodeType.List : boolean >this.asts[this.top - 0].nodeType : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -3581,10 +3581,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.Call && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.Call : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -3600,23 +3600,23 @@ module TypeScript { (this.asts[this.top - 1]).arguments === this.asts[this.top - 0]; >(this.asts[this.top - 1]).arguments === this.asts[this.top - 0] : boolean >(this.asts[this.top - 1]).arguments : any ->(this.asts[this.top - 1]) : any ->this.asts[this.top - 1] : any +>(this.asts[this.top - 1]) : TypeScript.CallExpression +>this.asts[this.top - 1] : TypeScript.CallExpression >TypeScript : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this >top : number >1 : 1 >arguments : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -3641,10 +3641,10 @@ module TypeScript { this.asts[this.top - 0].nodeType === TypeScript.NodeType.List && >this.asts[this.top - 0].nodeType === TypeScript.NodeType.List : boolean >this.asts[this.top - 0].nodeType : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -3660,10 +3660,10 @@ module TypeScript { this.asts[this.top - 1].nodeType === TypeScript.NodeType.New && >this.asts[this.top - 1].nodeType === TypeScript.NodeType.New : boolean >this.asts[this.top - 1].nodeType : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this @@ -3679,23 +3679,23 @@ module TypeScript { (this.asts[this.top - 1]).arguments === this.asts[this.top - 0]; >(this.asts[this.top - 1]).arguments === this.asts[this.top - 0] : boolean >(this.asts[this.top - 1]).arguments : any ->(this.asts[this.top - 1]) : any ->this.asts[this.top - 1] : any +>(this.asts[this.top - 1]) : TypeScript.CallExpression +>this.asts[this.top - 1] : TypeScript.CallExpression >TypeScript : any ->this.asts[this.top - 1] : any ->this.asts : any[] +>this.asts[this.top - 1] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 1 : number >this.top : number >this : this >top : number >1 : 1 >arguments : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -3719,10 +3719,10 @@ module TypeScript { this.asts[this.top - 0].nodeType === TypeScript.NodeType.Block && >this.asts[this.top - 0].nodeType === TypeScript.NodeType.Block : boolean >this.asts[this.top - 0].nodeType : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -3738,13 +3738,13 @@ module TypeScript { (this.asts[this.top - 0]).isStatementBlock === false; >(this.asts[this.top - 0]).isStatementBlock === false : boolean >(this.asts[this.top - 0]).isStatementBlock : any ->(this.asts[this.top - 0]) : any ->this.asts[this.top - 0] : any +>(this.asts[this.top - 0]) : TypeScript.Block +>this.asts[this.top - 0] : TypeScript.Block >TypeScript : any ->this.asts[this.top - 0] : any ->this.asts : any[] +>this.asts[this.top - 0] : TypeScript.AST +>this.asts : TypeScript.AST[] >this : this ->asts : any[] +>asts : TypeScript.AST[] >this.top - 0 : number >this.top : number >this : this @@ -3756,13 +3756,13 @@ module TypeScript { } export function isValidAstNode(ast: TypeScript.ASTSpan): boolean { ->isValidAstNode : (ast: any) => boolean ->ast : any +>isValidAstNode : (ast: TypeScript.ASTSpan) => boolean +>ast : TypeScript.ASTSpan >TypeScript : any if (ast === null) >ast === null : boolean ->ast : any +>ast : TypeScript.ASTSpan >null : null return false; @@ -3772,13 +3772,13 @@ module TypeScript { >ast.minChar === -1 || ast.limChar === -1 : boolean >ast.minChar === -1 : boolean >ast.minChar : any ->ast : any +>ast : TypeScript.ASTSpan >minChar : any >-1 : -1 >1 : 1 >ast.limChar === -1 : boolean >ast.limChar : any ->ast : any +>ast : TypeScript.ASTSpan >limChar : any >-1 : -1 >1 : 1 @@ -3830,8 +3830,8 @@ module TypeScript { /// Return the stack of AST nodes containing "position" /// export function getAstPathToPosition(script: TypeScript.AST, pos: number, options = GetAstPathOptions.Default): TypeScript.AstPath { ->getAstPathToPosition : (script: any, pos: number, options?: GetAstPathOptions) => TypeScript.AstPath ->script : any +>getAstPathToPosition : (script: TypeScript.AST, pos: number, options?: GetAstPathOptions) => TypeScript.AstPath +>script : TypeScript.AST >TypeScript : any >pos : number >options : GetAstPathOptions @@ -3843,15 +3843,15 @@ module TypeScript { var lookInComments = (comments: TypeScript.Comment[]) => { >lookInComments : (comments: TypeScript.Comment[]) => void >(comments: TypeScript.Comment[]) => { if (comments && comments.length > 0) { for (var i = 0; i < comments.length; i++) { var minChar = comments[i].minChar; var limChar = comments[i].limChar; if (!comments[i].isBlockComment) { limChar++; // For single line comments, include 1 more character (for the newline) } if (pos >= minChar && pos < limChar) { ctx.path.push(comments[i]); } } } } : (comments: TypeScript.Comment[]) => void ->comments : any[] +>comments : TypeScript.Comment[] >TypeScript : any if (comments && comments.length > 0) { >comments && comments.length > 0 : boolean ->comments : any[] +>comments : TypeScript.Comment[] >comments.length > 0 : boolean >comments.length : number ->comments : any[] +>comments : TypeScript.Comment[] >length : number >0 : 0 @@ -3861,7 +3861,7 @@ module TypeScript { >i < comments.length : boolean >i : number >comments.length : number ->comments : any[] +>comments : TypeScript.Comment[] >length : number >i++ : number >i : number @@ -3869,24 +3869,24 @@ module TypeScript { var minChar = comments[i].minChar; >minChar : any >comments[i].minChar : any ->comments[i] : any ->comments : any[] +>comments[i] : TypeScript.Comment +>comments : TypeScript.Comment[] >i : number >minChar : any var limChar = comments[i].limChar; >limChar : any >comments[i].limChar : any ->comments[i] : any ->comments : any[] +>comments[i] : TypeScript.Comment +>comments : TypeScript.Comment[] >i : number >limChar : any if (!comments[i].isBlockComment) { >!comments[i].isBlockComment : boolean >comments[i].isBlockComment : any ->comments[i] : any ->comments : any[] +>comments[i] : TypeScript.Comment +>comments : TypeScript.Comment[] >i : number >isBlockComment : any @@ -3905,13 +3905,13 @@ module TypeScript { ctx.path.push(comments[i]); >ctx.path.push(comments[i]) : void ->ctx.path.push : (ast: any) => void +>ctx.path.push : (ast: TypeScript.AST) => void >ctx.path : AstPath >ctx : AstPathContext >path : AstPath ->push : (ast: any) => void ->comments[i] : any ->comments : any[] +>push : (ast: TypeScript.AST) => void +>comments[i] : TypeScript.Comment +>comments : TypeScript.Comment[] >i : number } } @@ -3919,18 +3919,18 @@ module TypeScript { } var pre = function (cur: TypeScript.AST, parent: TypeScript.AST, walker: IAstWalker) { ->pre : (cur: any, parent: any, walker: any) => any ->function (cur: TypeScript.AST, parent: TypeScript.AST, walker: IAstWalker) { if (isValidAstNode(cur)) { // Add "cur" to the stack if it contains our position // For "identifier" nodes, we need a special case: A position equal to "limChar" is // valid, since the position corresponds to a caret position (in between characters) // For example: // bar // 0123 // If "position == 3", the caret is at the "right" of the "r" character, which should be considered valid var inclusive = hasFlag(options, GetAstPathOptions.EdgeInclusive) || cur.nodeType === TypeScript.NodeType.Name || pos === script.limChar; // Special "EOF" case var minChar = cur.minChar; var limChar = cur.limChar + (inclusive ? 1 : 0) if (pos >= minChar && pos < limChar) { // TODO: Since AST is sometimes not correct wrt to position, only add "cur" if it's better // than top of the stack. var previous = ctx.path.ast(); if (previous == null || (cur.minChar >= previous.minChar && cur.limChar <= previous.limChar)) { ctx.path.push(cur); } else { //logger.log("TODO: Ignoring node because minChar, limChar not better than previous node in stack"); } } // The AST walker skips comments, but we might be in one, so check the pre/post comments for this node manually if (pos < limChar) { lookInComments(cur.preComments); } if (pos >= minChar) { lookInComments(cur.postComments); } if (!hasFlag(options, GetAstPathOptions.DontPruneSearchBasedOnPosition)) { // Don't go further down the tree if pos is outside of [minChar, limChar] walker.options.goChildren = (minChar <= pos && pos <= limChar); } } return cur; } : (cur: any, parent: any, walker: any) => any ->cur : any +>pre : (cur: TypeScript.AST, parent: TypeScript.AST, walker: IAstWalker) => TypeScript.AST +>function (cur: TypeScript.AST, parent: TypeScript.AST, walker: IAstWalker) { if (isValidAstNode(cur)) { // Add "cur" to the stack if it contains our position // For "identifier" nodes, we need a special case: A position equal to "limChar" is // valid, since the position corresponds to a caret position (in between characters) // For example: // bar // 0123 // If "position == 3", the caret is at the "right" of the "r" character, which should be considered valid var inclusive = hasFlag(options, GetAstPathOptions.EdgeInclusive) || cur.nodeType === TypeScript.NodeType.Name || pos === script.limChar; // Special "EOF" case var minChar = cur.minChar; var limChar = cur.limChar + (inclusive ? 1 : 0) if (pos >= minChar && pos < limChar) { // TODO: Since AST is sometimes not correct wrt to position, only add "cur" if it's better // than top of the stack. var previous = ctx.path.ast(); if (previous == null || (cur.minChar >= previous.minChar && cur.limChar <= previous.limChar)) { ctx.path.push(cur); } else { //logger.log("TODO: Ignoring node because minChar, limChar not better than previous node in stack"); } } // The AST walker skips comments, but we might be in one, so check the pre/post comments for this node manually if (pos < limChar) { lookInComments(cur.preComments); } if (pos >= minChar) { lookInComments(cur.postComments); } if (!hasFlag(options, GetAstPathOptions.DontPruneSearchBasedOnPosition)) { // Don't go further down the tree if pos is outside of [minChar, limChar] walker.options.goChildren = (minChar <= pos && pos <= limChar); } } return cur; } : (cur: TypeScript.AST, parent: TypeScript.AST, walker: IAstWalker) => TypeScript.AST +>cur : TypeScript.AST >TypeScript : any ->parent : any +>parent : TypeScript.AST >TypeScript : any ->walker : any +>walker : IAstWalker if (isValidAstNode(cur)) { >isValidAstNode(cur) : boolean ->isValidAstNode : (ast: any) => boolean ->cur : any +>isValidAstNode : (ast: TypeScript.ASTSpan) => boolean +>cur : TypeScript.AST // Add "cur" to the stack if it contains our position // For "identifier" nodes, we need a special case: A position equal to "limChar" is @@ -3955,7 +3955,7 @@ module TypeScript { cur.nodeType === TypeScript.NodeType.Name || >cur.nodeType === TypeScript.NodeType.Name : boolean >cur.nodeType : any ->cur : any +>cur : TypeScript.AST >nodeType : any >TypeScript.NodeType.Name : any >TypeScript.NodeType : any @@ -3967,20 +3967,20 @@ module TypeScript { >pos === script.limChar : boolean >pos : number >script.limChar : any ->script : any +>script : TypeScript.AST >limChar : any var minChar = cur.minChar; >minChar : any >cur.minChar : any ->cur : any +>cur : TypeScript.AST >minChar : any var limChar = cur.limChar + (inclusive ? 1 : 0) >limChar : any >cur.limChar + (inclusive ? 1 : 0) : any >cur.limChar : any ->cur : any +>cur : TypeScript.AST >limChar : any >(inclusive ? 1 : 0) : 0 | 1 >inclusive ? 1 : 0 : 0 | 1 @@ -4000,44 +4000,44 @@ module TypeScript { // TODO: Since AST is sometimes not correct wrt to position, only add "cur" if it's better // than top of the stack. var previous = ctx.path.ast(); ->previous : any ->ctx.path.ast() : any ->ctx.path.ast : () => any +>previous : TypeScript.AST +>ctx.path.ast() : TypeScript.AST +>ctx.path.ast : () => TypeScript.AST >ctx.path : AstPath >ctx : AstPathContext >path : AstPath ->ast : () => any +>ast : () => TypeScript.AST if (previous == null || (cur.minChar >= previous.minChar && cur.limChar <= previous.limChar)) { >previous == null || (cur.minChar >= previous.minChar && cur.limChar <= previous.limChar) : boolean >previous == null : boolean ->previous : any +>previous : TypeScript.AST >null : null >(cur.minChar >= previous.minChar && cur.limChar <= previous.limChar) : boolean >cur.minChar >= previous.minChar && cur.limChar <= previous.limChar : boolean >cur.minChar >= previous.minChar : boolean >cur.minChar : any ->cur : any +>cur : TypeScript.AST >minChar : any >previous.minChar : any ->previous : any +>previous : TypeScript.AST >minChar : any >cur.limChar <= previous.limChar : boolean >cur.limChar : any ->cur : any +>cur : TypeScript.AST >limChar : any >previous.limChar : any ->previous : any +>previous : TypeScript.AST >limChar : any ctx.path.push(cur); >ctx.path.push(cur) : void ->ctx.path.push : (ast: any) => void +>ctx.path.push : (ast: TypeScript.AST) => void >ctx.path : AstPath >ctx : AstPathContext >path : AstPath ->push : (ast: any) => void ->cur : any +>push : (ast: TypeScript.AST) => void +>cur : TypeScript.AST } else { //logger.log("TODO: Ignoring node because minChar, limChar not better than previous node in stack"); @@ -4052,9 +4052,9 @@ module TypeScript { lookInComments(cur.preComments); >lookInComments(cur.preComments) : void ->lookInComments : (comments: any[]) => void +>lookInComments : (comments: TypeScript.Comment[]) => void >cur.preComments : any ->cur : any +>cur : TypeScript.AST >preComments : any } if (pos >= minChar) { @@ -4064,9 +4064,9 @@ module TypeScript { lookInComments(cur.postComments); >lookInComments(cur.postComments) : void ->lookInComments : (comments: any[]) => void +>lookInComments : (comments: TypeScript.Comment[]) => void >cur.postComments : any ->cur : any +>cur : TypeScript.AST >postComments : any } @@ -4084,7 +4084,7 @@ module TypeScript { >walker.options.goChildren = (minChar <= pos && pos <= limChar) : boolean >walker.options.goChildren : any >walker.options : any ->walker : any +>walker : IAstWalker >options : any >goChildren : any >(minChar <= pos && pos <= limChar) : boolean @@ -4098,7 +4098,7 @@ module TypeScript { } } return cur; ->cur : any +>cur : TypeScript.AST } var ctx = new AstPathContext(); @@ -4114,8 +4114,8 @@ module TypeScript { >TypeScript : typeof TypeScript >getAstWalkerFactory : any >walk : any ->script : any ->pre : (cur: any, parent: any, walker: any) => any +>script : TypeScript.AST +>pre : (cur: TypeScript.AST, parent: TypeScript.AST, walker: IAstWalker) => TypeScript.AST >null : null >null : null >ctx : AstPathContext @@ -4131,8 +4131,8 @@ module TypeScript { // This is used when "position" might be inside a comment or string, etc. // export function getTokenizationOffset(script: TypeScript.Script, position: number): number { ->getTokenizationOffset : (script: any, position: number) => number ->script : any +>getTokenizationOffset : (script: TypeScript.Script, position: number) => number +>script : TypeScript.Script >TypeScript : any >position : number @@ -4141,28 +4141,28 @@ module TypeScript { >0 : 0 var pre = (cur: TypeScript.AST, parent: TypeScript.AST, walker: TypeScript.IAstWalker): TypeScript.AST => { ->pre : (cur: any, parent: any, walker: any) => any ->(cur: TypeScript.AST, parent: TypeScript.AST, walker: TypeScript.IAstWalker): TypeScript.AST => { if (TypeScript.isValidAstNode(cur)) { // Did we find a closer offset? if (cur.minChar <= position) { bestOffset = max(bestOffset, cur.minChar); } // Stop the walk if this node is not related to "minChar" if (cur.minChar > position || cur.limChar < bestOffset) { walker.options.goChildren = false; } } return cur; } : (cur: any, parent: any, walker: any) => any ->cur : any +>pre : (cur: TypeScript.AST, parent: TypeScript.AST, walker: TypeScript.IAstWalker) => TypeScript.AST +>(cur: TypeScript.AST, parent: TypeScript.AST, walker: TypeScript.IAstWalker): TypeScript.AST => { if (TypeScript.isValidAstNode(cur)) { // Did we find a closer offset? if (cur.minChar <= position) { bestOffset = max(bestOffset, cur.minChar); } // Stop the walk if this node is not related to "minChar" if (cur.minChar > position || cur.limChar < bestOffset) { walker.options.goChildren = false; } } return cur; } : (cur: TypeScript.AST, parent: TypeScript.AST, walker: TypeScript.IAstWalker) => TypeScript.AST +>cur : TypeScript.AST >TypeScript : any ->parent : any +>parent : TypeScript.AST >TypeScript : any ->walker : any +>walker : TypeScript.IAstWalker >TypeScript : any >TypeScript : any if (TypeScript.isValidAstNode(cur)) { >TypeScript.isValidAstNode(cur) : boolean ->TypeScript.isValidAstNode : (ast: any) => boolean +>TypeScript.isValidAstNode : (ast: TypeScript.ASTSpan) => boolean >TypeScript : typeof TypeScript ->isValidAstNode : (ast: any) => boolean ->cur : any +>isValidAstNode : (ast: TypeScript.ASTSpan) => boolean +>cur : TypeScript.AST // Did we find a closer offset? if (cur.minChar <= position) { >cur.minChar <= position : boolean >cur.minChar : any ->cur : any +>cur : TypeScript.AST >minChar : any >position : number @@ -4173,7 +4173,7 @@ module TypeScript { >max : (a: number, b: number) => number >bestOffset : number >cur.minChar : any ->cur : any +>cur : TypeScript.AST >minChar : any } @@ -4182,12 +4182,12 @@ module TypeScript { >cur.minChar > position || cur.limChar < bestOffset : boolean >cur.minChar > position : boolean >cur.minChar : any ->cur : any +>cur : TypeScript.AST >minChar : any >position : number >cur.limChar < bestOffset : boolean >cur.limChar : any ->cur : any +>cur : TypeScript.AST >limChar : any >bestOffset : number @@ -4195,7 +4195,7 @@ module TypeScript { >walker.options.goChildren = false : false >walker.options.goChildren : any >walker.options : any ->walker : any +>walker : TypeScript.IAstWalker >options : any >goChildren : any >false : false @@ -4203,7 +4203,7 @@ module TypeScript { } return cur; ->cur : any +>cur : TypeScript.AST } TypeScript.getAstWalkerFactory().walk(script, pre); @@ -4214,8 +4214,8 @@ module TypeScript { >TypeScript : typeof TypeScript >getAstWalkerFactory : any >walk : any ->script : any ->pre : (cur: any, parent: any, walker: any) => any +>script : TypeScript.Script +>pre : (cur: TypeScript.AST, parent: TypeScript.AST, walker: TypeScript.IAstWalker) => TypeScript.AST return bestOffset; >bestOffset : number @@ -4225,72 +4225,72 @@ module TypeScript { /// Simple function to Walk an AST using a simple callback function. /// export function walkAST(ast: TypeScript.AST, callback: (path: AstPath, walker: TypeScript.IAstWalker) => void ): void { ->walkAST : (ast: any, callback: (path: AstPath, walker: any) => void) => void ->ast : any +>walkAST : (ast: TypeScript.AST, callback: (path: AstPath, walker: TypeScript.IAstWalker) => void) => void +>ast : TypeScript.AST >TypeScript : any ->callback : (path: AstPath, walker: any) => void +>callback : (path: AstPath, walker: TypeScript.IAstWalker) => void >path : AstPath ->walker : any +>walker : TypeScript.IAstWalker >TypeScript : any var pre = function (cur: TypeScript.AST, parent: TypeScript.AST, walker: TypeScript.IAstWalker) { ->pre : (cur: any, parent: any, walker: any) => any ->function (cur: TypeScript.AST, parent: TypeScript.AST, walker: TypeScript.IAstWalker) { var path: TypeScript.AstPath = walker.state; path.push(cur); callback(path, walker); return cur; } : (cur: any, parent: any, walker: any) => any ->cur : any +>pre : (cur: TypeScript.AST, parent: TypeScript.AST, walker: TypeScript.IAstWalker) => TypeScript.AST +>function (cur: TypeScript.AST, parent: TypeScript.AST, walker: TypeScript.IAstWalker) { var path: TypeScript.AstPath = walker.state; path.push(cur); callback(path, walker); return cur; } : (cur: TypeScript.AST, parent: TypeScript.AST, walker: TypeScript.IAstWalker) => TypeScript.AST +>cur : TypeScript.AST >TypeScript : any ->parent : any +>parent : TypeScript.AST >TypeScript : any ->walker : any +>walker : TypeScript.IAstWalker >TypeScript : any var path: TypeScript.AstPath = walker.state; >path : AstPath >TypeScript : any >walker.state : any ->walker : any +>walker : TypeScript.IAstWalker >state : any path.push(cur); >path.push(cur) : void ->path.push : (ast: any) => void +>path.push : (ast: TypeScript.AST) => void >path : AstPath ->push : (ast: any) => void ->cur : any +>push : (ast: TypeScript.AST) => void +>cur : TypeScript.AST callback(path, walker); >callback(path, walker) : void ->callback : (path: AstPath, walker: any) => void +>callback : (path: AstPath, walker: TypeScript.IAstWalker) => void >path : AstPath ->walker : any +>walker : TypeScript.IAstWalker return cur; ->cur : any +>cur : TypeScript.AST } var post = function (cur: TypeScript.AST, parent: TypeScript.AST, walker: TypeScript.IAstWalker) { ->post : (cur: any, parent: any, walker: any) => any ->function (cur: TypeScript.AST, parent: TypeScript.AST, walker: TypeScript.IAstWalker) { var path: TypeScript.AstPath = walker.state; path.pop(); return cur; } : (cur: any, parent: any, walker: any) => any ->cur : any +>post : (cur: TypeScript.AST, parent: TypeScript.AST, walker: TypeScript.IAstWalker) => TypeScript.AST +>function (cur: TypeScript.AST, parent: TypeScript.AST, walker: TypeScript.IAstWalker) { var path: TypeScript.AstPath = walker.state; path.pop(); return cur; } : (cur: TypeScript.AST, parent: TypeScript.AST, walker: TypeScript.IAstWalker) => TypeScript.AST +>cur : TypeScript.AST >TypeScript : any ->parent : any +>parent : TypeScript.AST >TypeScript : any ->walker : any +>walker : TypeScript.IAstWalker >TypeScript : any var path: TypeScript.AstPath = walker.state; >path : AstPath >TypeScript : any >walker.state : any ->walker : any +>walker : TypeScript.IAstWalker >state : any path.pop(); ->path.pop() : any ->path.pop : () => any +>path.pop() : TypeScript.AST +>path.pop : () => TypeScript.AST >path : AstPath ->pop : () => any +>pop : () => TypeScript.AST return cur; ->cur : any +>cur : TypeScript.AST } var path = new AstPath(); @@ -4306,9 +4306,9 @@ module TypeScript { >TypeScript : typeof TypeScript >getAstWalkerFactory : any >walk : any ->ast : any ->pre : (cur: any, parent: any, walker: any) => any ->post : (cur: any, parent: any, walker: any) => any +>ast : TypeScript.AST +>pre : (cur: TypeScript.AST, parent: TypeScript.AST, walker: TypeScript.IAstWalker) => TypeScript.AST +>post : (cur: TypeScript.AST, parent: TypeScript.AST, walker: TypeScript.IAstWalker) => TypeScript.AST >null : null >path : AstPath } diff --git a/tests/baselines/reference/parserRealSource5.symbols b/tests/baselines/reference/parserRealSource5.symbols index 445437f0ca244..c236f89a8db03 100644 --- a/tests/baselines/reference/parserRealSource5.symbols +++ b/tests/baselines/reference/parserRealSource5.symbols @@ -27,6 +27,7 @@ module TypeScript { >outfile : Symbol(PrintContext.outfile, Decl(parserRealSource5.ts, 13, 21)) >ITextWriter : Symbol(ITextWriter, Decl(lib.scripthost.d.ts, --, --)) >parser : Symbol(PrintContext.parser, Decl(parserRealSource5.ts, 13, 49)) +>Parser : Symbol(Parser) } public increaseIndent() { @@ -150,8 +151,11 @@ module TypeScript { export function prePrintAST(ast: AST, parent: AST, walker: IAstWalker) { >prePrintAST : Symbol(prePrintAST, Decl(parserRealSource5.ts, 49, 5)) >ast : Symbol(ast, Decl(parserRealSource5.ts, 51, 32)) +>AST : Symbol(AST) >parent : Symbol(parent, Decl(parserRealSource5.ts, 51, 41)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource5.ts, 51, 54)) +>IAstWalker : Symbol(IAstWalker) var pc: PrintContext = walker.state; >pc : Symbol(pc, Decl(parserRealSource5.ts, 52, 11)) @@ -176,8 +180,11 @@ module TypeScript { export function postPrintAST(ast: AST, parent: AST, walker: IAstWalker) { >postPrintAST : Symbol(postPrintAST, Decl(parserRealSource5.ts, 57, 5)) >ast : Symbol(ast, Decl(parserRealSource5.ts, 60, 33)) +>AST : Symbol(AST) >parent : Symbol(parent, Decl(parserRealSource5.ts, 60, 42)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource5.ts, 60, 55)) +>IAstWalker : Symbol(IAstWalker) var pc: PrintContext = walker.state; >pc : Symbol(pc, Decl(parserRealSource5.ts, 61, 11)) diff --git a/tests/baselines/reference/parserRealSource5.types b/tests/baselines/reference/parserRealSource5.types index 2ee3f51c1e8d1..fcce9a438cb38 100644 --- a/tests/baselines/reference/parserRealSource5.types +++ b/tests/baselines/reference/parserRealSource5.types @@ -29,7 +29,7 @@ module TypeScript { constructor (public outfile: ITextWriter, public parser: Parser) { >outfile : ITextWriter ->parser : any +>parser : Parser } public increaseIndent() { @@ -175,22 +175,22 @@ module TypeScript { } export function prePrintAST(ast: AST, parent: AST, walker: IAstWalker) { ->prePrintAST : (ast: any, parent: any, walker: any) => any ->ast : any ->parent : any ->walker : any +>prePrintAST : (ast: AST, parent: AST, walker: IAstWalker) => AST +>ast : AST +>parent : AST +>walker : IAstWalker var pc: PrintContext = walker.state; >pc : PrintContext >walker.state : PrintContext >walker.state : any ->walker : any +>walker : IAstWalker >state : any ast.print(pc); >ast.print(pc) : any >ast.print : any ->ast : any +>ast : AST >print : any >pc : PrintContext @@ -201,21 +201,21 @@ module TypeScript { >increaseIndent : () => void return ast; ->ast : any +>ast : AST } export function postPrintAST(ast: AST, parent: AST, walker: IAstWalker) { ->postPrintAST : (ast: any, parent: any, walker: any) => any ->ast : any ->parent : any ->walker : any +>postPrintAST : (ast: AST, parent: AST, walker: IAstWalker) => AST +>ast : AST +>parent : AST +>walker : IAstWalker var pc: PrintContext = walker.state; >pc : PrintContext >walker.state : PrintContext >walker.state : any ->walker : any +>walker : IAstWalker >state : any pc.decreaseIndent(); @@ -225,6 +225,6 @@ module TypeScript { >decreaseIndent : () => void return ast; ->ast : any +>ast : AST } } diff --git a/tests/baselines/reference/parserRealSource6.symbols b/tests/baselines/reference/parserRealSource6.symbols index 78d6dda117b6c..ff77662ad9eaa 100644 --- a/tests/baselines/reference/parserRealSource6.symbols +++ b/tests/baselines/reference/parserRealSource6.symbols @@ -12,10 +12,13 @@ module TypeScript { public script: Script = null; >script : Symbol(TypeCollectionContext.script, Decl(parserRealSource6.ts, 6, 40)) +>Script : Symbol(Script) constructor (public scopeChain: ScopeChain, public checker: TypeChecker) { >scopeChain : Symbol(TypeCollectionContext.scopeChain, Decl(parserRealSource6.ts, 9, 21)) +>ScopeChain : Symbol(ScopeChain) >checker : Symbol(TypeCollectionContext.checker, Decl(parserRealSource6.ts, 9, 51)) +>TypeChecker : Symbol(TypeChecker) } } @@ -24,20 +27,25 @@ module TypeScript { public type: Type = null; >type : Symbol(MemberScopeContext.type, Decl(parserRealSource6.ts, 13, 37)) +>Type : Symbol(Type) public ast: AST = null; >ast : Symbol(MemberScopeContext.ast, Decl(parserRealSource6.ts, 14, 33)) +>AST : Symbol(AST) public scope: SymbolScope; >scope : Symbol(MemberScopeContext.scope, Decl(parserRealSource6.ts, 15, 31)) +>SymbolScope : Symbol(SymbolScope) public options = new AstWalkOptions(); >options : Symbol(MemberScopeContext.options, Decl(parserRealSource6.ts, 16, 34)) constructor (public flow: TypeFlow, public pos: number, public matchFlag: ASTFlags) { >flow : Symbol(MemberScopeContext.flow, Decl(parserRealSource6.ts, 19, 21)) +>TypeFlow : Symbol(TypeFlow) >pos : Symbol(MemberScopeContext.pos, Decl(parserRealSource6.ts, 19, 43)) >matchFlag : Symbol(MemberScopeContext.matchFlag, Decl(parserRealSource6.ts, 19, 63)) +>ASTFlags : Symbol(ASTFlags) } } @@ -46,24 +54,30 @@ module TypeScript { public scopeGetter: () => SymbolScope = null; >scopeGetter : Symbol(EnclosingScopeContext.scopeGetter, Decl(parserRealSource6.ts, 23, 40)) +>SymbolScope : Symbol(SymbolScope) public objectLiteralScopeGetter: () => SymbolScope = null; >objectLiteralScopeGetter : Symbol(EnclosingScopeContext.objectLiteralScopeGetter, Decl(parserRealSource6.ts, 25, 53)) +>SymbolScope : Symbol(SymbolScope) public scopeStartAST: AST = null; >scopeStartAST : Symbol(EnclosingScopeContext.scopeStartAST, Decl(parserRealSource6.ts, 26, 66)) +>AST : Symbol(AST) public skipNextFuncDeclForClass = false; >skipNextFuncDeclForClass : Symbol(EnclosingScopeContext.skipNextFuncDeclForClass, Decl(parserRealSource6.ts, 27, 41)) public deepestModuleDecl: ModuleDeclaration = null; >deepestModuleDecl : Symbol(EnclosingScopeContext.deepestModuleDecl, Decl(parserRealSource6.ts, 28, 48)) +>ModuleDeclaration : Symbol(ModuleDeclaration) public enclosingClassDecl: TypeDeclaration = null; >enclosingClassDecl : Symbol(EnclosingScopeContext.enclosingClassDecl, Decl(parserRealSource6.ts, 29, 59)) +>TypeDeclaration : Symbol(TypeDeclaration) public enclosingObjectLit: UnaryExpression = null; >enclosingObjectLit : Symbol(EnclosingScopeContext.enclosingObjectLit, Decl(parserRealSource6.ts, 30, 58)) +>UnaryExpression : Symbol(UnaryExpression) public publicsOnly = true; >publicsOnly : Symbol(EnclosingScopeContext.publicsOnly, Decl(parserRealSource6.ts, 31, 58)) @@ -73,15 +87,19 @@ module TypeScript { private scriptFragment: Script; >scriptFragment : Symbol(EnclosingScopeContext.scriptFragment, Decl(parserRealSource6.ts, 33, 34)) +>Script : Symbol(Script) constructor (public logger: ILogger, >logger : Symbol(EnclosingScopeContext.logger, Decl(parserRealSource6.ts, 36, 21)) +>ILogger : Symbol(ILogger) public script: Script, >script : Symbol(EnclosingScopeContext.script, Decl(parserRealSource6.ts, 36, 44)) +>Script : Symbol(Script) public text: ISourceText, >text : Symbol(EnclosingScopeContext.text, Decl(parserRealSource6.ts, 37, 42)) +>ISourceText : Symbol(ISourceText) public pos: number, >pos : Symbol(EnclosingScopeContext.pos, Decl(parserRealSource6.ts, 38, 45)) @@ -92,6 +110,7 @@ module TypeScript { public getScope(): SymbolScope { >getScope : Symbol(EnclosingScopeContext.getScope, Decl(parserRealSource6.ts, 41, 9)) +>SymbolScope : Symbol(SymbolScope) return this.scopeGetter(); >this.scopeGetter : Symbol(EnclosingScopeContext.scopeGetter, Decl(parserRealSource6.ts, 23, 40)) @@ -101,6 +120,7 @@ module TypeScript { public getObjectLiteralScope(): SymbolScope { >getObjectLiteralScope : Symbol(EnclosingScopeContext.getObjectLiteralScope, Decl(parserRealSource6.ts, 45, 9)) +>SymbolScope : Symbol(SymbolScope) return this.objectLiteralScopeGetter(); >this.objectLiteralScopeGetter : Symbol(EnclosingScopeContext.objectLiteralScopeGetter, Decl(parserRealSource6.ts, 25, 53)) @@ -128,6 +148,7 @@ module TypeScript { public getScriptFragmentStartAST(): AST { >getScriptFragmentStartAST : Symbol(EnclosingScopeContext.getScriptFragmentStartAST, Decl(parserRealSource6.ts, 57, 9)) +>AST : Symbol(AST) return this.scopeStartAST; >this.scopeStartAST : Symbol(EnclosingScopeContext.scopeStartAST, Decl(parserRealSource6.ts, 26, 66)) @@ -146,6 +167,7 @@ module TypeScript { public getScriptFragment(): Script { >getScriptFragment : Symbol(EnclosingScopeContext.getScriptFragment, Decl(parserRealSource6.ts, 65, 9)) +>Script : Symbol(Script) if (this.scriptFragment == null) { >this.scriptFragment : Symbol(EnclosingScopeContext.scriptFragment, Decl(parserRealSource6.ts, 33, 34)) @@ -199,8 +221,11 @@ module TypeScript { export function preFindMemberScope(ast: AST, parent: AST, walker: IAstWalker) { >preFindMemberScope : Symbol(preFindMemberScope, Decl(parserRealSource6.ts, 76, 5)) >ast : Symbol(ast, Decl(parserRealSource6.ts, 78, 39)) +>AST : Symbol(AST) >parent : Symbol(parent, Decl(parserRealSource6.ts, 78, 48)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource6.ts, 78, 61)) +>IAstWalker : Symbol(IAstWalker) var memScope: MemberScopeContext = walker.state; >memScope : Symbol(memScope, Decl(parserRealSource6.ts, 79, 11)) @@ -263,15 +288,19 @@ module TypeScript { valueMembers: ScopedMembers, >valueMembers : Symbol(valueMembers, Decl(parserRealSource6.ts, 91, 62)) +>ScopedMembers : Symbol(ScopedMembers) ambientValueMembers: ScopedMembers, >ambientValueMembers : Symbol(ambientValueMembers, Decl(parserRealSource6.ts, 92, 36)) +>ScopedMembers : Symbol(ScopedMembers) enclosedTypes: ScopedMembers, >enclosedTypes : Symbol(enclosedTypes, Decl(parserRealSource6.ts, 93, 43)) +>ScopedMembers : Symbol(ScopedMembers) ambientEnclosedTypes: ScopedMembers, >ambientEnclosedTypes : Symbol(ambientEnclosedTypes, Decl(parserRealSource6.ts, 94, 37)) +>ScopedMembers : Symbol(ScopedMembers) context: TypeCollectionContext, >context : Symbol(context, Decl(parserRealSource6.ts, 95, 44)) @@ -279,12 +308,15 @@ module TypeScript { thisType: Type, >thisType : Symbol(thisType, Decl(parserRealSource6.ts, 96, 39)) +>Type : Symbol(Type) classType: Type, >classType : Symbol(classType, Decl(parserRealSource6.ts, 97, 23)) +>Type : Symbol(Type) moduleDecl: ModuleDeclaration) { >moduleDecl : Symbol(moduleDecl, Decl(parserRealSource6.ts, 98, 24)) +>ModuleDeclaration : Symbol(ModuleDeclaration) var builder = new SymbolScopeBuilder(valueMembers, ambientValueMembers, enclosedTypes, ambientEnclosedTypes, null, container); >builder : Symbol(builder, Decl(parserRealSource6.ts, 100, 11)) @@ -296,6 +328,7 @@ module TypeScript { var chain: ScopeChain = new ScopeChain(container, context.scopeChain, builder); >chain : Symbol(chain, Decl(parserRealSource6.ts, 101, 11)) +>ScopeChain : Symbol(ScopeChain) >container : Symbol(container, Decl(parserRealSource6.ts, 91, 44)) >context.scopeChain : Symbol(TypeCollectionContext.scopeChain, Decl(parserRealSource6.ts, 9, 21)) >context : Symbol(context, Decl(parserRealSource6.ts, 95, 44)) @@ -338,8 +371,11 @@ module TypeScript { export function preFindEnclosingScope(ast: AST, parent: AST, walker: IAstWalker) { >preFindEnclosingScope : Symbol(preFindEnclosingScope, Decl(parserRealSource6.ts, 110, 5)) >ast : Symbol(ast, Decl(parserRealSource6.ts, 112, 42)) +>AST : Symbol(AST) >parent : Symbol(parent, Decl(parserRealSource6.ts, 112, 51)) +>AST : Symbol(AST) >walker : Symbol(walker, Decl(parserRealSource6.ts, 112, 64)) +>IAstWalker : Symbol(IAstWalker) var context: EnclosingScopeContext = walker.state; >context : Symbol(context, Decl(parserRealSource6.ts, 113, 11)) @@ -387,6 +423,7 @@ module TypeScript { case NodeType.Script: var script =