Scanner class

扫描器

负责扫描所有内置注解下的类,然后记录类的包路径 用于 ContextWriter 写入import代码到 g.dart 文件中

@author luodongseu

Implemented types

Constructors

Scanner()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

generate(LibraryReader library, BuildStep buildStep) FutureOr<String>
Generates Dart code for an input Dart library.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

annotationUris List<String>
read-only