Skip to content

M_CodeJam_TableData_TableDataParser_Parse_1

Andrew Koryavchenko edited this page Jun 17, 2018 · 6 revisions

TableDataParser.Parse Method (Parser, String)

Parses table data.

Namespace: CodeJam.TableData
Assembly: CodeJam.Blocks (in CodeJam.Blocks.dll) Version: 2.0.0.0

Syntax

C#

public static IEnumerable<DataLine> Parse(
	this Parser parser,
	string text
)

VB

<ExtensionAttribute>
Public Shared Function Parse ( 
	parser As Parser,
	text As String
) As IEnumerable(Of DataLine)

F#

[<ExtensionAttribute>]
static member Parse : 
        parser : Parser * 
        text : string -> IEnumerable<DataLine> 

Parameters

 

parser
Type: CodeJam.TableData.Parser
Instance of specific parser.
text
Type: System.String
Text to parse

Return Value

Type: IEnumerable(DataLine)
Enumeration of DataLine contained parsed data.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Parser. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also

Reference

TableDataParser Class
Parse Overload
CodeJam.TableData Namespace

Clone this wiki locally