class KotlinParser::ClassModel

Overview

Class to model parsed classes

Defined in:

miniparsers/kotlin.cr

Constructors

Instance Method Summary

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)) #

[View source]

Instance Method Detail

def annotations : Hash(String, AnnotationModel) #

[View source]
def annotations=(annotations : Hash(String, AnnotationModel)) #

[View source]
def enum_class? #

Check if the class is an enum class


[View source]
def fields : Hash(String, FieldModel) #

[View source]
def fields=(fields : Hash(String, FieldModel)) #

[View source]
def methods : Hash(String, MethodModel) #

[View source]
def methods=(methods : Hash(String, MethodModel)) #

[View source]
def modifiers : Array(String) #

[View source]
def modifiers=(modifiers : Array(String)) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def tokens : Array(Token) #

[View source]
def tokens=(tokens : Array(Token)) #

[View source]