abstract class Magiika::Node

Direct Known Subclasses

Defined in:

node/node.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(position : Position | ::Nil = nil) #

[View source]

Class Method Detail

def self.to_s : String #
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 self.to_s_internal : String #

[View source]
def self.type_name : String #

[View source]

Instance Method Detail

def eval(scope : Scope) : Node #

[View source]
def eval_bool(scope : Scope) : ::Bool #

[View source]
def position : Position #

[View source]
def position! : Position #

[View source]
def position? : Position | ::Nil #

[View source]
def to_s : String #
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 to_s_internal : String #

[View source]
def type_name : String #

[View source]