v1/src/kelicap_compiler/analyzer/common
library
Functions
-
getTypeImport(DartType type)
→ String
-
Returns the import URL for
type.
-
getTypeName(DartType? type)
→ String?
-
Forwards and backwards-compatible method of getting the "name" of
type.
-
typeArgumentOf(DartObject object, [int index = 0])
→ DartType
-
Returns the bound
DartType from the instance object.
-
typeToCode(DartType? type)
→ String?
-
-
unerasedTypeOf(DartObject object)
→ DartType?
-
Returns the type of the constant
object, without extension type erasure.
-
unerasedTypeValueOf(DartObject object)
→ DartType?
-
Returns the
Type value of the constant object, without extension type
erasure.
-
urlOf(Element? element, [String? name])
→ Uri
-
Returns a canonical URL pointing to
element.