Changed block code tags
This commit is contained in:
parent
98c6c442fb
commit
2a6e78d67b
@ -1,5 +1 @@
|
|||||||
<h1>Hello</h1>
|
<{ echo "hi" }>
|
||||||
${
|
|
||||||
echo "hello world";
|
|
||||||
echo "\}$";
|
|
||||||
}$
|
|
@ -3,8 +3,8 @@ import { TemplateSyntaxError } from './errors/template_syntax_error.mjs';
|
|||||||
|
|
||||||
export class TokenStream {
|
export class TokenStream {
|
||||||
static ESCAPE = '\\';
|
static ESCAPE = '\\';
|
||||||
static OPEN_STATEMENT = '${';
|
static OPEN_STATEMENT = '<{';
|
||||||
static CLOSE_STATEMENT = '}$';
|
static CLOSE_STATEMENT = '}>';
|
||||||
static OPEN_INLINE = '<%';
|
static OPEN_INLINE = '<%';
|
||||||
static CLOSE_INLINE = '%>';
|
static CLOSE_INLINE = '%>';
|
||||||
static OPEN_INLINE_UNESCAPED = '<!%';
|
static OPEN_INLINE_UNESCAPED = '<!%';
|
||||||
|
Loading…
Reference in New Issue
Block a user