SymbolGenerator class

Generates symbols for a specific file.

Each sourcefile should use its own instance of SymbolGenerator

Constructors

SymbolGenerator.new(PackageConfig _packageConfig, Pubspec _pubspec)

Properties

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

Methods

elementFor(AstNode node) → Element?
For a given AstNode, returns the correlating Element type that should be used to generate the symbol
fileSymbolFor(String path) String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
symbolFor(Element element) String?
For a given Element returns the scip symbol form.
toString() String
A string representation of this object.
inherited

Operators

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