public class ProgramConverter extends Object
| Constructor and Description |
|---|
ProgramConverter(ProgramRegistry programRegistry)
Create a program converter that uses the given registry for type
references.
|
| Modifier and Type | Method and Description |
|---|---|
CProgram |
convert(String path,
ProgramType program)
Convert document model to declared document.
|
public ProgramConverter(ProgramRegistry programRegistry)
programRegistry - The program registry.public CProgram convert(String path, ProgramType program)
path - The program file path.path - Path of the program file to convert.program - Program model to convert.Copyright © 2015–2017 morimekta.net. All rights reserved.