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

Method HasType

include/wabt/token.h:92–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90
91 bool HasText() const { return IsTokenTypeString(token_type_); }
92 bool HasType() const {
93 return IsTokenTypeType(token_type_) || IsTokenTypeRefKind(token_type_);
94 }
95 bool HasOpcode() const { return IsTokenTypeOpcode(token_type_); }
96 bool HasLiteral() const { return IsTokenTypeLiteral(token_type_); }
97

Callers

nothing calls this directly

Calls 2

IsTokenTypeTypeFunction · 0.85
IsTokenTypeRefKindFunction · 0.85

Tested by

no test coverage detected