class StrictYAML::Location

Defined in:

strict-yaml/node.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class Object

to_strict_yaml(io : IO) : Nil
to_strict_yaml : String
to_strict_yaml

Class methods inherited from class Object

from_strict_yaml(source : String)
from_strict_yaml(value : StrictYAML::Any)
from_strict_yaml

Constructor Detail

def self.new(value : StaticArray(Int32, 4)) #

[View source]

Class Method Detail

def self.[](line : Int32, column : Int32) #

[View source]

Instance Method Detail

def &(other : Location) : Location #

[View source]
def end : Tuple(Int32, Int32) #

[View source]
def end_at(line : Int32, column : Int32) : self #

[View source]
def pretty_print(pp : PrettyPrint) : Nil #
Description copied from class Object

Pretty prints self into the given printer.

By default appends a text that is the result of invoking #inspect on self. Subclasses should override for custom pretty printing.


[View source]
def start : Tuple(Int32, Int32) #

[View source]
def start_at(line : Int32, column : Int32) : self #

[View source]