Class ContainerDeclaration
java.lang.Object
org.eclipse.lemminx.extensions.generators.ContainerDeclaration
- Direct Known Subclasses:
ElementDeclaration,Grammar
Children information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddElement(ElementDeclaration element) getElement(String name) Returns the element information for the given name and create it if not found.Returns the elements information of the node.
-
Constructor Details
-
ContainerDeclaration
public ContainerDeclaration()
-
-
Method Details
-
getElement
Returns the element information for the given name and create it if not found.- Parameters:
name- the element name- Returns:
- the element information for the given name and create it if not found.
-
addElement
-
getElements
Returns the elements information of the node.- Returns:
- the elements information of the node.
-