I18nBuilder class

Builds an internationalized message by visiting TemplateAst nodes.

Constructors

I18nBuilder()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(I18nMetadata metadata) I18nMessage?
Builds an internationalized message from the nodes this has visited.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
visitAll(List<TemplateAst> astNodes, [StringBuffer? context]) → void
visitAnnotation(AnnotationAst astNode, [StringBuffer? _]) → void
Visits all annotation ASTs.
visitAttribute(AttributeAst astNode, [StringBuffer? context]) → void
Visits all attribute ASTs.
visitBanana(BananaAst _, [StringBuffer? __]) → void
Visits all banana ASTs.
visitCloseElement(CloseElementAst _, [StringBuffer? __]) → void
Visits all closeElement ASTS.
visitComment(CommentAst _, [StringBuffer? __]) → void
Visits all comment ASTs.
visitContainer(ContainerAst astNode, [StringBuffer? _]) → void
Visits all container ASTs.
visitElement(ElementAst astNode, [StringBuffer? _]) → void
Visits all element ASTs.
visitEmbeddedContent(EmbeddedContentAst astNode, [StringBuffer? _]) → void
Visits all embedded content ASTs.
visitEmbeddedTemplate(EmbeddedTemplateAst astNode, [StringBuffer? _]) → void
Visits all embedded template ASTs.
visitEvent(EventAst astNode, [StringBuffer? _]) → void
Visits all event ASTs.
visitInterpolation(InterpolationAst astNode, [StringBuffer? _]) → void
Visits all interpolation ASTs.
visitLetBinding(LetBindingAst astNode, [StringBuffer? _]) → void
Visits all let-binding ASTs.
visitProperty(PropertyAst astNode, [StringBuffer? _]) → void
Visits all property ASTs.
visitReference(ReferenceAst astNode, [StringBuffer? _]) → void
Visits all reference ASTs.
visitStar(StarAst starAst, [StringBuffer? _]) → void
Visits all star ASTs.
visitText(TextAst astNode, [StringBuffer? _]) → void
Visits all text ASTs.

Operators

operator ==(Object other) bool
The equality operator.
inherited