VmMetaData class

数据值的元数据

Constructors

VmMetaData({bool isIniter = false, bool isStatic = false, bool isGetter = false, bool isSetter = false, List<VmHelper> listArguments = const [], List<VmHelper> nameArguments = const [], List<Map<VmKeys, dynamic>?> initTree = const [], Map<VmKeys, dynamic> bodyTree = const {}, dynamic staticListener(List? positionalArguments, Map<Symbol, dynamic>? namedArguments, VmClass classScope, List<Map<VmKeys, dynamic>>? instanceFields, VmValue method)?, dynamic instanceListener(List? positionalArguments, Map<Symbol, dynamic>? namedArguments, VmClass? classScope, VmValue? instanceScope, VmValue method)?})
const

Properties

bodyTree Map<VmKeys, dynamic>
作为内部定义方法时的函数体语法树
final
hashCode int
The hash code for this object.
no setterinherited
initTree List<Map<VmKeys, dynamic>?>
作为内部定义方法时的初始化语法树,仅 非factory的constructor 有此内容
final
instanceListener → (dynamic Function(List? positionalArguments, Map<Symbol, dynamic>? namedArguments, VmClass? classScope, VmValue? instanceScope, VmValue method)?)
作为内部定义类的实例方法时的回调监听
final
isGetter bool
作为内部定义方法时声明为: get
final
isIniter bool
作为内部定义方法时声明为: constructor,排除 factory 方法
final
isSetter bool
作为内部定义方法时声明为: set
final
isStatic bool
作为内部定义方法时声明为: static,包括 constructor、factory 方法
final
listArguments List<VmHelper>
作为内部定义方法时的列表参数
final
nameArguments List<VmHelper>
作为内部定义方法时的命名参数
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
staticListener → (dynamic Function(List? positionalArguments, Map<Symbol, dynamic>? namedArguments, VmClass classScope, List<Map<VmKeys, dynamic>>? instanceFields, VmValue method)?)
作为内部定义类的静态方法时的回调监听
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited