Enum Class DefaultSyntaxInfos.Structure.NodeType
java.lang.Object
java.lang.Enum<DefaultSyntaxInfos.Structure.NodeType>
org.skriptlang.skript.registration.DefaultSyntaxInfos.Structure.NodeType
- All Implemented Interfaces:
- Serializable,- Comparable<DefaultSyntaxInfos.Structure.NodeType>,- Constable
- Enclosing interface:
- DefaultSyntaxInfos.Structure<E extends Structure>
public static enum DefaultSyntaxInfos.Structure.NodeType
extends Enum<DefaultSyntaxInfos.Structure.NodeType>
Represents type of 
Nodes that can represent a Structure.- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionFor Structures that can be represented using aSimpleNodeorSectionNode.For Structures that can be represented using aSectionNode.For Structures that can be represented using aSimpleNode.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanbooleanReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
SIMPLEFor Structures that can be represented using aSimpleNode.
- 
SECTIONFor Structures that can be represented using aSectionNode.
- 
BOTHFor Structures that can be represented using aSimpleNodeorSectionNode.
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
canBeSimplepublic boolean canBeSimple()- Returns:
- Whether a Structure of this type can be represented using a SimpleNode.
 
- 
canBeSectionpublic boolean canBeSection()- Returns:
- Whether a Structure of this type can be represented using a SectionNode.
 
 
-