IncludeRule class Null safety AST

A mixin invocation.

Implemented types
Annotations

Constructors

IncludeRule(String name, 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. [...]
read-only, inherited
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.
read-only, override
nameSpan FileSpan
The span containing this reference's name. [...]
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
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).
read-only

Methods

accept<T>(StatementVisitor<T> visitor) → T
Calls the appropriate visit method on visitor.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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