Skip to content

Commit

Permalink
renderer: restructure and extend documentation
Browse files Browse the repository at this point in the history
 - Introduce virtual uCentral class hierarchy
 - Add documentation for toplevel helper functions

Signed-off-by: Jo-Philipp Wich <[email protected]>
  • Loading branch information
jow- committed Dec 1, 2021
1 parent 5a2eb44 commit 2c858e4
Show file tree
Hide file tree
Showing 2 changed files with 285 additions and 51 deletions.
10 changes: 7 additions & 3 deletions jsdoc/ucode-transpiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -445,8 +445,6 @@ Transpiler.prototype = {
while (true) {
let off = tokens.length;

this.check_token(tokens, 'comment');

if (this.check_token(tokens, 'if')) {
this.skip_paren(tokens);

Expand Down Expand Up @@ -594,7 +592,13 @@ Transpiler.prototype = {
else if (this.check_token(tokens, '{')) {
this.skip_block(tokens, ['}']);
}
else if (!this.check_token(tokens, 'text')) {
else if (this.check_token(tokens, 'text')) {
/* pass */
}
else if (this.check_token(tokens, 'comment')) {
/* pass */
}
else {
this.skip_statement(tokens, ends);
}

Expand Down
Loading

0 comments on commit 2c858e4

Please sign in to comment.