public Step MapToStep(G.Step step)
{
if (step == null)
{
return null;
}
return new Step
{
Location = this.MapToLocation(step.Location),
DocStringArgument = step.Argument is G.DocString ? this.MapToString((G.DocString) step.Argument) : null,
Keyword = this.MapToKeyword(step.Keyword),
NativeKeyword = step.Keyword,
Name = step.Text,
TableArgument = step.Argument is G.DataTable ? this.MapToTable((G.DataTable) step.Argument) : null,
};
}