Свойство | Type | Description | |
---|---|---|---|
CurrentVisibility | Visibility | ||
ProgramName | string | ||
SourceFileInfo |
Méthode | Description | |
---|---|---|
Compile ( ) : void |
parsers the ABAP source fie and emits a CIL DLL file. the temporary source file is copied into respository
|
|
Compiler ( String filename ) : System |
Initializes a new instance of the openABAP.Compiler.Compiler class.
|
|
DefineClass ( string name ) : void |
initialises a new class definition by creating the System.Refelection.Emit.RypeBuilder
|
|
DefineField ( string name, TypeDescr type, bool isStatic ) : |
||
DefineMethod ( Coco t, bool isStatic ) : void |
creates a MethodBuilder and stores is in this.mbList
|
|
DefineProgram ( string n ) : void |
set program name and creates AssemblyBuilder, ModuleBuilder and debug Document
|
|
EmitCommand ( ExecutableCommand cmd ) : void | ||
EndClass ( ) : void | ||
EndMethod ( Coco t ) : void |
at end the end of a method implementation we mus emit a RET command
|
|
GetErrors ( ) : string | ||
GetVariable ( string name ) : IfVariable | ||
ImplementClass ( string name ) : void |
loads the TypeBuilder corresponding to the given name. The TypeBuilder is loaded in this.tb to implement it in following calls.
|
|
ImplementMethod ( Coco t ) : void |
loads the TypeBuilder which was creted during class definition.
|
|
Run ( ) : void |
starts the generated program. this means scanning all generated classes for a method named "Run" and invoke it.
|
|
Save ( ) : void |
public Compiler ( String filename ) : System | ||
filename | String | Filename. |
Résultat | System |
public DefineClass ( string name ) : void | ||
name | string | Name. |
Résultat | void |
public DefineField ( string name, TypeDescr type, bool isStatic ) : |
||
name | string | |
type | TypeDescr | |
isStatic | bool | |
Résultat |
public DefineMethod ( Coco t, bool isStatic ) : void | ||
t | Coco | T. |
isStatic | bool | |
Résultat | void |
public EmitCommand ( ExecutableCommand cmd ) : void | ||
cmd | ExecutableCommand | |
Résultat | void |
public GetVariable ( string name ) : IfVariable | ||
name | string | |
Résultat | IfVariable |
public ImplementClass ( string name ) : void | ||
name | string | Name. |
Résultat | void |