![JAR search and dependency download from the Maven repository](/logo.png)
org.sweble.wikitext.lazy.parser.LinkOptionLinkTarget 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.parser;
import de.fau.cs.osr.ptk.common.ast.*;
/**
* Link Option: LinkTarget
* Grammar
*
* LinkOptionLinkTarget ::= Ws* 'link=' LinkTarget Ws*
*
* LinkOptionLinkTarget ::= Ws* 'link=' Url Ws*
*
*
*/
public class LinkOptionLinkTarget
extends InnerNode.InnerNode1
{
private static final long serialVersionUID = 1L;
// =========================================================================
public LinkOptionLinkTarget()
{
super((AstNode) null);
}
public LinkOptionLinkTarget(AstNode target)
{
super(target);
}
@Override
public int getNodeType()
{
return org.sweble.wikitext.lazy.AstNodeTypes.NT_LINK_OPTION_LINK_TARGET;
}
// =========================================================================
// Properties
// =========================================================================
// Children
public final void setTarget(AstNode target)
{
set(0, target);
}
public final AstNode getTarget()
{
return (AstNode) get(0);
}
private static final String[] CHILD_NAMES = new String[] {"target"};
public final String[] getChildNames()
{
return CHILD_NAMES;
}
// =========================================================================
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy