aboutsummaryrefslogtreecommitdiff
path: root/dotnet/Mammoth/Couscous/mammoth/internal/styles
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-06-04 16:03:56 +0100
committerMichael Williamson <mike@zwobble.org>2016-06-04 16:03:56 +0100
commit45e530dceda42282fae56b4c4f5fa7865f57899d (patch)
tree685868f4bf78c64e851cbcdafd674e887bc782a5 /dotnet/Mammoth/Couscous/mammoth/internal/styles
parentb5a83b1cb96d410e325ff8b733d550295376d8c7 (diff)
Remove dotnet (use submodule from dotnet repo instead)
Diffstat (limited to 'dotnet/Mammoth/Couscous/mammoth/internal/styles')
-rw-r--r--dotnet/Mammoth/Couscous/mammoth/internal/styles/parsing/LineParseException.cs15
-rw-r--r--dotnet/Mammoth/Couscous/mammoth/internal/styles/parsing/ParseException.cs8
-rw-r--r--dotnet/Mammoth/Couscous/mammoth/internal/styles/parsing/StyleMapParser.cs22
3 files changed, 0 insertions, 45 deletions
diff --git a/dotnet/Mammoth/Couscous/mammoth/internal/styles/parsing/LineParseException.cs b/dotnet/Mammoth/Couscous/mammoth/internal/styles/parsing/LineParseException.cs
deleted file mode 100644
index 6ca9381..0000000
--- a/dotnet/Mammoth/Couscous/mammoth/internal/styles/parsing/LineParseException.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using Mammoth.Couscous.java.lang;
-
-namespace Mammoth.Couscous.org.zwobble.mammoth.@internal.styles.parsing {
- internal class LineParseException : RuntimeException {
- private readonly Token _token;
-
- internal LineParseException(Token token, string message) : base(message) {
- _token = token;
- }
-
- internal Token getToken() {
- return _token;
- }
- }
-}
diff --git a/dotnet/Mammoth/Couscous/mammoth/internal/styles/parsing/ParseException.cs b/dotnet/Mammoth/Couscous/mammoth/internal/styles/parsing/ParseException.cs
deleted file mode 100644
index 73f349c..0000000
--- a/dotnet/Mammoth/Couscous/mammoth/internal/styles/parsing/ParseException.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using Mammoth.Couscous.java.lang;
-
-namespace Mammoth.Couscous.org.zwobble.mammoth.@internal.styles.parsing {
- internal class ParseException : RuntimeException {
- internal ParseException(string message) : base(message) {
- }
- }
-}
diff --git a/dotnet/Mammoth/Couscous/mammoth/internal/styles/parsing/StyleMapParser.cs b/dotnet/Mammoth/Couscous/mammoth/internal/styles/parsing/StyleMapParser.cs
deleted file mode 100644
index 53315f3..0000000
--- a/dotnet/Mammoth/Couscous/mammoth/internal/styles/parsing/StyleMapParser.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-using Mammoth.Couscous.java.util;
-using Mammoth.Couscous.org.zwobble.mammoth.@internal.styles;
-
-namespace Mammoth.Couscous.org.zwobble.mammoth.@internal.styles.parsing {
- internal static class StyleMapParser {
- internal static StyleMap parseStyleMappings(List<string> mappings) {
- return DefaultStyleMap();
- }
-
- internal static StyleMap parse(string styleMap) {
- return DefaultStyleMap();
- }
-
- private static StyleMap DefaultStyleMap() {
- return StyleMap.builder()
-
- .mapParagraph(ParagraphMatcher.styleName("Normal"), HtmlPath.element("p"))
-
- .build();
- }
- }
-}