abstract class Magiika::Node::Desc

Overview

Descriptor

Defined in:

node/meta/desc/desc.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class Magiika::Node

eval(scope : Scope) : Node eval, eval_bool(scope : Scope) : ::Bool eval_bool, position : Position position, position! : Position position!, position? : Position | ::Nil position?, to_s : String to_s, to_s_internal : String to_s_internal, type_name : String type_name

Constructor methods inherited from class Magiika::Node

new(position : Position | ::Nil = nil) new

Class methods inherited from class Magiika::Node

to_s : String to_s, to_s_internal : String to_s_internal, type_name : String type_name

Constructor Detail

def self.new(name : String, properties : Hash(String, Node) | ::Nil = nil) #

[View source]

Class Method Detail

def self.type_name : String #

Descriptor


[View source]

Instance Method Detail

def []?(ident : String) : Node | ::Nil #

[View source]
def has_properties? : ::Bool #

[View source]
def name : String #

[View source]
abstract def validate(node : Node) : MatchResult #

[View source]
abstract def validate!(node : Node) : MatchResult #

[View source]