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
Methods
transformAddingExpressionSource Codeshared actual default Result transformAddingExpression(AddingExpression that)
transformAnyClassSource Codeshared actual default Result transformAnyClass(AnyClass that)
transformAnyCompilationUnitSource Codeshared actual default Result transformAnyCompilationUnit(AnyCompilationUnit that)
transformAnyFunctionSource Codeshared actual default Result transformAnyFunction(AnyFunction that)
transformAnyInterfaceSource Codeshared actual default Result transformAnyInterface(AnyInterface that)
transformAnyInterfaceDefinitionSource Codeshared actual default Result transformAnyInterfaceDefinition(AnyInterfaceDefinition that)
transformAnyMemberOperatorSource Codeshared actual default Result transformAnyMemberOperator(AnyMemberOperator that)
transformAnySpecifierSource Codeshared actual default Result transformAnySpecifier(AnySpecifier that)
transformAnyValueSource Codeshared actual default Result transformAnyValue(AnyValue that)
transformArgumentsSource Codeshared actual default Result transformArguments(Arguments that)
transformArithmeticAssignmentOperationSource Codeshared actual default Result transformArithmeticAssignmentOperation(ArithmeticAssignmentOperation that)
transformArithmeticOperationSource Codeshared actual default Result transformArithmeticOperation(ArithmeticOperation that)
transformAssigningExpressionSource Codeshared actual default Result transformAssigningExpression(AssigningExpression that)
transformAssignmentOperationSource Codeshared actual default Result transformAssignmentOperation(AssignmentOperation that)
transformAtomSource Codeshared actual default Result transformAtom(Atom that)
transformBinaryOperationSource Codeshared actual default Result transformBinaryOperation(BinaryOperation that)
transformBodySource Codeshared actual default Result transformBody(Body that)
transformBoundSource Codeshared actual default Result transformBound(Bound that)
transformCaseItemSource Codeshared actual default Result transformCaseItem(CaseItem that)
transformClassOrInterfaceSource Codeshared actual default Result transformClassOrInterface(ClassOrInterface that)
transformComparingExpressionSource Codeshared actual default Result transformComparingExpression(ComparingExpression that)
transformComparisonOperationSource Codeshared actual default Result transformComparisonOperation(ComparisonOperation that)
transformComprehensionClauseSource Codeshared actual default Result transformComprehensionClause(ComprehensionClause that)
transformConditionSource Codeshared actual default Result transformCondition(Condition that)
transformConjoiningExpressionSource Codeshared actual default Result transformConjoiningExpression(ConjoiningExpression that)
transformControlStructureSource Codeshared actual default Result transformControlStructure(ControlStructure that)
transformDecSource Codeshared actual default Result transformDec(Dec that)
transformDeclarationSource Codeshared actual default Result transformDeclaration(Declaration that)
transformDefaultedParameterSource Codeshared actual default Result transformDefaultedParameter(DefaultedParameter that)
transformDirectiveSource Codeshared actual default Result transformDirective(Directive that)
transformDisjoiningExpressionSource Codeshared actual default Result transformDisjoiningExpression(DisjoiningExpression that)
transformEqualityOperationSource Codeshared actual default Result transformEqualityOperation(EqualityOperation that)
transformEquatingExpressionSource Codeshared actual default Result transformEquatingExpression(EquatingExpression that)
transformExistsNonemptyExpressionSource Codeshared actual default Result transformExistsNonemptyExpression(ExistsNonemptyExpression that)
transformExistsOrNonemptyConditionSource Codeshared actual default Result transformExistsOrNonemptyCondition(ExistsOrNonemptyCondition that)
transformExponentiatingExpressionSource Codeshared actual default Result transformExponentiatingExpression(ExponentiatingExpression that)
transformExpressionSource Codeshared actual default Result transformExpression(Expression that)
transformExpressionIshSource Codeshared actual default Result transformExpressionIsh(ExpressionIsh that)
transformExpressionStatementSource Codeshared actual default Result transformExpressionStatement(ExpressionStatement that)
transformForIteratorSource Codeshared actual default Result transformForIterator(ForIterator that)
transformIdentifierSource Codeshared actual default Result transformIdentifier(Identifier that)
transformImportAliasSource Codeshared actual default Result transformImportAlias(ImportAlias that)
transformImportElementSource Codeshared actual default Result transformImportElement(ImportElement that)
transformInitialComprehensionClauseSource Codeshared actual default Result transformInitialComprehensionClause(InitialComprehensionClause that)
transformInlineDefinitionArgumentSource Codeshared actual default Result transformInlineDefinitionArgument(InlineDefinitionArgument that)
transformIntersectingExpressionSource Codeshared actual default Result transformIntersectingExpression(IntersectingExpression that)
transformInvertingExpressionSource Codeshared actual default Result transformInvertingExpression(InvertingExpression that)
transformLiteralSource Codeshared actual default Result transformLiteral(Literal that)
transformLocalModifierSource Codeshared actual default Result transformLocalModifier(LocalModifier that)
transformLogicalAssignmentOperationSource Codeshared actual default Result transformLogicalAssignmentOperation(LogicalAssignmentOperation that)
transformLogicalOperationSource Codeshared actual default Result transformLogicalOperation(LogicalOperation that)
transformMainTypeSource Codeshared actual default Result transformMainType(MainType that)
transformMemberDecSource Codeshared actual default Result transformMemberDec(MemberDec that)
transformMetaSource Codeshared actual default Result transformMeta(Meta that)
transformMetaQualifierSource Codeshared actual default Result transformMetaQualifier(MetaQualifier that)
transformModifierSource Codeshared actual default Result transformModifier(Modifier that)
transformMultiplyingExpressionSource Codeshared actual default Result transformMultiplyingExpression(MultiplyingExpression that)
transformNameWithTypeArgumentsSource Codeshared actual default Result transformNameWithTypeArguments(NameWithTypeArguments that)
transformNamedArgumentSource Codeshared actual default Result transformNamedArgument(NamedArgument that)
transformNegatingExpressionSource Codeshared actual default Result transformNegatingExpression(NegatingExpression that)
transformNodeSource Codeshared actual default Result transformNode(Node that)
transformOperationSource Codeshared actual default Result transformOperation(Operation that)
transformParameterSource Codeshared actual default Result transformParameter(Parameter that)
transformPostfixOperationSource Codeshared actual default Result transformPostfixOperation(PostfixOperation that)
transformPrePostfixingExpressionSource Codeshared actual default Result transformPrePostfixingExpression(PrePostfixingExpression that)
transformPrefixOperationSource Codeshared actual default Result transformPrefixOperation(PrefixOperation that)
transformPrimarySource Codeshared actual default Result transformPrimary(Primary that)
transformPrimaryTypeSource Codeshared actual default Result transformPrimaryType(PrimaryType that)
transformRangeSubscriptSource Codeshared actual default Result transformRangeSubscript(RangeSubscript that)
transformRequiredParameterSource Codeshared actual default Result transformRequiredParameter(RequiredParameter that)
transformScalingExpressionSource Codeshared actual default Result transformScalingExpression(ScalingExpression that)
transformSelfReferenceSource Codeshared actual default Result transformSelfReference(SelfReference that)
transformSetAssignmentOperationSource Codeshared actual default Result transformSetAssignmentOperation(SetAssignmentOperation that)
transformSetOperationSource Codeshared actual default Result transformSetOperation(SetOperation that)
transformSimpleTypeSource Codeshared actual default Result transformSimpleType(SimpleType that)
transformSpanningExpressionSource Codeshared actual default Result transformSpanningExpression(SpanningExpression that)
transformSpecificationSource Codeshared actual default Result transformSpecification(Specification that)
transformStatementSource Codeshared actual default Result transformStatement(Statement that)
transformSubscriptSource Codeshared actual default Result transformSubscript(Subscript that)
transformThenElseExpressionSource Codeshared actual default Result transformThenElseExpression(ThenElseExpression that)
transformTypeSource Codeshared actual default Result transformType(Type that)
transformTypeDecSource Codeshared actual default Result transformTypeDec(TypeDec that)
transformTypeDeclarationSource Codeshared actual default Result transformTypeDeclaration(TypeDeclaration that)
transformTypeIshSource Codeshared actual default Result transformTypeIsh(TypeIsh that)
transformTypeModifierSource Codeshared actual default Result transformTypeModifier(TypeModifier that)
transformTypedDeclarationSource Codeshared actual default Result transformTypedDeclaration(TypedDeclaration that)
transformUnaryArithmeticOperationSource Codeshared actual default Result transformUnaryArithmeticOperation(UnaryArithmeticOperation that)
transformUnaryIshOperationSource Codeshared actual default Result transformUnaryIshOperation(UnaryIshOperation that)
transformUnaryOperationSource Codeshared actual default Result transformUnaryOperation(UnaryOperation that)
transformUnaryTypeOperationSource Codeshared actual default Result transformUnaryTypeOperation(UnaryTypeOperation that)
transformUnionableTypeSource Codeshared actual default Result transformUnionableType(UnionableType that)
transformUnioningExpressionSource Codeshared actual default Result transformUnioningExpression(UnioningExpression that)
transformValueExpressionSource Codeshared actual default Result transformValueExpression(ValueExpression that)
transformVariableSource Codeshared actual default Result transformVariable(Variable that)
transformVarianceSource Codeshared actual default Result transformVariance(Variance that)
Inherited Methods
Methods inherited from: Object
Methods inherited from: NarrowingTransformer<Result>
Methods inherited from: Transformer<Result>
Transformer.transformAddAssignmentOperation(), Transformer.transformAliasDec(), Transformer.transformAndAssignmentOperation(), Transformer.transformAndOperation(), Transformer.transformAnnotation(), Transformer.transformAnnotations(), Transformer.transformAnonymousArgument(), Transformer.transformAnyClass(), Transformer.transformAnyCompilationUnit(), Transformer.transformAnyFunction(), Transformer.transformAnyInterface(), Transformer.transformAnyInterfaceDefinition(), Transformer.transformAnyMemberOperator(), Transformer.transformAnySpecifier(), Transformer.transformAnyValue(), Transformer.transformArgumentList(), Transformer.transformArguments(), Transformer.transformArithmeticAssignmentOperation(), Transformer.transformArithmeticOperation(), Transformer.transformAssertion(), Transformer.transformAssignOperation(), Transformer.transformAssignmentOperation(), Transformer.transformAssignmentStatement(), Transformer.transformAtom(), Transformer.transformBaseExpression(), Transformer.transformBaseMeta(), Transformer.transformBaseType(), Transformer.transformBinaryOperation(), Transformer.transformBlock(), Transformer.transformBody(), Transformer.transformBooleanCondition(), Transformer.transformBound(), Transformer.transformBreak(), Transformer.transformCallableParameter(), Transformer.transformCallableType(), Transformer.transformCaseClause(), Transformer.transformCaseItem(), Transformer.transformCaseTypes(), Transformer.transformCatchClause(), Transformer.transformCharacterLiteral(), Transformer.transformClassAliasDefinition(), Transformer.transformClassBody(), Transformer.transformClassDec(), Transformer.transformClassDefinition(), Transformer.transformClassInstantiation(), Transformer.transformClassOrInterface(), Transformer.transformClassSpecifier(), Transformer.transformClosedBound(), Transformer.transformCompareOperation(), Transformer.transformComparisonOperation(), Transformer.transformCompilationUnit(), Transformer.transformComplementAssignmentOperation(), Transformer.transformComplementOperation(), Transformer.transformComprehension(), Transformer.transformComprehensionClause(), Transformer.transformCondition(), Transformer.transformConditions(), Transformer.transformContinue(), Transformer.transformControlStructure(), Transformer.transformDec(), Transformer.transformDecQualifier(), Transformer.transformDeclaration(), Transformer.transformDefaultedCallableParameter(), Transformer.transformDefaultedParameter(), Transformer.transformDefaultedParameterReference(), Transformer.transformDefaultedType(), Transformer.transformDefaultedValueParameter(), Transformer.transformDifferenceOperation(), Transformer.transformDirective(), Transformer.transformDivideAssignmentOperation(), Transformer.transformDynamicBlock(), Transformer.transformDynamicInterfaceDefinition(), Transformer.transformDynamicModifier(), Transformer.transformDynamicValue(), Transformer.transformElementOrSubrangeExpression(), Transformer.transformElseCaseClause(), Transformer.transformElseClause(), Transformer.transformElseOperation(), Transformer.transformEntryOperation(), Transformer.transformEntryType(), Transformer.transformEqualOperation(), Transformer.transformEqualityOperation(), Transformer.transformExistsCondition(), Transformer.transformExistsOperation(), Transformer.transformExistsOrNonemptyCondition(), Transformer.transformExponentiationOperation(), Transformer.transformExpression(), Transformer.transformExpressionComprehensionClause(), Transformer.transformExpressionIsh(), Transformer.transformExpressionStatement(), Transformer.transformExtendedType(), Transformer.transformFailClause(), Transformer.transformFinallyClause(), Transformer.transformFloatLiteral(), Transformer.transformForClause(), Transformer.transformForComprehensionClause(), Transformer.transformForFail(), Transformer.transformForIterator(), Transformer.transformFullPackageName(), Transformer.transformFunctionArgument(), Transformer.transformFunctionDec(), Transformer.transformFunctionDeclaration(), Transformer.transformFunctionDefinition(), Transformer.transformFunctionExpression(), Transformer.transformFunctionModifier(), Transformer.transformFunctionShortcutDefinition(), Transformer.transformGivenDec(), Transformer.transformGroupedExpression(), Transformer.transformGroupedType(), Transformer.transformIdenticalOperation(), Transformer.transformIdentifier(), Transformer.transformIdentityOperation(), Transformer.transformIfClause(), Transformer.transformIfComprehensionClause(), Transformer.transformIfElse(), Transformer.transformImport(), Transformer.transformImportAlias(), Transformer.transformImportElement(), Transformer.transformImportElements(), Transformer.transformImportFunctionValueAlias(), Transformer.transformImportFunctionValueElement(), Transformer.transformImportTypeAlias(), Transformer.transformImportTypeElement(), Transformer.transformImportWildcard(), Transformer.transformInModifier(), Transformer.transformInOperation(), Transformer.transformInitialComprehensionClause(), Transformer.transformInlineDefinitionArgument(), Transformer.transformIntegerLiteral(), Transformer.transformInterfaceAliasDefinition(), Transformer.transformInterfaceBody(), Transformer.transformInterfaceDec(), Transformer.transformInterfaceDefinition(), Transformer.transformIntersectAssignmentOperation(), Transformer.transformIntersectionOperation(), Transformer.transformIntersectionType(), Transformer.transformInvocation(), Transformer.transformInvocationStatement(), Transformer.transformIsCase(), Transformer.transformIsCondition(), Transformer.transformIsOperation(), Transformer.transformIterable(), Transformer.transformIterableType(), Transformer.transformKeySubscript(), Transformer.transformKeyValueIterator(), Transformer.transformLIdentifier(), Transformer.transformLargeAsOperation(), Transformer.transformLargerOperation(), Transformer.transformLazySpecification(), Transformer.transformLazySpecifier(), Transformer.transformLiteral(), Transformer.transformLocalModifier(), Transformer.transformLogicalAssignmentOperation(), Transformer.transformLogicalOperation(), Transformer.transformMainType(), Transformer.transformMatchCase(), Transformer.transformMeasureOperation(), Transformer.transformMeasureSubscript(), Transformer.transformMemberDec(), Transformer.transformMemberMeta(), Transformer.transformMemberNameWithTypeArguments(), Transformer.transformMemberOperator(), Transformer.transformMeta(), Transformer.transformModifier(), Transformer.transformModuleBody(), Transformer.transformModuleCompilationUnit(), Transformer.transformModuleDec(), Transformer.transformModuleDescriptor(), Transformer.transformModuleImport(), Transformer.transformMultiplyAssignmentOperation(), Transformer.transformNameWithTypeArguments(), Transformer.transformNamedArgument(), Transformer.transformNamedArguments(), Transformer.transformNegationOperation(), Transformer.transformNode(), Transformer.transformNonemptyCondition(), Transformer.transformNonemptyOperation(), Transformer.transformNotEqualOperation(), Transformer.transformNotOperation(), Transformer.transformObjectArgument(), Transformer.transformObjectDefinition(), Transformer.transformOfOperation(), Transformer.transformOpenBound(), Transformer.transformOperation(), Transformer.transformOptionalType(), Transformer.transformOrAssignmentOperation(), Transformer.transformOrOperation(), Transformer.transformOutModifier(), Transformer.transformOuter(), Transformer.transformPackage(), Transformer.transformPackageCompilationUnit(), Transformer.transformPackageDec(), Transformer.transformPackageDescriptor(), Transformer.transformParameter(), Transformer.transformParameterReference(), Transformer.transformParameters(), Transformer.transformPositionalArguments(), Transformer.transformPostfixDecrementOperation(), Transformer.transformPostfixIncrementOperation(), Transformer.transformPostfixOperation(), Transformer.transformPrefixDecrementOperation(), Transformer.transformPrefixIncrementOperation(), Transformer.transformPrefixOperation(), Transformer.transformPrefixPostfixStatement(), Transformer.transformPrimary(), Transformer.transformPrimaryType(), Transformer.transformProductOperation(), Transformer.transformQualifiedExpression(), Transformer.transformQualifiedType(), Transformer.transformQuotientOperation(), Transformer.transformRangeSubscript(), Transformer.transformRemainderAssignmentOperation(), Transformer.transformRemainderOperation(), Transformer.transformRequiredParameter(), Transformer.transformResource(), Transformer.transformResources(), Transformer.transformReturn(), Transformer.transformSafeMemberOperator(), Transformer.transformSatisfiedTypes(), Transformer.transformScaleOperation(), Transformer.transformSelfReference(), Transformer.transformSequentialType(), Transformer.transformSetAssignmentOperation(), Transformer.transformSetOperation(), Transformer.transformSimpleType(), Transformer.transformSmallAsOperation(), Transformer.transformSmallerOperation(), Transformer.transformSpanFromSubscript(), Transformer.transformSpanOperation(), Transformer.transformSpanSubscript(), Transformer.transformSpanToSubscript(), Transformer.transformSpecification(), Transformer.transformSpecifiedArgument(), Transformer.transformSpecifiedVariable(), Transformer.transformSpecifier(), Transformer.transformSpreadArgument(), Transformer.transformSpreadMemberOperator(), Transformer.transformStatement(), Transformer.transformStringLiteral(), Transformer.transformStringTemplate(), Transformer.transformSubscript(), Transformer.transformSubtractAssignmentOperation(), Transformer.transformSumOperation(), Transformer.transformSuper(), Transformer.transformSwitchCaseElse(), Transformer.transformSwitchCases(), Transformer.transformSwitchClause(), Transformer.transformThenOperation(), Transformer.transformThis(), Transformer.transformThrow(), Transformer.transformTryCatchFinally(), Transformer.transformTryClause(), Transformer.transformTuple(), Transformer.transformTupleType(), Transformer.transformType(), Transformer.transformTypeAliasDefinition(), Transformer.transformTypeArgument(), Transformer.transformTypeArguments(), Transformer.transformTypeConstraint(), Transformer.transformTypeDec(), Transformer.transformTypeDeclaration(), Transformer.transformTypeIsh(), Transformer.transformTypeList(), Transformer.transformTypeMeta(), Transformer.transformTypeModifier(), Transformer.transformTypeNameWithTypeArguments(), Transformer.transformTypeParameter(), Transformer.transformTypeParameters(), Transformer.transformTypeSpecifier(), Transformer.transformTypedDeclaration(), Transformer.transformTypedVariable(), Transformer.transformUIdentifier(), Transformer.transformUnaryArithmeticOperation(), Transformer.transformUnaryIshOperation(), Transformer.transformUnaryOperation(), Transformer.transformUnaryTypeOperation(), Transformer.transformUnionAssignmentOperation(), Transformer.transformUnionOperation(), Transformer.transformUnionType(), Transformer.transformUnionableType(), Transformer.transformUnspecifiedVariable(), Transformer.transformValueArgument(), Transformer.transformValueDec(), Transformer.transformValueDeclaration(), Transformer.transformValueDefinition(), Transformer.transformValueExpression(), Transformer.transformValueGetterDefinition(), Transformer.transformValueIterator(), Transformer.transformValueModifier(), Transformer.transformValueParameter(), Transformer.transformValueSetterDefinition(), Transformer.transformValueSpecification(), Transformer.transformVariable(), Transformer.transformVariadicParameter(), Transformer.transformVariadicType(), Transformer.transformVariance(), Transformer.transformVoidModifier(), Transformer.transformWhile(), Transformer.transformWithinOperation()