org.sweble.wikitext.lazy.preprocessor.Template Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swc-parser-lazy Show documentation
Show all versions of swc-parser-lazy Show documentation
A parser for MediaWiki's Wikitext.
/*
* This file is auto-generated.
* DO NOT MODIFY MANUALLY!
*
* Generated by AstNodeGenerator.
* Last generated: 2014-09-12 00:37:37.
*/
package org.sweble.wikitext.lazy.preprocessor;
import de.fau.cs.osr.ptk.common.ast.*;
/**
* Template
* Grammar
*/
public class Template
extends InnerNode.InnerNode2
{
private static final long serialVersionUID = 1L;
// =========================================================================
public Template()
{
super(new NodeList(), new NodeList());
}
public Template(NodeList name, NodeList args)
{
super(name, args);
}
@Override
public int getNodeType()
{
return org.sweble.wikitext.lazy.AstNodeTypes.NT_TEMPLATE;
}
// =========================================================================
// Properties
// =========================================================================
// Children
public final void setName(NodeList name)
{
set(0, name);
}
public final NodeList getName()
{
return (NodeList) get(0);
}
public final void setArgs(NodeList args)
{
set(1, args);
}
public final NodeList getArgs()
{
return (NodeList) get(1);
}
private static final String[] CHILD_NAMES = new String[] {"name", "args"};
public final String[] getChildNames()
{
return CHILD_NAMES;
}
// =========================================================================
}