Interface AtlStandaloneCompiler
- All Known Implementing Classes:
Atl2004Compiler
,Atl2006Compiler
,AtlDefaultCompiler
,AtlToEmftvmCompiler
public interface AtlStandaloneCompiler
Eclipse-independent interface for ATL compilers.
-
Method Summary
Modifier and TypeMethodDescriptioncompile
(InputStream in, String outputFileName) Compiles an ATL script and returns easily accessible error messages.Compiles an ATL script and returns easily accessible error messages.org.eclipse.emf.ecore.EObject[]
compileWithProblemModel
(InputStream in, OutputStream outputStream) Compiles an ATL script and returns easily accessible error messages.org.eclipse.emf.ecore.EObject[]
compileWithProblemModel
(InputStream in, String outputFileName) Compiles an ATL script and returns easily accessible error messages.org.eclipse.emf.ecore.EObject[]
compileWithProblemModel
(Reader in, OutputStream outputStream) Compiles an ATL script and returns easily accessible error messages.org.eclipse.emf.ecore.EObject[]
compileWithProblemModel
(Reader in, String outputFileName) Compiles an ATL script and returns easily accessible error messages.org.eclipse.emf.ecore.EObject[]
compileWithProblemModel
(IModel atlModel, OutputStream outputStream) Compiles an ATL script and returns easily accessible error messages.org.eclipse.emf.ecore.EObject[]
compileWithProblemModel
(IModel atlModel, String outputFileName) Compiles an ATL script and returns easily accessible error messages.
-
Method Details
-
compile
Compiles an ATL script and returns easily accessible error messages.- Parameters:
in
- The InputStream to get atl source from.outputFileName
- Name of the file to which the ATL compiled program will be saved.- Returns:
- array of compiletime errors (0 length if no errors)
-
compile
Compiles an ATL script and returns easily accessible error messages.- Parameters:
in
- The Reader to get atl source from.outputFileName
- Name of the file to which the ATL compiled program will be saved.- Returns:
- array of compiletime errors (0 length if no errors)
-
compileWithProblemModel
Compiles an ATL script and returns easily accessible error messages.- Parameters:
in
- The InputStream to get atl source from.outputFileName
- Name of the file to which the ATL compiled program will be saved.- Returns:
- array of compiletime errors as EObjects (0 length if no errors)
-
compileWithProblemModel
Compiles an ATL script and returns easily accessible error messages.- Parameters:
in
- The Reader to get atl source from.outputFileName
- Name of the file to which the ATL compiled program will be saved.- Returns:
- array of compiletime errors as EObjects (0 length if no errors)
-
compileWithProblemModel
Compiles an ATL script and returns easily accessible error messages.- Parameters:
in
- The InputStream to get atl source from.outputStream
- the compilation ASM output stream- Returns:
- array of compiletime errors as EObjects (0 length if no errors)
-
compileWithProblemModel
Compiles an ATL script and returns easily accessible error messages.- Parameters:
in
- The Reader to get atl source from.outputStream
- the compilation ASM output stream- Returns:
- array of compiletime errors as EObjects (0 length if no errors)
-
compileWithProblemModel
Compiles an ATL script and returns easily accessible error messages.- Parameters:
atlModel
- The atlModel.outputStream
- the compilation ASM output stream- Returns:
- array of compiletime errors as EObjects (0 length if no errors)
-
compileWithProblemModel
Compiles an ATL script and returns easily accessible error messages.- Parameters:
atlModel
- The atlModel.outputFileName
- Name of the file to which the ATL compiled program will be saved.- Returns:
- array of compiletime errors as EObjects (0 length if no errors)
-