One typed expression node. Operands are in source order. More...
#include "donner/gpu/shader/wgsl/Module.h"
Public Attributes | |
| ExpressionKind | kind = ExpressionKind::Literal |
| Node category. | |
| Type | type |
| Statically resolved result type. | |
| SourceSpan | span |
| Source bytes covering this expression. | |
| std::array< ArenaId, kMaxOperands > | operands = Operands() |
| Child expressions. | |
| uint8_t | operandCount = 0 |
| Number of valid operands. | |
| uint32_t | payload = 0 |
| Kind-specific bits or arena identifier. | |
| uint32_t | literalHighBits = 0 |
| Upper bits for abstract scalar literals. | |
Static Public Attributes | |
| static constexpr uint8_t | kMaxOperands = kMaxExpressionOperands |
| Alias of kMaxExpressionOperands. | |
One typed expression node. Operands are in source order.