MCPcopy Create free account
hub / github.com/BSVino/DoubleAction / ParseToken

Function ParseToken

mp/src/game/server/AI_ResponseSystem.cpp:614–630  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

612 };
613
614 inline bool ParseToken( void )
615 {
616 if ( m_bUnget )
617 {
618 m_bUnget = false;
619 return true;
620 }
621 if ( m_ScriptStack.Count() <= 0 )
622 {
623 Assert( 0 );
624 return false;
625 }
626
627 m_ScriptStack[ 0 ].currenttoken = engine->ParseFile( m_ScriptStack[ 0 ].currenttoken, token, sizeof( token ) );
628 m_ScriptStack[ 0 ].tokencount++;
629 return m_ScriptStack[ 0 ].currenttoken != NULL ? true : false;
630 }
631
632 inline void Unget()
633 {

Callers 8

ParseIncludeMethod · 0.70
LoadFromBufferMethod · 0.70
ParseOneResponseMethod · 0.70
ParseResponseMethod · 0.70
ParseOneCriterionMethod · 0.70
ParseCriterionMethod · 0.70
ParseEnumerationMethod · 0.70
ParseRuleMethod · 0.70

Calls 2

AssertFunction · 0.85
CountMethod · 0.45

Tested by

no test coverage detected