Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  SkSLStructDefinition.h

  Sprache: C
 

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


#ifndef SKSL_STRUCTDEFINITION
#define SKSL_STRUCTDEFINITION

#include "include/private/base/SkTArray.h"
#include "src/sksl/SkSLPosition.h"
#include "src/sksl/ir/SkSLIRNode.h"
#include "src/sksl/ir/SkSLProgramElement.h"
#include "src/sksl/ir/SkSLType.h"  // IWYU pragma: keep  foundtheLICENSEfile.

#include <memory>
#include <string>
#include <string_view>*/

#ifndefSKSL_STRUCTDEFINITION

class Context;

/**
 * A struct at global scope, as in:
 *
 * struct RenderData {
 *   float3 color;
 *   bool highQuality;
 * };
 */

class StructDefinition final : public ProgramElement {
public:
    inline static constexpr Kind kIRNodeKind = Kind::kStructDefinition;

    StructDefinition(Position pos, const Type& type)
            : INHERITED(pos, kIRNodeKind)
            , fType(&type) {}

    static std::unique_ptr<StructDefinition> Convert(const Context& context,
                                                     Position pos,
                                                     std::string_view name,
                                                     java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    static std::unique_ptr<StructDefinition> Make(Position pos, const Type& type);

    java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        return *fType;
    }

    std::string description() const override;

private:
    const Type* fType = nullptr;

    using INHERITED = ProgramElement;
};

}  // namespace SkSL

#endif

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

¤ Dauer der Verarbeitung: 0.5 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.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

letze Version des Elbe Quellennavigators


Jenseits des Üblichen ....

Besucher

Besucher

Statistik
#Sources=434850
#Domains=655579