blob: 6ea27dc39b23bb01d93d9e39674e31f630c0b336 [file] [log] [blame]
/*
* 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_ASTNULLLITERAL
#define SKSL_ASTNULLLITERAL
#include "src/sksl/ast/SkSLASTExpression.h"
namespace SkSL {
/**
* Represents "null".
*/
struct ASTNullLiteral : public ASTExpression {
ASTNullLiteral(int offset)
: INHERITED(offset, kNull_Kind) {}
String description() const override {
return "null";
}
typedef ASTExpression INHERITED;
};
} // namespace
#endif