Package org.assertstruct.template
Interface StructTemplateShared
- All Known Subinterfaces:
StructTemplateNode
- All Known Implementing Classes:
ArrayNode,ObjectNode,StructuredTemplateNodeSharedImpl
public interface StructTemplateShared
-
Method Summary
Modifier and TypeMethodDescriptiondefault indent calculated from first childfirst inline element indent calculated from first childseparator between inline elementslast child has trailing commabooleanisInline()Is content of container is in same line as start token, at least first childvoidsealConfigs(SubtreeOptions parentConfig)
-
Method Details
-
getStartToken
ExtToken getStartToken() -
getConfig
NodeOptions getConfig() -
sealConfigs
-
isInline
boolean isInline()Is content of container is in same line as start token, at least first child- Returns:
-
getTrailingComa
-
getDefaultIndent
-
getFirstInlineElementIndent
Integer getFirstInlineElementIndent()first inline element indent calculated from first child- Returns:
-
getInlineElementsSeparator
-