class

Dragonstone::AST::ClassDefinition

Inherits Dragonstone::AST::Node < Reference < Object

Constructors

new(name : String, body : NodeArray, superclass : String | Nil = nil, is_abstract : Bool = false, annotations : Array(Annotation) = [] of Annotation, visibility : Symbol = :public, location : Location | Nil = nil)
Source

Instance methods

abstract
Source
abstract?
Source
accept(visitor)
Source
annotations
Source
body
Source
name
Source
superclass
Source
to_source
Source
visibility
Source