MCPcopy Create free account
hub / github.com/anjo76/angelscript / IdentifierIs

Method IdentifierIs

sdk/angelscript/source/as_parser.cpp:1297–1303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1295}
1296
1297bool asCParser::IdentifierIs(const sToken &t, const char *str)
1298{
1299 if( t.type != ttIdentifier )
1300 return false;
1301
1302 return script->TokenEquals(t.pos, t.length, str);
1303}
1304
1305// BNF:6: FUNCATTR ::= ('override' | 'final' | 'explicit' | 'property' | 'delete')*
1306void asCParser::ParseMethodAttributes(asCScriptNode *funcNode)

Callers

nothing calls this directly

Calls 1

TokenEqualsMethod · 0.80

Tested by

no test coverage detected