#![allow(unused)]
use crate::lexer::PtxToken;
use crate::parser::{PtxParseError, PtxParser, PtxTokenStream, Span};
use crate::r#type::common::*;
pub mod section_0 {
use super::*;
use crate::r#type::instruction::mbarrier_pending_count::section_0::*;
impl PtxParser for MbarrierPendingCountB64 {
fn parse(stream: &mut PtxTokenStream) -> Result<Self, PtxParseError> {
stream.expect_string("mbarrier")?;
stream.expect_string(".pending_count")?;
let pending_count = ();
stream.expect_complete()?;
stream.expect_string(".b64")?;
let b64 = ();
stream.expect_complete()?;
let count = GeneralOperand::parse(stream)?;
stream.expect_complete()?;
stream.expect(&PtxToken::Comma)?;
let state = GeneralOperand::parse(stream)?;
stream.expect_complete()?;
stream.expect_complete()?;
stream.expect(&PtxToken::Semicolon)?;
Ok(MbarrierPendingCountB64 {
pending_count,
b64,
count,
state,
})
}
}
}