sv-parser/src/parser/specify_section/specify_path_delays.rs
2019-07-12 15:18:56 +09:00

20 lines
510 B
Rust

use crate::ast::*;
use crate::parser::*;
//use nom::branch::*;
//use nom::combinator::*;
use nom::error::*;
use nom::{Err, IResult};
// -----------------------------------------------------------------------------
#[derive(Debug, Node)]
pub struct EdgeIdentifier<'a> {
pub nodes: (Identifier<'a>,),
}
// -----------------------------------------------------------------------------
pub fn edge_identifier(s: Span) -> IResult<Span, EdgeIdentifier> {
Err(Err::Error(make_error(s, ErrorKind::Fix)))
}