Parse Method

HttpServer.dll

Parse node contents add return a fresh node.

Namespace:  HttpServer.Rendering.Haml.Nodes
Assembly:  HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public abstract Node Parse(
	NodeList prototypes,
	Node parent,
	LineInfo line,
	ref int offset
)
Visual Basic (Declaration)
Public MustOverride Function Parse ( _
	prototypes As NodeList, _
	parent As Node, _
	line As LineInfo, _
	ByRef offset As Integer _
) As Node
Visual C++
public:
virtual Node^ Parse(
	NodeList^ prototypes, 
	Node^ parent, 
	LineInfo^ line, 
	int% offset
) abstract

Parameters

prototypes
Type: HttpServer.Rendering.Haml..::.NodeList
List containing all node types
parent
Type: HttpServer.Rendering.Haml.Nodes..::.Node
Node that this is a subnode to. Can be null
line
Type: HttpServer.Rendering.Haml..::.LineInfo
Line to parse
offset
Type: System..::.Int32 %
Where to start the parsing. Should be set to where the next node should start parsing.

Return Value

A node corresponding to the bla bla; null if parsing failed.

Exceptions

See Also