struct
#include <AllSyntax.h>
PatternSyntax Concrete syntax definition for a Pattern.
Base classes
- class SyntaxNode
- Base class for all syntax nodes.
Derived classes
- struct ExpressionPatternSyntax
- Concrete syntax definition for an ExpressionPattern.
- struct ParenthesizedPatternSyntax
- Concrete syntax definition for a ParenthesizedPattern.
- struct StructurePatternSyntax
- Concrete syntax definition for a StructurePattern.
- struct TaggedPatternSyntax
- Concrete syntax definition for a TaggedPattern.
- struct VariablePatternSyntax
- Concrete syntax definition for a VariablePattern.
- struct WildcardPatternSyntax
- Concrete syntax definition for a WildcardPattern.
Public static functions
- static auto isKind(SyntaxKind kind) -> bool
- Returns true if the provided syntax kind is represented by this type.
Constructors, destructors, conversion operators
- PatternSyntax(SyntaxKind kind)
- Constructs a new instance of the PatternSyntax struct.
- PatternSyntax(const PatternSyntax&) defaulted explicit
- Copy constructor.