org.objectweb.fractal.mind.st.MapDelegateStringTemplate Maven / Gradle / Ivy
/**
* Copyright (C) 2009 STMicroelectronics
*
* This file is part of "Mind Compiler" is free software: you can redistribute
* it and/or modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see .
*
* Contact: [email protected]
*
* Authors: Ali Erdem Ozcan
* Contributors:
*/
package org.objectweb.fractal.mind.st;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import org.antlr.stringtemplate.StringTemplate;
import org.antlr.stringtemplate.StringTemplateGroup;
/**
* This class extends the StringTemplate and implements a delegate for
* {@link Map}. The class is designed for passing map object as default formal
* arguments to {@link StringTemplate} objects. Indeed, the current interface of
* {@link StringTemplate} accepts only {@link StringTemplate} objects as default
* values to be assigned to template formal arguments. Thanks to this class, one
* can also assign {@link Map} objects as default argument value.
*/
public class MapDelegateStringTemplate extends StringTemplate
implements
Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy