Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
73 lines (51 sloc) 1.81 KB
use v6;
class TestML::Document { ... }
class TestML::Document::Meta { ... }
class TestML::Document::Tests { ... }
class TestML::Expression { ... }
class TestML::Assertion { ... }
class TestML::Document::Data { ... }
#-----------------------------------------------------------------------------
class TestML::Document;
has $.meta = TestML::Document::Meta.new;
has $.test = TestML::Document::Tests.new;
has $.data = TestML::Document::Data.new;
#-----------------------------------------------------------------------------
class TestML::Document::Meta;
has $.data = {
TestML => '',
Data => [],
Title => '',
Plan => 0,
BlockMarker => '===',
PointMarker => '---',
};
#-----------------------------------------------------------------------------
class TestML::Document::Tests;
has $.statements = [];
#-----------------------------------------------------------------------------
class TestML::Statement;
has $.expression = TestML::Expression.new;
has $.assertion is rw;
has $.points = [];
#-----------------------------------------------------------------------------
class TestML::Expression;
has $.transforms = [];
#-----------------------------------------------------------------------------
class TestML::Assertion;
has $.name is rw;
has $.expression = TestML::Expression.new;
#-----------------------------------------------------------------------------
class TestML::Transform;
has $.name;
has $.args;
#-----------------------------------------------------------------------------
class TestML::String is TestML::Transform;
has $.value;
#-----------------------------------------------------------------------------
class TestML::Document::Data;
has $.blocks = [];
#-----------------------------------------------------------------------------
class TestML::Block;
has $.label is rw = '';
has $.points = {};
Jump to Line
Something went wrong with that request. Please try again.