ex library
a library. testing string escaping: var s = 'a string'
Classes
- AnotherParameterizedClass<B>
- 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
- ExtendedShortName
- F<T extends String>
- ForAnnotation
- HasAnnotation
- Helper
- Even unresolved references in the same library should be resolved Apple ex.B
- Klass
- A class
- ParameterizedClass<T>
- Support class to test inheritance + type expansion from implements clause.
- PublicClassExtendsPrivateClass
- PublicClassImplementsPrivateInterface
- ShapeType
- Foo bar. [...]
- ShortName
- SpecializedDuration
- For testing a class that extends a class that has some operators
- TemplatedClass<X>
- TemplatedInterface<A>
- Class for testing expansion of type from implements clause.
- TypedFunctionsWithoutTypedefs
- This class has a complicated type situation.
- WithGeneric<T>
- WithGenericSub
Constants
- COLOR → const String
-
'red'
- COLOR_GREEN → const String
-
'green'
- COLOR_ORANGE → const String
-
'orange'
- COMPLEX_COLOR → const String
-
'red' + '-' + 'green' + '-' + 'blue'
- deprecated → const Deprecated
-
const Deprecated('next release')
- incorrectDocReference → const String
-
This is the same name as a top-level const from the fake lib.
'same name as const from fake'
- incorrectDocReferenceFromEx → const String
-
This should
not work
.'doh'
- MY_CAT → const ConstantCat
-
const ConstantCat('tabby')
- PRETTY_COLORS → const List<String>
-
const <String> [COLOR_GREEN, COLOR_ORANGE, 'blue']
Properties
- deprecatedField ↔ int
-
read / write
- deprecatedGetter → int
-
read-only
- deprecatedSetter ← int
-
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<A1, A2, A3>(
A3, String) → Function(A1, A2, A3) - Someone might do this some day.
-
ParameterizedTypedef<T>(
T msg, int foo) → String -
processMessage<T>(
String msg) → String