| Package | Description |
|---|---|
| org.ballerinalang.code.generator | |
| org.ballerinalang.code.generator.model |
| Modifier and Type | Method and Description |
|---|---|
String |
CodeGenerator.generateOutput(GeneratorConstants.GenType type,
ClientContextHolder context)
Generates code(client, server etc) for ballerina source provided in
definitionPath. |
void |
CodeGenerator.writeGeneratedSource(GeneratorConstants.GenType type,
ClientContextHolder context,
String outPath)
Write generated source of a given
context to a file at outpath. |
| Modifier and Type | Method and Description |
|---|---|
static ClientContextHolder |
ClientContextHolder.buildContext(ServiceNode service,
List<EndpointNode> endpoints)
Build a parsable context from a Ballerina
ServiceNode. |
Copyright © 2018 WSO2. All rights reserved.