mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-21 17:28:00 +02:00
Additional if
variable restrictions
This commit is contained in:
parent
f83875e8ad
commit
980fc63b74
2 changed files with 31 additions and 31 deletions
|
@ -1409,6 +1409,11 @@ public:
|
|||
{
|
||||
return (srcPos >= mSrcStart + startAdd) && (srcPos < mSrcEnd + lenAdd);
|
||||
}
|
||||
|
||||
bool Contains(BfAstNode* node)
|
||||
{
|
||||
return (node->mSrcStart >= mSrcStart) && (node->mSrcEnd <= mSrcEnd);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue