MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / inside

Method inside

src/simulate/debug_info.cpp:740–746  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

738 }
739
740 bool LineInfo::inside ( const LineInfo & info ) const {
741 if ( fileInfo && fileInfo != info.fileInfo ) return false;
742 if ( line < info.line || line >= info.last_line ) return false;
743 uint32_t from = line==info.line ? info.column : 0;
744 uint32_t to = line==info.last_line ? info.last_column : 100500;
745 return (column>=from) && (column<to);
746 }
747
748 bool LineInfo::empty() const {
749 return (line==0) && (column==0) && (last_line==0) && (last_column==0);

Callers 3

reportAnyHeapMethod · 0.80
collectHeapMethod · 0.80
dapiStackWalkFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected