EasyVmWare class

Dart子集虚拟机

Inheritance

Constructors

EasyVmWare({required EasyVmWareConfig config})

Properties

hashCode int
The hash code for this object.
no setterinherited
logTag String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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
加载全局作用域