public abstract class SyntaxNodeExtension extends SyntaxNode
ABBREV_DELIMITER, RESOURCE_PREFIX, VALUE_DELIMITER
KW_ACTION_NAME, KW_CLASS, KW_CONSTRAINTS_PARSER, KW_CONSTRAINTS_TYPE, KW_DEFAULT, KW_DESCRIPTION, KW_EXTENDS, KW_FLOATING, KW_HELP_TEXT, KW_HELP_TOPICS, KW_NAME, KW_PACKAGE, KW_PARAMETER, KW_PARAMETER_PARSER, KW_PRIORITY, KW_PROPERTY, KW_RESOURCES, KW_SUPER, KW_SYNTAX, KW_USAGE, KW_VALUE, KW_VALUE_TYPE, MAX_OCCURRENCES, MIN_OCCURRENCES, OPTIONAL
Modifier | Constructor and Description |
---|---|
protected |
SyntaxNodeExtension()
Default constructor.
|
protected |
SyntaxNodeExtension(SyntaxNode node,
SyntaxNodeExtension parent)
Constructs a new extended syntax node from the provided node.
|
Modifier and Type | Method and Description |
---|---|
int |
getMaxOccurrences()
Returns the maximum number of times, this parameter must occur in a
row.
|
int |
getMinOccurrences()
Returns the minimum number of times, this parameter must occur in a
row.
|
SyntaxNodeExtension |
getParent()
Get the parent node, which this node directly extends or null of this
node does not extend any node.
|
error, getContainer, getDB, getDescription, getHelpText, getLocale, getName, getResourceBundle, getShortName, isFloating, matches, setDescription, setFloating, setHelpText, setName, setResourceBundle, toString, translate
protected SyntaxNodeExtension()
protected SyntaxNodeExtension(SyntaxNode node, SyntaxNodeExtension parent)
node
- Original generic node from which to create this fully
resolved node.parent
- Fully resolved syntax node from which this node is to
inherit its properties, i.e. node to be extended.public SyntaxNodeExtension getParent()
public int getMinOccurrences()
public int getMaxOccurrences()
Copyright © 2016. All Rights Reserved.