Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/third_party/rust/wast/src/   (Firefox Browser Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 745 B image not shown  

Quelle  component_disabled.rs

  Sprache: Rust
 

//! Disabled support for the component model.

use crate::parser::{Parse, Parser, Result};
use crate::token::{Id, Span};

#[derive(Debug)]
enum Uninhabited {}

/// Empty definition of a component that cannot be created.
#[derive(Debug)]
pub struct Component<'a> {
    /// Where this `component` was defined
    pub span: Span,
    /// An optional identifier this component is known by
    pub id: Option<Id<'a>>,

    x: Uninhabited,
}

impl Component<'_> {
    pub(cratefn validate(&self, _parser: Parser<'_>) -> Result<()> {
        match self.x {}
    }
}

impl<'a> Parse<'a> for Component<'a> {
    fn parse(parser: Parser<'a>) -> Result<Self> {
        Err(parser.error("support for parsing components disabled at compile time"))
    }
}

Messung V0.5 in Prozent
C=100 H=100 G=100

¤ Dauer der Verarbeitung: 0.9 Sekunden  (vorverarbeitet am  2026-06-27) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.