ParamDecl class

Inheritance

Constructors

ParamDecl(IdentifierExpr id, {TypeExpr? declType, ASTNode? initializer, bool isVariadic = false, bool isOptional = false, bool isNamed = false, bool isInitialization = false, HTSource? source, int line = 0, int column = 0, int offset = 0, int length = 0})

Properties

classId → String?
finalinherited
column → int
finalinherited
declType → TypeExpr?
finalinherited
documentation → String
no setterinherited
end → int
no setterinherited
hasEndOfStmtMark → bool
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
id → IdentifierExpr
finalinherited
initializer ↔ ASTNode?
getter/setter pairinherited
internalName → String
no setterinherited
isAwait → bool
finalinherited
isBlock → bool
Wether this is a struct/code block expression.
finalinherited
isConst → bool
finalinherited
isConstValue → bool
Wether this value is constantant value, i.e. its value is computed before compile into bytecode.
no setterinherited
isExpression → bool
no setterinherited
isExternal → bool
finalinherited
isField → bool
finalinherited
isInitialization → bool
final
isMember → bool
no setterinherited
isMutable → bool
finalinherited
isNamed → bool
final
isOptional → bool
final
isPrivate → bool
finalinherited
isStatement → bool
finalinherited
isStatic → bool
finalinherited
isStructField → bool
finalinherited
isTopLevel → bool
finalinherited
isVariadic → bool
final
lateFinalize → bool
finalinherited
lateInitialize → bool
finalinherited
length → int
finalinherited
line → int
finalinherited
offset → int
finalinherited
precedings ↔ List<ASTAnnotation>
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → HTSource?
finalinherited
succeedings ↔ List<ASTAnnotation>
getter/setter pairinherited
trailing ↔ ASTAnnotation?
getter/setter pairinherited
trailingAfter ↔ ASTAnnotation?
getter/setter pairinherited
type → String
no setteroverride
value ↔ dynamic
If this is a constant expressions, the constant interpreter will compute the value and assign to this property, otherwise, this peoperty is null.
getter/setter pairinherited

Methods

accept(AbstractASTVisitor visitor) → dynamic
Visit this node
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
subAccept(AbstractASTVisitor visitor) → void
Visit all the sub nodes of this, doing nothing by default.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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