コンテンツにスキップ

Appendix B P4 reserved keywords

The following table shows all P4 reserved keywords. Some identifiers are treated as keywords only in specific contexts (e.g., the keyword actions).

|:—{width:25%}—|:—{width:25%}—|:—{width:25%}—|:—{width:25%}—| | abstract | action | apply | bit | | bool | const | control | default | | else | enum | error | extern | | exit | false | header | header_union | | if | in | inout | int | | list | match_kind | package | parser | | out | return | select | state | | string | struct | switch | table | | this | transition | true | tuple | | type | typedef | value_set | varbit | | verify | void | | | |——|——|——|——|