class Lingo::Context

Defined in:

lingo/context.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(remainder : String = "", root : Nil | Lingo::Node = nil.as(Lingo::Node | ::Nil), column : Int32 = 1, line : Int32 = 1) #

[View source]

Instance Method Detail

def column : Int32 #

[View source]
def column=(column : Int32) #

[View source]
def consume(matched_string) #

[View source]
def current_node #

[View source]
def current_node=(current_node) #

[View source]
def fork(root = nil) #

[View source]
def join(other_context) #

[View source]
def line : Int32 #

[View source]
def line=(line : Int32) #

[View source]
def push_node(parsed_node) #

[View source]
def remainder : String #

[View source]
def remainder=(remainder : String) #

[View source]
def root : Lingo::Node? #

[View source]
def root=(root : Nil | Lingo::Node) #

[View source]