public class ElmStructBuilder extends Object implements ElmTypeDef
| Constructor and Description |
|---|
ElmStructBuilder(ElmStructSpec spec,
List<String> structTypes,
List<String> choiceTypes) |
| Modifier and Type | Method and Description |
|---|---|
ElmFunctionBuilder |
decoder() |
String |
decoderName() |
ElmFunctionBuilder |
encoder() |
String |
encoderName() |
String |
toElmCode() |
ILines |
typeDefinition() |
String |
typeName() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcamelName, decode, decodeList, encode, encodeList, listDecoder, listEncoderpublic ElmStructBuilder(ElmStructSpec spec, List<String> structTypes, List<String> choiceTypes)
public String typeName()
typeName in interface ElmTypeDefpublic String encoderName()
encoderName in interface ElmTypeDefpublic String decoderName()
decoderName in interface ElmTypeDefpublic ILines typeDefinition()
public ElmFunctionBuilder encoder()
encoder in interface ElmTypeDefpublic ElmFunctionBuilder decoder()
decoder in interface ElmTypeDefpublic String toElmCode()
Copyright © 2023 nawaman.net. All rights reserved.