.tool.hibernate-tools-orm.6.6.1.Final.source-code.debug.ftl Maven / Gradle / Ivy
<#--
~ Hibernate Tools, Tooling for your Hibernate Projects
~
~ Copyright 2004 - 2020 Red Hat, Inc.
~
~ Licensed under the GNU Lesser General Public License (LGPL),
~ version 2.1 or later (the "License").
~ You may not use this file except in compliance with the License.
~ You may read the licence in the 'lgpl.txt' file in the root folder of
~ project or obtain a copy at
~
~ http://www.gnu.org/licenses/lgpl-2.1.html
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" basis,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<#macro dump var>
<#if var?is_hash>
{
<#list var?keys as key>
${key}:< dump var[key]/>,
#list>
}
<#elseif var?is_sequence>
[
<#list sequence as elem>
< dump elem/>,
#list>
]
<#else>
${var}
#if>
#macro>
<@dump .vars/>