├── .gitattributes ├── .gitignore ├── .gitmodules ├── .travis.yml ├── LICENSE ├── README.md ├── appveyor.yml ├── scripts ├── build-libprotection.injections.cmd └── build-libprotection.playground.cmd ├── sources ├── LibProtection.Injections │ ├── LibProtection.Injections.Tests │ │ ├── FunctionalTests.cs │ │ ├── LibProtection.Injections.Tests.csproj │ │ ├── SafeStringBuilderTests.cs │ │ ├── SafeStringTests.cs │ │ ├── TestCase.cs │ │ ├── TestCases │ │ │ └── formatCases │ │ │ │ └── example.json │ │ ├── TokenConverter.cs │ │ └── TokenizationTests.cs │ ├── LibProtection.Injections │ │ ├── Caching │ │ │ ├── CacheFormatItem.cs │ │ │ └── RandomizedLRUCache.cs │ │ ├── Exceptions.cs │ │ ├── Extensions │ │ │ ├── ArrayExtensions.cs │ │ │ └── StringExtensions.cs │ │ ├── Formatting │ │ │ ├── ComplementaryFormatter.cs │ │ │ ├── FormatResult.cs │ │ │ ├── Formatter.cs │ │ │ └── Fragment.cs │ │ ├── LanguageService.cs │ │ ├── Languages │ │ │ ├── AntlrLanguageProvider.cs │ │ │ ├── FilePath │ │ │ │ ├── FilePath.cs │ │ │ │ └── FilePathTokenType.cs │ │ │ ├── Html │ │ │ │ ├── Html.cs │ │ │ │ └── HtmlTokenType.cs │ │ │ ├── IslandDto.cs │ │ │ ├── JavaScript │ │ │ │ ├── JavaScript.cs │ │ │ │ └── JavaScriptTokenType.cs │ │ │ ├── LanguageProvider.cs │ │ │ ├── RegexLanguageProvider.cs │ │ │ ├── RegexRule.cs │ │ │ ├── Sql │ │ │ │ ├── Sql.cs │ │ │ │ └── SqlTokenType.cs │ │ │ ├── Token.cs │ │ │ ├── TokenScope.cs │ │ │ └── Url │ │ │ │ ├── Url.cs │ │ │ │ └── UrlTokenType.cs │ │ ├── LibProtection.Injections.csproj │ │ ├── LibProtection.Injections.csproj.DotSettings │ │ ├── Option.cs │ │ ├── Range.cs │ │ ├── RawString.cs │ │ ├── SafeString.Formattable.cs │ │ ├── SafeString.cs │ │ ├── SafeStringBuilder │ │ │ ├── Replacer.cs │ │ │ ├── SafeStringBuilder.cs │ │ │ └── SortedRangesList.cs │ │ └── Single.cs │ └── LibProtection.sln └── LibProtection.snk └── tools └── nuget └── nuget.exe /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | /sources/LibProtection.TestSite/**/* linguist-vendored 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/.gitmodules -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/README.md -------------------------------------------------------------------------------- /appveyor.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/appveyor.yml -------------------------------------------------------------------------------- /scripts/build-libprotection.injections.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/scripts/build-libprotection.injections.cmd -------------------------------------------------------------------------------- /scripts/build-libprotection.playground.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/scripts/build-libprotection.playground.cmd -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections.Tests/FunctionalTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections.Tests/FunctionalTests.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections.Tests/LibProtection.Injections.Tests.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections.Tests/LibProtection.Injections.Tests.csproj -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections.Tests/SafeStringBuilderTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections.Tests/SafeStringBuilderTests.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections.Tests/SafeStringTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections.Tests/SafeStringTests.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections.Tests/TestCase.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections.Tests/TestCase.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections.Tests/TestCases/formatCases/example.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections.Tests/TestCases/formatCases/example.json -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections.Tests/TokenConverter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections.Tests/TokenConverter.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections.Tests/TokenizationTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections.Tests/TokenizationTests.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/Caching/CacheFormatItem.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/Caching/CacheFormatItem.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/Caching/RandomizedLRUCache.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/Caching/RandomizedLRUCache.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/Exceptions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/Exceptions.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/Extensions/ArrayExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/Extensions/ArrayExtensions.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/Extensions/StringExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/Extensions/StringExtensions.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/Formatting/ComplementaryFormatter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/Formatting/ComplementaryFormatter.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/Formatting/FormatResult.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/Formatting/FormatResult.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/Formatting/Formatter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/Formatting/Formatter.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/Formatting/Fragment.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/Formatting/Fragment.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/LanguageService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/LanguageService.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/Languages/AntlrLanguageProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/Languages/AntlrLanguageProvider.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/Languages/FilePath/FilePath.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/Languages/FilePath/FilePath.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/Languages/FilePath/FilePathTokenType.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/Languages/FilePath/FilePathTokenType.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/Languages/Html/Html.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/Languages/Html/Html.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/Languages/Html/HtmlTokenType.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/Languages/Html/HtmlTokenType.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/Languages/IslandDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/Languages/IslandDto.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/Languages/JavaScript/JavaScript.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/Languages/JavaScript/JavaScript.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/Languages/JavaScript/JavaScriptTokenType.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/Languages/JavaScript/JavaScriptTokenType.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/Languages/LanguageProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/Languages/LanguageProvider.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/Languages/RegexLanguageProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/Languages/RegexLanguageProvider.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/Languages/RegexRule.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/Languages/RegexRule.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/Languages/Sql/Sql.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/Languages/Sql/Sql.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/Languages/Sql/SqlTokenType.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/Languages/Sql/SqlTokenType.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/Languages/Token.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/Languages/Token.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/Languages/TokenScope.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/Languages/TokenScope.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/Languages/Url/Url.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/Languages/Url/Url.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/Languages/Url/UrlTokenType.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/Languages/Url/UrlTokenType.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/LibProtection.Injections.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/LibProtection.Injections.csproj -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/LibProtection.Injections.csproj.DotSettings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/LibProtection.Injections.csproj.DotSettings -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/Option.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/Option.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/Range.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/Range.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/RawString.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/RawString.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/SafeString.Formattable.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/SafeString.Formattable.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/SafeString.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/SafeString.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/SafeStringBuilder/Replacer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/SafeStringBuilder/Replacer.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/SafeStringBuilder/SafeStringBuilder.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/SafeStringBuilder/SafeStringBuilder.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/SafeStringBuilder/SortedRangesList.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/SafeStringBuilder/SortedRangesList.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.Injections/Single.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.Injections/Single.cs -------------------------------------------------------------------------------- /sources/LibProtection.Injections/LibProtection.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.Injections/LibProtection.sln -------------------------------------------------------------------------------- /sources/LibProtection.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/sources/LibProtection.snk -------------------------------------------------------------------------------- /tools/nuget/nuget.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LibProtection/libprotection-dotnet/HEAD/tools/nuget/nuget.exe --------------------------------------------------------------------------------