Shashank Shailabh

Results 6 issues of Shashank Shailabh

In conditional block, multiple `else` are allowed in the template. This should throw an error on compilation. Sample example: ```handlebars {{#if author}} If block {{else}} Else 1 {{else}} Else 2...

This is a nice plugin(https://github.com/marlonrichert/zsh-autocomplete), and I have been using it for the last six months. Added steps for adding this plugin in in omz.

This PR tries to fix the this issue : https://github.com/jknack/handlebars.java/issues/1121 I am changing the parser grammar of block: ```g4 block : startToken = START_BLOCK DECORATOR? sexpr blockParams? END thenBody=body elseBlock...

Handlebars.js uses child-first resolution instead of parent-first resolution: https://handlebarsjs.com/guide/expressions.html#changing-the-context This pr allows to define the resolution(`child-first` vs `parent-first`) in the Handlebars intilaization allowing clients to decide the resolution method. Default...

- Read whitespace to a separate channle in tokenstream. - Added `Template.getSourceText()` for exact source reconstruction with whitespace preservation. Enables formatters, linters, and IDE tooling. **Implementation:** - Whitespace tokens sent...

# Lossless Parsing with Whitespace Preservation It looks like the lexer discards the whitespace. This should not be discarded and rather sent to other hidden channel. This results in loss...