MCPcopy Create free account
hub / github.com/WebAssembly/wabt / IsTokenTypeOpcode

Function IsTokenTypeOpcode

include/wabt/token.h:64–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64inline bool IsTokenTypeOpcode(TokenType token_type) {
65 return token_type >= TokenType::First_Opcode &&
66 token_type <= TokenType::Last_Opcode;
67}
68
69inline bool IsTokenTypeLiteral(TokenType token_type) {
70 return token_type >= TokenType::First_Literal &&

Callers 2

GetKeywordTokenMethod · 0.85
HasOpcodeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected