class
Cruml::Transformer
- Cruml::Transformer
- Crystal::Transformer
- Reference
- Object
Overview
Transformer that uses the Crystal AST for extracting the information about:
- Classes (normal, abstract, interfaces)
- Modules
- Methods (with visibility modifiers)
- Instance variables
- Class variables
- Inheritance relationships
- Module inclusions
Included Modules
Defined in:
transformer.crConstructors
Instance Method Summary
- #registry : Cruml::Services::RegistryService
-
#transform(node : Crystal::ModuleDef) : Crystal::ASTNode
Transforms a module definition node
-
#transform(node : Crystal::ClassDef) : Crystal::ASTNode
Transforms a class definition node
-
#transform(node : Crystal::VisibilityModifier) : Crystal::ASTNode
Transforms a visibility modifier node (protected/private methods)
-
#transform(node : Crystal::Expressions) : Crystal::ASTNode
Transforms an expressions node
-
#transform(node : Crystal::InstanceVar) : Crystal::ASTNode
Transforms an instance variable node
-
#transform(node : Crystal::Assign) : Crystal::ASTNode
Transforms an assignment node
-
#transform(node : Crystal::TypeDeclaration) : Crystal::ASTNode
Transforms a type declaration node
-
#transform(node : Crystal::Def) : Crystal::ASTNode
Transforms a method definition node
Constructor Detail
Instance Method Detail
def transform(node : Crystal::VisibilityModifier) : Crystal::ASTNode
#
Transforms a visibility modifier node (protected/private methods)
def transform(node : Crystal::InstanceVar) : Crystal::ASTNode
#
Transforms an instance variable node
def transform(node : Crystal::TypeDeclaration) : Crystal::ASTNode
#
Transforms a type declaration node