| Package | Description |
|---|---|
| org.ballerinalang.code.generator | |
| org.ballerinalang.code.generator.model |
| Modifier and Type | Method and Description |
|---|---|
static String |
CodeGenerator.generateOutput(GeneratorConstants.GenType type,
ClientContextHolder context)
Generates code(client, server etc) for ballerina source provided in
definitionPath. |
static void |
CodeGenerator.writeFile(Path targetDirPath,
String fileName,
String fileContent)
Write given file content to a file at
targetDirPath. |
| Modifier and Type | Method and Description |
|---|---|
static ClientContextHolder |
ClientContextHolder.buildContext(BLangService service,
List<BLangSimpleVariable> endpoints)
Build a parsable context from a Ballerina
ServiceNode. |
static ResourceContextHolder |
ResourceContextHolder.buildContext(FunctionNode resource) |
Copyright © 2019 WSO2. All rights reserved.