MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / Parse

Method Parse

neo/framework/DeclManager.cpp:2116–2124  ·  view source on GitHub ↗

================= idDeclLocal::Parse ================= */

Source from the content-addressed store, hash-verified

2114=================
2115*/
2116bool idDeclLocal::Parse( const char *text, const int textLength ) {
2117 idLexer src;
2118
2119 src.LoadMemory( text, textLength, GetFileName(), GetLineNum() );
2120 src.SetFlags( DECL_LEXER_FLAGS );
2121 src.SkipUntilString( "{" );
2122 src.SkipBracedSection( false );
2123 return true;
2124}
2125
2126/*
2127=================

Callers 2

MakeDefaultMethod · 0.95
ParseLocalMethod · 0.95

Calls 4

LoadMemoryMethod · 0.45
SetFlagsMethod · 0.45
SkipUntilStringMethod · 0.45
SkipBracedSectionMethod · 0.45

Tested by

no test coverage detected