프로퍼티 | 타입 | 설명 | |
---|---|---|---|
CurrentVisibility | Visibility | ||
ProgramName | string | ||
SourceFileInfo |
메소드 | 설명 | |
---|---|---|
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 DefineField ( string name, TypeDescr type, bool isStatic ) : |
||
name | string | |
type | TypeDescr | |
isStatic | bool | |
리턴 |
public DefineMethod ( Coco t, bool isStatic ) : void | ||
t | Coco | T. |
isStatic | bool | |
리턴 | void |
public EmitCommand ( ExecutableCommand cmd ) : void | ||
cmd | ExecutableCommand | |
리턴 | void |