struct Sthx::Apply::Ok

Overview

Represents a successful rule application (see Sthx::Rule#apply).

Defined in:

synthax/apply.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(source : String, tree : Tree) #

[View source]

Instance Method Detail

def source : String #

Returns the source string that was used during application.


[View source]
def tree : Tree #

Returns the resulting Tree object.


[View source]