forked from ali-alidoust/ScriptHookW3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMain.py
11 lines (11 loc) · 797 Bytes
/
Main.py
1
2
3
4
5
6
7
8
9
10
11
from SignatureParser import SignatureParser
import json
parser = SignatureParser(left_recursion=False)
print(parser.parse("red::x&::y::TDynArray<class Bomb,1,2,3>::hey(void)", rule_name='full_function_name'))
print("")
print(parser.parse("class CName<1> const & __ptr64 __cdecl red::TDynArray<class CStorySceneEventCameraInterpolationKey,2,0>::GetTypeName(void)"))
print("")
print(parser.parse("void __cdecl ExtractCommandLineArguments(class TString<wchar_t> const & __ptr64,struct CommandLineArguments & __ptr64)"))
print("")
print(parser.parse("public: void __cdecl CFileManager::FindFilesRelative(class TString<wchar_t> const & __ptr64,class TString<wchar_t> const & __ptr64,class TString<wchar_t> const & __ptr64,class TDynArray<class TString<wchar_t>,2,0> & __ptr64,bool) __ptr64"))
print("")