generated from openpeeps/pistachio
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: George Lemon <[email protected]>
- Loading branch information
1 parent
3a2ecc9
commit 23b959c
Showing
8 changed files
with
159 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
type | ||
TimCompiler* = object of RootObj | ||
ast: Ast | ||
tpl: TimTemplate | ||
nl: string = "\n" | ||
output: string | ||
jsOutput: string | ||
jsCodeExists: bool | ||
start: bool | ||
case tplType: TimTemplateType | ||
of ttLayout: | ||
head: string | ||
else: discard | ||
logger*: Logger | ||
indent: int = 2 | ||
minify, hasErrors: bool | ||
stickytail: bool | ||
# when `false` inserts a `\n` char | ||
# before closing the HTML element tag. | ||
# Does not apply to `textarea`, `button` and other | ||
# self closing tags (such as `submit`, `img` and so on) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.