chromium/third_party/skia/src/sksl/ir/SkSLIndexExpression.h

/*
 * 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_INDEX
#define SKSL_INDEX

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

#include <cstdint>
#include <memory>
#include <string>
#include <utility>

namespace SkSL {

class Context;
class Type;
enum class OperatorPrecedence : uint8_t;

/**
 * An expression which extracts a value from an array, vector or matrix, as in 'm[2]'.
 */
class IndexExpression final : public Expression {};

}  // namespace SkSL

#endif