CompileElement class
Compiled element in the view.
- Inheritance
 - 
    
- Object
 - CompileNode
 - CompileElement
 
 - Implemented types
 
Constructors
- 
          CompileElement(CompileElement? parent, CompileView? view, int? nodeIndex, NodeReference renderNode, TemplateAst? sourceAst, CompileDirectiveMetadata? component, List<
CompileDirectiveMetadata> _directives, List<ProviderAst> _resolvedProvidersArray, bool hasViewContainer, bool hasEmbeddedView, List<ReferenceAst> references, {Expression? componentView, bool hasTemplateRefQuery = false, bool isHtmlElement = false}) - CompileElement.root()
 
Properties
- appViewContainer ↔ ReadClassMemberExpr?
 - 
  Reference to optional view container created for this element.
  getter/setter pair
 - component → CompileDirectiveMetadata?
 - 
  
  final
 - componentView → Expression?
 - 
  Expression that contains reference to componentView (root View class).
  final
 - 
  contentNodesByNgContentIndex
  ↔ List<
List< Expression> > - 
  
  getter/setter pair
 - 
  directiveInstances
  ↔ List<
ProviderSource?>  - 
  
  getter/setter pair
 - elementRef ↔ Expression
 - 
  
  getter/setter pair
 - embeddedView ↔ CompileView?
 - 
  
  getter/setter pair
 - hasEmbeddedView → bool
 - 
  
  final
 - hashCode → int
 - 
  The hash code for this object.
  no setterinherited
 - hasTemplateRefQuery → bool
 - 
  
  final
 - hasViewContainer → bool
 - 
  
  final
 - isHtmlElement → bool
 - 
  
  final
 - isRootElement → bool
 - 
  Whether node is the root of the view.
  no setterinherited
 - nodeIndex → int?
 - 
  
  finalinherited
 - parent → CompileElement?
 - 
  Parent of node.
  finalinherited
 - 
  referenceTokens
  ↔ Map<
String, CompileTokenMetadata?>  - 
  
  getter/setter pair
 - renderNode → NodeReference
 - 
  Expression that resolves to reference to instance of of node.
  finalinherited
 - runtimeType → Type
 - 
  A representation of the runtime type of the object.
  no setterinherited
 - sourceAst → TemplateAst?
 - 
  Source location in template.
  final
 - view → CompileView?
 - 
  
  finalinherited
 
Methods
- 
  addContentNode(
int ngContentIndex, Expression nodeExpr) → void  - 
  afterChildren(
int childNodeCount) → void  - 
  beforeChildren(
) → void  - 
  createDynamicInjectionSource(
ProviderResolver? providersNode, ProviderSource? source, CompileTokenMetadata? token, bool optional) → ProviderSource  - 
  Creates ProviderSource to call injectorGet on parent view that contains
source NodeProviders.
  override
 - 
  createI18nMessage(
I18nMessage message) → Expression  - 
  Creates an expression that returns the internationalized 
message.override - 
  createProviderInstance(
ProviderAst resolvedProvider, CompileDirectiveMetadata? directiveMetadata, List< ProviderSource> providerSources, int uniqueId) → ProviderSource - 
  Creates an eager instance for a provider and returns reference to source.
  override
 - 
  createProviderNode(
int childNodeCount, List< ProviderNode> children) → ProviderNode - Creates a ProviderNode for this element.
 - 
  findElementByResolver(
ProviderResolver? resolver) → CompileElement?  - 
  Returns the CompileElement where 
resolveroriginates from. - 
  getComponent(
) → Expression?  - 
  getDirectiveSource(
CompileDirectiveMetadata? directive) → ProviderSource?  - 
  noSuchMethod(
Invocation invocation) → dynamic  - 
  Invoked when a nonexistent method or property is accessed.
  inherited
 - 
  setEmbeddedView(
CompileView view) → void  - 
  toString(
) → String  - 
  A string representation of this object.
  inherited
 
Operators
- 
  operator ==(
Object other) → bool  - 
  The equality operator.
  inherited