use of jetbrick.template.parser.grammer.JetTemplateParser.Set_expressionContext in project jetbrick-template-1x by subchen.
the class JetTemplateCodeVisitor method visitSet_directive.
@Override
public Code visitSet_directive(Set_directiveContext ctx) {
List<Set_expressionContext> set_expression_list = ctx.set_expression();
BlockCode code = scopeCode.createBlockCode(set_expression_list.size());
for (Set_expressionContext node : set_expression_list) {
Code c = node.accept(this);
if (c != null) {
code.addChild(c);
}
}
return code;
}
Aggregations