class SBAN::Diagnostic
- SBAN::Diagnostic
- Reference
- Object
Overview
Reads a SBAN input into a diagnostic string.
This consumes the IO and is mostly useful to tests again the example
provided in the RFC and ensuring a correct functioning of the SBAN::Lexer
.
Defined in:
sban/diagnostic.crConstructors
Class Method Summary
Instance Method Summary
- #pretty(pp)
-
#to_s : String
Reads the content of the IO and prints out a diagnostic string represation of the input.
Instance methods inherited from class Object
to_sban(io : IO)to_sban(encoder : SBAN::Encoder)
to_sban : Bytes to_sban
Class methods inherited from class Object
from_sban(string_or_io)
from_sban
Constructor Detail
Class Method Detail
Instance Method Detail
def to_s : String
#
Reads the content of the IO and prints out a diagnostic string represation of the input.