EasyVmWare class
Dart子集虚拟机
- Inheritance
-
- Object
- EasyLogger
- EasyVmWare
Constructors
- EasyVmWare({required EasyVmWareConfig config})
Properties
Methods
-
call<
T> ({required String methodName, List? positionalArguments, Map< Symbol, dynamic> ? namedArguments}) → T - 调用任意任意函数
-
debugObjectStack(
{int? index, bool simple = true}) → void - 打印运行时作用域堆栈
-
debugSourceTrees(
{String? key}) → void - 打印应用库语法树集合
-
debugVmObjectInfo(
{required String key}) → void - 打印虚拟对象的详细信息
-
logDebug(
List args) → void -
inherited
-
logError(
List args) → void -
inherited
-
logFatal(
List args) → void -
inherited
-
logInfo(
List args) → void -
inherited
-
logTrace(
List args) → void -
inherited
-
logWarn(
List args) → void -
inherited
-
main<
T> () → T - 调用主函数
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reassemble(
{required Map< String, String> sourceCodes}) → void - 重新装载
-
shutdown(
) → void - 释放内存
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
eval<
T> ({required String sourceCode, required String methodName, List? positionalArguments, Map< Symbol, dynamic> ? namedArguments}) → T -
简洁的执行
sourceCode
源代码中的methodName
函数 -
loadGlobalLibrary(
{EasyLogger? globalLogger, List< VmClass> coreClassList = const [], List<VmProxy> coreProxyList = const [], List<VmClass> userClassList = const [], List<VmProxy> userProxyList = const [], dynamic nativeValueConverter(dynamic value)?, String? quickTypeSpeculationMethod(dynamic instance)?, bool logObjectStackInAndOut = false, bool logSlowTypeSpeculation = true}) → void - 加载全局作用域