module Mint::Helpers

Overview

This module contains helper functions which are used in many parts of the process (parser, compiler, type checker, ect...).

Direct including types

Defined in:

helpers.cr

Instance Method Summary

Instance Method Detail

def owns?(node : Ast::Node, parent : Ast::Node) : Bool #

[View source]
def static?(nodes : Array(Ast::Node)) : Bool #

[View source]
def static?(node : Ast::Node | Nil) : Bool #

[View source]
def static_value(nodes : Array(Ast::Node), separator : Char | Nil = nil) : String #

[View source]
def static_value(node : Ast::Node | Nil) : String | Nil #

[View source]