class KotlinParser::FieldModel

Overview

Class to model parsed fields

Defined in:

miniparsers/kotlin.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(access_modifier : String, val_or_var : String, type : String, name : String, init_value : String) #

[View source]

Instance Method Detail

def access_modifier : String #

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

[View source]
def has_getter=(value : Bool) #

[View source]
def has_getter? : Bool #

[View source]
def has_setter=(value : Bool) #

[View source]
def has_setter? : Bool #

[View source]
def init_value : String #

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

[View source]
def name : String #

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

[View source]
def to_s #
Description copied from class Object

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.


[View source]
def type : String #

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

[View source]
def val_or_var : String #

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

[View source]