integer

convenience function to create an integer parser

Parser!(T)
integer
(
T
)
()

Examples

unittests for integer

auto parser = integer!(immutable(char));
auto res = parser.parse("123");
res.success.should == true;
res.results[0].should == 123;

Meta