Skip to main content

Module parser_validate_attribute

Module parser_validate_attribute 

Source
Expand description

Node: cxx:Method:Luau.Ast:Ast/src/Parser.cpp:934:Parser::validateAttribute

Validate an @attr against the known attribute tables (kAttributeEntries plus the FFlag-gated kDebugAttributeEntries): resolve its AstAttr::Type, reject duplicates, and run the per-attribute argument validator (only @deprecated has one). The C++ static tables are inlined here as a match rather than a sentinel-terminated array.

Functionsยง

parser_validate_attribute