Package manifold.api.json.codegen
Interface IJsonParentType
-
- All Superinterfaces:
IJsonType
- All Known Implementing Classes:
ErrantType,JsonEnumType,JsonListType,JsonSchemaType,JsonStructureType,JsonUnionType
public interface IJsonParentType extends IJsonType
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddChild(String name, IJsonParentType child)voidaddIssue(JsonIssue issue)IJsonTypefindChild(String name)List<JsonIssue>getIssues()voidprepareToRender(JavaFileManager.Location location, manifold.api.host.IModule module, DiagnosticListener<JavaFileObject> errorHandler)voidrender(AbstractJsonTypeManifold tm, StringBuilder sb, int indent, boolean mutable)voidrenderInner(AbstractJsonTypeManifold tm, StringBuilder sb, int indent, boolean mutable)-
Methods inherited from interface manifold.api.json.codegen.IJsonType
copyWithAttributes, equalsStructurally, getDefinitions, getIdentifier, getName, getParent, getTypeAttributes, merge, setDefinitions
-
-
-
-
Method Detail
-
addChild
void addChild(String name, IJsonParentType child)
-
addIssue
void addIssue(JsonIssue issue)
-
prepareToRender
void prepareToRender(JavaFileManager.Location location, manifold.api.host.IModule module, DiagnosticListener<JavaFileObject> errorHandler)
-
renderInner
void renderInner(AbstractJsonTypeManifold tm, StringBuilder sb, int indent, boolean mutable)
-
render
void render(AbstractJsonTypeManifold tm, StringBuilder sb, int indent, boolean mutable)
-
-