class KotlinParser::ClassModel
- KotlinParser::ClassModel
- Reference
- Object
Overview
Class to model parsed classes
Defined in:
miniparsers/kotlin.crConstructors
Instance Method Summary
- #annotations : Hash(String, AnnotationModel)
- #annotations=(annotations : Hash(String, AnnotationModel))
-
#enum_class?
Check if the class is an enum class
- #fields : Hash(String, FieldModel)
- #fields=(fields : Hash(String, FieldModel))
- #methods : Hash(String, MethodModel)
- #methods=(methods : Hash(String, MethodModel))
- #modifiers : Array(String)
- #modifiers=(modifiers : Array(String))
- #name : String
- #name=(name : String)
- #tokens : Array(Token)
- #tokens=(tokens : Array(Token))
Constructor Detail
def self.new(modifiers : Array(String), annotations : Hash(String, KotlinParser::AnnotationModel), name : String, fields : Hash(String, KotlinParser::FieldModel), methods : Hash(String, KotlinParser::MethodModel), tokens : Array(Token))
#