introjs
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -110,4 +110,2 @@ 'use strict'; | ||
return convertBlockStatement(stmt); | ||
case 'ContinueStatement': | ||
return convertContinueStatement(stmt); | ||
case 'VariableDeclaration': | ||
@@ -119,2 +117,4 @@ return convertVariableDeclaration(stmt); | ||
return convertIfStatement(stmt); | ||
case 'LabeledStatement': | ||
return convertLabeledStatement(stmt); | ||
case 'ForInStatement': | ||
@@ -126,2 +126,4 @@ return convertForInStatement(stmt); | ||
return convertBreakStatement(stmt); | ||
case 'ContinueStatement': | ||
return convertContinueStatement(stmt); | ||
case 'ReturnStatement': | ||
@@ -200,2 +202,11 @@ return convertReturnStatement(stmt); | ||
function convertLabeledStatement(stmt) { | ||
return { | ||
type: stmt.type, | ||
loc: stmt.loc, | ||
label: stmt.label, | ||
body: convertStatement(stmt.body), | ||
}; | ||
} | ||
function convertForInStatement(stmt) { | ||
@@ -202,0 +213,0 @@ var counter = { |
{ | ||
"name": "introjs", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "IntroJS is a JavaScript implementation of the simplified programming language Intro.", | ||
@@ -5,0 +5,0 @@ "author": "introshu", |
@@ -150,3 +150,2 @@ # IntroJS | ||
* Do-while statement | ||
* Labeled break | ||
* Exception handling | ||
@@ -157,2 +156,4 @@ * Module | ||
* Coroutine | ||
* Generics | ||
* Annotation | ||
* Multithread | ||
@@ -159,0 +160,0 @@ * Asynchronous |
@@ -14,2 +14,3 @@ 'use strict'; | ||
'./test/literals/literals.intro', | ||
'./test/loops/loops.intro', | ||
]; | ||
@@ -16,0 +17,0 @@ sourceFilePaths.forEach(function (sourceFilePath) { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
225092
81
6714
166