You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are some exceptions when parsing mixins. For example, I have mixins defined as follows:
mixin yyy(zzz)
| #{zzz}
mixin yyy2(zzz1, zzz2)
| #{zzz} #{zzz2}
And use of them in templates:
+yyy('blabla, sthsth')
here exception:
Caused by: class de.neuland.jade4j.exceptions.JadeCompilerException /D:/Projects/innuendo/server/frontend/app/views/index.jade:43
unable to evaluate ['blabla] - Tokenization de.neuland.jade4j.expression.ExpressionHandler.evaluateExpression@1:8 tokenization error in ''blabla'
at de.neuland.jade4j.parser.node.MixinInjectNode.writeVariables(MixinInjectNode.java:104)
at de.neuland.jade4j.parser.node.MixinInjectNode.execute(MixinInjectNode.java:42)
at de.neuland.jade4j.parser.node.BlockNode.execute(BlockNode.java:16)
at de.neuland.jade4j.parser.node.TagNode.execute(TagNode.java:71)
at de.neuland.jade4j.parser.node.BlockNode.execute(BlockNode.java:16)
at de.neuland.jade4j.parser.node.TagNode.execute(TagNode.java:71)
at de.neuland.jade4j.parser.node.BlockNode.execute(BlockNode.java:16)
at de.neuland.jade4j.parser.node.TagNode.execute(TagNode.java:71)
at de.neuland.jade4j.parser.node.BlockNode.execute(BlockNode.java:16)
at de.neuland.jade4j.parser.node.TagNode.execute(TagNode.java:71)
at de.neuland.jade4j.parser.node.BlockNode.execute(BlockNode.java:16)
at de.neuland.jade4j.parser.node.TagNode.execute(TagNode.java:71)
at de.neuland.jade4j.parser.node.BlockNode.execute(BlockNode.java:16)
at de.neuland.jade4j.parser.node.TagNode.execute(TagNode.java:71)
at de.neuland.jade4j.parser.node.BlockNode.execute(BlockNode.java:16)
at de.neuland.jade4j.compiler.Compiler.compile(Compiler.java:30)
at de.neuland.jade4j.template.JadeTemplate.process(JadeTemplate.java:23)
at de.neuland.jade4j.Jade4J.render(Jade4J.java:63)
at de.neuland.jade4j.Jade4J.render(Jade4J.java:58)
at de.neuland.jade4j.Jade4J$render.call(Unknown Source)
at de.neuland.jade4j.Jade4J$render.call(Unknown Source)
+yyy2('addApp(app)', 'deleteFromNewApps(app)')
here exception:
Caused by: class de.neuland.jade4j.exceptions.JadeCompilerException /D:/Projects/innuendo/server/frontend/app/views/index.jade:45
unable to evaluate ['addApp(app] - Tokenization de.neuland.jade4j.expression.ExpressionHandler.evaluateExpression@1:12 tokenization error near '... (app ...'
at de.neuland.jade4j.parser.node.MixinInjectNode.writeVariables(MixinInjectNode.java:104)
at de.neuland.jade4j.parser.node.MixinInjectNode.execute(MixinInjectNode.java:42)
at de.neuland.jade4j.parser.node.BlockNode.execute(BlockNode.java:16)
at de.neuland.jade4j.parser.node.TagNode.execute(TagNode.java:71)
at de.neuland.jade4j.parser.node.BlockNode.execute(BlockNode.java:16)
at de.neuland.jade4j.parser.node.TagNode.execute(TagNode.java:71)
at de.neuland.jade4j.parser.node.BlockNode.execute(BlockNode.java:16)
at de.neuland.jade4j.parser.node.TagNode.execute(TagNode.java:71)
at de.neuland.jade4j.parser.node.BlockNode.execute(BlockNode.java:16)
at de.neuland.jade4j.parser.node.TagNode.execute(TagNode.java:71)
at de.neuland.jade4j.parser.node.BlockNode.execute(BlockNode.java:16)
at de.neuland.jade4j.parser.node.TagNode.execute(TagNode.java:71)
at de.neuland.jade4j.parser.node.BlockNode.execute(BlockNode.java:16)
at de.neuland.jade4j.parser.node.TagNode.execute(TagNode.java:71)
at de.neuland.jade4j.parser.node.BlockNode.execute(BlockNode.java:16)
at de.neuland.jade4j.compiler.Compiler.compile(Compiler.java:30)
at de.neuland.jade4j.template.JadeTemplate.process(JadeTemplate.java:23)
at de.neuland.jade4j.Jade4J.render(Jade4J.java:63)
at de.neuland.jade4j.Jade4J.render(Jade4J.java:58)
at de.neuland.jade4j.Jade4J$render.call(Unknown Source)
at de.neuland.jade4j.Jade4J$render.call(Unknown Source)
The text was updated successfully, but these errors were encountered:
There are some exceptions when parsing mixins. For example, I have mixins defined as follows:
mixin yyy(zzz)
| #{zzz}
mixin yyy2(zzz1, zzz2)
| #{zzz} #{zzz2}
And use of them in templates:
+yyy('blabla, sthsth')
here exception:
Caused by: class de.neuland.jade4j.exceptions.JadeCompilerException /D:/Projects/innuendo/server/frontend/app/views/index.jade:43
unable to evaluate ['blabla] - Tokenization de.neuland.jade4j.expression.ExpressionHandler.evaluateExpression@1:8 tokenization error in ''blabla'
at de.neuland.jade4j.parser.node.MixinInjectNode.writeVariables(MixinInjectNode.java:104)
at de.neuland.jade4j.parser.node.MixinInjectNode.execute(MixinInjectNode.java:42)
at de.neuland.jade4j.parser.node.BlockNode.execute(BlockNode.java:16)
at de.neuland.jade4j.parser.node.TagNode.execute(TagNode.java:71)
at de.neuland.jade4j.parser.node.BlockNode.execute(BlockNode.java:16)
at de.neuland.jade4j.parser.node.TagNode.execute(TagNode.java:71)
at de.neuland.jade4j.parser.node.BlockNode.execute(BlockNode.java:16)
at de.neuland.jade4j.parser.node.TagNode.execute(TagNode.java:71)
at de.neuland.jade4j.parser.node.BlockNode.execute(BlockNode.java:16)
at de.neuland.jade4j.parser.node.TagNode.execute(TagNode.java:71)
at de.neuland.jade4j.parser.node.BlockNode.execute(BlockNode.java:16)
at de.neuland.jade4j.parser.node.TagNode.execute(TagNode.java:71)
at de.neuland.jade4j.parser.node.BlockNode.execute(BlockNode.java:16)
at de.neuland.jade4j.parser.node.TagNode.execute(TagNode.java:71)
at de.neuland.jade4j.parser.node.BlockNode.execute(BlockNode.java:16)
at de.neuland.jade4j.compiler.Compiler.compile(Compiler.java:30)
at de.neuland.jade4j.template.JadeTemplate.process(JadeTemplate.java:23)
at de.neuland.jade4j.Jade4J.render(Jade4J.java:63)
at de.neuland.jade4j.Jade4J.render(Jade4J.java:58)
at de.neuland.jade4j.Jade4J$render.call(Unknown Source)
at de.neuland.jade4j.Jade4J$render.call(Unknown Source)
+yyy2('addApp(app)', 'deleteFromNewApps(app)')
here exception:
Caused by: class de.neuland.jade4j.exceptions.JadeCompilerException /D:/Projects/innuendo/server/frontend/app/views/index.jade:45
unable to evaluate ['addApp(app] - Tokenization de.neuland.jade4j.expression.ExpressionHandler.evaluateExpression@1:12 tokenization error near '... (app ...'
at de.neuland.jade4j.parser.node.MixinInjectNode.writeVariables(MixinInjectNode.java:104)
at de.neuland.jade4j.parser.node.MixinInjectNode.execute(MixinInjectNode.java:42)
at de.neuland.jade4j.parser.node.BlockNode.execute(BlockNode.java:16)
at de.neuland.jade4j.parser.node.TagNode.execute(TagNode.java:71)
at de.neuland.jade4j.parser.node.BlockNode.execute(BlockNode.java:16)
at de.neuland.jade4j.parser.node.TagNode.execute(TagNode.java:71)
at de.neuland.jade4j.parser.node.BlockNode.execute(BlockNode.java:16)
at de.neuland.jade4j.parser.node.TagNode.execute(TagNode.java:71)
at de.neuland.jade4j.parser.node.BlockNode.execute(BlockNode.java:16)
at de.neuland.jade4j.parser.node.TagNode.execute(TagNode.java:71)
at de.neuland.jade4j.parser.node.BlockNode.execute(BlockNode.java:16)
at de.neuland.jade4j.parser.node.TagNode.execute(TagNode.java:71)
at de.neuland.jade4j.parser.node.BlockNode.execute(BlockNode.java:16)
at de.neuland.jade4j.parser.node.TagNode.execute(TagNode.java:71)
at de.neuland.jade4j.parser.node.BlockNode.execute(BlockNode.java:16)
at de.neuland.jade4j.compiler.Compiler.compile(Compiler.java:30)
at de.neuland.jade4j.template.JadeTemplate.process(JadeTemplate.java:23)
at de.neuland.jade4j.Jade4J.render(Jade4J.java:63)
at de.neuland.jade4j.Jade4J.render(Jade4J.java:58)
at de.neuland.jade4j.Jade4J$render.call(Unknown Source)
at de.neuland.jade4j.Jade4J$render.call(Unknown Source)
The text was updated successfully, but these errors were encountered: