org.jtwig.macro.Macro Maven / Gradle / Ivy
package org.jtwig.macro;
import org.jtwig.model.tree.Node;
import org.jtwig.resource.reference.ResourceReference;
import java.util.List;
public class Macro {
private final ResourceReference resourceReference;
private final Node content;
private final List argumentNames;
public Macro(ResourceReference resourceReference, Node content, List argumentNames) {
this.resourceReference = resourceReference;
this.content = content;
this.argumentNames = argumentNames;
}
public ResourceReference getResourceReference() {
return resourceReference;
}
public Node getContent() {
return content;
}
public List getArgumentNames() {
return argumentNames;
}
}