#include "src/sksl/ir/SkSLVariable.h"
#include "src/base/SkEnumBitMask.h"
#include "src/base/SkStringView.h"
#include "src/sksl/SkSLCompiler.h"
#include "src/sksl/SkSLContext.h"
#include "src/sksl/SkSLErrorReporter.h"
#include "src/sksl/SkSLIntrinsicList.h"
#include "src/sksl/SkSLMangler.h"
#include "src/sksl/SkSLProgramSettings.h"
#include "src/sksl/ir/SkSLExpression.h"
#include "src/sksl/ir/SkSLIRNode.h"
#include "src/sksl/ir/SkSLInterfaceBlock.h"
#include "src/sksl/ir/SkSLLayout.h"
#include "src/sksl/ir/SkSLSymbolTable.h"
#include "src/sksl/ir/SkSLVarDeclarations.h"
#include <utility>
namespace SkSL {
static constexpr Layout kDefaultLayout;
Variable::~Variable() { … }
ExtendedVariable::~ExtendedVariable() { … }
const Expression* Variable::initialValue() const { … }
VarDeclaration* Variable::varDeclaration() const { … }
GlobalVarDeclaration* Variable::globalVarDeclaration() const { … }
void Variable::setVarDeclaration(VarDeclaration* declaration) { … }
void Variable::setGlobalVarDeclaration(GlobalVarDeclaration* global) { … }
const Layout& Variable::layout() const { … }
std::string_view ExtendedVariable::mangledName() const { … }
std::unique_ptr<Variable> Variable::Convert(const Context& context,
Position pos,
Position modifiersPos,
const Layout& layout,
ModifierFlags flags,
const Type* type,
Position namePos,
std::string_view name,
Storage storage) { … }
std::unique_ptr<Variable> Variable::Make(Position pos,
Position modifiersPosition,
const Layout& layout,
ModifierFlags flags,
const Type* type,
std::string_view name,
std::string mangledName,
bool builtin,
Variable::Storage storage) { … }
Variable::ScratchVariable Variable::MakeScratchVariable(const Context& context,
Mangler& mangler,
std::string_view baseName,
const Type* type,
SymbolTable* symbolTable,
std::unique_ptr<Expression> initialValue) { … }
}