Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • Bjorn.Hagen/inf-222-v-24-obligatory-2-skeleton
  • M.Fjeldstad/inf-222-v-24-obligatory-2-skeleton
  • Rolf.Glomsrud/INF222-Obligatory2-Skeleton
  • Mikhail.Barash/inf-222-v-24-obligatory-2-skeleton
  • Mahmod.Mohamed/inf-222-v-24-obligatory-2-skeleton
  • Kevinas.Pliuskus/inf-222-v-24-obligatory-2-skeleton
  • Markus.Halsvik/inf-222-v-24-obligatory-2-skeleton
  • torje.sylta/inf-222-v-24-obligatory-2-skeleton
  • Jens.Brown.Eriksen/inf-222-v-24-obligatory-2-skeleton
  • samuel.sjoen/inf-222-v-24-obligatory-2-skeleton
  • Magnus.Aune/inf-222-v-24-obligatory-2-skeleton
  • V.Larsen/inf-222-v-24-obligatory-2-skeleton
  • Lauritz.Angeltveit/inf-222-v-24-obligatory-2-skeleton
13 results
Show changes
Commits on Source (2)
......@@ -156,7 +156,7 @@ export function parseProgram(tokens: Token[]): AstNode[] {
// 3.1.3.1.3. Property `nodeType` should be `PhysicalUnit`
// TODO: YOUR CODE HERE
};
// 3.1.4. Otherwise, if that value is one of the (???what???) units, then:
} else if (/* TODO: YOUR CODE HERE */) {
// TODO: YOUR CODE HERE
......@@ -292,12 +292,12 @@ export function parseProgram(tokens: Token[]): AstNode[] {
left,
// 5.2. A property that represents the operator of the multiplicative expression.
// TODO: YOUR CODE HERE
// 5.3. A property that represents the right operator of the multiplicative expression.
// 5.3. A property that represents the right operand of the multiplicative expression.
right,
// 5.4. A property `nodeType` which is (???what???).
nodeType: /* TODO: YOUR CODE HERE */,
};
// 2.2. Make an iteration of the loop to process the possible remaining part of the multiplicative expression.
// 2.2. Make an iteration of the loop to process the possible remaining part of the addition-like expression.
}
// 5.5. Return the AST node.
return left;
......