#include "src/tint/lang/wgsl/ast/break_statement.h"
#include "src/tint/lang/wgsl/ast/continue_statement.h"
#include "src/tint/lang/wgsl/ast/discard_statement.h"
#include "src/tint/lang/wgsl/reader/parser/helper_test.h"
namespace tint::wgsl::reader {
namespace {
TEST_F(WGSLParserTest, Statement) { … }
TEST_F(WGSLParserTest, Statement_Semicolon) { … }
TEST_F(WGSLParserTest, Statement_Return_NoValue) { … }
TEST_F(WGSLParserTest, Statement_Return_Value) { … }
TEST_F(WGSLParserTest, Statement_Return_MissingSemi) { … }
TEST_F(WGSLParserTest, Statement_Return_Invalid) { … }
TEST_F(WGSLParserTest, Statement_If) { … }
TEST_F(WGSLParserTest, Statement_If_Invalid) { … }
TEST_F(WGSLParserTest, Statement_Variable) { … }
TEST_F(WGSLParserTest, Statement_Variable_Invalid) { … }
TEST_F(WGSLParserTest, Statement_Variable_MissingSemicolon) { … }
TEST_F(WGSLParserTest, Statement_Switch) { … }
TEST_F(WGSLParserTest, Statement_Switch_Invalid) { … }
TEST_F(WGSLParserTest, Statement_Loop) { … }
TEST_F(WGSLParserTest, Statement_Loop_Invalid) { … }
TEST_F(WGSLParserTest, Statement_Assignment) { … }
TEST_F(WGSLParserTest, Statement_Assignment_Invalid) { … }
TEST_F(WGSLParserTest, Statement_Assignment_MissingSemicolon) { … }
TEST_F(WGSLParserTest, Statement_Break) { … }
TEST_F(WGSLParserTest, Statement_Break_MissingSemicolon) { … }
TEST_F(WGSLParserTest, Statement_Continue) { … }
TEST_F(WGSLParserTest, Statement_Continue_MissingSemicolon) { … }
TEST_F(WGSLParserTest, Statement_Discard) { … }
TEST_F(WGSLParserTest, Statement_Discard_MissingSemicolon) { … }
TEST_F(WGSLParserTest, Statement_Body) { … }
TEST_F(WGSLParserTest, Statement_Body_Invalid) { … }
TEST_F(WGSLParserTest, Statement_ConstAssert_WithParen) { … }
TEST_F(WGSLParserTest, Statement_ConstAssert_WithoutParen) { … }
TEST_F(WGSLParserTest, Statement_ConsumedAttributes_Block) { … }
TEST_F(WGSLParserTest, Statement_ConsumedAttributes_For) { … }
TEST_F(WGSLParserTest, Statement_ConsumedAttributes_If) { … }
TEST_F(WGSLParserTest, Statement_ConsumedAttributes_Loop) { … }
TEST_F(WGSLParserTest, Statement_ConsumedAttributes_Switch) { … }
TEST_F(WGSLParserTest, Statement_ConsumedAttributes_While) { … }
TEST_F(WGSLParserTest, Statement_UnexpectedAttributes) { … }
}
}