Version

GenerateClass(LanguageGenerationParams,Stream,Encoding) Method

Generates code to create a LanguageBase derived class based on an existing Grammar.
Syntax
'Declaration
 
Public Overloads Shared Sub GenerateClass( _
   ByVal parameters As LanguageGenerationParams, _
   ByVal stream As Stream, _
   Optional ByVal encoding As Encoding _
) 
public static void GenerateClass( 
   LanguageGenerationParams parameters,
   Stream stream,
   Encoding encoding
)

Parameters

parameters
The parameters describing how the class should be generated.
stream
The stream in which to write the code.
encoding
The encoding in which to write the code. If null, UTF8 will be used.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionOccurs when parameters is null.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also