Skip to content

Commit

Permalink
Move TomlParserOptions to its own file
Browse files Browse the repository at this point in the history
  • Loading branch information
xoofx committed Feb 10, 2019
1 parent 949b90b commit bf659ff
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/SharpToml/Toml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@

namespace SharpToml
{
public enum TomlParserOptions
{
ParseAndValidate = 0,

ParseOnly = 1,
}

public static class Toml
{
public static DocumentSyntax Parse(string text, string sourcePath = null, TomlParserOptions options = TomlParserOptions.ParseAndValidate)
Expand Down
12 changes: 12 additions & 0 deletions src/SharpToml/TomlParserOptions.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Copyright (c) 2019 - Alexandre Mutel. All rights reserved.
// Licensed under the BSD-Clause 2 license.
// See license.txt file in the project root for full license information.
namespace SharpToml
{
public enum TomlParserOptions
{
ParseAndValidate = 0,

ParseOnly = 1,
}
}

0 comments on commit bf659ff

Please sign in to comment.