struct Mint::Compiler2::Signal

Overview

Represents a Preact signal (https://preactjs.com/guide/v10/signals/). Signals are treated differently from vaiables because we will need to access them using the .value accessor.

Defined in:

compiler2.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(value : Ast::Node) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(value _value = @value) #

[View source]
def value : Ast::Node #