Class EnumDeclarationTreeImpl
java.lang.Object
org.sonar.php.tree.impl.PHPTree
org.sonar.php.tree.impl.declaration.ClassDeclarationTreeImpl
org.sonar.php.tree.impl.declaration.EnumDeclarationTreeImpl
- All Implemented Interfaces:
HasClassSymbol,ClassDeclarationTree,ClassTree,EnumDeclarationTree,HasAttributes,StatementTree,Tree
public class EnumDeclarationTreeImpl
extends ClassDeclarationTreeImpl
implements EnumDeclarationTree
-
Nested Class Summary
-
Field Summary
Fields inherited from interface org.sonar.plugins.php.api.tree.declaration.ClassTree
PHP5_CONSTRUCTOR_NAME -
Constructor Summary
ConstructorsConstructorDescriptionEnumDeclarationTreeImpl(List<AttributeGroupTree> attributeGroups, SyntaxToken enumToken, NameIdentifierTree name, SyntaxToken typeColonToken, TypeTree backingType, InternalSyntaxToken implementsToken, SeparatedListImpl<NamespaceNameTree> superInterfaces, SyntaxToken openCurlyBraceToken, List<ClassMemberTree> members, SyntaxToken closeCurlyBraceToken) -
Method Summary
Modifier and TypeMethodDescriptioncases()The cases of the enumeration.Creates iterator for children of this node.Methods inherited from class org.sonar.php.tree.impl.declaration.ClassDeclarationTreeImpl
accept, attributeGroups, classToken, closeCurlyBraceToken, createClass, createInterface, createTrait, extendsToken, fetchConstructor, getKind, implementsToken, isAbstract, isFinal, isReadOnly, members, modifiersToken, modifierToken, name, openCurlyBraceToken, setSymbol, superClass, superInterfaces, symbolMethods inherited from class org.sonar.php.tree.impl.PHPTree
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParent, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.sonar.plugins.php.api.tree.declaration.ClassDeclarationTree
classToken, extendsToken, isAbstract, isFinal, isReadOnly, superClassMethods inherited from interface org.sonar.plugins.php.api.tree.declaration.ClassTree
fetchConstructorMethods inherited from interface org.sonar.plugins.php.api.tree.declaration.EnumDeclarationTree
closeCurlyBraceToken, implementsToken, members, modifiersToken, modifierToken, name, openCurlyBraceToken, superInterfacesMethods inherited from interface org.sonar.plugins.php.api.tree.declaration.HasAttributes
attributeGroups
-
Constructor Details
-
EnumDeclarationTreeImpl
public EnumDeclarationTreeImpl(List<AttributeGroupTree> attributeGroups, SyntaxToken enumToken, NameIdentifierTree name, @Nullable SyntaxToken typeColonToken, @Nullable TypeTree backingType, @Nullable InternalSyntaxToken implementsToken, SeparatedListImpl<NamespaceNameTree> superInterfaces, SyntaxToken openCurlyBraceToken, List<ClassMemberTree> members, SyntaxToken closeCurlyBraceToken)
-
-
Method Details
-
typeColonToken
- Specified by:
typeColonTokenin interfaceEnumDeclarationTree
-
backingType
- Specified by:
backingTypein interfaceEnumDeclarationTree
-
cases
Description copied from interface:EnumDeclarationTreeThe cases of the enumeration. These are also part ofEnumDeclarationTree.members()- Specified by:
casesin interfaceEnumDeclarationTree
-
childrenIterator
Description copied from class:PHPTreeCreates iterator for children of this node. Note that iterator may containnullelements.- Overrides:
childrenIteratorin classClassDeclarationTreeImpl
-