-
Notifications
You must be signed in to change notification settings - Fork 754
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rename Table, Row, Cell to GherkinTable, ...
- Loading branch information
1 parent
a6873c6
commit 8864c98
Showing
9 changed files
with
71 additions
and
68 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
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
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,55 @@ | ||
using System; | ||
using System.Linq; | ||
using System.Xml.Serialization; | ||
|
||
namespace TechTalk.SpecFlow.Parser.SyntaxElements | ||
{ | ||
[XmlType("Cell")] | ||
public class GherkinTableCell | ||
{ | ||
public string Value { get; set; } | ||
public FilePosition FilePosition { get; set; } | ||
|
||
public GherkinTableCell() | ||
{ | ||
} | ||
|
||
public GherkinTableCell(string value) | ||
{ | ||
Value = value; | ||
} | ||
} | ||
|
||
[XmlType("Row")] | ||
public class GherkinTableRow | ||
{ | ||
public GherkinTableCell[] Cells { get; set; } | ||
public FilePosition FilePosition { get; set; } | ||
|
||
public GherkinTableRow() | ||
{ | ||
} | ||
|
||
public GherkinTableRow(params GherkinTableCell[] cells) | ||
{ | ||
Cells = cells; | ||
} | ||
} | ||
|
||
[XmlType("Table")] | ||
public class GherkinTable | ||
{ | ||
public GherkinTableRow Header { get; set; } | ||
public GherkinTableRow[] Body { get; set; } | ||
|
||
public GherkinTable() | ||
{ | ||
} | ||
|
||
public GherkinTable(GherkinTableRow header, params GherkinTableRow[] body) | ||
{ | ||
Header = header; | ||
Body = body; | ||
} | ||
} | ||
} |
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 was deleted.
Oops, something went wrong.
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