bulloak-syntax 0.9.2

A Solidity test generator based on the Branching Tree Technique.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![allow(missing_docs, unreachable_pub, unused)]
use crate::span::{Position, Span};

#[derive(Clone, Debug)]
pub(crate) struct TestError<K> {
    pub(crate) span: Span,
    pub(crate) kind: K,
}

pub(crate) fn p(offset: usize, line: usize, column: usize) -> Position {
    Position::new(offset, line, column)
}

pub(crate) fn s(start: Position, end: Position) -> Span {
    Span::new(start, end)
}