struct Pars3k::ParseContext

Overview

A struct containing information about the current Parser's context. Used to chain Parsers together and retain input position.

Defined in:

pars3k.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(parsing : String, position : Int32 = 0) #

[View source]

Instance Method Detail

def debug(text : String) #

[View source]
def next(offset = 1) #

[View source]
def parsing : String #

[View source]
def position : Int32 #

[View source]
def set_position(pos : Int32) #

[View source]