public void VisitLeave(HandlebarsLayout layout) { state.PushStatement(SyntaxHelper.ReturnSBToString); resultingCompilationUnit = state.GetCompilationUnitHandlebarsLayout(); }
public void VisitRenderBody(HandlebarsLayout layout) { state.PushStatement(SyntaxHelper.ReturnSBToString); state.PushNewBlock(); state.PushStatement(SyntaxHelper.DeclareAndCreateStringBuilder); }