ptx_parser/parser/instruction/
brkpt.rs1#![allow(unused)]
6
7use crate::lexer::PtxToken;
8use crate::parser::{PtxParseError, PtxParser, PtxTokenStream, Span};
9use crate::r#type::common::*;
10
11pub mod section_0 {
12 use super::*;
13 use crate::r#type::instruction::brkpt::section_0::*;
14
15 impl PtxParser for Brkpt {
16 fn parse(stream: &mut PtxTokenStream) -> Result<Self, PtxParseError> {
17 stream.expect_string("brkpt")?;
18 stream.expect_complete()?;
19 stream.expect(&PtxToken::Semicolon)?;
20 Ok(Brkpt {
21 })
22 }
23 }
24
25
26}
27