MCPcopy Create free account
hub / github.com/csyonghe/Spire / GetCurrentEnvironment

Function GetCurrentEnvironment

Source/SpireCore/Preprocessor.cpp:412–416  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410}
411
412static PreprocessorEnvironment* GetCurrentEnvironment(Preprocessor* preprocessor)
413{
414 PreprocessorInputStream* inputStream = preprocessor->inputStream;
415 return inputStream ? inputStream->environment : &preprocessor->globalEnv;
416}
417
418static PreprocessorMacro* LookupMacro(Preprocessor* preprocessor, String const& name)
419{

Callers 2

LookupMacroFunction · 0.85
MaybeBeginMacroExpansionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected