mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Adjusts some source map locations. Updates baselines.
This commit is contained in:
+25
-13
@@ -1276,13 +1276,15 @@ const _super = (function (geti, seti) {
|
||||
}
|
||||
|
||||
function emitIfStatement(node: IfStatement) {
|
||||
write("if (");
|
||||
const openParenPos = writeToken(SyntaxKind.IfKeyword, node.pos);
|
||||
write(" ");
|
||||
writeToken(SyntaxKind.OpenParenToken, openParenPos);
|
||||
emitExpression(node.expression);
|
||||
write(")");
|
||||
writeToken(SyntaxKind.CloseParenToken, node.expression.end);
|
||||
emitEmbeddedStatement(node.thenStatement);
|
||||
if (node.elseStatement) {
|
||||
writeLine();
|
||||
write("else");
|
||||
writeToken(SyntaxKind.ElseKeyword, node.thenStatement.end);
|
||||
if (node.elseStatement.kind === SyntaxKind.IfStatement) {
|
||||
write(" ");
|
||||
emit(node.elseStatement);
|
||||
@@ -1329,20 +1331,24 @@ const _super = (function (geti, seti) {
|
||||
}
|
||||
|
||||
function emitForInStatement(node: ForInStatement) {
|
||||
write("for (");
|
||||
const openParenPos = writeToken(SyntaxKind.ForKeyword, node.pos);
|
||||
write(" ");
|
||||
writeToken(SyntaxKind.OpenParenToken, openParenPos);
|
||||
emitForBinding(node.initializer);
|
||||
write(" in ");
|
||||
emitExpression(node.expression);
|
||||
write(")");
|
||||
writeToken(SyntaxKind.CloseParenToken, node.expression.end);
|
||||
emitEmbeddedStatement(node.statement);
|
||||
}
|
||||
|
||||
function emitForOfStatement(node: ForOfStatement) {
|
||||
write("for (");
|
||||
const openParenPos = writeToken(SyntaxKind.ForKeyword, node.pos);
|
||||
write(" ");
|
||||
writeToken(SyntaxKind.OpenParenToken, openParenPos);
|
||||
emitForBinding(node.initializer);
|
||||
write(" of ");
|
||||
emitExpression(node.expression);
|
||||
write(")");
|
||||
writeToken(SyntaxKind.CloseParenToken, node.expression.end);
|
||||
emitEmbeddedStatement(node.statement);
|
||||
}
|
||||
|
||||
@@ -1358,13 +1364,13 @@ const _super = (function (geti, seti) {
|
||||
}
|
||||
|
||||
function emitContinueStatement(node: ContinueStatement) {
|
||||
write("continue");
|
||||
writeToken(SyntaxKind.ContinueKeyword, node.pos);
|
||||
emitWithPrefix(" ", node.label);
|
||||
write(";");
|
||||
}
|
||||
|
||||
function emitBreakStatement(node: BreakStatement) {
|
||||
write("break");
|
||||
writeToken(SyntaxKind.BreakKeyword, node.pos);
|
||||
emitWithPrefix(" ", node.label);
|
||||
write(";");
|
||||
}
|
||||
@@ -1383,9 +1389,12 @@ const _super = (function (geti, seti) {
|
||||
}
|
||||
|
||||
function emitSwitchStatement(node: SwitchStatement) {
|
||||
write("switch (");
|
||||
const openParenPos = writeToken(SyntaxKind.SwitchKeyword, node.pos);
|
||||
write(" ");
|
||||
writeToken(SyntaxKind.OpenParenToken, openParenPos);
|
||||
emitExpression(node.expression);
|
||||
write(") ");
|
||||
writeToken(SyntaxKind.CloseParenToken, node.expression.end);
|
||||
write(" ");
|
||||
emit(node.caseBlock);
|
||||
}
|
||||
|
||||
@@ -1872,9 +1881,12 @@ const _super = (function (geti, seti) {
|
||||
|
||||
function emitCatchClause(node: CatchClause) {
|
||||
writeLine();
|
||||
write("catch (");
|
||||
const openParenPos = writeToken(SyntaxKind.CatchKeyword, node.pos);
|
||||
write(" ");
|
||||
writeToken(SyntaxKind.OpenParenToken, openParenPos);
|
||||
emit(node.variableDeclaration);
|
||||
write(") ");
|
||||
writeToken(SyntaxKind.CloseParenToken, node.variableDeclaration ? node.variableDeclaration.end : openParenPos);
|
||||
write(" ");
|
||||
emit(node.block);
|
||||
}
|
||||
|
||||
|
||||
@@ -612,12 +612,12 @@ namespace ts {
|
||||
enableSubstitutionsForBlockScopedBindings();
|
||||
}
|
||||
|
||||
const baseTypeNode = getClassExtendsHeritageClauseElement(node);
|
||||
const extendsClauseElement = getClassExtendsHeritageClauseElement(node);
|
||||
const classFunction = createFunctionExpression(
|
||||
/*asteriskToken*/ undefined,
|
||||
/*name*/ undefined,
|
||||
baseTypeNode ? [createParameter("_super")] : [],
|
||||
transformClassBody(node, baseTypeNode !== undefined)
|
||||
extendsClauseElement ? [createParameter("_super")] : [],
|
||||
transformClassBody(node, extendsClauseElement)
|
||||
);
|
||||
|
||||
// To preserve the behavior of the old emitter, we explicitly indent
|
||||
@@ -640,8 +640,8 @@ namespace ts {
|
||||
return createParen(
|
||||
createCall(
|
||||
outer,
|
||||
baseTypeNode
|
||||
? [visitNode(baseTypeNode.expression, visitor, isExpression)]
|
||||
extendsClauseElement
|
||||
? [visitNode(extendsClauseElement.expression, visitor, isExpression)]
|
||||
: []
|
||||
)
|
||||
);
|
||||
@@ -651,13 +651,13 @@ namespace ts {
|
||||
* Transforms a ClassExpression or ClassDeclaration into a function body.
|
||||
*
|
||||
* @param node A ClassExpression or ClassDeclaration node.
|
||||
* @param hasExtendsClause A value indicating whether the class has an `extends` clause.
|
||||
* @param extendsClauseElement The expression for the class `extends` clause.
|
||||
*/
|
||||
function transformClassBody(node: ClassExpression | ClassDeclaration, hasExtendsClause: boolean): Block {
|
||||
function transformClassBody(node: ClassExpression | ClassDeclaration, extendsClauseElement: ExpressionWithTypeArguments): Block {
|
||||
const statements: Statement[] = [];
|
||||
startLexicalEnvironment();
|
||||
addExtendsHelperIfNeeded(statements, node, hasExtendsClause);
|
||||
addConstructor(statements, node, hasExtendsClause);
|
||||
addExtendsHelperIfNeeded(statements, node, extendsClauseElement);
|
||||
addConstructor(statements, node, extendsClauseElement);
|
||||
addClassMembers(statements, node);
|
||||
|
||||
// Create a synthetic text range for the return statement.
|
||||
@@ -687,13 +687,14 @@ namespace ts {
|
||||
*
|
||||
* @param statements The statements of the class body function.
|
||||
* @param node The ClassExpression or ClassDeclaration node.
|
||||
* @param hasExtendsClause A value indicating whether the class has an `extends` clause.
|
||||
* @param extendsClauseElement The expression for the class `extends` clause.
|
||||
*/
|
||||
function addExtendsHelperIfNeeded(statements: Statement[], node: ClassExpression | ClassDeclaration, hasExtendsClause: boolean): void {
|
||||
if (hasExtendsClause) {
|
||||
function addExtendsHelperIfNeeded(statements: Statement[], node: ClassExpression | ClassDeclaration, extendsClauseElement: ExpressionWithTypeArguments): void {
|
||||
if (extendsClauseElement) {
|
||||
statements.push(
|
||||
createStatement(
|
||||
createExtendsHelper(getDeclarationName(node))
|
||||
createExtendsHelper(getDeclarationName(node)),
|
||||
/*location*/ extendsClauseElement
|
||||
)
|
||||
);
|
||||
}
|
||||
@@ -704,18 +705,18 @@ namespace ts {
|
||||
*
|
||||
* @param statements The statements of the class body function.
|
||||
* @param node The ClassExpression or ClassDeclaration node.
|
||||
* @param hasExtendsClause A value indicating whether the class has an `extends` clause.
|
||||
* @param extendsClauseElement The expression for the class `extends` clause.
|
||||
*/
|
||||
function addConstructor(statements: Statement[], node: ClassExpression | ClassDeclaration, hasExtendsClause: boolean): void {
|
||||
function addConstructor(statements: Statement[], node: ClassExpression | ClassDeclaration, extendsClauseElement: ExpressionWithTypeArguments): void {
|
||||
const constructor = getFirstConstructorWithBody(node);
|
||||
const hasSynthesizedSuper = hasSynthesizedDefaultSuperCall(constructor, hasExtendsClause);
|
||||
const hasSynthesizedSuper = hasSynthesizedDefaultSuperCall(constructor, extendsClauseElement !== undefined);
|
||||
statements.push(
|
||||
createFunctionDeclaration(
|
||||
/*modifiers*/ undefined,
|
||||
/*asteriskToken*/ undefined,
|
||||
getDeclarationName(node),
|
||||
transformConstructorParameters(constructor, hasSynthesizedSuper),
|
||||
transformConstructorBody(constructor, node, hasExtendsClause, hasSynthesizedSuper),
|
||||
transformConstructorBody(constructor, node, extendsClauseElement, hasSynthesizedSuper),
|
||||
/*location*/ constructor || node
|
||||
)
|
||||
);
|
||||
@@ -746,11 +747,11 @@ namespace ts {
|
||||
*
|
||||
* @param constructor The constructor for the class.
|
||||
* @param node The node which contains the constructor.
|
||||
* @param hasExtendsClause A value indicating whether the class has an `extends` clause.
|
||||
* @param extendsClauseElement The expression for the class `extends` clause.
|
||||
* @param hasSynthesizedSuper A value indicating whether the constructor starts with a
|
||||
* synthesized `super` call.
|
||||
*/
|
||||
function transformConstructorBody(constructor: ConstructorDeclaration, node: ClassDeclaration | ClassExpression, hasExtendsClause: boolean, hasSynthesizedSuper: boolean) {
|
||||
function transformConstructorBody(constructor: ConstructorDeclaration, node: ClassDeclaration | ClassExpression, extendsClauseElement: ExpressionWithTypeArguments, hasSynthesizedSuper: boolean) {
|
||||
const statements: Statement[] = [];
|
||||
startLexicalEnvironment();
|
||||
if (constructor) {
|
||||
@@ -759,7 +760,7 @@ namespace ts {
|
||||
addRestParameterIfNeeded(statements, constructor, hasSynthesizedSuper);
|
||||
}
|
||||
|
||||
addDefaultSuperCallIfNeeded(statements, constructor, hasExtendsClause, hasSynthesizedSuper);
|
||||
addDefaultSuperCallIfNeeded(statements, constructor, extendsClauseElement, hasSynthesizedSuper);
|
||||
|
||||
if (constructor) {
|
||||
const body = saveStateAndInvoke(constructor, hasSynthesizedSuper ? transformConstructorBodyWithSynthesizedSuper : transformConstructorBodyWithoutSynthesizedSuper);
|
||||
@@ -796,24 +797,25 @@ namespace ts {
|
||||
*
|
||||
* @param statements The statements for the new constructor body.
|
||||
* @param constructor The constructor for the class.
|
||||
* @param hasExtendsClause A value indicating whether the class has an `extends` clause.
|
||||
* @param extendsClauseElement The expression for the class `extends` clause.
|
||||
* @param hasSynthesizedSuper A value indicating whether the constructor starts with a
|
||||
* synthesized `super` call.
|
||||
*/
|
||||
function addDefaultSuperCallIfNeeded(statements: Statement[], constructor: ConstructorDeclaration, hasExtendsClause: boolean, hasSynthesizedSuper: boolean) {
|
||||
function addDefaultSuperCallIfNeeded(statements: Statement[], constructor: ConstructorDeclaration, extendsClauseElement: ExpressionWithTypeArguments, hasSynthesizedSuper: boolean) {
|
||||
// If the TypeScript transformer needed to synthesize a constructor for property
|
||||
// initializers, it would have also added a synthetic `...args` parameter and
|
||||
// `super` call.
|
||||
// If this is the case, or if the class has an `extends` clause but no
|
||||
// constructor, we emit a synthesized call to `_super`.
|
||||
if (constructor ? hasSynthesizedSuper : hasExtendsClause) {
|
||||
if (constructor ? hasSynthesizedSuper : extendsClauseElement) {
|
||||
statements.push(
|
||||
createStatement(
|
||||
createFunctionApply(
|
||||
createIdentifier("_super"),
|
||||
createThis(),
|
||||
createIdentifier("arguments")
|
||||
)
|
||||
),
|
||||
/*location*/ extendsClauseElement
|
||||
)
|
||||
);
|
||||
}
|
||||
@@ -1669,7 +1671,7 @@ namespace ts {
|
||||
visitor
|
||||
)
|
||||
),
|
||||
/*location*/ initializer
|
||||
/*location*/ moveRangeEnd(initializer, -1)
|
||||
)
|
||||
);
|
||||
}
|
||||
@@ -1684,8 +1686,8 @@ namespace ts {
|
||||
firstDeclaration ? firstDeclaration.name : createTempVariable(/*recordTempVariable*/ undefined),
|
||||
createElementAccess(rhsReference, counter)
|
||||
)
|
||||
]),
|
||||
/*location*/ initializer
|
||||
], /*location*/ moveRangePos(initializer, -1)),
|
||||
/*location*/ moveRangeEnd(initializer, -1)
|
||||
)
|
||||
);
|
||||
}
|
||||
@@ -1709,7 +1711,8 @@ namespace ts {
|
||||
);
|
||||
}
|
||||
else {
|
||||
statements.push(createStatement(assignment, /*location*/ node.initializer));
|
||||
assignment.end = initializer.end;
|
||||
statements.push(createStatement(assignment, /*location*/ moveRangeEnd(initializer, -1)));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1726,10 +1729,13 @@ namespace ts {
|
||||
}
|
||||
}
|
||||
|
||||
// The old emitter does not emit source maps for the expression
|
||||
setNodeEmitFlags(expression, NodeEmitFlags.NoSourceMap | getNodeEmitFlags(expression));
|
||||
|
||||
return createFor(
|
||||
createVariableDeclarationList(
|
||||
[
|
||||
createVariableDeclaration(counter, createLiteral(0), /*location*/ node.expression),
|
||||
createVariableDeclaration(counter, createLiteral(0), /*location*/ moveRangePos(node.expression, -1)),
|
||||
createVariableDeclaration(rhsReference, expression, /*location*/ node.expression)
|
||||
],
|
||||
/*location*/ node.expression
|
||||
@@ -1737,9 +1743,9 @@ namespace ts {
|
||||
createLessThan(
|
||||
counter,
|
||||
createPropertyAccess(rhsReference, "length"),
|
||||
/*location*/ initializer
|
||||
/*location*/ node.expression
|
||||
),
|
||||
createPostfixIncrement(counter, /*location*/ initializer),
|
||||
createPostfixIncrement(counter, /*location*/ node.expression),
|
||||
createBlock(
|
||||
statements
|
||||
),
|
||||
|
||||
@@ -2660,13 +2660,22 @@ namespace ts {
|
||||
}
|
||||
|
||||
function addExportMemberAssignment(statements: Statement[], node: DeclarationStatement) {
|
||||
statements.push(createNamespaceExport(getDeclarationName(node), getDeclarationName(node)));
|
||||
statements.push(
|
||||
createStatement(
|
||||
createAssignment(
|
||||
getExportName(node),
|
||||
getLocalName(node, /*noSourceMaps*/ true),
|
||||
/*location*/ node
|
||||
),
|
||||
/*location*/ moveRangePos(node, -1)
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
function createNamespaceExport(exportName: Identifier, exportValue: Expression, location?: TextRange) {
|
||||
return createStatement(
|
||||
createAssignment(
|
||||
getNamespaceMemberName(exportName),
|
||||
getNamespaceMemberName(exportName, /*allowComments*/ false, /*allowSourceMaps*/ true),
|
||||
exportValue
|
||||
),
|
||||
location
|
||||
@@ -2720,11 +2729,11 @@ namespace ts {
|
||||
* "exports.".
|
||||
*
|
||||
* @param node The declaration.
|
||||
* @param noSourceMaps A value indicating whether source maps may not be emitted for the name.
|
||||
* @param allowComments A value indicating whether comments may be emitted for the name.
|
||||
* @param allowSourceMaps A value indicating whether source maps may be emitted for the name.
|
||||
*/
|
||||
function getLocalName(node: ClassDeclaration | FunctionDeclaration | ModuleDeclaration | EnumDeclaration, allowComments?: boolean) {
|
||||
return getDeclarationName(node, allowComments, /*allowSourceMaps*/ true, NodeEmitFlags.LocalName);
|
||||
function getLocalName(node: DeclarationStatement | ClassExpression, noSourceMaps?: boolean, allowComments?: boolean) {
|
||||
return getDeclarationName(node, allowComments, !noSourceMaps, NodeEmitFlags.LocalName);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -2734,15 +2743,15 @@ namespace ts {
|
||||
* like "exports." if one is required.
|
||||
*
|
||||
* @param node The declaration.
|
||||
* @param noSourceMaps A value indicating whether source maps may not be emitted for the name.
|
||||
* @param allowComments A value indicating whether comments may be emitted for the name.
|
||||
* @param allowSourceMaps A value indicating whether source maps may be emitted for the name.
|
||||
*/
|
||||
function getExportName(node: ClassDeclaration | FunctionDeclaration | ModuleDeclaration | EnumDeclaration, allowComments?: boolean) {
|
||||
function getExportName(node: DeclarationStatement | ClassExpression, noSourceMaps?: boolean, allowComments?: boolean) {
|
||||
if (isNamespaceExport(node)) {
|
||||
return getNamespaceMemberName(getDeclarationName(node), allowComments, /*allowSourceMaps*/ true);
|
||||
return getNamespaceMemberName(getDeclarationName(node), allowComments, !noSourceMaps);
|
||||
}
|
||||
|
||||
return getDeclarationName(node, allowComments, /*allowSourceMaps*/ true, NodeEmitFlags.ExportName);
|
||||
return getDeclarationName(node, allowComments, !noSourceMaps, NodeEmitFlags.ExportName);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
//// [ES5For-of1.js.map]
|
||||
{"version":3,"file":"ES5For-of1.js","sourceRoot":"","sources":["ES5For-of1.ts"],"names":[],"mappings":"AAAA,GAAG,CAAC,CAAU,UAAe,EAAf,MAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAf,cAAe,EAAf,IAAe,CAAC;IAAzB,IAAI,CAAC,SAAA;IACN,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAClB"}
|
||||
{"version":3,"file":"ES5For-of1.js","sourceRoot":"","sources":["ES5For-of1.ts"],"names":[],"mappings":"AAAA,GAAG,CAAC,CAAU,UAAe,EAAf,MAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAf,cAAe,EAAf,IAAe;IAAxB,IAAI,CAAC,SAAA;IACN,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAClB"}
|
||||
@@ -26,7 +26,6 @@ sourceFile:ES5For-of1.ts
|
||||
15> ^^^^^^^^^^^^^^
|
||||
16> ^^
|
||||
17> ^^^^
|
||||
18> ^
|
||||
1 >
|
||||
2 >for
|
||||
3 >
|
||||
@@ -44,7 +43,6 @@ sourceFile:ES5For-of1.ts
|
||||
15> ['a', 'b', 'c']
|
||||
16>
|
||||
17> ['a', 'b', 'c']
|
||||
18> )
|
||||
1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
|
||||
2 >Emitted(1, 4) Source(1, 4) + SourceIndex(0)
|
||||
3 >Emitted(1, 5) Source(1, 5) + SourceIndex(0)
|
||||
@@ -62,7 +60,6 @@ sourceFile:ES5For-of1.ts
|
||||
15>Emitted(1, 54) Source(1, 30) + SourceIndex(0)
|
||||
16>Emitted(1, 56) Source(1, 15) + SourceIndex(0)
|
||||
17>Emitted(1, 60) Source(1, 30) + SourceIndex(0)
|
||||
18>Emitted(1, 61) Source(1, 31) + SourceIndex(0)
|
||||
---
|
||||
>>> var v = _a[_i];
|
||||
1 >^^^^
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
//// [ES5For-of13.js.map]
|
||||
{"version":3,"file":"ES5For-of13.js","sourceRoot":"","sources":["ES5For-of13.ts"],"names":[],"mappings":"AAAA,GAAG,CAAC,CAAU,UAAe,EAAf,MAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAf,cAAe,EAAf,IAAe,CAAC;IAAzB,IAAI,CAAC,SAAA;IACN,IAAI,CAAC,GAAG,CAAC,CAAC;CACb"}
|
||||
{"version":3,"file":"ES5For-of13.js","sourceRoot":"","sources":["ES5For-of13.ts"],"names":[],"mappings":"AAAA,GAAG,CAAC,CAAU,UAAe,EAAf,MAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAf,cAAe,EAAf,IAAe;IAAxB,IAAI,CAAC,SAAA;IACN,IAAI,CAAC,GAAG,CAAC,CAAC;CACb"}
|
||||
@@ -26,7 +26,6 @@ sourceFile:ES5For-of13.ts
|
||||
15> ^^^^^^^^^^^^^^
|
||||
16> ^^
|
||||
17> ^^^^
|
||||
18> ^
|
||||
1 >
|
||||
2 >for
|
||||
3 >
|
||||
@@ -44,7 +43,6 @@ sourceFile:ES5For-of13.ts
|
||||
15> ['a', 'b', 'c']
|
||||
16>
|
||||
17> ['a', 'b', 'c']
|
||||
18> )
|
||||
1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
|
||||
2 >Emitted(1, 4) Source(1, 4) + SourceIndex(0)
|
||||
3 >Emitted(1, 5) Source(1, 5) + SourceIndex(0)
|
||||
@@ -62,7 +60,6 @@ sourceFile:ES5For-of13.ts
|
||||
15>Emitted(1, 54) Source(1, 30) + SourceIndex(0)
|
||||
16>Emitted(1, 56) Source(1, 15) + SourceIndex(0)
|
||||
17>Emitted(1, 60) Source(1, 30) + SourceIndex(0)
|
||||
18>Emitted(1, 61) Source(1, 31) + SourceIndex(0)
|
||||
---
|
||||
>>> var v = _a[_i];
|
||||
1 >^^^^
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
//// [ES5For-of25.js.map]
|
||||
{"version":3,"file":"ES5For-of25.js","sourceRoot":"","sources":["ES5For-of25.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAClB,GAAG,CAAC,CAAU,UAAC,EAAD,OAAC,EAAD,eAAC,EAAD,IAAC,CAAC;IAAX,IAAI,CAAC,UAAA;IACN,CAAC,CAAC;IACF,CAAC,CAAC;CACL"}
|
||||
{"version":3,"file":"ES5For-of25.js","sourceRoot":"","sources":["ES5For-of25.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAClB,GAAG,CAAC,CAAU,UAAC,EAAD,OAAC,EAAD,eAAC,EAAD,IAAC;IAAV,IAAI,CAAC,UAAA;IACN,CAAC,CAAC;IACF,CAAC,CAAC;CACL"}
|
||||
@@ -59,7 +59,6 @@ sourceFile:ES5For-of25.ts
|
||||
9 > ^^^^^^^^^^^^^^^
|
||||
10> ^^
|
||||
11> ^^^^
|
||||
12> ^
|
||||
1->
|
||||
>
|
||||
2 >for
|
||||
@@ -72,7 +71,6 @@ sourceFile:ES5For-of25.ts
|
||||
9 > a
|
||||
10>
|
||||
11> a
|
||||
12> )
|
||||
1->Emitted(2, 1) Source(2, 1) + SourceIndex(0)
|
||||
2 >Emitted(2, 4) Source(2, 4) + SourceIndex(0)
|
||||
3 >Emitted(2, 5) Source(2, 5) + SourceIndex(0)
|
||||
@@ -84,7 +82,6 @@ sourceFile:ES5For-of25.ts
|
||||
9 >Emitted(2, 42) Source(2, 16) + SourceIndex(0)
|
||||
10>Emitted(2, 44) Source(2, 15) + SourceIndex(0)
|
||||
11>Emitted(2, 48) Source(2, 16) + SourceIndex(0)
|
||||
12>Emitted(2, 49) Source(2, 17) + SourceIndex(0)
|
||||
---
|
||||
>>> var v = a_1[_i];
|
||||
1 >^^^^
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
//// [ES5For-of26.js.map]
|
||||
{"version":3,"file":"ES5For-of26.js","sourceRoot":"","sources":["ES5For-of26.ts"],"names":[],"mappings":"AAAA,GAAG,CAAC,CAAuB,UAAM,EAAN,MAAC,CAAC,EAAE,CAAC,CAAC,EAAN,cAAM,EAAN,IAAM,CAAC;IAA7B,eAAkB,EAAb,UAAK,EAAL,0BAAK,EAAE,UAAK,EAAL,0BAAK;IAClB,CAAC,CAAC;IACF,CAAC,CAAC;CACL"}
|
||||
{"version":3,"file":"ES5For-of26.js","sourceRoot":"","sources":["ES5For-of26.ts"],"names":[],"mappings":"AAAA,GAAG,CAAC,CAAuB,UAAM,EAAN,MAAC,CAAC,EAAE,CAAC,CAAC,EAAN,cAAM,EAAN,IAAM;IAA5B,eAAkB,EAAb,UAAK,EAAL,0BAAK,EAAE,UAAK,EAAL,0BAAK;IAClB,CAAC,CAAC;IACF,CAAC,CAAC;CACL"}
|
||||
@@ -24,8 +24,7 @@ sourceFile:ES5For-of26.ts
|
||||
13> ^^^^^^^^^^^^^^
|
||||
14> ^^
|
||||
15> ^^^^
|
||||
16> ^
|
||||
17> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
16> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
1 >
|
||||
2 >for
|
||||
3 >
|
||||
@@ -41,7 +40,6 @@ sourceFile:ES5For-of26.ts
|
||||
13> [2, 3]
|
||||
14>
|
||||
15> [2, 3]
|
||||
16> )
|
||||
1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
|
||||
2 >Emitted(1, 4) Source(1, 4) + SourceIndex(0)
|
||||
3 >Emitted(1, 5) Source(1, 5) + SourceIndex(0)
|
||||
@@ -57,7 +55,6 @@ sourceFile:ES5For-of26.ts
|
||||
13>Emitted(1, 45) Source(1, 34) + SourceIndex(0)
|
||||
14>Emitted(1, 47) Source(1, 28) + SourceIndex(0)
|
||||
15>Emitted(1, 51) Source(1, 34) + SourceIndex(0)
|
||||
16>Emitted(1, 52) Source(1, 35) + SourceIndex(0)
|
||||
---
|
||||
>>> var _b = _a[_i], _c = _b[0], a = _c === void 0 ? 0 : _c, _d = _b[1], b = _d === void 0 ? 1 : _d;
|
||||
1->^^^^
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
//// [ES5For-of3.js.map]
|
||||
{"version":3,"file":"ES5For-of3.js","sourceRoot":"","sources":["ES5For-of3.ts"],"names":[],"mappings":"AAAA,GAAG,CAAC,CAAU,UAAe,EAAf,MAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAf,cAAe,EAAf,IAAe,CAAC;IAAzB,IAAI,CAAC,SAAA;IACN,IAAI,CAAC,GAAG,CAAC,CAAC;CAAA"}
|
||||
{"version":3,"file":"ES5For-of3.js","sourceRoot":"","sources":["ES5For-of3.ts"],"names":[],"mappings":"AAAA,GAAG,CAAC,CAAU,UAAe,EAAf,MAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAf,cAAe,EAAf,IAAe;IAAxB,IAAI,CAAC,SAAA;IACN,IAAI,CAAC,GAAG,CAAC,CAAC;CAAA"}
|
||||
@@ -26,7 +26,6 @@ sourceFile:ES5For-of3.ts
|
||||
15> ^^^^^^^^^^^^^^
|
||||
16> ^^
|
||||
17> ^^^^
|
||||
18> ^
|
||||
1 >
|
||||
2 >for
|
||||
3 >
|
||||
@@ -44,7 +43,6 @@ sourceFile:ES5For-of3.ts
|
||||
15> ['a', 'b', 'c']
|
||||
16>
|
||||
17> ['a', 'b', 'c']
|
||||
18> )
|
||||
1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
|
||||
2 >Emitted(1, 4) Source(1, 4) + SourceIndex(0)
|
||||
3 >Emitted(1, 5) Source(1, 5) + SourceIndex(0)
|
||||
@@ -62,7 +60,6 @@ sourceFile:ES5For-of3.ts
|
||||
15>Emitted(1, 54) Source(1, 30) + SourceIndex(0)
|
||||
16>Emitted(1, 56) Source(1, 15) + SourceIndex(0)
|
||||
17>Emitted(1, 60) Source(1, 30) + SourceIndex(0)
|
||||
18>Emitted(1, 61) Source(1, 31) + SourceIndex(0)
|
||||
---
|
||||
>>> var v = _a[_i];
|
||||
1 >^^^^
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
//// [ES5For-of8.js.map]
|
||||
{"version":3,"file":"ES5For-of8.js","sourceRoot":"","sources":["ES5For-of8.ts"],"names":[],"mappings":"AAAA;IACI,MAAM,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC;AACpB,CAAC;AACD,GAAG,CAAC,CAAY,UAAe,EAAf,MAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAf,cAAe,EAAf,IAAe,CAAC;IAA3B,GAAG,EAAE,CAAC,CAAC,SAAA;IACR,IAAI,CAAC,GAAG,GAAG,EAAE,CAAC,CAAC,CAAC;CACnB"}
|
||||
{"version":3,"file":"ES5For-of8.js","sourceRoot":"","sources":["ES5For-of8.ts"],"names":[],"mappings":"AAAA,SAAS,GAAG;IACR,MAAM,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC;AACpB,CAAC;AACD,GAAG,CAAC,CAAY,UAAe,EAAf,MAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAf,cAAe,EAAf,IAAe;IAA1B,GAAG,EAAE,CAAC,CAAC,SAAA;IACR,IAAI,CAAC,GAAG,GAAG,EAAE,CAAC,CAAC,CAAC;CACnB"}
|
||||
@@ -10,9 +10,15 @@ sourceFile:ES5For-of8.ts
|
||||
-------------------------------------------------------------------
|
||||
>>>function foo() {
|
||||
1 >
|
||||
2 >^^^^^^^^^^^^^^^^^^^^^->
|
||||
2 >^^^^^^^^^
|
||||
3 > ^^^
|
||||
4 > ^^^^^^^^^->
|
||||
1 >
|
||||
2 >function
|
||||
3 > foo
|
||||
1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
|
||||
2 >Emitted(1, 10) Source(1, 10) + SourceIndex(0)
|
||||
3 >Emitted(1, 13) Source(1, 13) + SourceIndex(0)
|
||||
---
|
||||
>>> return { x: 0 };
|
||||
1->^^^^
|
||||
@@ -24,7 +30,7 @@ sourceFile:ES5For-of8.ts
|
||||
7 > ^
|
||||
8 > ^^
|
||||
9 > ^
|
||||
1->function foo() {
|
||||
1->() {
|
||||
>
|
||||
2 > return
|
||||
3 >
|
||||
@@ -72,7 +78,6 @@ sourceFile:ES5For-of8.ts
|
||||
15> ^^^^^^^^^^^^^^
|
||||
16> ^^
|
||||
17> ^^^^
|
||||
18> ^
|
||||
1->
|
||||
>
|
||||
2 >for
|
||||
@@ -91,7 +96,6 @@ sourceFile:ES5For-of8.ts
|
||||
15> ['a', 'b', 'c']
|
||||
16>
|
||||
17> ['a', 'b', 'c']
|
||||
18> )
|
||||
1->Emitted(4, 1) Source(4, 1) + SourceIndex(0)
|
||||
2 >Emitted(4, 4) Source(4, 4) + SourceIndex(0)
|
||||
3 >Emitted(4, 5) Source(4, 5) + SourceIndex(0)
|
||||
@@ -109,7 +113,6 @@ sourceFile:ES5For-of8.ts
|
||||
15>Emitted(4, 54) Source(4, 32) + SourceIndex(0)
|
||||
16>Emitted(4, 56) Source(4, 17) + SourceIndex(0)
|
||||
17>Emitted(4, 60) Source(4, 32) + SourceIndex(0)
|
||||
18>Emitted(4, 61) Source(4, 33) + SourceIndex(0)
|
||||
---
|
||||
>>> foo().x = _a[_i];
|
||||
1 >^^^^
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
//// [computedPropertyNamesSourceMap1_ES6.js.map]
|
||||
{"version":3,"file":"computedPropertyNamesSourceMap1_ES6.js","sourceRoot":"","sources":["computedPropertyNamesSourceMap1_ES6.ts"],"names":[],"mappings":"AAAA;IACI,CAAC,OAAO,CAAC;QACL,QAAQ,CAAC;IACb,CAAC;AACL,CAAC;AAAA"}
|
||||
{"version":3,"file":"computedPropertyNamesSourceMap1_ES6.js","sourceRoot":"","sources":["computedPropertyNamesSourceMap1_ES6.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC;IACH,CAAC,OAAO,CAAC;QACL,QAAQ,CAAC;IACb,CAAC;CACJ"}
|
||||
@@ -10,9 +10,15 @@ sourceFile:computedPropertyNamesSourceMap1_ES6.ts
|
||||
-------------------------------------------------------------------
|
||||
>>>class C {
|
||||
1 >
|
||||
2 >^^^^^^^^^^^^^^^^^^->
|
||||
2 >^^^^^^
|
||||
3 > ^
|
||||
4 > ^^^^^^^^^^^->
|
||||
1 >
|
||||
2 >class
|
||||
3 > C
|
||||
1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
|
||||
2 >Emitted(1, 7) Source(1, 7) + SourceIndex(0)
|
||||
3 >Emitted(1, 8) Source(1, 8) + SourceIndex(0)
|
||||
---
|
||||
>>> ["hello"]() {
|
||||
1->^^^^
|
||||
@@ -20,7 +26,7 @@ sourceFile:computedPropertyNamesSourceMap1_ES6.ts
|
||||
3 > ^^^^^^^
|
||||
4 > ^
|
||||
5 > ^^^^^->
|
||||
1->class C {
|
||||
1-> {
|
||||
>
|
||||
2 > [
|
||||
3 > "hello"
|
||||
@@ -52,17 +58,10 @@ sourceFile:computedPropertyNamesSourceMap1_ES6.ts
|
||||
2 >Emitted(4, 6) Source(4, 6) + SourceIndex(0)
|
||||
---
|
||||
>>>}
|
||||
1 >
|
||||
2 >^
|
||||
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
1 >^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
1 >
|
||||
>
|
||||
2 >}
|
||||
1 >Emitted(5, 1) Source(5, 1) + SourceIndex(0)
|
||||
2 >Emitted(5, 2) Source(5, 2) + SourceIndex(0)
|
||||
>}
|
||||
1 >Emitted(5, 2) Source(5, 2) + SourceIndex(0)
|
||||
---
|
||||
>>>//# sourceMappingURL=computedPropertyNamesSourceMap1_ES6.js.map1->
|
||||
2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
1->
|
||||
1->Emitted(6, 1) Source(5, 2) + SourceIndex(0)
|
||||
---
|
||||
>>>//# sourceMappingURL=computedPropertyNamesSourceMap1_ES6.js.map
|
||||
@@ -1,2 +1,2 @@
|
||||
//// [es6-sourcemap-amd.js.map]
|
||||
{"version":3,"file":"es6-sourcemap-amd.js","sourceRoot":"","sources":["es6-sourcemap-amd.ts"],"names":[],"mappings":"AACA;IAEI;IAGA,CAAC;IAEM,CAAC;QAEJ,MAAM,CAAC,EAAE,CAAC;IACd,CAAC;AACL,CAAC;AAAA"}
|
||||
{"version":3,"file":"es6-sourcemap-amd.js","sourceRoot":"","sources":["es6-sourcemap-amd.ts"],"names":[],"mappings":"AACA,MAAM,CAAC;IAEH;IAGA,CAAC;IAEM,CAAC;QAEJ,MAAM,CAAC,EAAE,CAAC;IACd,CAAC;CACJ"}
|
||||
@@ -10,15 +10,21 @@ sourceFile:es6-sourcemap-amd.ts
|
||||
-------------------------------------------------------------------
|
||||
>>>class A {
|
||||
1 >
|
||||
2 >^^^^^^^^^^^^^^^^^^^^->
|
||||
2 >^^^^^^
|
||||
3 > ^
|
||||
4 > ^^^^^^^^^^^^^->
|
||||
1 >
|
||||
>
|
||||
2 >class
|
||||
3 > A
|
||||
1 >Emitted(1, 1) Source(2, 1) + SourceIndex(0)
|
||||
2 >Emitted(1, 7) Source(2, 7) + SourceIndex(0)
|
||||
3 >Emitted(1, 8) Source(2, 8) + SourceIndex(0)
|
||||
---
|
||||
>>> constructor() {
|
||||
1->^^^^
|
||||
2 > ^^->
|
||||
1->class A
|
||||
1->
|
||||
>{
|
||||
>
|
||||
1->Emitted(2, 5) Source(4, 5) + SourceIndex(0)
|
||||
@@ -75,17 +81,10 @@ sourceFile:es6-sourcemap-amd.ts
|
||||
2 >Emitted(6, 6) Source(12, 6) + SourceIndex(0)
|
||||
---
|
||||
>>>}
|
||||
1 >
|
||||
2 >^
|
||||
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
1 >^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
1 >
|
||||
>
|
||||
2 >}
|
||||
1 >Emitted(7, 1) Source(13, 1) + SourceIndex(0)
|
||||
2 >Emitted(7, 2) Source(13, 2) + SourceIndex(0)
|
||||
>}
|
||||
1 >Emitted(7, 2) Source(13, 2) + SourceIndex(0)
|
||||
---
|
||||
>>>//# sourceMappingURL=es6-sourcemap-amd.js.map1->
|
||||
2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
1->
|
||||
1->Emitted(8, 1) Source(13, 2) + SourceIndex(0)
|
||||
---
|
||||
>>>//# sourceMappingURL=es6-sourcemap-amd.js.map
|
||||
@@ -1,2 +1,2 @@
|
||||
//// [file1.js.map]
|
||||
{"version":3,"file":"file1.js","sourceRoot":"","sources":["file1.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC"}
|
||||
{"version":3,"file":"file1.js","sourceRoot":"","sources":["file1.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC"}
|
||||
@@ -10,27 +10,30 @@ sourceFile:file1.ts
|
||||
-------------------------------------------------------------------
|
||||
>>>export var x = 1;
|
||||
1 >
|
||||
2 >^^^^^^^
|
||||
3 > ^^^^
|
||||
4 > ^
|
||||
5 > ^^^
|
||||
6 > ^
|
||||
7 > ^
|
||||
8 > ^^^^^^^^^^^^^^^->
|
||||
2 >^^^^^^
|
||||
3 > ^
|
||||
4 > ^^^^
|
||||
5 > ^
|
||||
6 > ^^^
|
||||
7 > ^
|
||||
8 > ^
|
||||
9 > ^^^^^^^^^^^^^^^->
|
||||
1 >
|
||||
>
|
||||
2 >export
|
||||
3 > var
|
||||
4 > x
|
||||
5 > =
|
||||
6 > 1
|
||||
7 > ;
|
||||
2 >export
|
||||
3 >
|
||||
4 > var
|
||||
5 > x
|
||||
6 > =
|
||||
7 > 1
|
||||
8 > ;
|
||||
1 >Emitted(1, 1) Source(2, 1) + SourceIndex(0)
|
||||
2 >Emitted(1, 8) Source(2, 8) + SourceIndex(0)
|
||||
3 >Emitted(1, 12) Source(2, 12) + SourceIndex(0)
|
||||
4 >Emitted(1, 13) Source(2, 13) + SourceIndex(0)
|
||||
5 >Emitted(1, 16) Source(2, 16) + SourceIndex(0)
|
||||
6 >Emitted(1, 17) Source(2, 17) + SourceIndex(0)
|
||||
7 >Emitted(1, 18) Source(2, 18) + SourceIndex(0)
|
||||
2 >Emitted(1, 7) Source(2, 7) + SourceIndex(0)
|
||||
3 >Emitted(1, 8) Source(2, 8) + SourceIndex(0)
|
||||
4 >Emitted(1, 12) Source(2, 12) + SourceIndex(0)
|
||||
5 >Emitted(1, 13) Source(2, 13) + SourceIndex(0)
|
||||
6 >Emitted(1, 16) Source(2, 16) + SourceIndex(0)
|
||||
7 >Emitted(1, 17) Source(2, 17) + SourceIndex(0)
|
||||
8 >Emitted(1, 18) Source(2, 18) + SourceIndex(0)
|
||||
---
|
||||
>>>//# sourceMappingURL=file1.js.map
|
||||
@@ -1,2 +1,2 @@
|
||||
//// [recursiveClassReferenceTest.js.map]
|
||||
{"version":3,"file":"recursiveClassReferenceTest.js","sourceRoot":"","sources":["recursiveClassReferenceTest.ts"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,0EAA0E;;;;;;AA8B1E,IAAO,MAAM,CAUZ;AAVD,WAAO,MAAM;IAAC,IAAA,OAAO,CAUpB;IAVa,WAAA,OAAO;QAAC,IAAA,KAAK,CAU1B;QAVqB,WAAA,OAAK;YAAC,IAAA,IAAI,CAU/B;YAV2B,WAAA,IAAI,EAAC,CAAC;gBACjC;oBAAA;oBAQA,CAAC;oBANO,+BAAK,GAAZ,cAAiB,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;oBAExB,6BAAG,GAAV,UAAW,KAA6B;wBAEvC,MAAM,CAAC,IAAI,CAAC;oBACb,CAAC;oBACF,sBAAC;gBAAD,CAAC,AARD,IAQC;gBARY,oBAAe,kBAQ3B,CAAA;YACF,CAAC,EAV2B,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAU/B;QAAD,CAAC,EAVqB,KAAK,GAAL,aAAK,KAAL,aAAK,QAU1B;IAAD,CAAC,EAVa,OAAO,GAAP,cAAO,KAAP,cAAO,QAUpB;AAAD,CAAC,EAVM,MAAM,KAAN,MAA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
5 > {
|
||||
1->Emitted(15, 13) Source(32, 29) + SourceIndex(0)
|
||||
2 >Emitted(15, 24) Source(32, 29) + SourceIndex(0)
|
||||
3 >Emitted(15, 28) Source(32, 33) + SourceIndex(0)
|
||||
4 >Emitted(15, 30) Source(32, 34) + SourceIndex(0)
|
||||
5 >Emitted(15, 31) Source(32, 35) + SourceIndex(0)
|
||||
---
|
||||
>>> var StartFindAction = (function () {
|
||||
1->^^^^^^^^^^^^^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
1->
|
||||
1-> {
|
||||
>
|
||||
1->Emitted(16, 17) Source(33, 2) + SourceIndex(0)
|
||||
---
|
||||
@@ -663,24 +657,18 @@ sourceFile:recursiveClassReferenceTest.ts
|
||||
1->^^^^^^^^
|
||||
2 > ^^^^^^^^^^^
|
||||
3 > ^^^^^^^
|
||||
4 > ^^
|
||||
5 > ^
|
||||
6 > ^^^^^^^^^^^^^^^->
|
||||
4 > ^^^^^^^^^^^^^^^^^^->
|
||||
1->
|
||||
2 >
|
||||
3 > Widgets
|
||||
4 >
|
||||
5 > {
|
||||
1->Emitted(35, 9) Source(44, 21) + SourceIndex(0)
|
||||
2 >Emitted(35, 20) Source(44, 21) + SourceIndex(0)
|
||||
3 >Emitted(35, 27) Source(44, 28) + SourceIndex(0)
|
||||
4 >Emitted(35, 29) Source(44, 29) + SourceIndex(0)
|
||||
5 >Emitted(35, 30) Source(44, 30) + SourceIndex(0)
|
||||
---
|
||||
>>> var FindWidget = (function () {
|
||||
1->^^^^^^^^^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
1->
|
||||
1-> {
|
||||
>
|
||||
1->Emitted(36, 13) Source(45, 2) + SourceIndex(0)
|
||||
---
|
||||
@@ -1443,24 +1431,18 @@ sourceFile:recursiveClassReferenceTest.ts
|
||||
1->^^^^^^^^^^^^
|
||||
2 > ^^^^^^^^^^^
|
||||
3 > ^^^^^^^^^
|
||||
4 > ^^
|
||||
5 > ^
|
||||
6 > ^^^^^^^^->
|
||||
4 > ^^^^^^^^^^^->
|
||||
1->
|
||||
2 >
|
||||
3 > PlainText
|
||||
4 >
|
||||
5 > {
|
||||
1->Emitted(70, 13) Source(76, 31) + SourceIndex(0)
|
||||
2 >Emitted(70, 24) Source(76, 31) + SourceIndex(0)
|
||||
3 >Emitted(70, 33) Source(76, 40) + SourceIndex(0)
|
||||
4 >Emitted(70, 35) Source(76, 41) + SourceIndex(0)
|
||||
5 >Emitted(70, 36) Source(76, 42) + SourceIndex(0)
|
||||
---
|
||||
>>> var State = (function () {
|
||||
1->^^^^^^^^^^^^^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
1->
|
||||
1-> {
|
||||
>
|
||||
>
|
||||
1->Emitted(71, 17) Source(78, 2) + SourceIndex(0)
|
||||
|
||||
Reference in New Issue
Block a user