Skip to content

class Crystal::Transformer
inherits Reference

Direct known subclasses

Crystal::CleanupTransformer Crystal::ExpandTransformer Crystal::MacroInterpreter::ReplaceBlockVarsTransformer Crystal::Normalizer Crystal::Playground::AgentInstrumentorTransformer Crystal::Playground::AgentInstrumentorTransformer::TypeBodyTransformer

Methods

#after_transform(node)

View source

#before_transform(node)

View source

#transform(node : ExternalVar)

View source

#transform(node : EnumDef)

View source

#transform(node : CStructOrUnionDef)

View source

#transform(node : TypeDef)

View source

#transform(node : FunDef)

View source

#transform(node : LibDef)

View source

#transform(node : Self)

View source

#transform(node : Path)

View source

#transform(node : Require)

View source

#transform(node : Global)

View source

#transform(node : ClassVar)

View source

#transform(node : InstanceVar)

View source

#transform(node : Var)

View source

#transform(node : RegexLiteral)

View source

#transform(node : SymbolLiteral)

View source

#transform(node : StringLiteral)

View source

#transform(node : CharLiteral)

View source

#transform(node : NumberLiteral)

View source

#transform(node : BoolLiteral)

View source

#transform(node : NilLiteral)

View source

#transform(node : Nop)

View source

#transform(node : Out)

View source

#transform(node : TypeOf)

View source

#transform(node : MagicConstant)

View source

#transform(node : FileNode)

View source

#transform(node : AsmOperand)

View source

#transform(node : Asm)

View source

#transform(node : Underscore)

View source

#transform(node : MacroVar)

View source

#transform(node : MacroFor)

View source

#transform(node : MacroIf)

View source

#transform(node : MacroVerbatim)

View source

#transform(node : MacroLiteral)

View source

#transform(node : MacroExpression)

View source

#transform(node : Annotation)

View source

#transform(node : VisibilityModifier)

View source

#transform(node : DoubleSplat)

View source

#transform(node : Splat)

View source

#transform(node : Alias)

View source

#transform(node : UninitializedVar)

View source

#transform(node : TypeDeclaration)

View source

#transform(node : NilableCast)

View source

#transform(node : Cast)

View source

#transform(node : TupleLiteral)

View source

#transform(node : Not)

View source

#transform(node : OpAssign)

View source

#transform(node : Assign)

View source

#transform(node : Case)

View source

#transform(node : RespondsTo)

View source

#transform(node : IsA)

View source

#transform(node : ReadInstanceVar)

View source

#transform(node : OffsetOf)

View source

#transform(node : InstanceSizeOf)

View source

#transform(node : SizeOf)

View source

#transform(node : PointerOf)

View source

#transform(node : Macro)

View source

#transform(node : Def)

View source

#transform(node : MultiAssign)

View source

#transform(node : Unless)

View source

#transform(node : If)

View source

#transform(node : NamedTupleLiteral)

View source

#transform(node : HashLiteral)

View source

#transform(node : ArrayLiteral)

View source

#transform(node : StringInterpolation)

View source

#transform(node : Or)

View source

#transform(node : And)

View source

#transform(node : NamedArgument)

View source

#transform(node : Call)

View source

#transform(node : Expressions)

View source

#transform(node : When)

View source

#transform(node : Select)

View source

#transform(node : RangeLiteral)

View source

#transform(node : Extend)

View source

#transform(node : Include)

View source

#transform(node : Yield)

View source

#transform(node : Next)

View source

#transform(node : Break)

View source

#transform(node : Return)

View source

#transform(node : ProcPointer)

View source

#transform(node : ProcLiteral)

View source

#transform(node : Block)

View source

#transform(node : ProcNotation)

View source

#transform(node : Arg)

View source

#transform(node : Metaclass)

View source

#transform(node : Union)

View source

#transform(node : Rescue)

View source

#transform(node : ExceptionHandler)

View source

#transform(node : Generic)

View source

#transform(node : Until)

View source

#transform(node : While)

View source

#transform(node : AnnotationDef)

View source

#transform(node : ModuleDef)

View source

#transform(node : ClassDef)

View source

#transform(node : ImplicitObj)

View source

#transform_many(exps)

View source