I18nBuilder class
Builds an internationalized message by visiting TemplateAst
nodes.
Constructors
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? context]) → void - Visits all annotation ASTs.
-
visitAttribute(
AttributeAst astNode, [StringBuffer? context]) → void - Visits all attribute ASTs.
-
visitBanana(
BananaAst astNode, [StringBuffer? context]) → void - Visits all banana ASTs.
-
visitCloseElement(
CloseElementAst astNode, [StringBuffer? context]) → void - Visits all closeElement ASTS.
-
visitComment(
CommentAst astNode, [StringBuffer? context]) → void - Visits all comment ASTs.
-
visitContainer(
ContainerAst astNode, [StringBuffer? context]) → void - Visits all container ASTs.
-
visitElement(
ElementAst astNode, [StringBuffer? context]) → void - Visits all element ASTs.
-
visitEmbeddedContent(
EmbeddedContentAst astNode, [StringBuffer? context]) → void - Visits all embedded content ASTs.
-
visitEmbeddedTemplate(
EmbeddedTemplateAst astNode, [StringBuffer? context]) → void - Visits all embedded template ASTs.
-
visitEvent(
EventAst astNode, [StringBuffer? context]) → void - Visits all event ASTs.
-
visitInterpolation(
InterpolationAst astNode, [StringBuffer? context]) → void - Visits all interpolation ASTs.
-
visitLetBinding(
LetBindingAst astNode, [StringBuffer? context]) → void - Visits all let-binding ASTs.
-
visitProperty(
PropertyAst astNode, [StringBuffer? context]) → void - Visits all property ASTs.
-
visitReference(
ReferenceAst astNode, [StringBuffer? context]) → void - Visits all reference ASTs.
-
visitStar(
StarAst astNode, [StringBuffer? context]) → void - Visits all star ASTs.
-
visitText(
TextAst astNode, [StringBuffer? context]) → void - Visits all text ASTs.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited