IncludeRule class final

A mixin invocation.

Inheritance
Implemented types

Constructors

IncludeRule(String originalName, ArgumentInvocation arguments, FileSpan span, {String? namespace, ContentBlock? content})

Properties

arguments ArgumentInvocation
The arguments to pass to the mixin.
final
content ContentBlock?
The block that will be invoked for ContentRules in the mixin being invoked, or null if this doesn't pass a content block.
final
hashCode int
The hash code for this object.
no setterinherited
name String
The name of the mixin being invoked, with underscores converted to hyphens.
final
namespace String?
The namespace of the mixin being invoked, or null if it's invoked without a namespace.
final
namespaceSpan → FileSpan?
The span containing this reference's namespace, null if namespace is null.
no setteroverride
nameSpan → FileSpan
The span containing this reference's name.
no setteroverride
originalName String
The original name of the mixin being invoked, without underscores converted to hyphens.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
span → FileSpan
The source span associated with the node.
final
spanWithoutContent → FileSpan
Returns this include's span, without its content block (if it has one).
no setter

Methods

accept<T>(StatementVisitor<T> visitor) → T
Calls the appropriate visit method on visitor.
override
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