Gorilla.Script.Parser.Delphi
Unit Gorilla.Script.Parser.Delphi.pasClasses
- TGorillaScriptParserDelphi = class ( TGorillaScriptParser )
TGorillaScriptParserDelphi
Ancestors
Members
Fields
Methods
- public constructor Create ( const AEngine : TComponent ) ;
- public destructor Destroy ( ) ;
- protected function GetCurrent ( ) : Pointer ; override;
- protected function GetCurrentFile ( ) : string ; override;
- protected function GetCurrentCharPos ( ) : TPoint ; override;
- protected function GetCurrentLine ( ) : Integer ; override;
- protected procedure DeclareDefaultClasses
(
)
;
override;
Registers all default data types (bool, int, float, ...) in script parser.
- protected procedure RegisterNativeEnums ( const AEnums : TArray<Gorilla.Script.Types.TGorillaScriptRegisteredType> ) ; override;
- protected procedure RegisterNativeSets
(
const
ASets :
TArray<Gorilla.Script.Types.TGorillaScriptRegisteredType>
)
;
override;
Previously add native sets will be registered here in script parser.
- protected procedure RegisterNativeStructs
(
const
AStructs :
TArray<Gorilla.Script.Types.TGorillaScriptRegisteredType>
)
;
override;
Previously add native records will be registered here in script parser.
- protected procedure RegisterNativeInterfaces
(
const
AIntfs :
TArray<System.string>
)
;
override;
Previously add native classes will be registered here in script parser.
- protected procedure RegisterNativeClasses
(
const
AClasses :
TArray<System.TClass>
)
;
override;
Previously add native classes will be registered here in script parser.
- protected procedure DeclareNativeGlobalProcedure
(
AUnit :
TGorillaScriptNativeUnit; const
AMethod :
string; AAddress :
Pointer; const
AParamNames :
array of TVarRec; const
AParamTypes :
array of TVarRec
)
;
Declares a native global procedure in script parser.
- protected procedure DeclareNativeGlobalFunction
(
AUnit :
TGorillaScriptNativeUnit; const
AMethod :
string; AAddress :
Pointer; const
AParamNames :
array of TVarRec; const
AParamTypes :
array of TVarRec
)
;
Declares a native global function in script parser.
- protected procedure DeclareSystemRoutines ( AUnit : TGorillaScriptCustomUnitEntity ) ;
- protected procedure DeclareSystemSysUtilsRoutines ( AUnit : TGorillaScriptCustomUnitEntity ) ;
- public function LoadUnitFromStream ( const AStream : TStream ) : TGorillaScriptUnit ; override;