A NarrowingTransformer that narrows immediately to the type of the visited subject by invoking its transform (Node.transform) method.

For example:

shared actual default Result transformValueExpression(ValueExpression that)
        => that.transform(this);

This interface should be functionally equivalent to CascadingNarrowingTransformer, but is likely a lot faster because it uses only a single virtual method lookup instead of a series of type checks and calls.

no type hierarchy

Inherited Attributes
Attributes inherited from: Object
hash, string
Methods
transformAddingExpressionshared actual default Result transformAddingExpression(AddingExpression that)
transformAnyClassshared actual default Result transformAnyClass(AnyClass that)
transformAnyCompilationUnitshared actual default Result transformAnyCompilationUnit(AnyCompilationUnit that)
transformAnyFunctionshared actual default Result transformAnyFunction(AnyFunction that)
transformAnyInterfaceshared actual default Result transformAnyInterface(AnyInterface that)
transformAnyInterfaceDefinitionshared actual default Result transformAnyInterfaceDefinition(AnyInterfaceDefinition that)
transformAnyMemberOperatorshared actual default Result transformAnyMemberOperator(AnyMemberOperator that)
transformAnySpecifiershared actual default Result transformAnySpecifier(AnySpecifier that)
transformAnyValueshared actual default Result transformAnyValue(AnyValue that)
transformArgumentsshared actual default Result transformArguments(Arguments that)
transformArithmeticAssignmentOperationshared actual default Result transformArithmeticAssignmentOperation(ArithmeticAssignmentOperation that)
transformArithmeticOperationshared actual default Result transformArithmeticOperation(ArithmeticOperation that)
transformAssigningExpressionshared actual default Result transformAssigningExpression(AssigningExpression that)
transformAssignmentOperationshared actual default Result transformAssignmentOperation(AssignmentOperation that)
transformAtomshared actual default Result transformAtom(Atom that)
transformBinaryOperationshared actual default Result transformBinaryOperation(BinaryOperation that)
transformBodyshared actual default Result transformBody(Body that)
transformBoundshared actual default Result transformBound(Bound that)
transformCaseItemshared actual default Result transformCaseItem(CaseItem that)
transformClassOrInterfaceshared actual default Result transformClassOrInterface(ClassOrInterface that)
transformComparingExpressionshared actual default Result transformComparingExpression(ComparingExpression that)
transformComparisonOperationshared actual default Result transformComparisonOperation(ComparisonOperation that)
transformComprehensionClauseshared actual default Result transformComprehensionClause(ComprehensionClause that)
transformConditionshared actual default Result transformCondition(Condition that)
transformConditionalExpressionshared actual default Result transformConditionalExpression(ConditionalExpression that)
transformConjoiningExpressionshared actual default Result transformConjoiningExpression(ConjoiningExpression that)
transformConstructorDefinitionshared actual default Result transformConstructorDefinition(ConstructorDefinition that)
transformControlStructureshared actual default Result transformControlStructure(ControlStructure that)
transformDecshared actual default Result transformDec(Dec that)
transformDeclarationshared actual default Result transformDeclaration(Declaration that)
transformDefaultedParametershared actual default Result transformDefaultedParameter(DefaultedParameter that)
transformDirectiveshared actual default Result transformDirective(Directive that)
transformDisjoiningExpressionshared actual default Result transformDisjoiningExpression(DisjoiningExpression that)
transformEqualityOperationshared actual default Result transformEqualityOperation(EqualityOperation that)
transformEquatingExpressionshared actual default Result transformEquatingExpression(EquatingExpression that)
transformExistsNonemptyExpressionshared actual default Result transformExistsNonemptyExpression(ExistsNonemptyExpression that)
transformExistsOrNonemptyConditionshared actual default Result transformExistsOrNonemptyCondition(ExistsOrNonemptyCondition that)
transformExponentiatingExpressionshared actual default Result transformExponentiatingExpression(ExponentiatingExpression that)
transformExpressionshared actual default Result transformExpression(Expression that)
transformExpressionStatementshared actual default Result transformExpressionStatement(ExpressionStatement that)
transformExtensionOrConstructionshared actual default Result transformExtensionOrConstruction(ExtensionOrConstruction that)
transformIdentifiershared actual default Result transformIdentifier(Identifier that)
transformImportAliasshared actual default Result transformImportAlias(ImportAlias that)
transformImportElementshared actual default Result transformImportElement(ImportElement that)
transformInitialComprehensionClauseshared actual default Result transformInitialComprehensionClause(InitialComprehensionClause that)
transformInlineDefinitionArgumentshared actual default Result transformInlineDefinitionArgument(InlineDefinitionArgument that)
transformIntersectingExpressionshared actual default Result transformIntersectingExpression(IntersectingExpression that)
transformInvertingExpressionshared actual default Result transformInvertingExpression(InvertingExpression that)
transformLiteralshared actual default Result transformLiteral(Literal that)
transformLocalModifiershared actual default Result transformLocalModifier(LocalModifier that)
transformLogicalAssignmentOperationshared actual default Result transformLogicalAssignmentOperation(LogicalAssignmentOperation that)
transformLogicalOperationshared actual default Result transformLogicalOperation(LogicalOperation that)
transformMainTypeshared actual default Result transformMainType(MainType that)
transformMemberDecshared actual default Result transformMemberDec(MemberDec that)
transformMetashared actual default Result transformMeta(Meta that)
transformModifiershared actual default Result transformModifier(Modifier that)
transformMultiplyingExpressionshared actual default Result transformMultiplyingExpression(MultiplyingExpression that)
transformNameWithTypeArgumentsshared actual default Result transformNameWithTypeArguments(NameWithTypeArguments that)
transformNamedArgumentshared actual default Result transformNamedArgument(NamedArgument that)
transformNegatingExpressionshared actual default Result transformNegatingExpression(NegatingExpression that)
transformNodeshared actual default Result transformNode(Node that)
transformOperationshared actual default Result transformOperation(Operation that)
transformParametershared actual default Result transformParameter(Parameter that)
transformPatternshared actual default Result transformPattern(Pattern that)
transformPostfixOperationshared actual default Result transformPostfixOperation(PostfixOperation that)
transformPrePostfixingExpressionshared actual default Result transformPrePostfixingExpression(PrePostfixingExpression that)
transformPrefixOperationshared actual default Result transformPrefixOperation(PrefixOperation that)
transformPrimaryshared actual default Result transformPrimary(Primary that)
transformPrimaryTypeshared actual default Result transformPrimaryType(PrimaryType that)
transformRangeSubscriptshared actual default Result transformRangeSubscript(RangeSubscript that)
transformRequiredParametershared actual default Result transformRequiredParameter(RequiredParameter that)
transformScalingExpressionshared actual default Result transformScalingExpression(ScalingExpression that)
transformSelfReferenceshared actual default Result transformSelfReference(SelfReference that)
transformSetAssignmentOperationshared actual default Result transformSetAssignmentOperation(SetAssignmentOperation that)
transformSetOperationshared actual default Result transformSetOperation(SetOperation that)
transformSimpleTypeshared actual default Result transformSimpleType(SimpleType that)
transformSpanningExpressionshared actual default Result transformSpanningExpression(SpanningExpression that)
transformSpecificationshared actual default Result transformSpecification(Specification that)
transformStatementshared actual default Result transformStatement(Statement that)
transformStructureExpressionshared actual default Result transformStructureExpression(StructureExpression that)
transformSubscriptshared actual default Result transformSubscript(Subscript that)
transformThenElseExpressionshared actual default Result transformThenElseExpression(ThenElseExpression that)
transformTypeshared actual default Result transformType(Type that)
transformTypeDecshared actual default Result transformTypeDec(TypeDec that)
transformTypeDeclarationshared actual default Result transformTypeDeclaration(TypeDeclaration that)
transformTypeIshshared actual default Result transformTypeIsh(TypeIsh that)
transformTypeModifiershared actual default Result transformTypeModifier(TypeModifier that)
transformTypedDeclarationshared actual default Result transformTypedDeclaration(TypedDeclaration that)
transformUnaryArithmeticOperationshared actual default Result transformUnaryArithmeticOperation(UnaryArithmeticOperation that)
transformUnaryIshOperationshared actual default Result transformUnaryIshOperation(UnaryIshOperation that)
transformUnaryOperationshared actual default Result transformUnaryOperation(UnaryOperation that)
transformUnaryTypeOperationshared actual default Result transformUnaryTypeOperation(UnaryTypeOperation that)
transformUnionableTypeshared actual default Result transformUnionableType(UnionableType that)
transformUnioningExpressionshared actual default Result transformUnioningExpression(UnioningExpression that)
transformValueExpressionshared actual default Result transformValueExpression(ValueExpression that)
transformVariableshared actual default Result transformVariable(Variable that)
transformVarianceshared actual default Result transformVariance(Variance that)
Inherited Methods
Methods inherited from: Object
equals
Methods inherited from: NarrowingTransformer<Result>
Methods inherited from: Transformer<Result>
transformAddAssignmentOperation(), transformAliasDec(), transformAndAssignmentOperation(), transformAndOperation(), transformAnnotation(), transformAnnotations(), transformAnonymousArgument(), transformAnyClass(), transformAnyCompilationUnit(), transformAnyFunction(), transformAnyInterface(), transformAnyInterfaceDefinition(), transformAnyMemberOperator(), transformAnySpecifier(), transformAnyValue(), transformArgumentList(), transformArguments(), transformArithmeticAssignmentOperation(), transformArithmeticOperation(), transformAssertion(), transformAssignOperation(), transformAssignmentOperation(), transformAssignmentStatement(), transformAtom(), transformBaseExpression(), transformBaseMeta(), transformBaseType(), transformBinaryOperation(), transformBlock(), transformBody(), transformBooleanCondition(), transformBound(), transformBreak(), transformCallableConstructorDefinition(), transformCallableParameter(), transformCallableType(), transformCaseClause(), transformCaseExpression(), transformCaseItem(), transformCaseTypes(), transformCatchClause(), transformCharacterLiteral(), transformClassAliasDefinition(), transformClassBody(), transformClassDec(), transformClassDefinition(), transformClassOrInterface(), transformClassSpecifier(), transformClosedBound(), transformCompareOperation(), transformComparisonOperation(), transformCompilationUnit(), transformComplementAssignmentOperation(), transformComplementOperation(), transformComprehension(), transformComprehensionClause(), transformCondition(), transformConditionalExpression(), transformConditions(), transformConstruction(), transformConstructorDec(), transformConstructorDefinition(), transformContinue(), transformControlStructure(), transformDec(), transformDecQualifier(), transformDeclaration(), transformDefaultedCallableParameter(), transformDefaultedParameter(), transformDefaultedParameterReference(), transformDefaultedType(), transformDefaultedValueParameter(), transformDestructure(), transformDifferenceOperation(), transformDirective(), transformDivideAssignmentOperation(), transformDynamicBlock(), transformDynamicInterfaceDefinition(), transformDynamicModifier(), transformDynamicValue(), transformElementOrSubrangeExpression(), transformElseClause(), transformElseOperation(), transformEntryOperation(), transformEntryPattern(), transformEntryType(), transformEqualOperation(), transformEqualityOperation(), transformExistsCondition(), transformExistsOperation(), transformExistsOrNonemptyCondition(), transformExponentiationOperation(), transformExpression(), transformExpressionComprehensionClause(), transformExpressionStatement(), transformExtendedType(), transformExtension(), transformExtensionOrConstruction(), transformFailClause(), transformFinallyClause(), transformFloatLiteral(), transformForClause(), transformForComprehensionClause(), transformForFail(), transformForIterator(), transformFullPackageName(), transformFunctionArgument(), transformFunctionDec(), transformFunctionDeclaration(), transformFunctionDefinition(), transformFunctionExpression(), transformFunctionModifier(), transformFunctionShortcutDefinition(), transformGivenDec(), transformGroupedExpression(), transformGroupedType(), transformIdenticalOperation(), transformIdentifier(), transformIdentityOperation(), transformIfClause(), transformIfComprehensionClause(), transformIfElse(), transformIfElseExpression(), transformImport(), transformImportAlias(), transformImportElement(), transformImportElements(), transformImportFunctionValueAlias(), transformImportFunctionValueElement(), transformImportTypeAlias(), transformImportTypeElement(), transformImportWildcard(), transformInModifier(), transformInOperation(), transformInitialComprehensionClause(), transformInlineDefinitionArgument(), transformIntegerLiteral(), transformInterfaceAliasDefinition(), transformInterfaceBody(), transformInterfaceDec(), transformInterfaceDefinition(), transformIntersectAssignmentOperation(), transformIntersectionOperation(), transformIntersectionType(), transformInvocation(), transformInvocationStatement(), transformIsCase(), transformIsCondition(), transformIsOperation(), transformIterable(), transformIterableType(), transformKeySubscript(), transformLIdentifier(), transformLargeAsOperation(), transformLargerOperation(), transformLazySpecification(), transformLazySpecifier(), transformLetExpression(), transformLiteral(), transformLocalModifier(), transformLogicalAssignmentOperation(), transformLogicalOperation(), transformMainType(), transformMatchCase(), transformMeasureOperation(), transformMeasureSubscript(), transformMemberDec(), transformMemberMeta(), transformMemberNameWithTypeArguments(), transformMemberOperator(), transformMeta(), transformModifier(), transformModuleBody(), transformModuleCompilationUnit(), transformModuleDec(), transformModuleDescriptor(), transformModuleImport(), transformMultiplyAssignmentOperation(), transformNameWithTypeArguments(), transformNamedArgument(), transformNamedArguments(), transformNegationOperation(), transformNode(), transformNonemptyCondition(), transformNonemptyOperation(), transformNotEqualOperation(), transformNotOperation(), transformObjectArgument(), transformObjectDefinition(), transformObjectExpression(), transformOfOperation(), transformOpenBound(), transformOperation(), transformOptionalType(), transformOrAssignmentOperation(), transformOrOperation(), transformOutModifier(), transformOuter(), transformPackage(), transformPackageCompilationUnit(), transformPackageDec(), transformPackageDescriptor(), transformPackageQualifier(), transformParameter(), transformParameterReference(), transformParameters(), transformPattern(), transformPatternList(), transformPositionalArguments(), transformPostfixDecrementOperation(), transformPostfixIncrementOperation(), transformPostfixOperation(), transformPrefixDecrementOperation(), transformPrefixIncrementOperation(), transformPrefixOperation(), transformPrefixPostfixStatement(), transformPrimary(), transformPrimaryType(), transformProductOperation(), transformQualifiedExpression(), transformQualifiedType(), transformQuotientOperation(), transformRangeSubscript(), transformRemainderAssignmentOperation(), transformRemainderOperation(), transformRequiredParameter(), transformResource(), transformResources(), transformReturn(), transformSafeMemberOperator(), transformSatisfiedTypes(), transformScaleOperation(), transformSelfReference(), transformSequentialType(), transformSetAssignmentOperation(), transformSetOperation(), transformSimpleType(), transformSmallAsOperation(), transformSmallerOperation(), transformSpanFromSubscript(), transformSpanOperation(), transformSpanSubscript(), transformSpanToSubscript(), transformSpecification(), transformSpecifiedArgument(), transformSpecifiedPattern(), transformSpecifiedVariable(), transformSpecifier(), transformSpreadArgument(), transformSpreadMemberOperator(), transformSpreadType(), transformStatement(), transformStringLiteral(), transformStringTemplate(), transformSubscript(), transformSubtractAssignmentOperation(), transformSumOperation(), transformSuper(), transformSwitchCaseElse(), transformSwitchCaseElseExpression(), transformSwitchCases(), transformSwitchClause(), transformThenOperation(), transformThis(), transformThrow(), transformTryCatchFinally(), transformTryClause(), transformTuple(), transformTuplePattern(), transformTupleType(), transformType(), transformTypeAliasDefinition(), transformTypeArgument(), transformTypeArguments(), transformTypeConstraint(), transformTypeDec(), transformTypeDeclaration(), transformTypeIsh(), transformTypeList(), transformTypeMeta(), transformTypeModifier(), transformTypeNameWithTypeArguments(), transformTypeParameter(), transformTypeParameters(), transformTypeSpecifier(), transformTypedDeclaration(), transformTypedVariable(), transformUIdentifier(), transformUnaryArithmeticOperation(), transformUnaryIshOperation(), transformUnaryOperation(), transformUnaryTypeOperation(), transformUnionAssignmentOperation(), transformUnionOperation(), transformUnionType(), transformUnionableType(), transformUnspecifiedVariable(), transformValueArgument(), transformValueConstructorDefinition(), transformValueDec(), transformValueDeclaration(), transformValueDefinition(), transformValueExpression(), transformValueGetterDefinition(), transformValueModifier(), transformValueParameter(), transformValueSetterDefinition(), transformValueSpecification(), transformVariable(), transformVariablePattern(), transformVariadicParameter(), transformVariadicType(), transformVariadicVariable(), transformVariance(), transformVoidModifier(), transformWhile(), transformWithinOperation()