a library. testing string escaping: var s = 'a string'
Classes
- Apple
-
Sample class
String
[...] - aThingToDo
- A custom annotation.
- B
- Extends class Apple, use new Apple or new Apple.fromString [...]
- Cat
- CatString
- ConstantCat
- Cool
- This class is cool!
- Deprecated
- Dog
- implements Cat, E [...]
- E
- F
- ForAnnotation
- HasAnnotation
- Helper
- Even unresolved references in the same library should be resolved Apple ex.B
- Klass
- A class
- PublicClassExtendsPrivateClass
- PublicClassImplementsPrivateInterface
- ShapeType
- Foo bar. [...]
- SpecializedDuration
- For testing a class that extends a class that has some operators
- TypedFunctionsWithoutTypedefs
- This class has a complicated type situation.
- WithGeneric
- WithGenericSub
Constants
- COLOR → String
-
'red'
- COLOR_GREEN → String
-
'green'
- COLOR_ORANGE → String
-
'orange'
- COMPLEX_COLOR → String
-
'red' + '-' + 'green' + '-' + 'blue'
- deprecated → Deprecated
-
const Deprecated("next release")
- incorrectDocReference → dynamic
-
This is the same name as a top-level const from the fake lib.
'same name as const from fake'
- incorrectDocReferenceFromEx → dynamic
-
This should
not work
.'doh'
- MY_CAT → ConstantCat
-
const ConstantCat('tabby')
- PRETTY_COLORS → List<String>
-
const <String> [COLOR_GREEN, COLOR_ORANGE, 'blue']
Properties
- deprecatedField ↔ int
-
read / write
- deprecatedGetter → int
-
read-only
- deprecatedSetter ← int value
-
write-only
- number ↔ double
-
read / write
- y → dynamic
-
read-only
Functions
-
function1(
String s, bool b, lastParam) → int -
genericFunction<T>(
T arg) → T
Enums
- Animal
- Referencing processMessage (or other things) here should not break enum constants ala #1445
Typedefs
-
aComplexTypedef(
A3 A3) → Function(A1 A1 A1) - Someone might do this some day.
-
ParameterizedTypedef(
T msg, int foo) → String -
processMessage(
String msg) → String