google / bamboo-soy

An intellij plugin supporting Closure Template language (Soy)
Apache License 2.0
48 stars 17 forks source link

Refactoring identifier lexing. Better expression matching. #87

Closed kaathewise closed 7 years ago

kaathewise commented 7 years ago

More precise rules for identifier tokenizing. Examples:

my     .template .name
[word] [field]    [field]

.localtemplate
[field]

$variable .field .another
[var_id]  [field]  [field]

%fasdf-fa-dsf-adsfasdf-
[css garbage]

fixes #11