ElementAst.from constructor
ElementAst.from(
- TemplateAst origin,
- String name,
- CloseElementAst? closeComplement, {
- List<
AttributeAst> attributes, - List<
StandaloneTemplateAst> childNodes, - List<
EventAst> events, - List<
PropertyAst> properties, - List<
ReferenceAst> references, - List<
BananaAst> bananas, - List<
StarAst> stars, - List<
AnnotationAst> annotations,
Create a synthetic element AST from an existing AST node.
Implementation
factory ElementAst.from(
TemplateAst origin,
String name,
CloseElementAst? closeComplement, {
List<AttributeAst> attributes,
List<StandaloneTemplateAst> childNodes,
List<EventAst> events,
List<PropertyAst> properties,
List<ReferenceAst> references,
List<BananaAst> bananas,
List<StarAst> stars,
List<AnnotationAst> annotations,
}) = _SyntheticElementAst.from;