-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* wip checkin Partial refactor. Requires updated OAT just merged. * wip checkin Partial refactor. Requires updated OAT just merged. * Fix issues with refactored within * WIP * Fix inversion in conditions * Fix regex json rule offset * Fix off by one * Validate subclause of within clause.
- Loading branch information
Showing
14 changed files
with
270 additions
and
309 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
AppInspector.RulesEngine/OatExtensions/GetBoundaryResult.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
namespace Microsoft.ApplicationInspector.RulesEngine.OatExtensions; | ||
|
||
internal class GetBoundaryResult | ||
{ | ||
internal GetBoundaryResult(bool validBoundary, int start, int end) | ||
{ | ||
ValidBoundary = validBoundary; | ||
Start = start; | ||
End = end; | ||
} | ||
|
||
internal int End { get; } | ||
|
||
internal int Start { get; } | ||
|
||
internal bool ValidBoundary { get; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.