Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/gfx/skia/skia/src/sksl/ir/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 1 kB image not shown  

Quelle  SkSLDiscardStatement.h

  Sprache: C
 

/*
 * Copyright 2016 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */


#ifndef SKSL_DISCARDSTATEMENT
#define SKSL_DISCARDSTATEMENT

#include "src/sksl/SkSLPosition.h"
#include "src/sksl/ir/SkSLIRNode.h"
#include "src/sksl/ir/SkSLStatement.h"

#include <memory>
#include <string>

namespace SkSL {

class Context;

/**
 * A 'discard' statement.
 */

class DiscardStatement final : public Statement {
public:
    inline static constexpr Kind kIRNodeKind = Kind::kDiscard;

    explicit DiscardStatement(Position pos) : INHERITED(pos, kIRNodeKind) {}

    // Creates a discard-statement; reports errors via ErrorReporter.
    static std::unique_ptr<Statement> Convert(const Context& context, Position pos);

    // Creates a discard-statement; reports errors via SkASSERT.
    static std::unique_ptr<Statement> Make(const Context& context, Position pos);

    std::string description() const override {
        return "discard;";
    }

private:
    using INHERITED = Statement;
};

}  // namespace SkSL

#endif

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

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© 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.