abstract class Magiika::Node
- Magiika::Node
- Reference
- Object
Direct Known Subclasses
- Magiika::Node::Assign
- Magiika::Node::BinaryExpr
- Magiika::Node::Call
- Magiika::Node::CashPrint
- Magiika::Node::CashPrintStringify
- Magiika::Node::Chain
- Magiika::Node::Control
- Magiika::Node::DefCls
- Magiika::Node::DefFn
- Magiika::Node::DefineVar
- Magiika::Node::Desc
- Magiika::Node::FnArg
- Magiika::Node::FnParam
- Magiika::Node::IfElse
- Magiika::Node::Resolver
- Magiika::Node::Retrieve
- Magiika::Node::Stmts
- Magiika::Node::UnaryExpr
- Magiika::TypeNode
Defined in:
node/node.crConstructors
Class Method Summary
-
.to_s : String
Returns a nicely readable and concise string representation of this object, typically intended for users.
- .to_s_internal : String
- .type_name : String
Instance Method Summary
- #eval(scope : Scope) : Node
- #eval_bool(scope : Scope) : ::Bool
- #position : Position
- #position! : Position
- #position? : Position | ::Nil
-
#to_s : String
Returns a nicely readable and concise string representation of this object, typically intended for users.
- #to_s_internal : String
- #type_name : String
Constructor Detail
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
.
Instance Method Detail
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
.