@@ -1,2 +1,3 @@
{
+ "editor.tabSize": 2
}
@@ -1,4 +1,4 @@
-export class Atribution {
+export class Attribution {
constructor (id, expression) {
this.id = id;
@@ -1,11 +1,11 @@
import { Break } from './break';
import { Return } from './return';
-import { Atribution } from './atribution';
+import { Attribution } from './attribution';
import { Declaration } from './declaration';
import { ArrayDeclaration } from './arrayDeclaration';
import { While } from './while';
import { For } from './for';
export {
- Break, Return, Atribution, Declaration, ArrayDeclaration, While, For
+ Break, Return, Attribution, Declaration, ArrayDeclaration, While, For
};
@@ -555,7 +555,7 @@ export class IVProgParser {
const exp = this.parseExpressionOR();
this.checkEOS();
this.pos++;
- return (new Commands.Atribution(id, exp));
+ return (new Commands.Attribution(id, exp));
} else if (equalOrParenthesis.type === this.lexerClass.OPEN_PARENTHESIS) {
const actualParameters = this.parseActualParameters();
@@ -581,7 +581,7 @@ export class IVProgParser {
- return new Commands.Atribution(id, exp);
+ return new Commands.Attribution(id, exp);
/*