Parser.tryToParse

This method executes the delegate parseMethod and when an error occurs the state of the lexer and parser is restored.

class Parser
RetType
tryToParse
(
RetType
)
(
RetType delegate(
)
parseMethod
,
out bool success
)

Return Value

Type: RetType

The return value of parseMethod().

Meta