src/developer/debug/zxdb/symbols/module_symbols_impl.cc
bool ReferencesMainFunction(const InputLocation& loc) {
  if (loc.type != InputLocation::Type::kName || loc.name.components().size() != 1)
    return false;
  return loc.name.components()[0].name() == "@main";
}
// Returns true if the given input references the special "main" function annotation.
Returns true if the given input references the special "main" function annotation.
Returns true if the given input references the special " main " function annotation .
bool ReferencesMainFunction(const InputLocation& loc) {
  if (loc.type != InputLocation::Type::kName || loc.name.components().size() != 1)
    return false;
  return loc.name.components()[0].name() == "@main";
}
bool ReferencesMainFunction ( const InputLocation & loc ) { if ( loc . type != InputLocation :: Type :: kName || loc . name . components ( ) . size ( ) != 1 ) return false ; return loc . name . components ( ) [ 0 ] . name ( ) == " " ; }
Returns true if the given input references the special "main" function annotation.
Returns true if the given input references the special " main " function annotation .