LanguageNamespaces class
Language specific namespaces.
Each CodeUnit have a namespace, and they are stored separated by language.
- Available Extensions
Constructors
- LanguageNamespaces(String language)
Properties
-
classesNames
→ List<
String> -
returns a List of classes names.
no setter
-
functions
→ List<
String> -
returns a List of functions names.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- language → String
-
The language of the namespaces.
final
-
namespaces
→ List<
String> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
generateAll(
ApolloGenerator< Object, ApolloCodeUnitStorage< generator) → voidObject> , Object> -
generateAllCode(
ApolloCodeGenerator codeGenerator) → void -
get(
String namespace) → CodeNamespace -
getClass(
String className, {String? namespace, bool caseInsensitive = false}) → ASTClassNormal? -
Lookup for the first class
className
innamespace
(optional). -
getIfLoaded(
String namespace) → CodeNamespace? -
getNamespaceWithClass(
String className, {bool caseInsensitive = false}) → List< CodeNamespace> -
Returns a List of
CodeNamespace
with classclassName
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited