Table of Contents

Class VisualBasicScriptProvider

Namespace
Alternet.Scripter.Roslyn
Assembly
Alternet.Scripter.v9.dll

Provides code generation for VisualBasic.NET based on Microsoft Roslyn.

public class VisualBasicScriptProvider : RoslynScriptProvider, IDisposable
Inheritance
VisualBasicScriptProvider
Implements

Constructors

VisualBasicScriptProvider(IScriptHost, SourceCodeKind)

Initializes a new instance of the VisualBasicScriptProvider class with specified IScriptHost.

Methods

AddGlobalCode(ProjectId, IList<IScriptGlobalItem>)
AppendTree(IList<SyntaxTree>, string)
CreateScriptCompilation(IList<SyntaxTree>, IList<MetadataReference>)
GenerateAssemblyInfo(string)

Generates an auto-code for the SDK-style version information.

GenerateExpressionCode(string, bool)
GenerateGlobalCode(IList<IScriptGlobalItem>)
GenerateGlobalItems(IList<IScriptGlobalItem>)

Generates code from given global items.

GetCompilationOptions()
GetGenericArgs(string)
GetGlobalFileName()
GetLanguageName()
GetParserOptions()
GetResourceName(string, string)
GetTypeName(Type)
ParseCode(IList<SyntaxTree>, string, string)
ParseDocument(Document)