Package org.sonar.iac.docker.tree.impl
Class SeparatedListImpl<T extends Tree>
- java.lang.Object
-
- org.sonar.iac.docker.tree.impl.SeparatedListImpl<T>
-
- All Implemented Interfaces:
SeparatedList<T>
public class SeparatedListImpl<T extends Tree> extends Object implements SeparatedList<T>
-
-
Constructor Summary
Constructors Constructor Description SeparatedListImpl(List<T> elements, List<SyntaxToken> separators)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<T>elements()List<Tree>elementsAndSeparators()List<SyntaxToken>separators()
-
-
-
Constructor Detail
-
SeparatedListImpl
public SeparatedListImpl(List<T> elements, List<SyntaxToken> separators)
-
-
Method Detail
-
elements
public List<T> elements()
- Specified by:
elementsin interfaceSeparatedList<T extends Tree>
-
separators
public List<SyntaxToken> separators()
- Specified by:
separatorsin interfaceSeparatedList<T extends Tree>
-
elementsAndSeparators
public List<Tree> elementsAndSeparators()
- Specified by:
elementsAndSeparatorsin interfaceSeparatedList<T extends Tree>
-
-