@Immutable public final class SFormalItemList extends Object implements SFormalItemContent, SParagraphContent
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
<A> A |
formalItemContentAccept(SFormalItemContentVisitor<A> v)
Accept a formal item content visitor.
|
static SFormalItemList |
formalItemList(String kind)
Construct a formal item list.
|
String |
getKind() |
int |
hashCode() |
<A> A |
paragraphContentAccept(SParagraphContentVisitor<A> v)
Accept a paragraph content visitor.
|
String |
toString() |
public static SFormalItemList formalItemList(String kind)
kind - The kind of formal itemspublic <A> A formalItemContentAccept(SFormalItemContentVisitor<A> v) throws Exception
SFormalItemContentformalItemContentAccept in interface SFormalItemContentA - The type of values returned by the visitorv - The visitorException - If the visitor raises and Exceptionpublic String getKind()
public <A> A paragraphContentAccept(SParagraphContentVisitor<A> v) throws Exception
SParagraphContentparagraphContentAccept in interface SParagraphContentA - The type of values returned by the visitorv - The visitorException - If the visitor raises and ExceptionCopyright © 2016 <code@io7m.com> http://io7m.com