Skip to content

Instantly share code, notes, and snippets.

@atsushieno
Created December 19, 2012 06:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atsushieno/4334956 to your computer and use it in GitHub Desktop.
Save atsushieno/4334956 to your computer and use it in GitHub Desktop.
This file has been truncated, but you can view the full file.
using System;
using System.Collections.Generic;
using Jurassic;
using Jurassic.Library;
using TypeScriptServiceBridge;
using TypeScriptServiceBridge;
using TypeScriptServiceBridge.TypeScript.CompilerDiagnostics;
using TypeScriptServiceBridge.TypeScript;
using TypeScriptServiceBridge.TypeScript.AstWalkerWithDetailCallback;
using TypeScriptServiceBridge.Tools;
using TypeScriptServiceBridge.Services;
using TypeScriptServiceBridge.Formatting;
using TypeScriptServiceBridge.Formatting.Shared;
using TypeScriptServiceBridge.Harness;
using TypeScriptServiceBridge.Harness.Perf;
using TypeScriptServiceBridge.Harness.Compiler;
using TypeScriptServiceBridge.Harness.Baseline;
namespace TypeScriptServiceBridge {
public class TypeScriptBridgeAttribute : Attribute
{
public TypeScriptBridgeAttribute (string name)
{
Name = name;
}
public string Name { get; set; }
}
}
namespace TypeScriptServiceBridge
{
public interface ILineIndenationResolver : ITypeScriptObject
{
}
public class ILineIndenationResolver_Impl : TypeScriptObject, ILineIndenationResolver
{
public ILineIndenationResolver_Impl (ObjectInstance instance) : base (instance) {}
}
public interface ITextWriter : ITypeScriptObject
{
}
public class ITextWriter_Impl : TypeScriptObject, ITextWriter
{
public ITextWriter_Impl (ObjectInstance instance) : base (instance) {}
}
public interface IFormatter : ITypeScriptObject
{
}
public class IFormatter_Impl : TypeScriptObject, IFormatter
{
public IFormatter_Impl (ObjectInstance instance) : base (instance) {}
}
public class TokenRange : TypeScriptObject
{
public TokenRange (ObjectInstance instance) : base (instance) {}
public TokenRange ()
: base (CallConstructor ("", "TokenRange"))
{
}
}
public class RulesProvider : TypeScriptObject
{
public RulesProvider (ObjectInstance instance) : base (instance) {}
public RulesProvider ()
: base (CallConstructor ("", "RulesProvider"))
{
}
}
public class Error : TypeScriptObject
{
public Error (ObjectInstance instance) : base (instance) {}
public Error ()
: base (CallConstructor ("", "Error"))
{
}
}
public class RegExp : TypeScriptObject
{
public RegExp (ObjectInstance instance) : base (instance) {}
public RegExp ()
: base (CallConstructor ("", "RegExp"))
{
}
}
public interface IResolvedFile : ITypeScriptObject
{
[TypeScriptBridge ("content")]
string Content { get; set; }
[TypeScriptBridge ("path")]
string Path { get; set; }
[TypeScriptBridge ("get_content")]
string Get_content ();
[TypeScriptBridge ("set_content")]
void Set_content (string @value);
[TypeScriptBridge ("get_path")]
string Get_path ();
[TypeScriptBridge ("set_path")]
void Set_path (string @value);
}
public class IResolvedFile_Impl : TypeScriptObject, IResolvedFile
{
public IResolvedFile_Impl (ObjectInstance instance) : base (instance) {}
[TypeScriptBridge ("content")]
public string Content {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("content")); }
set { Instance.SetPropertyValue ("content", value, true); }
}
[TypeScriptBridge ("path")]
public string Path {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("path")); }
set { Instance.SetPropertyValue ("path", value, true); }
}
[TypeScriptBridge ("get_content")]
public string Get_content ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_content"));
}
[TypeScriptBridge ("set_content")]
public void Set_content (string @value)
{
Instance.CallMemberFunction ("set_content", @value);
}
[TypeScriptBridge ("get_path")]
public string Get_path ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_path"));
}
[TypeScriptBridge ("set_path")]
public void Set_path (string @value)
{
Instance.CallMemberFunction ("set_path", @value);
}
}
public interface IIO : ITypeScriptObject
{
[TypeScriptBridge ("arguments")]
ArrayInstance Arguments { get; set; }
[TypeScriptBridge ("stderr")]
TypeScriptServiceBridge.ITextWriter Stderr { get; set; }
[TypeScriptBridge ("stdout")]
TypeScriptServiceBridge.ITextWriter Stdout { get; set; }
[TypeScriptBridge ("readFile")]
string ReadFile (string @path);
[TypeScriptBridge ("writeFile")]
void WriteFile (string @path, string @contents);
[TypeScriptBridge ("createFile")]
TypeScriptServiceBridge.ITextWriter CreateFile (string @path, bool @useUTF8 = false);
[TypeScriptBridge ("deleteFile")]
void DeleteFile (string @path);
[TypeScriptBridge ("dir")]
ArrayInstance Dir (string @path, TypeScriptServiceBridge.RegExp @re = null, System.Object @options = null);
[TypeScriptBridge ("fileExists")]
bool FileExists (string @path);
[TypeScriptBridge ("directoryExists")]
bool DirectoryExists (string @path);
[TypeScriptBridge ("createDirectory")]
void CreateDirectory (string @path);
[TypeScriptBridge ("resolvePath")]
string ResolvePath (string @path);
[TypeScriptBridge ("dirName")]
string DirName (string @path);
[TypeScriptBridge ("findFile")]
TypeScriptServiceBridge.IResolvedFile FindFile (string @rootPath, string @partialFilePath);
[TypeScriptBridge ("print")]
void Print (string @str);
[TypeScriptBridge ("printLine")]
void PrintLine (string @str);
[TypeScriptBridge ("get_arguments")]
ArrayInstance Get_arguments ();
[TypeScriptBridge ("set_arguments")]
void Set_arguments (ArrayInstance @value);
[TypeScriptBridge ("get_stderr")]
TypeScriptServiceBridge.ITextWriter Get_stderr ();
[TypeScriptBridge ("set_stderr")]
void Set_stderr (TypeScriptServiceBridge.ITextWriter @value);
[TypeScriptBridge ("get_stdout")]
TypeScriptServiceBridge.ITextWriter Get_stdout ();
[TypeScriptBridge ("set_stdout")]
void Set_stdout (TypeScriptServiceBridge.ITextWriter @value);
[TypeScriptBridge ("run")]
void Run (string @source, string @filename);
[TypeScriptBridge ("getExecutingFilePath")]
string GetExecutingFilePath ();
[TypeScriptBridge ("quit")]
System.Object Quit (double @exitCode = 0);
}
public class IIO_Impl : TypeScriptObject, IIO
{
public IIO_Impl (ObjectInstance instance) : base (instance) {}
[TypeScriptBridge ("arguments")]
public ArrayInstance Arguments {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("arguments")); }
set { Instance.SetPropertyValue ("arguments", value, true); }
}
[TypeScriptBridge ("stderr")]
public TypeScriptServiceBridge.ITextWriter Stderr {
get { return new TypeScriptServiceBridge.ITextWriter_Impl ((ObjectInstance) Instance.GetPropertyValue ("stderr")); }
set { Instance.SetPropertyValue ("stderr", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("stdout")]
public TypeScriptServiceBridge.ITextWriter Stdout {
get { return new TypeScriptServiceBridge.ITextWriter_Impl ((ObjectInstance) Instance.GetPropertyValue ("stdout")); }
set { Instance.SetPropertyValue ("stdout", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("readFile")]
public string ReadFile (string @path)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("readFile", @path));
}
[TypeScriptBridge ("writeFile")]
public void WriteFile (string @path, string @contents)
{
Instance.CallMemberFunction ("writeFile", @path, @contents);
}
[TypeScriptBridge ("createFile")]
public TypeScriptServiceBridge.ITextWriter CreateFile (string @path, bool @useUTF8 = false)
{
return new TypeScriptServiceBridge.ITextWriter_Impl ((ObjectInstance) Instance.CallMemberFunction ("createFile", @path, @useUTF8));
}
[TypeScriptBridge ("deleteFile")]
public void DeleteFile (string @path)
{
Instance.CallMemberFunction ("deleteFile", @path);
}
[TypeScriptBridge ("dir")]
public ArrayInstance Dir (string @path, TypeScriptServiceBridge.RegExp @re = null, System.Object @options = null)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("dir", @path, @re != null ? @re.Instance : null, @options));
}
[TypeScriptBridge ("fileExists")]
public bool FileExists (string @path)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("fileExists", @path));
}
[TypeScriptBridge ("directoryExists")]
public bool DirectoryExists (string @path)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("directoryExists", @path));
}
[TypeScriptBridge ("createDirectory")]
public void CreateDirectory (string @path)
{
Instance.CallMemberFunction ("createDirectory", @path);
}
[TypeScriptBridge ("resolvePath")]
public string ResolvePath (string @path)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("resolvePath", @path));
}
[TypeScriptBridge ("dirName")]
public string DirName (string @path)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("dirName", @path));
}
[TypeScriptBridge ("findFile")]
public TypeScriptServiceBridge.IResolvedFile FindFile (string @rootPath, string @partialFilePath)
{
return new TypeScriptServiceBridge.IResolvedFile_Impl ((ObjectInstance) Instance.CallMemberFunction ("findFile", @rootPath, @partialFilePath));
}
[TypeScriptBridge ("print")]
public void Print (string @str)
{
Instance.CallMemberFunction ("print", @str);
}
[TypeScriptBridge ("printLine")]
public void PrintLine (string @str)
{
Instance.CallMemberFunction ("printLine", @str);
}
[TypeScriptBridge ("get_arguments")]
public ArrayInstance Get_arguments ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_arguments"));
}
[TypeScriptBridge ("set_arguments")]
public void Set_arguments (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_arguments", @value);
}
[TypeScriptBridge ("get_stderr")]
public TypeScriptServiceBridge.ITextWriter Get_stderr ()
{
return new TypeScriptServiceBridge.ITextWriter_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_stderr"));
}
[TypeScriptBridge ("set_stderr")]
public void Set_stderr (TypeScriptServiceBridge.ITextWriter @value)
{
Instance.CallMemberFunction ("set_stderr", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_stdout")]
public TypeScriptServiceBridge.ITextWriter Get_stdout ()
{
return new TypeScriptServiceBridge.ITextWriter_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_stdout"));
}
[TypeScriptBridge ("set_stdout")]
public void Set_stdout (TypeScriptServiceBridge.ITextWriter @value)
{
Instance.CallMemberFunction ("set_stdout", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("run")]
public void Run (string @source, string @filename)
{
Instance.CallMemberFunction ("run", @source, @filename);
}
[TypeScriptBridge ("getExecutingFilePath")]
public string GetExecutingFilePath ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getExecutingFilePath"));
}
[TypeScriptBridge ("quit")]
public System.Object Quit (double @exitCode = 0)
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("quit", @exitCode));
}
}
public interface IOptions : ITypeScriptObject
{
[TypeScriptBridge ("name")]
string Name { get; set; }
[TypeScriptBridge ("flag")]
bool Flag { get; set; }
[TypeScriptBridge ("short")]
string Short { get; set; }
[TypeScriptBridge ("usage")]
string Usage { get; set; }
[TypeScriptBridge ("type")]
string Type { get; set; }
[TypeScriptBridge ("experimental")]
bool Experimental { get; set; }
[TypeScriptBridge ("get_name")]
string Get_name ();
[TypeScriptBridge ("set_name")]
void Set_name (string @value);
[TypeScriptBridge ("get_flag")]
bool Get_flag ();
[TypeScriptBridge ("set_flag")]
void Set_flag (bool @value);
[TypeScriptBridge ("get_short")]
string Get_short ();
[TypeScriptBridge ("set_short")]
void Set_short (string @value);
[TypeScriptBridge ("get_usage")]
string Get_usage ();
[TypeScriptBridge ("set_usage")]
void Set_usage (string @value);
[TypeScriptBridge ("get_type")]
string Get_type ();
[TypeScriptBridge ("set_type")]
void Set_type (string @value);
[TypeScriptBridge ("get_experimental")]
bool Get_experimental ();
[TypeScriptBridge ("set_experimental")]
void Set_experimental (bool @value);
}
public class IOptions_Impl : TypeScriptObject, IOptions
{
public IOptions_Impl (ObjectInstance instance) : base (instance) {}
[TypeScriptBridge ("name")]
public string Name {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("name")); }
set { Instance.SetPropertyValue ("name", value, true); }
}
[TypeScriptBridge ("flag")]
public bool Flag {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("flag")); }
set { Instance.SetPropertyValue ("flag", value, true); }
}
[TypeScriptBridge ("short")]
public string Short {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("short")); }
set { Instance.SetPropertyValue ("short", value, true); }
}
[TypeScriptBridge ("usage")]
public string Usage {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("usage")); }
set { Instance.SetPropertyValue ("usage", value, true); }
}
[TypeScriptBridge ("type")]
public string Type {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("type")); }
set { Instance.SetPropertyValue ("type", value, true); }
}
[TypeScriptBridge ("experimental")]
public bool Experimental {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("experimental")); }
set { Instance.SetPropertyValue ("experimental", value, true); }
}
[TypeScriptBridge ("get_name")]
public string Get_name ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_name"));
}
[TypeScriptBridge ("set_name")]
public void Set_name (string @value)
{
Instance.CallMemberFunction ("set_name", @value);
}
[TypeScriptBridge ("get_flag")]
public bool Get_flag ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_flag"));
}
[TypeScriptBridge ("set_flag")]
public void Set_flag (bool @value)
{
Instance.CallMemberFunction ("set_flag", @value);
}
[TypeScriptBridge ("get_short")]
public string Get_short ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_short"));
}
[TypeScriptBridge ("set_short")]
public void Set_short (string @value)
{
Instance.CallMemberFunction ("set_short", @value);
}
[TypeScriptBridge ("get_usage")]
public string Get_usage ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_usage"));
}
[TypeScriptBridge ("set_usage")]
public void Set_usage (string @value)
{
Instance.CallMemberFunction ("set_usage", @value);
}
[TypeScriptBridge ("get_type")]
public string Get_type ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_type"));
}
[TypeScriptBridge ("set_type")]
public void Set_type (string @value)
{
Instance.CallMemberFunction ("set_type", @value);
}
[TypeScriptBridge ("get_experimental")]
public bool Get_experimental ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_experimental"));
}
[TypeScriptBridge ("set_experimental")]
public void Set_experimental (bool @value)
{
Instance.CallMemberFunction ("set_experimental", @value);
}
}
public class OptionsParser : TypeScriptObject
{
public OptionsParser (ObjectInstance instance) : base (instance) {}
public OptionsParser (TypeScriptServiceBridge.IIO @host)
: base (CallConstructor ("", "OptionsParser", @host != null ? @host.Instance : null))
{
}
[TypeScriptBridge ("host")]
public TypeScriptServiceBridge.IIO Host {
get { return new TypeScriptServiceBridge.IIO_Impl ((ObjectInstance) Instance.GetPropertyValue ("host")); }
set { Instance.SetPropertyValue ("host", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("unnamed")]
public ArrayInstance Unnamed {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("unnamed")); }
set { Instance.SetPropertyValue ("unnamed", value, true); }
}
[TypeScriptBridge ("options")]
public ArrayInstance Options {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("options")); }
set { Instance.SetPropertyValue ("options", value, true); }
}
[TypeScriptBridge ("get_host")]
public TypeScriptServiceBridge.IIO Get_host ()
{
return new TypeScriptServiceBridge.IIO_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_host"));
}
[TypeScriptBridge ("set_host")]
public void Set_host (TypeScriptServiceBridge.IIO @value)
{
Instance.CallMemberFunction ("set_host", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("findOption")]
public TypeScriptServiceBridge.IOptions FindOption (string @arg)
{
return new TypeScriptServiceBridge.IOptions_Impl ((ObjectInstance) Instance.CallMemberFunction ("findOption", @arg));
}
[TypeScriptBridge ("get_unnamed")]
public ArrayInstance Get_unnamed ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_unnamed"));
}
[TypeScriptBridge ("set_unnamed")]
public void Set_unnamed (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_unnamed", @value);
}
[TypeScriptBridge ("get_options")]
public ArrayInstance Get_options ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_options"));
}
[TypeScriptBridge ("set_options")]
public void Set_options (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_options", @value);
}
[TypeScriptBridge ("printUsage")]
public void PrintUsage ()
{
Instance.CallMemberFunction ("printUsage");
}
[TypeScriptBridge ("option")]
public void Option (string @name, TypeScriptServiceBridge.IOptions @config, string @short = null)
{
Instance.CallMemberFunction ("option", @name, @config != null ? @config.Instance : null, @short);
}
[TypeScriptBridge ("flag")]
public void Flag (string @name, TypeScriptServiceBridge.IOptions @config, string @short = null)
{
Instance.CallMemberFunction ("flag", @name, @config != null ? @config.Instance : null, @short);
}
[TypeScriptBridge ("parseString")]
public void ParseString (string @argString)
{
Instance.CallMemberFunction ("parseString", @argString);
}
[TypeScriptBridge ("parse")]
public void Parse (ArrayInstance @args)
{
Instance.CallMemberFunction ("parse", @args);
}
}
public class CommandLineHost : TypeScriptObject
, TypeScript.IResolverHost
{
public CommandLineHost (ObjectInstance instance) : base (instance) {}
public CommandLineHost ()
: base (CallConstructor ("", "CommandLineHost"))
{
}
[TypeScriptBridge ("pathMap")]
public System.Object PathMap {
get { return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("pathMap")); }
set { Instance.SetPropertyValue ("pathMap", value, true); }
}
[TypeScriptBridge ("resolvedPaths")]
public System.Object ResolvedPaths {
get { return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("resolvedPaths")); }
set { Instance.SetPropertyValue ("resolvedPaths", value, true); }
}
[TypeScriptBridge ("get_pathMap")]
public System.Object Get_pathMap ()
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_pathMap"));
}
[TypeScriptBridge ("set_pathMap")]
public void Set_pathMap (System.Object @value)
{
Instance.CallMemberFunction ("set_pathMap", @value);
}
[TypeScriptBridge ("get_resolvedPaths")]
public System.Object Get_resolvedPaths ()
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_resolvedPaths"));
}
[TypeScriptBridge ("set_resolvedPaths")]
public void Set_resolvedPaths (System.Object @value)
{
Instance.CallMemberFunction ("set_resolvedPaths", @value);
}
[TypeScriptBridge ("isResolved")]
public bool IsResolved (string @path)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isResolved", @path));
}
[TypeScriptBridge ("resolveCompilationEnvironment")]
public TypeScriptServiceBridge.TypeScript.CompilationEnvironment ResolveCompilationEnvironment (TypeScriptServiceBridge.TypeScript.CompilationEnvironment @preEnv, TypeScriptServiceBridge.TypeScript.ICodeResolver @resolver, bool @traceDependencies)
{
return new TypeScriptServiceBridge.TypeScript.CompilationEnvironment ((ObjectInstance) Instance.CallMemberFunction ("resolveCompilationEnvironment", @preEnv != null ? @preEnv.Instance : null, @resolver != null ? @resolver.Instance : null, @traceDependencies));
}
TypeScriptServiceBridge.TypeScript.CompilationEnvironment TypeScriptServiceBridge.TypeScript.IResolverHost.ResolveCompilationEnvironment (TypeScriptServiceBridge.TypeScript.CompilationEnvironment @preEnvironment, TypeScriptServiceBridge.TypeScript.ICodeResolver @resolver, bool @traceDependencies)
{
return (TypeScriptServiceBridge.TypeScript.CompilationEnvironment) ResolveCompilationEnvironment ((TypeScriptServiceBridge.TypeScript.CompilationEnvironment) @preEnvironment, (TypeScriptServiceBridge.TypeScript.ICodeResolver) @resolver, (bool) @traceDependencies);
}
}
public class BatchCompiler : TypeScriptObject
{
public BatchCompiler (ObjectInstance instance) : base (instance) {}
public BatchCompiler (TypeScriptServiceBridge.IIO @ioHost)
: base (CallConstructor ("", "BatchCompiler", @ioHost != null ? @ioHost.Instance : null))
{
}
[TypeScriptBridge ("ioHost")]
public TypeScriptServiceBridge.IIO IoHost {
get { return new TypeScriptServiceBridge.IIO_Impl ((ObjectInstance) Instance.GetPropertyValue ("ioHost")); }
set { Instance.SetPropertyValue ("ioHost", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("compilationSettings")]
public TypeScriptServiceBridge.TypeScript.CompilationSettings CompilationSettings {
get { return new TypeScriptServiceBridge.TypeScript.CompilationSettings ((ObjectInstance) Instance.GetPropertyValue ("compilationSettings")); }
set { Instance.SetPropertyValue ("compilationSettings", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("compilationEnvironment")]
public TypeScriptServiceBridge.TypeScript.CompilationEnvironment CompilationEnvironment {
get { return new TypeScriptServiceBridge.TypeScript.CompilationEnvironment ((ObjectInstance) Instance.GetPropertyValue ("compilationEnvironment")); }
set { Instance.SetPropertyValue ("compilationEnvironment", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("commandLineHost")]
public TypeScriptServiceBridge.CommandLineHost CommandLineHost {
get { return new TypeScriptServiceBridge.CommandLineHost ((ObjectInstance) Instance.GetPropertyValue ("commandLineHost")); }
set { Instance.SetPropertyValue ("commandLineHost", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("resolvedEnvironment")]
public TypeScriptServiceBridge.TypeScript.CompilationEnvironment ResolvedEnvironment {
get { return new TypeScriptServiceBridge.TypeScript.CompilationEnvironment ((ObjectInstance) Instance.GetPropertyValue ("resolvedEnvironment")); }
set { Instance.SetPropertyValue ("resolvedEnvironment", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_ioHost")]
public TypeScriptServiceBridge.IIO Get_ioHost ()
{
return new TypeScriptServiceBridge.IIO_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_ioHost"));
}
[TypeScriptBridge ("set_ioHost")]
public void Set_ioHost (TypeScriptServiceBridge.IIO @value)
{
Instance.CallMemberFunction ("set_ioHost", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_compilationSettings")]
public TypeScriptServiceBridge.TypeScript.CompilationSettings Get_compilationSettings ()
{
return new TypeScriptServiceBridge.TypeScript.CompilationSettings ((ObjectInstance) Instance.CallMemberFunction ("get_compilationSettings"));
}
[TypeScriptBridge ("set_compilationSettings")]
public void Set_compilationSettings (TypeScriptServiceBridge.TypeScript.CompilationSettings @value)
{
Instance.CallMemberFunction ("set_compilationSettings", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_compilationEnvironment")]
public TypeScriptServiceBridge.TypeScript.CompilationEnvironment Get_compilationEnvironment ()
{
return new TypeScriptServiceBridge.TypeScript.CompilationEnvironment ((ObjectInstance) Instance.CallMemberFunction ("get_compilationEnvironment"));
}
[TypeScriptBridge ("set_compilationEnvironment")]
public void Set_compilationEnvironment (TypeScriptServiceBridge.TypeScript.CompilationEnvironment @value)
{
Instance.CallMemberFunction ("set_compilationEnvironment", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_commandLineHost")]
public TypeScriptServiceBridge.CommandLineHost Get_commandLineHost ()
{
return new TypeScriptServiceBridge.CommandLineHost ((ObjectInstance) Instance.CallMemberFunction ("get_commandLineHost"));
}
[TypeScriptBridge ("set_commandLineHost")]
public void Set_commandLineHost (TypeScriptServiceBridge.CommandLineHost @value)
{
Instance.CallMemberFunction ("set_commandLineHost", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_resolvedEnvironment")]
public TypeScriptServiceBridge.TypeScript.CompilationEnvironment Get_resolvedEnvironment ()
{
return new TypeScriptServiceBridge.TypeScript.CompilationEnvironment ((ObjectInstance) Instance.CallMemberFunction ("get_resolvedEnvironment"));
}
[TypeScriptBridge ("set_resolvedEnvironment")]
public void Set_resolvedEnvironment (TypeScriptServiceBridge.TypeScript.CompilationEnvironment @value)
{
Instance.CallMemberFunction ("set_resolvedEnvironment", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("resolve")]
public TypeScriptServiceBridge.TypeScript.CompilationEnvironment Resolve ()
{
return new TypeScriptServiceBridge.TypeScript.CompilationEnvironment ((ObjectInstance) Instance.CallMemberFunction ("resolve"));
}
[TypeScriptBridge ("compile")]
public void Compile ()
{
Instance.CallMemberFunction ("compile");
}
[TypeScriptBridge ("run")]
public void Run ()
{
Instance.CallMemberFunction ("run");
}
[TypeScriptBridge ("batchCompile")]
public void BatchCompile ()
{
Instance.CallMemberFunction ("batchCompile");
}
}
}
namespace TypeScriptServiceBridge.TypeScript.CompilerDiagnostics
{
public interface IDiagnosticWriter : ITypeScriptObject
{
[TypeScriptBridge ("Alert")]
void Alert (string @output);
}
public class IDiagnosticWriter_Impl : TypeScriptObject, IDiagnosticWriter
{
public IDiagnosticWriter_Impl (ObjectInstance instance) : base (instance) {}
[TypeScriptBridge ("Alert")]
public void Alert (string @output)
{
Instance.CallMemberFunction ("Alert", @output);
}
}
}
namespace TypeScriptServiceBridge.TypeScript
{
public interface ILogger : ITypeScriptObject
{
[TypeScriptBridge ("information")]
bool Information ();
[TypeScriptBridge ("debug")]
bool Debug ();
[TypeScriptBridge ("warning")]
bool Warning ();
[TypeScriptBridge ("error")]
bool Error ();
[TypeScriptBridge ("fatal")]
bool Fatal ();
[TypeScriptBridge ("log")]
void Log (string @s);
}
public class ILogger_Impl : TypeScriptObject, ILogger
{
public ILogger_Impl (ObjectInstance instance) : base (instance) {}
[TypeScriptBridge ("information")]
public bool Information ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("information"));
}
[TypeScriptBridge ("debug")]
public bool Debug ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("debug"));
}
[TypeScriptBridge ("warning")]
public bool Warning ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("warning"));
}
[TypeScriptBridge ("error")]
public bool Error ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("error"));
}
[TypeScriptBridge ("fatal")]
public bool Fatal ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("fatal"));
}
[TypeScriptBridge ("log")]
public void Log (string @s)
{
Instance.CallMemberFunction ("log", @s);
}
}
public class NullLogger : TypeScriptObject
, ILogger
{
public NullLogger (ObjectInstance instance) : base (instance) {}
public NullLogger ()
: base (CallConstructor ("TypeScript", "NullLogger"))
{
}
[TypeScriptBridge ("information")]
public bool Information ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("information"));
}
[TypeScriptBridge ("debug")]
public bool Debug ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("debug"));
}
[TypeScriptBridge ("warning")]
public bool Warning ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("warning"));
}
[TypeScriptBridge ("error")]
public bool Error ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("error"));
}
[TypeScriptBridge ("fatal")]
public bool Fatal ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("fatal"));
}
[TypeScriptBridge ("log")]
public void Log (string @s)
{
Instance.CallMemberFunction ("log", @s);
}
bool TypeScriptServiceBridge.TypeScript.ILogger.Information ()
{
return (bool) Information ();
}
bool TypeScriptServiceBridge.TypeScript.ILogger.Debug ()
{
return (bool) Debug ();
}
bool TypeScriptServiceBridge.TypeScript.ILogger.Warning ()
{
return (bool) Warning ();
}
bool TypeScriptServiceBridge.TypeScript.ILogger.Error ()
{
return (bool) Error ();
}
bool TypeScriptServiceBridge.TypeScript.ILogger.Fatal ()
{
return (bool) Fatal ();
}
void TypeScriptServiceBridge.TypeScript.ILogger.Log (string @s)
{
Log ((string) @s);
}
}
public class LoggerAdapter : TypeScriptObject
, ILogger
{
public LoggerAdapter (ObjectInstance instance) : base (instance) {}
public LoggerAdapter (TypeScriptServiceBridge.TypeScript.ILogger @logger)
: base (CallConstructor ("TypeScript", "LoggerAdapter", @logger != null ? @logger.Instance : null))
{
}
[TypeScriptBridge ("logger")]
public TypeScriptServiceBridge.TypeScript.ILogger Logger {
get { return new TypeScriptServiceBridge.TypeScript.ILogger_Impl ((ObjectInstance) Instance.GetPropertyValue ("logger")); }
set { Instance.SetPropertyValue ("logger", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_logger")]
public TypeScriptServiceBridge.TypeScript.ILogger Get_logger ()
{
return new TypeScriptServiceBridge.TypeScript.ILogger_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_logger"));
}
[TypeScriptBridge ("set_logger")]
public void Set_logger (TypeScriptServiceBridge.TypeScript.ILogger @value)
{
Instance.CallMemberFunction ("set_logger", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("information")]
public bool Information ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("information"));
}
[TypeScriptBridge ("debug")]
public bool Debug ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("debug"));
}
[TypeScriptBridge ("warning")]
public bool Warning ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("warning"));
}
[TypeScriptBridge ("error")]
public bool Error ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("error"));
}
[TypeScriptBridge ("fatal")]
public bool Fatal ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("fatal"));
}
[TypeScriptBridge ("log")]
public void Log (string @s)
{
Instance.CallMemberFunction ("log", @s);
}
bool TypeScriptServiceBridge.TypeScript.ILogger.Information ()
{
return (bool) Information ();
}
bool TypeScriptServiceBridge.TypeScript.ILogger.Debug ()
{
return (bool) Debug ();
}
bool TypeScriptServiceBridge.TypeScript.ILogger.Warning ()
{
return (bool) Warning ();
}
bool TypeScriptServiceBridge.TypeScript.ILogger.Error ()
{
return (bool) Error ();
}
bool TypeScriptServiceBridge.TypeScript.ILogger.Fatal ()
{
return (bool) Fatal ();
}
void TypeScriptServiceBridge.TypeScript.ILogger.Log (string @s)
{
Log ((string) @s);
}
}
public class BufferedLogger : TypeScriptObject
, ILogger
{
public BufferedLogger (ObjectInstance instance) : base (instance) {}
public BufferedLogger ()
: base (CallConstructor ("TypeScript", "BufferedLogger"))
{
}
[TypeScriptBridge ("logContents")]
public ArrayInstance LogContents {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("logContents")); }
set { Instance.SetPropertyValue ("logContents", value, true); }
}
[TypeScriptBridge ("get_logContents")]
public ArrayInstance Get_logContents ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_logContents"));
}
[TypeScriptBridge ("set_logContents")]
public void Set_logContents (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_logContents", @value);
}
[TypeScriptBridge ("information")]
public bool Information ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("information"));
}
[TypeScriptBridge ("debug")]
public bool Debug ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("debug"));
}
[TypeScriptBridge ("warning")]
public bool Warning ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("warning"));
}
[TypeScriptBridge ("error")]
public bool Error ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("error"));
}
[TypeScriptBridge ("fatal")]
public bool Fatal ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("fatal"));
}
[TypeScriptBridge ("log")]
public void Log (string @s)
{
Instance.CallMemberFunction ("log", @s);
}
bool TypeScriptServiceBridge.TypeScript.ILogger.Information ()
{
return (bool) Information ();
}
bool TypeScriptServiceBridge.TypeScript.ILogger.Debug ()
{
return (bool) Debug ();
}
bool TypeScriptServiceBridge.TypeScript.ILogger.Warning ()
{
return (bool) Warning ();
}
bool TypeScriptServiceBridge.TypeScript.ILogger.Error ()
{
return (bool) Error ();
}
bool TypeScriptServiceBridge.TypeScript.ILogger.Fatal ()
{
return (bool) Fatal ();
}
void TypeScriptServiceBridge.TypeScript.ILogger.Log (string @s)
{
Log ((string) @s);
}
}
public enum ErrorRecoverySet
{
None = 0,
Comma = 1,
SColon = 2,
Asg = 4,
BinOp = 8,
RBrack = 16,
RCurly = 32,
RParen = 64,
Dot = 128,
Colon = 256,
PrimType = 512,
AddOp = 1024,
LCurly = 2048,
PreOp = 4096,
RegExp = 8192,
LParen = 16384,
LBrack = 32768,
Postfix = 49280,
Scope = 65536,
In = 131072,
SCase = 262144,
Else = 524288,
Catch = 1048576,
Var = 2097152,
Stmt = 4194304,
While = 8388608,
ID = 16777216,
Prefix = 33554432,
Literal = 67108864,
RLit = 134217728,
Func = 268435456,
ExprStart = 520158210,
EOF = 536870912,
TypeScriptS = 1073741824,
StmtStart = 1608580098,
}
public enum AllowedElements
{
None = 0,
ModuleDeclarations = 4,
ClassDeclarations = 8,
InterfaceDeclarations = 16,
AmbientDeclarations = 1024,
Global = 1052,
Properties = 2048,
QuickParse = 3100,
}
public enum Modifiers
{
None = 0,
Private = 1,
Public = 2,
Readonly = 4,
Ambient = 8,
Exported = 16,
Getter = 32,
Setter = 64,
Static = 128,
}
public enum ASTFlags
{
None = 0,
ExplicitSemicolon = 1,
AutomaticSemicolon = 2,
Writeable = 4,
Error = 8,
DotLHSPartial = 16,
DotLHS = 32,
IsStatement = 64,
StrictMode = 128,
PossibleOptionalParameter = 256,
ClassBaseConstructorCall = 512,
OptionalName = 1024,
SkipNextRParen = 2048,
}
public enum DeclFlags
{
None = 0,
Exported = 1,
Private = 2,
Public = 4,
Ambient = 8,
Static = 16,
LocalStatic = 32,
GetAccessor = 64,
SetAccessor = 128,
}
public enum ModuleFlags
{
None = 0,
Exported = 1,
Private = 2,
Public = 4,
Ambient = 8,
Static = 16,
LocalStatic = 32,
GetAccessor = 64,
SetAccessor = 128,
IsEnum = 256,
ShouldEmitModuleDecl = 512,
IsWholeFile = 1024,
IsDynamic = 2048,
MustCaptureThis = 4096,
}
public enum SymbolFlags
{
None = 0,
Exported = 1,
Private = 2,
Public = 4,
Ambient = 8,
Static = 16,
LocalStatic = 32,
GetAccessor = 64,
SetAccessor = 128,
Property = 256,
Readonly = 512,
ModuleMember = 1024,
InterfaceMember = 2048,
ClassMember = 4096,
BuiltIn = 8192,
TypeSetDuringScopeAssignment = 16384,
Constant = 32768,
Optional = 65536,
RecursivelyReferenced = 131072,
Bound = 262144,
CompilerGenerated = 524288,
}
public enum VarFlags
{
None = 0,
Exported = 1,
Private = 2,
Public = 4,
Ambient = 8,
Static = 16,
LocalStatic = 32,
GetAccessor = 64,
SetAccessor = 128,
AutoInit = 256,
Property = 512,
Readonly = 1024,
Class = 2048,
ClassProperty = 4096,
ClassBodyProperty = 8192,
ClassConstructorProperty = 16384,
ClassSuperMustBeFirstCallInConstructor = 32768,
Constant = 65536,
MustCaptureThis = 131072,
}
public enum FncFlags
{
None = 0,
Exported = 1,
Private = 2,
Public = 4,
Ambient = 8,
Static = 16,
LocalStatic = 32,
GetAccessor = 64,
SetAccessor = 128,
Definition = 256,
Signature = 512,
Method = 1024,
HasReturnExpression = 2048,
CallMember = 4096,
ConstructMember = 8192,
HasSelfReference = 16384,
IsFatArrowFunction = 32768,
IndexerMember = 65536,
IsFunctionExpression = 131072,
ClassMethod = 262144,
ClassPropertyMethodExported = 524288,
}
public enum SignatureFlags
{
None = 0,
IsIndexer = 1,
IsStringIndexer = 2,
IsNumberIndexer = 4,
}
public enum TypeFlags
{
None = 0,
HasImplementation = 1,
HasSelfReference = 2,
MergeResult = 4,
IsEnum = 8,
BuildingName = 16,
HasBaseType = 32,
HasBaseTypeOfObject = 64,
IsClass = 128,
}
public enum TypeRelationshipFlags
{
SuccessfulComparison = 0,
SourceIsNullTargetIsVoidOrUndefined = 1,
RequiredPropertyIsMissing = 2,
SourceSignatureHasTooManyParameters = 3,
IncompatibleSignatures = 4,
IncompatibleReturnTypes = 16,
IncompatiblePropertyTypes = 32,
IncompatibleParameterTypes = 64,
}
public enum CodeGenTarget
{
ES3 = 0,
ES5 = 1,
}
public enum ModuleGenTarget
{
Synchronous = 0,
Asynchronous = 1,
Local = 2,
}
public enum NodeType
{
None = 0,
Empty = 1,
EmptyExpr = 2,
True = 3,
False = 4,
This = 5,
Super = 6,
QString = 7,
Regex = 8,
Null = 9,
ArrayLit = 10,
ObjectLit = 11,
Void = 12,
Comma = 13,
Pos = 14,
Neg = 15,
Delete = 16,
Await = 17,
In = 18,
Dot = 19,
From = 20,
Is = 21,
InstOf = 22,
Typeof = 23,
NumberLit = 24,
Name = 25,
TypeRef = 26,
Index = 27,
Call = 28,
New = 29,
Asg = 30,
AsgAdd = 31,
AsgSub = 32,
AsgDiv = 33,
AsgMul = 34,
AsgMod = 35,
AsgAnd = 36,
AsgXor = 37,
AsgOr = 38,
AsgLsh = 39,
AsgRsh = 40,
LastAsg = 41,
AsgRs2 = 41,
ConditionalExpression = 42,
LogOr = 43,
LogAnd = 44,
Or = 45,
Xor = 46,
And = 47,
Eq = 48,
Ne = 49,
Eqv = 50,
NEqv = 51,
Lt = 52,
Le = 53,
Gt = 54,
Ge = 55,
Add = 56,
Sub = 57,
Mul = 58,
Div = 59,
Mod = 60,
Lsh = 61,
Rsh = 62,
Rs2 = 63,
Not = 64,
LogNot = 65,
IncPre = 66,
DecPre = 67,
IncPost = 68,
DecPost = 69,
TypeAssertion = 70,
FuncDecl = 71,
GeneralNode = 71,
Member = 72,
VarDecl = 73,
ArgDecl = 74,
Return = 75,
Break = 76,
Continue = 77,
Throw = 78,
For = 79,
ForIn = 80,
If = 81,
While = 82,
DoWhile = 83,
Block = 84,
Case = 85,
Switch = 86,
Try = 87,
TryCatch = 88,
TryFinally = 89,
Finally = 90,
Catch = 91,
List = 92,
Script = 93,
ClassDeclaration = 94,
InterfaceDeclaration = 95,
ModuleDeclaration = 96,
ImportDeclaration = 97,
With = 98,
Label = 99,
LabeledStatement = 100,
EBStart = 101,
GotoEB = 102,
EndCode = 103,
Error = 104,
Comment = 105,
Debugger = 106,
}
public class BlockIntrinsics : TypeScriptObject
{
public BlockIntrinsics (ObjectInstance instance) : base (instance) {}
public BlockIntrinsics ()
: base (CallConstructor ("TypeScript", "BlockIntrinsics"))
{
}
[TypeScriptBridge ("prototype")]
public System.Object Prototype {
get { return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("prototype")); }
set { Instance.SetPropertyValue ("prototype", value, true); }
}
[TypeScriptBridge ("toString")]
public System.Object ToString {
get { return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("toString")); }
set { Instance.SetPropertyValue ("toString", value, true); }
}
[TypeScriptBridge ("toLocaleString")]
public System.Object ToLocaleString {
get { return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("toLocaleString")); }
set { Instance.SetPropertyValue ("toLocaleString", value, true); }
}
[TypeScriptBridge ("valueOf")]
public System.Object ValueOf {
get { return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("valueOf")); }
set { Instance.SetPropertyValue ("valueOf", value, true); }
}
[TypeScriptBridge ("hasOwnProperty")]
public System.Object HasOwnProperty {
get { return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("hasOwnProperty")); }
set { Instance.SetPropertyValue ("hasOwnProperty", value, true); }
}
[TypeScriptBridge ("propertyIsEnumerable")]
public System.Object PropertyIsEnumerable {
get { return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("propertyIsEnumerable")); }
set { Instance.SetPropertyValue ("propertyIsEnumerable", value, true); }
}
[TypeScriptBridge ("isPrototypeOf")]
public System.Object IsPrototypeOf {
get { return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("isPrototypeOf")); }
set { Instance.SetPropertyValue ("isPrototypeOf", value, true); }
}
[TypeScriptBridge ("get_prototype")]
public System.Object Get_prototype ()
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_prototype"));
}
[TypeScriptBridge ("set_prototype")]
public void Set_prototype (System.Object @value)
{
Instance.CallMemberFunction ("set_prototype", @value);
}
[TypeScriptBridge ("get_toString")]
public System.Object Get_toString ()
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_toString"));
}
[TypeScriptBridge ("set_toString")]
public void Set_toString (System.Object @value)
{
Instance.CallMemberFunction ("set_toString", @value);
}
[TypeScriptBridge ("get_toLocaleString")]
public System.Object Get_toLocaleString ()
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_toLocaleString"));
}
[TypeScriptBridge ("set_toLocaleString")]
public void Set_toLocaleString (System.Object @value)
{
Instance.CallMemberFunction ("set_toLocaleString", @value);
}
[TypeScriptBridge ("get_valueOf")]
public System.Object Get_valueOf ()
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_valueOf"));
}
[TypeScriptBridge ("set_valueOf")]
public void Set_valueOf (System.Object @value)
{
Instance.CallMemberFunction ("set_valueOf", @value);
}
[TypeScriptBridge ("get_hasOwnProperty")]
public System.Object Get_hasOwnProperty ()
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_hasOwnProperty"));
}
[TypeScriptBridge ("set_hasOwnProperty")]
public void Set_hasOwnProperty (System.Object @value)
{
Instance.CallMemberFunction ("set_hasOwnProperty", @value);
}
[TypeScriptBridge ("get_propertyIsEnumerable")]
public System.Object Get_propertyIsEnumerable ()
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_propertyIsEnumerable"));
}
[TypeScriptBridge ("set_propertyIsEnumerable")]
public void Set_propertyIsEnumerable (System.Object @value)
{
Instance.CallMemberFunction ("set_propertyIsEnumerable", @value);
}
[TypeScriptBridge ("get_isPrototypeOf")]
public System.Object Get_isPrototypeOf ()
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_isPrototypeOf"));
}
[TypeScriptBridge ("set_isPrototypeOf")]
public void Set_isPrototypeOf (System.Object @value)
{
Instance.CallMemberFunction ("set_isPrototypeOf", @value);
}
}
public interface IHashTable : ITypeScriptObject
{
[TypeScriptBridge ("getAllKeys")]
ArrayInstance GetAllKeys ();
[TypeScriptBridge ("add")]
bool Add (string @key, System.Object @data);
[TypeScriptBridge ("addOrUpdate")]
bool AddOrUpdate (string @key, System.Object @data);
[TypeScriptBridge ("count")]
double Count ();
[TypeScriptBridge ("lookup")]
System.Object Lookup (string @key);
}
public class IHashTable_Impl : TypeScriptObject, IHashTable
{
public IHashTable_Impl (ObjectInstance instance) : base (instance) {}
[TypeScriptBridge ("getAllKeys")]
public ArrayInstance GetAllKeys ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getAllKeys"));
}
[TypeScriptBridge ("add")]
public bool Add (string @key, System.Object @data)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("add", @key, @data));
}
[TypeScriptBridge ("addOrUpdate")]
public bool AddOrUpdate (string @key, System.Object @data)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("addOrUpdate", @key, @data));
}
[TypeScriptBridge ("count")]
public double Count ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("count"));
}
[TypeScriptBridge ("lookup")]
public System.Object Lookup (string @key)
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("lookup", @key));
}
}
public class StringHashTable : TypeScriptObject
, IHashTable
{
public StringHashTable (ObjectInstance instance) : base (instance) {}
public StringHashTable ()
: base (CallConstructor ("TypeScript", "StringHashTable"))
{
}
[TypeScriptBridge ("itemCount")]
public double ItemCount {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("itemCount")); }
set { Instance.SetPropertyValue ("itemCount", value, true); }
}
[TypeScriptBridge ("table")]
public System.Object Table {
get { return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("table")); }
set { Instance.SetPropertyValue ("table", value, true); }
}
[TypeScriptBridge ("get_itemCount")]
public double Get_itemCount ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_itemCount"));
}
[TypeScriptBridge ("set_itemCount")]
public void Set_itemCount (double @value)
{
Instance.CallMemberFunction ("set_itemCount", @value);
}
[TypeScriptBridge ("get_table")]
public System.Object Get_table ()
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_table"));
}
[TypeScriptBridge ("set_table")]
public void Set_table (System.Object @value)
{
Instance.CallMemberFunction ("set_table", @value);
}
[TypeScriptBridge ("getAllKeys")]
public ArrayInstance GetAllKeys ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getAllKeys"));
}
[TypeScriptBridge ("add")]
public bool Add (string @key, System.Object @data)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("add", @key, @data));
}
[TypeScriptBridge ("addOrUpdate")]
public bool AddOrUpdate (string @key, System.Object @data)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("addOrUpdate", @key, @data));
}
[TypeScriptBridge ("count")]
public double Count ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("count"));
}
[TypeScriptBridge ("lookup")]
public System.Object Lookup (string @key)
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("lookup", @key));
}
ArrayInstance TypeScriptServiceBridge.TypeScript.IHashTable.GetAllKeys ()
{
return (ArrayInstance) GetAllKeys ();
}
bool TypeScriptServiceBridge.TypeScript.IHashTable.Add (string @key, System.Object @data)
{
return (bool) Add ((string) @key, (System.Object) @data);
}
bool TypeScriptServiceBridge.TypeScript.IHashTable.AddOrUpdate (string @key, System.Object @data)
{
return (bool) AddOrUpdate ((string) @key, (System.Object) @data);
}
double TypeScriptServiceBridge.TypeScript.IHashTable.Count ()
{
return (double) Count ();
}
System.Object TypeScriptServiceBridge.TypeScript.IHashTable.Lookup (string @key)
{
return (System.Object) Lookup ((string) @key);
}
}
public class DualStringHashTable : TypeScriptObject
, IHashTable
{
public DualStringHashTable (ObjectInstance instance) : base (instance) {}
public DualStringHashTable (TypeScriptServiceBridge.TypeScript.IHashTable @primaryTable, TypeScriptServiceBridge.TypeScript.IHashTable @secondaryTable)
: base (CallConstructor ("TypeScript", "DualStringHashTable", @primaryTable != null ? @primaryTable.Instance : null, @secondaryTable != null ? @secondaryTable.Instance : null))
{
}
[TypeScriptBridge ("primaryTable")]
public TypeScriptServiceBridge.TypeScript.IHashTable PrimaryTable {
get { return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.GetPropertyValue ("primaryTable")); }
set { Instance.SetPropertyValue ("primaryTable", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("secondaryTable")]
public TypeScriptServiceBridge.TypeScript.IHashTable SecondaryTable {
get { return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.GetPropertyValue ("secondaryTable")); }
set { Instance.SetPropertyValue ("secondaryTable", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("insertPrimary")]
public bool InsertPrimary {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("insertPrimary")); }
set { Instance.SetPropertyValue ("insertPrimary", value, true); }
}
[TypeScriptBridge ("get_primaryTable")]
public TypeScriptServiceBridge.TypeScript.IHashTable Get_primaryTable ()
{
return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_primaryTable"));
}
[TypeScriptBridge ("set_primaryTable")]
public void Set_primaryTable (TypeScriptServiceBridge.TypeScript.IHashTable @value)
{
Instance.CallMemberFunction ("set_primaryTable", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_secondaryTable")]
public TypeScriptServiceBridge.TypeScript.IHashTable Get_secondaryTable ()
{
return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_secondaryTable"));
}
[TypeScriptBridge ("set_secondaryTable")]
public void Set_secondaryTable (TypeScriptServiceBridge.TypeScript.IHashTable @value)
{
Instance.CallMemberFunction ("set_secondaryTable", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_insertPrimary")]
public bool Get_insertPrimary ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_insertPrimary"));
}
[TypeScriptBridge ("set_insertPrimary")]
public void Set_insertPrimary (bool @value)
{
Instance.CallMemberFunction ("set_insertPrimary", @value);
}
[TypeScriptBridge ("getAllKeys")]
public ArrayInstance GetAllKeys ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getAllKeys"));
}
[TypeScriptBridge ("add")]
public bool Add (string @key, System.Object @data)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("add", @key, @data));
}
[TypeScriptBridge ("addOrUpdate")]
public bool AddOrUpdate (string @key, System.Object @data)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("addOrUpdate", @key, @data));
}
[TypeScriptBridge ("count")]
public double Count ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("count"));
}
[TypeScriptBridge ("lookup")]
public System.Object Lookup (string @key)
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("lookup", @key));
}
ArrayInstance TypeScriptServiceBridge.TypeScript.IHashTable.GetAllKeys ()
{
return (ArrayInstance) GetAllKeys ();
}
bool TypeScriptServiceBridge.TypeScript.IHashTable.Add (string @key, System.Object @data)
{
return (bool) Add ((string) @key, (System.Object) @data);
}
bool TypeScriptServiceBridge.TypeScript.IHashTable.AddOrUpdate (string @key, System.Object @data)
{
return (bool) AddOrUpdate ((string) @key, (System.Object) @data);
}
double TypeScriptServiceBridge.TypeScript.IHashTable.Count ()
{
return (double) Count ();
}
System.Object TypeScriptServiceBridge.TypeScript.IHashTable.Lookup (string @key)
{
return (System.Object) Lookup ((string) @key);
}
}
public class HashEntry : TypeScriptObject
{
public HashEntry (ObjectInstance instance) : base (instance) {}
public HashEntry (System.Object @key, System.Object @data)
: base (CallConstructor ("TypeScript", "HashEntry", @key, @data))
{
}
[TypeScriptBridge ("key")]
public System.Object Key {
get { return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("key")); }
set { Instance.SetPropertyValue ("key", value, true); }
}
[TypeScriptBridge ("data")]
public System.Object Data {
get { return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("data")); }
set { Instance.SetPropertyValue ("data", value, true); }
}
[TypeScriptBridge ("next")]
public TypeScriptServiceBridge.TypeScript.HashEntry Next {
get { return new TypeScriptServiceBridge.TypeScript.HashEntry ((ObjectInstance) Instance.GetPropertyValue ("next")); }
set { Instance.SetPropertyValue ("next", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_key")]
public System.Object Get_key ()
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_key"));
}
[TypeScriptBridge ("set_key")]
public void Set_key (System.Object @value)
{
Instance.CallMemberFunction ("set_key", @value);
}
[TypeScriptBridge ("get_data")]
public System.Object Get_data ()
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_data"));
}
[TypeScriptBridge ("set_data")]
public void Set_data (System.Object @value)
{
Instance.CallMemberFunction ("set_data", @value);
}
[TypeScriptBridge ("get_next")]
public TypeScriptServiceBridge.TypeScript.HashEntry Get_next ()
{
return new TypeScriptServiceBridge.TypeScript.HashEntry ((ObjectInstance) Instance.CallMemberFunction ("get_next"));
}
[TypeScriptBridge ("set_next")]
public void Set_next (TypeScriptServiceBridge.TypeScript.HashEntry @value)
{
Instance.CallMemberFunction ("set_next", @value != null ? @value.Instance : null);
}
}
public class HashTable : TypeScriptObject
{
public HashTable (ObjectInstance instance) : base (instance) {}
public HashTable (double @size, object @hashFn, object @equalsFn)
: base (CallConstructor ("TypeScript", "HashTable", @size, @hashFn, @equalsFn))
{
}
[TypeScriptBridge ("size")]
public double Size {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("size")); }
set { Instance.SetPropertyValue ("size", value, true); }
}
[TypeScriptBridge ("itemCount")]
public double ItemCount {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("itemCount")); }
set { Instance.SetPropertyValue ("itemCount", value, true); }
}
[TypeScriptBridge ("table")]
public ArrayInstance Table {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("table")); }
set { Instance.SetPropertyValue ("table", value, true); }
}
[TypeScriptBridge ("get_size")]
public double Get_size ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_size"));
}
[TypeScriptBridge ("set_size")]
public void Set_size (double @value)
{
Instance.CallMemberFunction ("set_size", @value);
}
[TypeScriptBridge ("get_itemCount")]
public double Get_itemCount ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_itemCount"));
}
[TypeScriptBridge ("set_itemCount")]
public void Set_itemCount (double @value)
{
Instance.CallMemberFunction ("set_itemCount", @value);
}
[TypeScriptBridge ("get_table")]
public ArrayInstance Get_table ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_table"));
}
[TypeScriptBridge ("set_table")]
public void Set_table (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_table", @value);
}
[TypeScriptBridge ("add")]
public bool Add (System.Object @key, System.Object @data)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("add", @key, @data));
}
[TypeScriptBridge ("remove")]
public System.Object Remove (System.Object @key)
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("remove", @key));
}
[TypeScriptBridge ("count")]
public double Count ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("count"));
}
[TypeScriptBridge ("lookup")]
public System.Object Lookup (System.Object @key)
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("lookup", @key));
}
}
public class SimpleHashTable : TypeScriptObject
{
public SimpleHashTable (ObjectInstance instance) : base (instance) {}
public SimpleHashTable ()
: base (CallConstructor ("TypeScript", "SimpleHashTable"))
{
}
[TypeScriptBridge ("lookup")]
public System.Object Lookup (System.Object @key, bool @findValue = false)
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("lookup", @key, @findValue));
}
[TypeScriptBridge ("add")]
public bool Add (System.Object @key, System.Object @data)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("add", @key, @data));
}
}
public interface IAstWalker : ITypeScriptObject
{
[TypeScriptBridge ("options")]
TypeScriptServiceBridge.TypeScript.AstWalkOptions Options { get; set; }
[TypeScriptBridge ("state")]
System.Object State { get; set; }
[TypeScriptBridge ("walk")]
TypeScriptServiceBridge.TypeScript.AST Walk (TypeScriptServiceBridge.TypeScript.AST @ast, TypeScriptServiceBridge.TypeScript.AST @parent);
[TypeScriptBridge ("get_options")]
TypeScriptServiceBridge.TypeScript.AstWalkOptions Get_options ();
[TypeScriptBridge ("set_options")]
void Set_options (TypeScriptServiceBridge.TypeScript.AstWalkOptions @value);
[TypeScriptBridge ("get_state")]
System.Object Get_state ();
[TypeScriptBridge ("set_state")]
void Set_state (System.Object @value);
}
public class IAstWalker_Impl : TypeScriptObject, IAstWalker
{
public IAstWalker_Impl (ObjectInstance instance) : base (instance) {}
[TypeScriptBridge ("options")]
public TypeScriptServiceBridge.TypeScript.AstWalkOptions Options {
get { return new TypeScriptServiceBridge.TypeScript.AstWalkOptions ((ObjectInstance) Instance.GetPropertyValue ("options")); }
set { Instance.SetPropertyValue ("options", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("state")]
public System.Object State {
get { return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("state")); }
set { Instance.SetPropertyValue ("state", value, true); }
}
[TypeScriptBridge ("walk")]
public TypeScriptServiceBridge.TypeScript.AST Walk (TypeScriptServiceBridge.TypeScript.AST @ast, TypeScriptServiceBridge.TypeScript.AST @parent)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("walk", @ast != null ? @ast.Instance : null, @parent != null ? @parent.Instance : null));
}
[TypeScriptBridge ("get_options")]
public TypeScriptServiceBridge.TypeScript.AstWalkOptions Get_options ()
{
return new TypeScriptServiceBridge.TypeScript.AstWalkOptions ((ObjectInstance) Instance.CallMemberFunction ("get_options"));
}
[TypeScriptBridge ("set_options")]
public void Set_options (TypeScriptServiceBridge.TypeScript.AstWalkOptions @value)
{
Instance.CallMemberFunction ("set_options", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_state")]
public System.Object Get_state ()
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_state"));
}
[TypeScriptBridge ("set_state")]
public void Set_state (System.Object @value)
{
Instance.CallMemberFunction ("set_state", @value);
}
}
public class AstWalkOptions : TypeScriptObject
{
public AstWalkOptions (ObjectInstance instance) : base (instance) {}
public AstWalkOptions ()
: base (CallConstructor ("TypeScript", "AstWalkOptions"))
{
}
[TypeScriptBridge ("goChildren")]
public bool GoChildren {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("goChildren")); }
set { Instance.SetPropertyValue ("goChildren", value, true); }
}
[TypeScriptBridge ("goNextSibling")]
public bool GoNextSibling {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("goNextSibling")); }
set { Instance.SetPropertyValue ("goNextSibling", value, true); }
}
[TypeScriptBridge ("reverseSiblings")]
public bool ReverseSiblings {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("reverseSiblings")); }
set { Instance.SetPropertyValue ("reverseSiblings", value, true); }
}
[TypeScriptBridge ("get_goChildren")]
public bool Get_goChildren ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_goChildren"));
}
[TypeScriptBridge ("set_goChildren")]
public void Set_goChildren (bool @value)
{
Instance.CallMemberFunction ("set_goChildren", @value);
}
[TypeScriptBridge ("get_goNextSibling")]
public bool Get_goNextSibling ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_goNextSibling"));
}
[TypeScriptBridge ("set_goNextSibling")]
public void Set_goNextSibling (bool @value)
{
Instance.CallMemberFunction ("set_goNextSibling", @value);
}
[TypeScriptBridge ("get_reverseSiblings")]
public bool Get_reverseSiblings ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_reverseSiblings"));
}
[TypeScriptBridge ("set_reverseSiblings")]
public void Set_reverseSiblings (bool @value)
{
Instance.CallMemberFunction ("set_reverseSiblings", @value);
}
[TypeScriptBridge ("stopWalk")]
public void StopWalk (bool @stop = true)
{
Instance.CallMemberFunction ("stopWalk", @stop);
}
}
public interface IAstWalkCallback : ITypeScriptObject
{
[TypeScriptBridge ("_call")]
TypeScriptServiceBridge.TypeScript.AST _call (TypeScriptServiceBridge.TypeScript.AST @ast, TypeScriptServiceBridge.TypeScript.AST @parent, TypeScriptServiceBridge.TypeScript.IAstWalker @walker);
}
public class IAstWalkCallback_Impl : TypeScriptObject, IAstWalkCallback
{
public IAstWalkCallback_Impl (ObjectInstance instance) : base (instance) {}
[TypeScriptBridge ("_call")]
public TypeScriptServiceBridge.TypeScript.AST _call (TypeScriptServiceBridge.TypeScript.AST @ast, TypeScriptServiceBridge.TypeScript.AST @parent, TypeScriptServiceBridge.TypeScript.IAstWalker @walker)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("_call", @ast != null ? @ast.Instance : null, @parent != null ? @parent.Instance : null, @walker != null ? @walker.Instance : null));
}
}
public interface IAstWalkChildren : ITypeScriptObject
{
[TypeScriptBridge ("_call")]
void _call (TypeScriptServiceBridge.TypeScript.AST @preAst, TypeScriptServiceBridge.TypeScript.AST @parent, TypeScriptServiceBridge.TypeScript.IAstWalker @walker);
}
public class IAstWalkChildren_Impl : TypeScriptObject, IAstWalkChildren
{
public IAstWalkChildren_Impl (ObjectInstance instance) : base (instance) {}
[TypeScriptBridge ("_call")]
public void _call (TypeScriptServiceBridge.TypeScript.AST @preAst, TypeScriptServiceBridge.TypeScript.AST @parent, TypeScriptServiceBridge.TypeScript.IAstWalker @walker)
{
Instance.CallMemberFunction ("_call", @preAst != null ? @preAst.Instance : null, @parent != null ? @parent.Instance : null, @walker != null ? @walker.Instance : null);
}
}
public class AstWalker : TypeScriptObject
, IAstWalker
{
public AstWalker (ObjectInstance instance) : base (instance) {}
public AstWalker (ArrayInstance @childrenWalkers, TypeScriptServiceBridge.TypeScript.IAstWalkCallback @pre, TypeScriptServiceBridge.TypeScript.IAstWalkCallback @post, TypeScriptServiceBridge.TypeScript.AstWalkOptions @options, System.Object @state)
: base (CallConstructor ("TypeScript", "AstWalker", @childrenWalkers, @pre != null ? @pre.Instance : null, @post != null ? @post.Instance : null, @options != null ? @options.Instance : null, @state))
{
}
[TypeScriptBridge ("childrenWalkers")]
public ArrayInstance ChildrenWalkers {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("childrenWalkers")); }
set { Instance.SetPropertyValue ("childrenWalkers", value, true); }
}
[TypeScriptBridge ("pre")]
public TypeScriptServiceBridge.TypeScript.IAstWalkCallback Pre {
get { return new TypeScriptServiceBridge.TypeScript.IAstWalkCallback_Impl ((ObjectInstance) Instance.GetPropertyValue ("pre")); }
set { Instance.SetPropertyValue ("pre", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("post")]
public TypeScriptServiceBridge.TypeScript.IAstWalkCallback Post {
get { return new TypeScriptServiceBridge.TypeScript.IAstWalkCallback_Impl ((ObjectInstance) Instance.GetPropertyValue ("post")); }
set { Instance.SetPropertyValue ("post", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("options")]
public TypeScriptServiceBridge.TypeScript.AstWalkOptions Options {
get { return new TypeScriptServiceBridge.TypeScript.AstWalkOptions ((ObjectInstance) Instance.GetPropertyValue ("options")); }
set { Instance.SetPropertyValue ("options", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("state")]
public System.Object State {
get { return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("state")); }
set { Instance.SetPropertyValue ("state", value, true); }
}
[TypeScriptBridge ("get_childrenWalkers")]
public ArrayInstance Get_childrenWalkers ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_childrenWalkers"));
}
[TypeScriptBridge ("set_childrenWalkers")]
public void Set_childrenWalkers (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_childrenWalkers", @value);
}
[TypeScriptBridge ("get_pre")]
public TypeScriptServiceBridge.TypeScript.IAstWalkCallback Get_pre ()
{
return new TypeScriptServiceBridge.TypeScript.IAstWalkCallback_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_pre"));
}
[TypeScriptBridge ("set_pre")]
public void Set_pre (TypeScriptServiceBridge.TypeScript.IAstWalkCallback @value)
{
Instance.CallMemberFunction ("set_pre", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_post")]
public TypeScriptServiceBridge.TypeScript.IAstWalkCallback Get_post ()
{
return new TypeScriptServiceBridge.TypeScript.IAstWalkCallback_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_post"));
}
[TypeScriptBridge ("set_post")]
public void Set_post (TypeScriptServiceBridge.TypeScript.IAstWalkCallback @value)
{
Instance.CallMemberFunction ("set_post", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_options")]
public TypeScriptServiceBridge.TypeScript.AstWalkOptions Get_options ()
{
return new TypeScriptServiceBridge.TypeScript.AstWalkOptions ((ObjectInstance) Instance.CallMemberFunction ("get_options"));
}
[TypeScriptBridge ("set_options")]
public void Set_options (TypeScriptServiceBridge.TypeScript.AstWalkOptions @value)
{
Instance.CallMemberFunction ("set_options", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_state")]
public System.Object Get_state ()
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_state"));
}
[TypeScriptBridge ("set_state")]
public void Set_state (System.Object @value)
{
Instance.CallMemberFunction ("set_state", @value);
}
[TypeScriptBridge ("walk")]
public TypeScriptServiceBridge.TypeScript.AST Walk (TypeScriptServiceBridge.TypeScript.AST @ast, TypeScriptServiceBridge.TypeScript.AST @parent)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("walk", @ast != null ? @ast.Instance : null, @parent != null ? @parent.Instance : null));
}
TypeScriptServiceBridge.TypeScript.AstWalkOptions TypeScriptServiceBridge.TypeScript.IAstWalker.Options {
get { return (TypeScriptServiceBridge.TypeScript.AstWalkOptions) Options; }
set { Options = (TypeScriptServiceBridge.TypeScript.AstWalkOptions) value; }
}
System.Object TypeScriptServiceBridge.TypeScript.IAstWalker.State {
get { return (System.Object) State; }
set { State = (System.Object) value; }
}
TypeScriptServiceBridge.TypeScript.AST TypeScriptServiceBridge.TypeScript.IAstWalker.Walk (TypeScriptServiceBridge.TypeScript.AST @ast, TypeScriptServiceBridge.TypeScript.AST @parent)
{
return (TypeScriptServiceBridge.TypeScript.AST) Walk ((TypeScriptServiceBridge.TypeScript.AST) @ast, (TypeScriptServiceBridge.TypeScript.AST) @parent);
}
TypeScriptServiceBridge.TypeScript.AstWalkOptions TypeScriptServiceBridge.TypeScript.IAstWalker.Get_options ()
{
return (TypeScriptServiceBridge.TypeScript.AstWalkOptions) Get_options ();
}
void TypeScriptServiceBridge.TypeScript.IAstWalker.Set_options (TypeScriptServiceBridge.TypeScript.AstWalkOptions @value)
{
Set_options ((TypeScriptServiceBridge.TypeScript.AstWalkOptions) @value);
}
System.Object TypeScriptServiceBridge.TypeScript.IAstWalker.Get_state ()
{
return (System.Object) Get_state ();
}
void TypeScriptServiceBridge.TypeScript.IAstWalker.Set_state (System.Object @value)
{
Set_state ((System.Object) @value);
}
}
public class AstWalkerFactory : TypeScriptObject
{
public AstWalkerFactory (ObjectInstance instance) : base (instance) {}
public AstWalkerFactory ()
: base (CallConstructor ("TypeScript", "AstWalkerFactory"))
{
}
[TypeScriptBridge ("walk")]
public TypeScriptServiceBridge.TypeScript.AST Walk (TypeScriptServiceBridge.TypeScript.AST @ast, TypeScriptServiceBridge.TypeScript.IAstWalkCallback @pre, TypeScriptServiceBridge.TypeScript.IAstWalkCallback @post = null, TypeScriptServiceBridge.TypeScript.AstWalkOptions @options = null, System.Object @state = null)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("walk", @ast != null ? @ast.Instance : null, @pre != null ? @pre.Instance : null, @post != null ? @post.Instance : null, @options != null ? @options.Instance : null, @state));
}
[TypeScriptBridge ("getWalker")]
public TypeScriptServiceBridge.TypeScript.IAstWalker GetWalker (TypeScriptServiceBridge.TypeScript.IAstWalkCallback @pre, TypeScriptServiceBridge.TypeScript.IAstWalkCallback @post = null, TypeScriptServiceBridge.TypeScript.AstWalkOptions @options = null, System.Object @state = null)
{
return new TypeScriptServiceBridge.TypeScript.IAstWalker_Impl ((ObjectInstance) Instance.CallMemberFunction ("getWalker", @pre != null ? @pre.Instance : null, @post != null ? @post.Instance : null, @options != null ? @options.Instance : null, @state));
}
[TypeScriptBridge ("getSlowWalker")]
public TypeScriptServiceBridge.TypeScript.IAstWalker GetSlowWalker (TypeScriptServiceBridge.TypeScript.IAstWalkCallback @pre, TypeScriptServiceBridge.TypeScript.IAstWalkCallback @post = null, TypeScriptServiceBridge.TypeScript.AstWalkOptions @options = null, System.Object @state = null)
{
return new TypeScriptServiceBridge.TypeScript.IAstWalker_Impl ((ObjectInstance) Instance.CallMemberFunction ("getSlowWalker", @pre != null ? @pre.Instance : null, @post != null ? @post.Instance : null, @options != null ? @options.Instance : null, @state));
}
[TypeScriptBridge ("initChildrenWalkers")]
public void InitChildrenWalkers ()
{
Instance.CallMemberFunction ("initChildrenWalkers");
}
}
public class AstPath : TypeScriptObject
{
public AstPath (ObjectInstance instance) : base (instance) {}
public AstPath ()
: base (CallConstructor ("TypeScript", "AstPath"))
{
}
[TypeScriptBridge ("asts")]
public ArrayInstance Asts {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("asts")); }
set { Instance.SetPropertyValue ("asts", value, true); }
}
[TypeScriptBridge ("top")]
public double Top {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("top")); }
set { Instance.SetPropertyValue ("top", value, true); }
}
[TypeScriptBridge ("get_asts")]
public ArrayInstance Get_asts ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_asts"));
}
[TypeScriptBridge ("set_asts")]
public void Set_asts (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_asts", @value);
}
[TypeScriptBridge ("get_top")]
public double Get_top ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_top"));
}
[TypeScriptBridge ("set_top")]
public void Set_top (double @value)
{
Instance.CallMemberFunction ("set_top", @value);
}
[TypeScriptBridge ("reverseIndexOf")]
public System.Object ReverseIndexOf (ArrayInstance @items, double @index)
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("reverseIndexOf", @items, @index));
}
[TypeScriptBridge ("clone")]
public TypeScriptServiceBridge.TypeScript.AstPath Clone ()
{
return new TypeScriptServiceBridge.TypeScript.AstPath ((ObjectInstance) Instance.CallMemberFunction ("clone"));
}
[TypeScriptBridge ("pop")]
public TypeScriptServiceBridge.TypeScript.AST Pop ()
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("pop"));
}
[TypeScriptBridge ("push")]
public void Push (TypeScriptServiceBridge.TypeScript.AST @ast)
{
Instance.CallMemberFunction ("push", @ast != null ? @ast.Instance : null);
}
[TypeScriptBridge ("up")]
public void Up ()
{
Instance.CallMemberFunction ("up");
}
[TypeScriptBridge ("down")]
public void Down ()
{
Instance.CallMemberFunction ("down");
}
[TypeScriptBridge ("nodeType")]
public TypeScriptServiceBridge.TypeScript.NodeType NodeType ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.NodeType> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("nodeType"));
}
[TypeScriptBridge ("ast")]
public TypeScriptServiceBridge.TypeScript.AST Ast ()
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("ast"));
}
[TypeScriptBridge ("parent")]
public TypeScriptServiceBridge.TypeScript.AST Parent ()
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("parent"));
}
[TypeScriptBridge ("count")]
public double Count ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("count"));
}
[TypeScriptBridge ("get")]
public TypeScriptServiceBridge.TypeScript.AST Get (double @index)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("get", @index));
}
[TypeScriptBridge ("isNameOfClass")]
public bool IsNameOfClass ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isNameOfClass"));
}
[TypeScriptBridge ("isNameOfInterface")]
public bool IsNameOfInterface ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isNameOfInterface"));
}
[TypeScriptBridge ("isNameOfArgument")]
public bool IsNameOfArgument ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isNameOfArgument"));
}
[TypeScriptBridge ("isNameOfVariable")]
public bool IsNameOfVariable ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isNameOfVariable"));
}
[TypeScriptBridge ("isNameOfModule")]
public bool IsNameOfModule ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isNameOfModule"));
}
[TypeScriptBridge ("isNameOfFunction")]
public bool IsNameOfFunction ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isNameOfFunction"));
}
[TypeScriptBridge ("isChildOfScript")]
public bool IsChildOfScript ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isChildOfScript"));
}
[TypeScriptBridge ("isChildOfModule")]
public bool IsChildOfModule ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isChildOfModule"));
}
[TypeScriptBridge ("isChildOfClass")]
public bool IsChildOfClass ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isChildOfClass"));
}
[TypeScriptBridge ("isArgumentOfClassConstructor")]
public bool IsArgumentOfClassConstructor ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isArgumentOfClassConstructor"));
}
[TypeScriptBridge ("isChildOfInterface")]
public bool IsChildOfInterface ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isChildOfInterface"));
}
[TypeScriptBridge ("isTopLevelImplicitModule")]
public bool IsTopLevelImplicitModule ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isTopLevelImplicitModule"));
}
[TypeScriptBridge ("isBodyOfTopLevelImplicitModule")]
public bool IsBodyOfTopLevelImplicitModule ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isBodyOfTopLevelImplicitModule"));
}
[TypeScriptBridge ("isBodyOfScript")]
public bool IsBodyOfScript ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isBodyOfScript"));
}
[TypeScriptBridge ("isBodyOfSwitch")]
public bool IsBodyOfSwitch ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isBodyOfSwitch"));
}
[TypeScriptBridge ("isBodyOfModule")]
public bool IsBodyOfModule ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isBodyOfModule"));
}
[TypeScriptBridge ("isBodyOfClass")]
public bool IsBodyOfClass ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isBodyOfClass"));
}
[TypeScriptBridge ("isBodyOfFunction")]
public bool IsBodyOfFunction ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isBodyOfFunction"));
}
[TypeScriptBridge ("isBodyOfInterface")]
public bool IsBodyOfInterface ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isBodyOfInterface"));
}
[TypeScriptBridge ("isBodyOfBlock")]
public bool IsBodyOfBlock ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isBodyOfBlock"));
}
[TypeScriptBridge ("isBodyOfFor")]
public bool IsBodyOfFor ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isBodyOfFor"));
}
[TypeScriptBridge ("isBodyOfCase")]
public bool IsBodyOfCase ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isBodyOfCase"));
}
[TypeScriptBridge ("isBodyOfTry")]
public bool IsBodyOfTry ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isBodyOfTry"));
}
[TypeScriptBridge ("isBodyOfCatch")]
public bool IsBodyOfCatch ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isBodyOfCatch"));
}
[TypeScriptBridge ("isBodyOfDoWhile")]
public bool IsBodyOfDoWhile ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isBodyOfDoWhile"));
}
[TypeScriptBridge ("isBodyOfWhile")]
public bool IsBodyOfWhile ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isBodyOfWhile"));
}
[TypeScriptBridge ("isBodyOfForIn")]
public bool IsBodyOfForIn ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isBodyOfForIn"));
}
[TypeScriptBridge ("isBodyOfWith")]
public bool IsBodyOfWith ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isBodyOfWith"));
}
[TypeScriptBridge ("isBodyOfFinally")]
public bool IsBodyOfFinally ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isBodyOfFinally"));
}
[TypeScriptBridge ("isCaseOfSwitch")]
public bool IsCaseOfSwitch ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isCaseOfSwitch"));
}
[TypeScriptBridge ("isDefaultCaseOfSwitch")]
public bool IsDefaultCaseOfSwitch ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isDefaultCaseOfSwitch"));
}
[TypeScriptBridge ("isListOfObjectLit")]
public bool IsListOfObjectLit ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isListOfObjectLit"));
}
[TypeScriptBridge ("isBodyOfObjectLit")]
public bool IsBodyOfObjectLit ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isBodyOfObjectLit"));
}
[TypeScriptBridge ("isEmptyListOfObjectLit")]
public bool IsEmptyListOfObjectLit ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isEmptyListOfObjectLit"));
}
[TypeScriptBridge ("isMemberOfObjectLit")]
public bool IsMemberOfObjectLit ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isMemberOfObjectLit"));
}
[TypeScriptBridge ("isNameOfMemberOfObjectLit")]
public bool IsNameOfMemberOfObjectLit ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isNameOfMemberOfObjectLit"));
}
[TypeScriptBridge ("isListOfArrayLit")]
public bool IsListOfArrayLit ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isListOfArrayLit"));
}
[TypeScriptBridge ("isTargetOfMember")]
public bool IsTargetOfMember ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isTargetOfMember"));
}
[TypeScriptBridge ("isMemberOfMember")]
public bool IsMemberOfMember ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isMemberOfMember"));
}
[TypeScriptBridge ("isItemOfList")]
public bool IsItemOfList ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isItemOfList"));
}
[TypeScriptBridge ("isThenOfIf")]
public bool IsThenOfIf ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isThenOfIf"));
}
[TypeScriptBridge ("isElseOfIf")]
public bool IsElseOfIf ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isElseOfIf"));
}
[TypeScriptBridge ("isBodyOfDefaultCase")]
public bool IsBodyOfDefaultCase ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isBodyOfDefaultCase"));
}
[TypeScriptBridge ("isSingleStatementList")]
public bool IsSingleStatementList ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isSingleStatementList"));
}
[TypeScriptBridge ("isArgumentListOfFunction")]
public bool IsArgumentListOfFunction ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isArgumentListOfFunction"));
}
[TypeScriptBridge ("isArgumentOfFunction")]
public bool IsArgumentOfFunction ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isArgumentOfFunction"));
}
[TypeScriptBridge ("isArgumentListOfCall")]
public bool IsArgumentListOfCall ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isArgumentListOfCall"));
}
[TypeScriptBridge ("isArgumentListOfNew")]
public bool IsArgumentListOfNew ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isArgumentListOfNew"));
}
[TypeScriptBridge ("isSynthesizedBlock")]
public bool IsSynthesizedBlock ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isSynthesizedBlock"));
}
}
public class AstPathContext : TypeScriptObject
{
public AstPathContext (ObjectInstance instance) : base (instance) {}
public AstPathContext ()
: base (CallConstructor ("TypeScript", "AstPathContext"))
{
}
[TypeScriptBridge ("path")]
public TypeScriptServiceBridge.TypeScript.AstPath Path {
get { return new TypeScriptServiceBridge.TypeScript.AstPath ((ObjectInstance) Instance.GetPropertyValue ("path")); }
set { Instance.SetPropertyValue ("path", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_path")]
public TypeScriptServiceBridge.TypeScript.AstPath Get_path ()
{
return new TypeScriptServiceBridge.TypeScript.AstPath ((ObjectInstance) Instance.CallMemberFunction ("get_path"));
}
[TypeScriptBridge ("set_path")]
public void Set_path (TypeScriptServiceBridge.TypeScript.AstPath @value)
{
Instance.CallMemberFunction ("set_path", @value != null ? @value.Instance : null);
}
}
public enum GetAstPathOptions
{
Default = 0,
EdgeInclusive = 1,
DontPruneSearchBasedOnPosition = 2,
}
public class AstLogger : TypeScriptObject
{
public AstLogger (ObjectInstance instance) : base (instance) {}
public AstLogger (TypeScriptServiceBridge.TypeScript.ILogger @logger)
: base (CallConstructor ("TypeScript", "AstLogger", @logger != null ? @logger.Instance : null))
{
}
[TypeScriptBridge ("logger")]
public TypeScriptServiceBridge.TypeScript.ILogger Logger {
get { return new TypeScriptServiceBridge.TypeScript.ILogger_Impl ((ObjectInstance) Instance.GetPropertyValue ("logger")); }
set { Instance.SetPropertyValue ("logger", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_logger")]
public TypeScriptServiceBridge.TypeScript.ILogger Get_logger ()
{
return new TypeScriptServiceBridge.TypeScript.ILogger_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_logger"));
}
[TypeScriptBridge ("set_logger")]
public void Set_logger (TypeScriptServiceBridge.TypeScript.ILogger @value)
{
Instance.CallMemberFunction ("set_logger", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("logScript")]
public void LogScript (TypeScriptServiceBridge.TypeScript.Script @script)
{
Instance.CallMemberFunction ("logScript", @script != null ? @script.Instance : null);
}
[TypeScriptBridge ("logNode")]
public void LogNode (TypeScriptServiceBridge.TypeScript.Script @script, TypeScriptServiceBridge.TypeScript.AST @cur, double @indent)
{
Instance.CallMemberFunction ("logNode", @script != null ? @script.Instance : null, @cur != null ? @cur.Instance : null, @indent);
}
[TypeScriptBridge ("logComments")]
public void LogComments (TypeScriptServiceBridge.TypeScript.Script @script, ArrayInstance @comments, double @indent)
{
Instance.CallMemberFunction ("logComments", @script != null ? @script.Instance : null, @comments, @indent);
}
[TypeScriptBridge ("logLinemap")]
public void LogLinemap (ArrayInstance @linemap)
{
Instance.CallMemberFunction ("logLinemap", @linemap);
}
[TypeScriptBridge ("addPadding")]
public string AddPadding (string @s, double @targetLength, string @paddingString, bool @leftPadding)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("addPadding", @s, @targetLength, @paddingString, @leftPadding));
}
[TypeScriptBridge ("addLineColumn")]
public string AddLineColumn (TypeScriptServiceBridge.TypeScript.Script @script, double @position)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("addLineColumn", @script != null ? @script.Instance : null, @position));
}
}
public class Binder : TypeScriptObject
{
public Binder (ObjectInstance instance) : base (instance) {}
public Binder (TypeScriptServiceBridge.TypeScript.TypeChecker @checker)
: base (CallConstructor ("TypeScript", "Binder", @checker != null ? @checker.Instance : null))
{
}
[TypeScriptBridge ("checker")]
public TypeScriptServiceBridge.TypeScript.TypeChecker Checker {
get { return new TypeScriptServiceBridge.TypeScript.TypeChecker ((ObjectInstance) Instance.GetPropertyValue ("checker")); }
set { Instance.SetPropertyValue ("checker", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_checker")]
public TypeScriptServiceBridge.TypeScript.TypeChecker Get_checker ()
{
return new TypeScriptServiceBridge.TypeScript.TypeChecker ((ObjectInstance) Instance.CallMemberFunction ("get_checker"));
}
[TypeScriptBridge ("set_checker")]
public void Set_checker (TypeScriptServiceBridge.TypeScript.TypeChecker @value)
{
Instance.CallMemberFunction ("set_checker", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("resolveBaseTypeLinks")]
public ArrayInstance ResolveBaseTypeLinks (ArrayInstance @typeLinks, TypeScriptServiceBridge.TypeScript.SymbolScope @scope)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("resolveBaseTypeLinks", @typeLinks, @scope != null ? @scope.Instance : null));
}
[TypeScriptBridge ("resolveBases")]
public void ResolveBases (TypeScriptServiceBridge.TypeScript.SymbolScope @scope, TypeScriptServiceBridge.TypeScript.Type @type)
{
Instance.CallMemberFunction ("resolveBases", @scope != null ? @scope.Instance : null, @type != null ? @type.Instance : null);
}
[TypeScriptBridge ("resolveSignatureGroup")]
public void ResolveSignatureGroup (TypeScriptServiceBridge.TypeScript.SignatureGroup @signatureGroup, TypeScriptServiceBridge.TypeScript.SymbolScope @scope, TypeScriptServiceBridge.TypeScript.Type @instanceType)
{
Instance.CallMemberFunction ("resolveSignatureGroup", @signatureGroup != null ? @signatureGroup.Instance : null, @scope != null ? @scope.Instance : null, @instanceType != null ? @instanceType.Instance : null);
}
[TypeScriptBridge ("bindType")]
public void BindType (TypeScriptServiceBridge.TypeScript.SymbolScope @scope, TypeScriptServiceBridge.TypeScript.Type @type, TypeScriptServiceBridge.TypeScript.Type @instanceType)
{
Instance.CallMemberFunction ("bindType", @scope != null ? @scope.Instance : null, @type != null ? @type.Instance : null, @instanceType != null ? @instanceType.Instance : null);
}
[TypeScriptBridge ("bindSymbol")]
public void BindSymbol (TypeScriptServiceBridge.TypeScript.SymbolScope @scope, TypeScriptServiceBridge.TypeScript.Symbol @symbol)
{
Instance.CallMemberFunction ("bindSymbol", @scope != null ? @scope.Instance : null, @symbol != null ? @symbol.Instance : null);
}
[TypeScriptBridge ("bind")]
public void Bind (TypeScriptServiceBridge.TypeScript.SymbolScope @scope, TypeScriptServiceBridge.TypeScript.IHashTable @table)
{
Instance.CallMemberFunction ("bind", @scope != null ? @scope.Instance : null, @table != null ? @table.Instance : null);
}
}
public class Base64Format : TypeScriptObject
{
public Base64Format (ObjectInstance instance) : base (instance) {}
public Base64Format ()
: base (CallConstructor ("TypeScript", "Base64Format"))
{
}
[TypeScriptBridge ("encodedValues")]
public string EncodedValues {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("encodedValues")); }
set { Instance.SetPropertyValue ("encodedValues", value, true); }
}
[TypeScriptBridge ("get_encodedValues")]
public string Get_encodedValues ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_encodedValues"));
}
[TypeScriptBridge ("set_encodedValues")]
public void Set_encodedValues (string @value)
{
Instance.CallMemberFunction ("set_encodedValues", @value);
}
[TypeScriptBridge ("encode")]
public string Encode (double @inValue)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("encode", @inValue));
}
[TypeScriptBridge ("decodeChar")]
public double DecodeChar (string @inChar)
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("decodeChar", @inChar));
}
}
public class Base64VLQFormat : TypeScriptObject
{
public Base64VLQFormat (ObjectInstance instance) : base (instance) {}
public Base64VLQFormat ()
: base (CallConstructor ("TypeScript", "Base64VLQFormat"))
{
}
[TypeScriptBridge ("encode")]
public string Encode (double @inValue)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("encode", @inValue));
}
[TypeScriptBridge ("decode")]
public System.Object Decode (string @inString)
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("decode", @inString));
}
}
public class SourceMapPosition : TypeScriptObject
{
public SourceMapPosition (ObjectInstance instance) : base (instance) {}
public SourceMapPosition ()
: base (CallConstructor ("TypeScript", "SourceMapPosition"))
{
}
[TypeScriptBridge ("sourceLine")]
public double SourceLine {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("sourceLine")); }
set { Instance.SetPropertyValue ("sourceLine", value, true); }
}
[TypeScriptBridge ("sourceColumn")]
public double SourceColumn {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("sourceColumn")); }
set { Instance.SetPropertyValue ("sourceColumn", value, true); }
}
[TypeScriptBridge ("emittedLine")]
public double EmittedLine {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("emittedLine")); }
set { Instance.SetPropertyValue ("emittedLine", value, true); }
}
[TypeScriptBridge ("emittedColumn")]
public double EmittedColumn {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("emittedColumn")); }
set { Instance.SetPropertyValue ("emittedColumn", value, true); }
}
[TypeScriptBridge ("get_sourceLine")]
public double Get_sourceLine ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_sourceLine"));
}
[TypeScriptBridge ("set_sourceLine")]
public void Set_sourceLine (double @value)
{
Instance.CallMemberFunction ("set_sourceLine", @value);
}
[TypeScriptBridge ("get_sourceColumn")]
public double Get_sourceColumn ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_sourceColumn"));
}
[TypeScriptBridge ("set_sourceColumn")]
public void Set_sourceColumn (double @value)
{
Instance.CallMemberFunction ("set_sourceColumn", @value);
}
[TypeScriptBridge ("get_emittedLine")]
public double Get_emittedLine ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_emittedLine"));
}
[TypeScriptBridge ("set_emittedLine")]
public void Set_emittedLine (double @value)
{
Instance.CallMemberFunction ("set_emittedLine", @value);
}
[TypeScriptBridge ("get_emittedColumn")]
public double Get_emittedColumn ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_emittedColumn"));
}
[TypeScriptBridge ("set_emittedColumn")]
public void Set_emittedColumn (double @value)
{
Instance.CallMemberFunction ("set_emittedColumn", @value);
}
}
public class SourceMapping : TypeScriptObject
{
public SourceMapping (ObjectInstance instance) : base (instance) {}
public SourceMapping ()
: base (CallConstructor ("TypeScript", "SourceMapping"))
{
}
[TypeScriptBridge ("start")]
public TypeScriptServiceBridge.TypeScript.SourceMapPosition Start {
get { return new TypeScriptServiceBridge.TypeScript.SourceMapPosition ((ObjectInstance) Instance.GetPropertyValue ("start")); }
set { Instance.SetPropertyValue ("start", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("end")]
public TypeScriptServiceBridge.TypeScript.SourceMapPosition End {
get { return new TypeScriptServiceBridge.TypeScript.SourceMapPosition ((ObjectInstance) Instance.GetPropertyValue ("end")); }
set { Instance.SetPropertyValue ("end", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("nameIndex")]
public double NameIndex {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("nameIndex")); }
set { Instance.SetPropertyValue ("nameIndex", value, true); }
}
[TypeScriptBridge ("childMappings")]
public ArrayInstance ChildMappings {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("childMappings")); }
set { Instance.SetPropertyValue ("childMappings", value, true); }
}
[TypeScriptBridge ("get_start")]
public TypeScriptServiceBridge.TypeScript.SourceMapPosition Get_start ()
{
return new TypeScriptServiceBridge.TypeScript.SourceMapPosition ((ObjectInstance) Instance.CallMemberFunction ("get_start"));
}
[TypeScriptBridge ("set_start")]
public void Set_start (TypeScriptServiceBridge.TypeScript.SourceMapPosition @value)
{
Instance.CallMemberFunction ("set_start", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_end")]
public TypeScriptServiceBridge.TypeScript.SourceMapPosition Get_end ()
{
return new TypeScriptServiceBridge.TypeScript.SourceMapPosition ((ObjectInstance) Instance.CallMemberFunction ("get_end"));
}
[TypeScriptBridge ("set_end")]
public void Set_end (TypeScriptServiceBridge.TypeScript.SourceMapPosition @value)
{
Instance.CallMemberFunction ("set_end", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_nameIndex")]
public double Get_nameIndex ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_nameIndex"));
}
[TypeScriptBridge ("set_nameIndex")]
public void Set_nameIndex (double @value)
{
Instance.CallMemberFunction ("set_nameIndex", @value);
}
[TypeScriptBridge ("get_childMappings")]
public ArrayInstance Get_childMappings ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_childMappings"));
}
[TypeScriptBridge ("set_childMappings")]
public void Set_childMappings (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_childMappings", @value);
}
}
public class SourceMapper : TypeScriptObject
{
public SourceMapper (ObjectInstance instance) : base (instance) {}
public SourceMapper (string @tsFileName, string @jsFileName, TypeScriptServiceBridge.ITextWriter @jsFile, TypeScriptServiceBridge.ITextWriter @sourceMapOut)
: base (CallConstructor ("TypeScript", "SourceMapper", @tsFileName, @jsFileName, @jsFile != null ? @jsFile.Instance : null, @sourceMapOut != null ? @sourceMapOut.Instance : null))
{
}
[TypeScriptBridge ("jsFile")]
public TypeScriptServiceBridge.ITextWriter JsFile {
get { return new TypeScriptServiceBridge.ITextWriter_Impl ((ObjectInstance) Instance.GetPropertyValue ("jsFile")); }
set { Instance.SetPropertyValue ("jsFile", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("sourceMapOut")]
public TypeScriptServiceBridge.ITextWriter SourceMapOut {
get { return new TypeScriptServiceBridge.ITextWriter_Impl ((ObjectInstance) Instance.GetPropertyValue ("sourceMapOut")); }
set { Instance.SetPropertyValue ("sourceMapOut", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("MapFileExtension")]
public string MapFileExtension {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("MapFileExtension")); }
set { Instance.SetPropertyValue ("MapFileExtension", value, true); }
}
[TypeScriptBridge ("sourceMappings")]
public ArrayInstance SourceMappings {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("sourceMappings")); }
set { Instance.SetPropertyValue ("sourceMappings", value, true); }
}
[TypeScriptBridge ("currentMappings")]
public ArrayInstance CurrentMappings {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("currentMappings")); }
set { Instance.SetPropertyValue ("currentMappings", value, true); }
}
[TypeScriptBridge ("names")]
public ArrayInstance Names {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("names")); }
set { Instance.SetPropertyValue ("names", value, true); }
}
[TypeScriptBridge ("currentNameIndex")]
public ArrayInstance CurrentNameIndex {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("currentNameIndex")); }
set { Instance.SetPropertyValue ("currentNameIndex", value, true); }
}
[TypeScriptBridge ("jsFileName")]
public string JsFileName {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("jsFileName")); }
set { Instance.SetPropertyValue ("jsFileName", value, true); }
}
[TypeScriptBridge ("tsFileName")]
public string TsFileName {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("tsFileName")); }
set { Instance.SetPropertyValue ("tsFileName", value, true); }
}
[TypeScriptBridge ("get_jsFile")]
public TypeScriptServiceBridge.ITextWriter Get_jsFile ()
{
return new TypeScriptServiceBridge.ITextWriter_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_jsFile"));
}
[TypeScriptBridge ("set_jsFile")]
public void Set_jsFile (TypeScriptServiceBridge.ITextWriter @value)
{
Instance.CallMemberFunction ("set_jsFile", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_sourceMapOut")]
public TypeScriptServiceBridge.ITextWriter Get_sourceMapOut ()
{
return new TypeScriptServiceBridge.ITextWriter_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_sourceMapOut"));
}
[TypeScriptBridge ("set_sourceMapOut")]
public void Set_sourceMapOut (TypeScriptServiceBridge.ITextWriter @value)
{
Instance.CallMemberFunction ("set_sourceMapOut", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_MapFileExtension")]
public string Get_MapFileExtension ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_MapFileExtension"));
}
[TypeScriptBridge ("set_MapFileExtension")]
public void Set_MapFileExtension (string @value)
{
Instance.CallMemberFunction ("set_MapFileExtension", @value);
}
[TypeScriptBridge ("get_sourceMappings")]
public ArrayInstance Get_sourceMappings ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_sourceMappings"));
}
[TypeScriptBridge ("set_sourceMappings")]
public void Set_sourceMappings (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_sourceMappings", @value);
}
[TypeScriptBridge ("get_currentMappings")]
public ArrayInstance Get_currentMappings ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_currentMappings"));
}
[TypeScriptBridge ("set_currentMappings")]
public void Set_currentMappings (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_currentMappings", @value);
}
[TypeScriptBridge ("get_names")]
public ArrayInstance Get_names ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_names"));
}
[TypeScriptBridge ("set_names")]
public void Set_names (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_names", @value);
}
[TypeScriptBridge ("get_currentNameIndex")]
public ArrayInstance Get_currentNameIndex ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_currentNameIndex"));
}
[TypeScriptBridge ("set_currentNameIndex")]
public void Set_currentNameIndex (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_currentNameIndex", @value);
}
[TypeScriptBridge ("get_jsFileName")]
public string Get_jsFileName ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_jsFileName"));
}
[TypeScriptBridge ("set_jsFileName")]
public void Set_jsFileName (string @value)
{
Instance.CallMemberFunction ("set_jsFileName", @value);
}
[TypeScriptBridge ("get_tsFileName")]
public string Get_tsFileName ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_tsFileName"));
}
[TypeScriptBridge ("set_tsFileName")]
public void Set_tsFileName (string @value)
{
Instance.CallMemberFunction ("set_tsFileName", @value);
}
[TypeScriptBridge ("EmitSourceMapping")]
public void EmitSourceMapping (ArrayInstance @allSourceMappers)
{
Instance.CallMemberFunction ("EmitSourceMapping", @allSourceMappers);
}
}
public class CSharpSupport : TypeScriptObject
{
public CSharpSupport (ObjectInstance instance) : base (instance) {}
public CSharpSupport ()
: base (CallConstructor ("TypeScript", "CSharpSupport"))
{
}
[TypeScriptBridge ("toCSharpType")]
public string ToCSharpType (string @s)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("toCSharpType", @s));
}
[TypeScriptBridge ("toCSharpName")]
public string ToCSharpName (string @s)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("toCSharpName", @s));
}
[TypeScriptBridge ("escapeIdentifier")]
public string EscapeIdentifier (string @s)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("escapeIdentifier", @s));
}
}
public enum EmitContainer
{
Prog = 0,
Module = 1,
DynamicModule = 2,
Class = 3,
Constructor = 4,
Function = 5,
Args = 6,
Interface = 7,
}
public class EmitState : TypeScriptObject
{
public EmitState (ObjectInstance instance) : base (instance) {}
public EmitState ()
: base (CallConstructor ("TypeScript", "EmitState"))
{
}
[TypeScriptBridge ("column")]
public double Column {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("column")); }
set { Instance.SetPropertyValue ("column", value, true); }
}
[TypeScriptBridge ("line")]
public double Line {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("line")); }
set { Instance.SetPropertyValue ("line", value, true); }
}
[TypeScriptBridge ("pretty")]
public bool Pretty {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("pretty")); }
set { Instance.SetPropertyValue ("pretty", value, true); }
}
[TypeScriptBridge ("inObjectLiteral")]
public bool InObjectLiteral {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("inObjectLiteral")); }
set { Instance.SetPropertyValue ("inObjectLiteral", value, true); }
}
[TypeScriptBridge ("container")]
public TypeScriptServiceBridge.TypeScript.EmitContainer Container {
get { return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.EmitContainer> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("container")); }
set { Instance.SetPropertyValue ("container", value, true); }
}
[TypeScriptBridge ("get_column")]
public double Get_column ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_column"));
}
[TypeScriptBridge ("set_column")]
public void Set_column (double @value)
{
Instance.CallMemberFunction ("set_column", @value);
}
[TypeScriptBridge ("get_line")]
public double Get_line ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_line"));
}
[TypeScriptBridge ("set_line")]
public void Set_line (double @value)
{
Instance.CallMemberFunction ("set_line", @value);
}
[TypeScriptBridge ("get_pretty")]
public bool Get_pretty ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_pretty"));
}
[TypeScriptBridge ("set_pretty")]
public void Set_pretty (bool @value)
{
Instance.CallMemberFunction ("set_pretty", @value);
}
[TypeScriptBridge ("get_inObjectLiteral")]
public bool Get_inObjectLiteral ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_inObjectLiteral"));
}
[TypeScriptBridge ("set_inObjectLiteral")]
public void Set_inObjectLiteral (bool @value)
{
Instance.CallMemberFunction ("set_inObjectLiteral", @value);
}
[TypeScriptBridge ("get_container")]
public TypeScriptServiceBridge.TypeScript.EmitContainer Get_container ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.EmitContainer> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_container"));
}
[TypeScriptBridge ("set_container")]
public void Set_container (TypeScriptServiceBridge.TypeScript.EmitContainer @value)
{
Instance.CallMemberFunction ("set_container", @value);
}
}
public interface IEmitOptions : ITypeScriptObject
{
[TypeScriptBridge ("minWhitespace")]
bool MinWhitespace { get; set; }
[TypeScriptBridge ("propagateConstants")]
bool PropagateConstants { get; set; }
[TypeScriptBridge ("emitComments")]
bool EmitComments { get; set; }
[TypeScriptBridge ("path")]
string Path { get; set; }
[TypeScriptBridge ("outputMobject")]
bool OutputMobject { get; set; }
[TypeScriptBridge ("get_minWhitespace")]
bool Get_minWhitespace ();
[TypeScriptBridge ("set_minWhitespace")]
void Set_minWhitespace (bool @value);
[TypeScriptBridge ("get_propagateConstants")]
bool Get_propagateConstants ();
[TypeScriptBridge ("set_propagateConstants")]
void Set_propagateConstants (bool @value);
[TypeScriptBridge ("get_emitComments")]
bool Get_emitComments ();
[TypeScriptBridge ("set_emitComments")]
void Set_emitComments (bool @value);
[TypeScriptBridge ("get_path")]
string Get_path ();
[TypeScriptBridge ("set_path")]
void Set_path (string @value);
[TypeScriptBridge ("get_outputMobject")]
bool Get_outputMobject ();
[TypeScriptBridge ("set_outputMobject")]
void Set_outputMobject (bool @value);
}
public class IEmitOptions_Impl : TypeScriptObject, IEmitOptions
{
public IEmitOptions_Impl (ObjectInstance instance) : base (instance) {}
[TypeScriptBridge ("minWhitespace")]
public bool MinWhitespace {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("minWhitespace")); }
set { Instance.SetPropertyValue ("minWhitespace", value, true); }
}
[TypeScriptBridge ("propagateConstants")]
public bool PropagateConstants {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("propagateConstants")); }
set { Instance.SetPropertyValue ("propagateConstants", value, true); }
}
[TypeScriptBridge ("emitComments")]
public bool EmitComments {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("emitComments")); }
set { Instance.SetPropertyValue ("emitComments", value, true); }
}
[TypeScriptBridge ("path")]
public string Path {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("path")); }
set { Instance.SetPropertyValue ("path", value, true); }
}
[TypeScriptBridge ("outputMobject")]
public bool OutputMobject {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("outputMobject")); }
set { Instance.SetPropertyValue ("outputMobject", value, true); }
}
[TypeScriptBridge ("get_minWhitespace")]
public bool Get_minWhitespace ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_minWhitespace"));
}
[TypeScriptBridge ("set_minWhitespace")]
public void Set_minWhitespace (bool @value)
{
Instance.CallMemberFunction ("set_minWhitespace", @value);
}
[TypeScriptBridge ("get_propagateConstants")]
public bool Get_propagateConstants ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_propagateConstants"));
}
[TypeScriptBridge ("set_propagateConstants")]
public void Set_propagateConstants (bool @value)
{
Instance.CallMemberFunction ("set_propagateConstants", @value);
}
[TypeScriptBridge ("get_emitComments")]
public bool Get_emitComments ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_emitComments"));
}
[TypeScriptBridge ("set_emitComments")]
public void Set_emitComments (bool @value)
{
Instance.CallMemberFunction ("set_emitComments", @value);
}
[TypeScriptBridge ("get_path")]
public string Get_path ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_path"));
}
[TypeScriptBridge ("set_path")]
public void Set_path (string @value)
{
Instance.CallMemberFunction ("set_path", @value);
}
[TypeScriptBridge ("get_outputMobject")]
public bool Get_outputMobject ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_outputMobject"));
}
[TypeScriptBridge ("set_outputMobject")]
public void Set_outputMobject (bool @value)
{
Instance.CallMemberFunction ("set_outputMobject", @value);
}
}
public class Indenter : TypeScriptObject
{
public Indenter (ObjectInstance instance) : base (instance) {}
public Indenter ()
: base (CallConstructor ("TypeScript", "Indenter"))
{
}
[TypeScriptBridge ("indentStep")]
public double IndentStep {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("indentStep")); }
set { Instance.SetPropertyValue ("indentStep", value, true); }
}
[TypeScriptBridge ("indentStepString")]
public string IndentStepString {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("indentStepString")); }
set { Instance.SetPropertyValue ("indentStepString", value, true); }
}
[TypeScriptBridge ("indentStrings")]
public ArrayInstance IndentStrings {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("indentStrings")); }
set { Instance.SetPropertyValue ("indentStrings", value, true); }
}
[TypeScriptBridge ("indentAmt")]
public double IndentAmt {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("indentAmt")); }
set { Instance.SetPropertyValue ("indentAmt", value, true); }
}
[TypeScriptBridge ("get_indentStep")]
public double Get_indentStep ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_indentStep"));
}
[TypeScriptBridge ("set_indentStep")]
public void Set_indentStep (double @value)
{
Instance.CallMemberFunction ("set_indentStep", @value);
}
[TypeScriptBridge ("get_indentStepString")]
public string Get_indentStepString ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_indentStepString"));
}
[TypeScriptBridge ("set_indentStepString")]
public void Set_indentStepString (string @value)
{
Instance.CallMemberFunction ("set_indentStepString", @value);
}
[TypeScriptBridge ("get_indentStrings")]
public ArrayInstance Get_indentStrings ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_indentStrings"));
}
[TypeScriptBridge ("set_indentStrings")]
public void Set_indentStrings (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_indentStrings", @value);
}
[TypeScriptBridge ("get_indentAmt")]
public double Get_indentAmt ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_indentAmt"));
}
[TypeScriptBridge ("set_indentAmt")]
public void Set_indentAmt (double @value)
{
Instance.CallMemberFunction ("set_indentAmt", @value);
}
[TypeScriptBridge ("increaseIndent")]
public void IncreaseIndent ()
{
Instance.CallMemberFunction ("increaseIndent");
}
[TypeScriptBridge ("decreaseIndent")]
public void DecreaseIndent ()
{
Instance.CallMemberFunction ("decreaseIndent");
}
[TypeScriptBridge ("getIndent")]
public string GetIndent ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getIndent"));
}
}
public class Emitter : TypeScriptObject
{
public Emitter (ObjectInstance instance) : base (instance) {}
public Emitter (TypeScriptServiceBridge.TypeScript.TypeChecker @checker, TypeScriptServiceBridge.ITextWriter @outfile, TypeScriptServiceBridge.TypeScript.IEmitOptions @emitOptions)
: base (CallConstructor ("TypeScript", "Emitter", @checker != null ? @checker.Instance : null, @outfile != null ? @outfile.Instance : null, @emitOptions != null ? @emitOptions.Instance : null))
{
}
[TypeScriptBridge ("checker")]
public TypeScriptServiceBridge.TypeScript.TypeChecker Checker {
get { return new TypeScriptServiceBridge.TypeScript.TypeChecker ((ObjectInstance) Instance.GetPropertyValue ("checker")); }
set { Instance.SetPropertyValue ("checker", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("outfile")]
public TypeScriptServiceBridge.ITextWriter Outfile {
get { return new TypeScriptServiceBridge.ITextWriter_Impl ((ObjectInstance) Instance.GetPropertyValue ("outfile")); }
set { Instance.SetPropertyValue ("outfile", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("emitOptions")]
public TypeScriptServiceBridge.TypeScript.IEmitOptions EmitOptions {
get { return new TypeScriptServiceBridge.TypeScript.IEmitOptions_Impl ((ObjectInstance) Instance.GetPropertyValue ("emitOptions")); }
set { Instance.SetPropertyValue ("emitOptions", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("prologueEmitted")]
public bool PrologueEmitted {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("prologueEmitted")); }
set { Instance.SetPropertyValue ("prologueEmitted", value, true); }
}
[TypeScriptBridge ("thisClassNode")]
public TypeScriptServiceBridge.TypeScript.TypeDeclaration ThisClassNode {
get { return new TypeScriptServiceBridge.TypeScript.TypeDeclaration ((ObjectInstance) Instance.GetPropertyValue ("thisClassNode")); }
set { Instance.SetPropertyValue ("thisClassNode", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("thisFnc")]
public TypeScriptServiceBridge.TypeScript.FuncDecl ThisFnc {
get { return new TypeScriptServiceBridge.TypeScript.FuncDecl ((ObjectInstance) Instance.GetPropertyValue ("thisFnc")); }
set { Instance.SetPropertyValue ("thisFnc", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("moduleDeclList")]
public ArrayInstance ModuleDeclList {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("moduleDeclList")); }
set { Instance.SetPropertyValue ("moduleDeclList", value, true); }
}
[TypeScriptBridge ("moduleName")]
public string ModuleName {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("moduleName")); }
set { Instance.SetPropertyValue ("moduleName", value, true); }
}
[TypeScriptBridge ("emitState")]
public TypeScriptServiceBridge.TypeScript.EmitState EmitState {
get { return new TypeScriptServiceBridge.TypeScript.EmitState ((ObjectInstance) Instance.GetPropertyValue ("emitState")); }
set { Instance.SetPropertyValue ("emitState", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("indenter")]
public TypeScriptServiceBridge.TypeScript.Indenter Indenter {
get { return new TypeScriptServiceBridge.TypeScript.Indenter ((ObjectInstance) Instance.GetPropertyValue ("indenter")); }
set { Instance.SetPropertyValue ("indenter", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("ambientModule")]
public bool AmbientModule {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("ambientModule")); }
set { Instance.SetPropertyValue ("ambientModule", value, true); }
}
[TypeScriptBridge ("modAliasId")]
public string ModAliasId {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("modAliasId")); }
set { Instance.SetPropertyValue ("modAliasId", value, true); }
}
[TypeScriptBridge ("firstModAlias")]
public string FirstModAlias {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("firstModAlias")); }
set { Instance.SetPropertyValue ("firstModAlias", value, true); }
}
[TypeScriptBridge ("allSourceMappers")]
public ArrayInstance AllSourceMappers {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("allSourceMappers")); }
set { Instance.SetPropertyValue ("allSourceMappers", value, true); }
}
[TypeScriptBridge ("sourceMapper")]
public TypeScriptServiceBridge.TypeScript.SourceMapper SourceMapper {
get { return new TypeScriptServiceBridge.TypeScript.SourceMapper ((ObjectInstance) Instance.GetPropertyValue ("sourceMapper")); }
set { Instance.SetPropertyValue ("sourceMapper", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("captureThisStmtString")]
public string CaptureThisStmtString {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("captureThisStmtString")); }
set { Instance.SetPropertyValue ("captureThisStmtString", value, true); }
}
[TypeScriptBridge ("get_checker")]
public TypeScriptServiceBridge.TypeScript.TypeChecker Get_checker ()
{
return new TypeScriptServiceBridge.TypeScript.TypeChecker ((ObjectInstance) Instance.CallMemberFunction ("get_checker"));
}
[TypeScriptBridge ("set_checker")]
public void Set_checker (TypeScriptServiceBridge.TypeScript.TypeChecker @value)
{
Instance.CallMemberFunction ("set_checker", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_outfile")]
public TypeScriptServiceBridge.ITextWriter Get_outfile ()
{
return new TypeScriptServiceBridge.ITextWriter_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_outfile"));
}
[TypeScriptBridge ("set_outfile")]
public void Set_outfile (TypeScriptServiceBridge.ITextWriter @value)
{
Instance.CallMemberFunction ("set_outfile", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_emitOptions")]
public TypeScriptServiceBridge.TypeScript.IEmitOptions Get_emitOptions ()
{
return new TypeScriptServiceBridge.TypeScript.IEmitOptions_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_emitOptions"));
}
[TypeScriptBridge ("set_emitOptions")]
public void Set_emitOptions (TypeScriptServiceBridge.TypeScript.IEmitOptions @value)
{
Instance.CallMemberFunction ("set_emitOptions", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_prologueEmitted")]
public bool Get_prologueEmitted ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_prologueEmitted"));
}
[TypeScriptBridge ("set_prologueEmitted")]
public void Set_prologueEmitted (bool @value)
{
Instance.CallMemberFunction ("set_prologueEmitted", @value);
}
[TypeScriptBridge ("get_thisClassNode")]
public TypeScriptServiceBridge.TypeScript.TypeDeclaration Get_thisClassNode ()
{
return new TypeScriptServiceBridge.TypeScript.TypeDeclaration ((ObjectInstance) Instance.CallMemberFunction ("get_thisClassNode"));
}
[TypeScriptBridge ("set_thisClassNode")]
public void Set_thisClassNode (TypeScriptServiceBridge.TypeScript.TypeDeclaration @value)
{
Instance.CallMemberFunction ("set_thisClassNode", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_thisFnc")]
public TypeScriptServiceBridge.TypeScript.FuncDecl Get_thisFnc ()
{
return new TypeScriptServiceBridge.TypeScript.FuncDecl ((ObjectInstance) Instance.CallMemberFunction ("get_thisFnc"));
}
[TypeScriptBridge ("set_thisFnc")]
public void Set_thisFnc (TypeScriptServiceBridge.TypeScript.FuncDecl @value)
{
Instance.CallMemberFunction ("set_thisFnc", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_moduleDeclList")]
public ArrayInstance Get_moduleDeclList ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_moduleDeclList"));
}
[TypeScriptBridge ("set_moduleDeclList")]
public void Set_moduleDeclList (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_moduleDeclList", @value);
}
[TypeScriptBridge ("get_moduleName")]
public string Get_moduleName ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_moduleName"));
}
[TypeScriptBridge ("set_moduleName")]
public void Set_moduleName (string @value)
{
Instance.CallMemberFunction ("set_moduleName", @value);
}
[TypeScriptBridge ("get_emitState")]
public TypeScriptServiceBridge.TypeScript.EmitState Get_emitState ()
{
return new TypeScriptServiceBridge.TypeScript.EmitState ((ObjectInstance) Instance.CallMemberFunction ("get_emitState"));
}
[TypeScriptBridge ("set_emitState")]
public void Set_emitState (TypeScriptServiceBridge.TypeScript.EmitState @value)
{
Instance.CallMemberFunction ("set_emitState", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_indenter")]
public TypeScriptServiceBridge.TypeScript.Indenter Get_indenter ()
{
return new TypeScriptServiceBridge.TypeScript.Indenter ((ObjectInstance) Instance.CallMemberFunction ("get_indenter"));
}
[TypeScriptBridge ("set_indenter")]
public void Set_indenter (TypeScriptServiceBridge.TypeScript.Indenter @value)
{
Instance.CallMemberFunction ("set_indenter", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_ambientModule")]
public bool Get_ambientModule ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_ambientModule"));
}
[TypeScriptBridge ("set_ambientModule")]
public void Set_ambientModule (bool @value)
{
Instance.CallMemberFunction ("set_ambientModule", @value);
}
[TypeScriptBridge ("get_modAliasId")]
public string Get_modAliasId ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_modAliasId"));
}
[TypeScriptBridge ("set_modAliasId")]
public void Set_modAliasId (string @value)
{
Instance.CallMemberFunction ("set_modAliasId", @value);
}
[TypeScriptBridge ("get_firstModAlias")]
public string Get_firstModAlias ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_firstModAlias"));
}
[TypeScriptBridge ("set_firstModAlias")]
public void Set_firstModAlias (string @value)
{
Instance.CallMemberFunction ("set_firstModAlias", @value);
}
[TypeScriptBridge ("get_allSourceMappers")]
public ArrayInstance Get_allSourceMappers ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_allSourceMappers"));
}
[TypeScriptBridge ("set_allSourceMappers")]
public void Set_allSourceMappers (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_allSourceMappers", @value);
}
[TypeScriptBridge ("get_sourceMapper")]
public TypeScriptServiceBridge.TypeScript.SourceMapper Get_sourceMapper ()
{
return new TypeScriptServiceBridge.TypeScript.SourceMapper ((ObjectInstance) Instance.CallMemberFunction ("get_sourceMapper"));
}
[TypeScriptBridge ("set_sourceMapper")]
public void Set_sourceMapper (TypeScriptServiceBridge.TypeScript.SourceMapper @value)
{
Instance.CallMemberFunction ("set_sourceMapper", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_captureThisStmtString")]
public string Get_captureThisStmtString ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_captureThisStmtString"));
}
[TypeScriptBridge ("set_captureThisStmtString")]
public void Set_captureThisStmtString (string @value)
{
Instance.CallMemberFunction ("set_captureThisStmtString", @value);
}
[TypeScriptBridge ("setSourceMappings")]
public void SetSourceMappings (TypeScriptServiceBridge.TypeScript.SourceMapper @mapper)
{
Instance.CallMemberFunction ("setSourceMappings", @mapper != null ? @mapper.Instance : null);
}
[TypeScriptBridge ("writeToOutput")]
public void WriteToOutput (string @s)
{
Instance.CallMemberFunction ("writeToOutput", @s);
}
[TypeScriptBridge ("writeToOutputTrimmable")]
public void WriteToOutputTrimmable (string @s)
{
Instance.CallMemberFunction ("writeToOutputTrimmable", @s);
}
[TypeScriptBridge ("writeLineToOutput")]
public void WriteLineToOutput (string @s)
{
Instance.CallMemberFunction ("writeLineToOutput", @s);
}
[TypeScriptBridge ("writeCaptureThisStatement")]
public void WriteCaptureThisStatement (TypeScriptServiceBridge.TypeScript.AST @ast)
{
Instance.CallMemberFunction ("writeCaptureThisStatement", @ast != null ? @ast.Instance : null);
}
[TypeScriptBridge ("setInVarBlock")]
public void SetInVarBlock (double @count)
{
Instance.CallMemberFunction ("setInVarBlock", @count);
}
[TypeScriptBridge ("setInObjectLiteral")]
public bool SetInObjectLiteral (bool @val)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("setInObjectLiteral", @val));
}
[TypeScriptBridge ("setContainer")]
public double SetContainer (double @c)
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("setContainer", @c));
}
[TypeScriptBridge ("getIndentString")]
public string GetIndentString ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getIndentString"));
}
[TypeScriptBridge ("emitIndent")]
public void EmitIndent ()
{
Instance.CallMemberFunction ("emitIndent");
}
[TypeScriptBridge ("emitCommentInPlace")]
public void EmitCommentInPlace (TypeScriptServiceBridge.TypeScript.Comment @comment)
{
Instance.CallMemberFunction ("emitCommentInPlace", @comment != null ? @comment.Instance : null);
}
[TypeScriptBridge ("emitParensAndCommentsInPlace")]
public void EmitParensAndCommentsInPlace (TypeScriptServiceBridge.TypeScript.AST @ast, bool @pre)
{
Instance.CallMemberFunction ("emitParensAndCommentsInPlace", @ast != null ? @ast.Instance : null, @pre);
}
[TypeScriptBridge ("emitObjectLiteral")]
public void EmitObjectLiteral (TypeScriptServiceBridge.TypeScript.ASTList @content)
{
Instance.CallMemberFunction ("emitObjectLiteral", @content != null ? @content.Instance : null);
}
[TypeScriptBridge ("emitArrayLiteral")]
public void EmitArrayLiteral (TypeScriptServiceBridge.TypeScript.ASTList @content)
{
Instance.CallMemberFunction ("emitArrayLiteral", @content != null ? @content.Instance : null);
}
[TypeScriptBridge ("emitNew")]
public void EmitNew (TypeScriptServiceBridge.TypeScript.AST @target, TypeScriptServiceBridge.TypeScript.ASTList @args)
{
Instance.CallMemberFunction ("emitNew", @target != null ? @target.Instance : null, @args != null ? @args.Instance : null);
}
[TypeScriptBridge ("tryEmitConstant")]
public bool TryEmitConstant (TypeScriptServiceBridge.TypeScript.BinaryExpression @dotExpr)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("tryEmitConstant", @dotExpr != null ? @dotExpr.Instance : null));
}
[TypeScriptBridge ("emitCall")]
public void EmitCall (TypeScriptServiceBridge.TypeScript.CallExpression @callNode, TypeScriptServiceBridge.TypeScript.AST @target, TypeScriptServiceBridge.TypeScript.ASTList @args)
{
Instance.CallMemberFunction ("emitCall", @callNode != null ? @callNode.Instance : null, @target != null ? @target.Instance : null, @args != null ? @args.Instance : null);
}
[TypeScriptBridge ("defaultValue")]
public string DefaultValue (TypeScriptServiceBridge.TypeScript.Type @type)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("defaultValue", @type != null ? @type.Instance : null));
}
[TypeScriptBridge ("emitConstructorCalls")]
public void EmitConstructorCalls (TypeScriptServiceBridge.TypeScript.ASTList @bases, TypeScriptServiceBridge.TypeScript.TypeDeclaration @classDecl)
{
Instance.CallMemberFunction ("emitConstructorCalls", @bases != null ? @bases.Instance : null, @classDecl != null ? @classDecl.Instance : null);
}
[TypeScriptBridge ("emitInnerFunction")]
public void EmitInnerFunction (TypeScriptServiceBridge.TypeScript.FuncDecl @funcDecl, bool @printName, bool @isProtoMember, TypeScriptServiceBridge.TypeScript.ASTList @bases, bool @hasSelfRef, TypeScriptServiceBridge.TypeScript.TypeDeclaration @classDecl, bool @isInterface = false)
{
Instance.CallMemberFunction ("emitInnerFunction", @funcDecl != null ? @funcDecl.Instance : null, @printName, @isProtoMember, @bases != null ? @bases.Instance : null, @hasSelfRef, @classDecl != null ? @classDecl.Instance : null, @isInterface);
}
[TypeScriptBridge ("emitJavascriptModule")]
public void EmitJavascriptModule (TypeScriptServiceBridge.TypeScript.ModuleDeclaration @moduleDecl)
{
Instance.CallMemberFunction ("emitJavascriptModule", @moduleDecl != null ? @moduleDecl.Instance : null);
}
[TypeScriptBridge ("emitIndex")]
public void EmitIndex (TypeScriptServiceBridge.TypeScript.AST @operand1, TypeScriptServiceBridge.TypeScript.AST @operand2)
{
Instance.CallMemberFunction ("emitIndex", @operand1 != null ? @operand1.Instance : null, @operand2 != null ? @operand2.Instance : null);
}
[TypeScriptBridge ("emitStringLiteral")]
public void EmitStringLiteral (string @text)
{
Instance.CallMemberFunction ("emitStringLiteral", @text);
}
[TypeScriptBridge ("emitJavascriptFunction")]
public void EmitJavascriptFunction (TypeScriptServiceBridge.TypeScript.FuncDecl @funcDecl)
{
Instance.CallMemberFunction ("emitJavascriptFunction", @funcDecl != null ? @funcDecl.Instance : null);
}
[TypeScriptBridge ("emitAmbientVarDecl")]
public void EmitAmbientVarDecl (TypeScriptServiceBridge.TypeScript.VarDecl @varDecl)
{
Instance.CallMemberFunction ("emitAmbientVarDecl", @varDecl != null ? @varDecl.Instance : null);
}
[TypeScriptBridge ("emitVarDeclVar")]
public bool EmitVarDeclVar ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("emitVarDeclVar"));
}
[TypeScriptBridge ("onEmitVar")]
public void OnEmitVar ()
{
Instance.CallMemberFunction ("onEmitVar");
}
[TypeScriptBridge ("emitJavascriptVarDecl")]
public void EmitJavascriptVarDecl (TypeScriptServiceBridge.TypeScript.VarDecl @varDecl, TypeScriptServiceBridge.TypeScript.TokenID @tokenId)
{
Instance.CallMemberFunction ("emitJavascriptVarDecl", @varDecl != null ? @varDecl.Instance : null, @tokenId);
}
[TypeScriptBridge ("declEnclosed")]
public bool DeclEnclosed (TypeScriptServiceBridge.TypeScript.ModuleDeclaration @moduleDecl)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("declEnclosed", @moduleDecl != null ? @moduleDecl.Instance : null));
}
[TypeScriptBridge ("emitJavascriptName")]
public void EmitJavascriptName (TypeScriptServiceBridge.TypeScript.Identifier @name, bool @addThis)
{
Instance.CallMemberFunction ("emitJavascriptName", @name != null ? @name.Instance : null, @addThis);
}
[TypeScriptBridge ("emitJavascriptStatements")]
public void EmitJavascriptStatements (TypeScriptServiceBridge.TypeScript.AST @stmts, bool @emitEmptyBod, bool @newlineAfterBlock)
{
Instance.CallMemberFunction ("emitJavascriptStatements", @stmts != null ? @stmts.Instance : null, @emitEmptyBod, @newlineAfterBlock);
}
[TypeScriptBridge ("emitBareJavascriptStatements")]
public void EmitBareJavascriptStatements (TypeScriptServiceBridge.TypeScript.AST @stmts, bool @emitClassPropertiesAfterSuperCall)
{
Instance.CallMemberFunction ("emitBareJavascriptStatements", @stmts != null ? @stmts.Instance : null, @emitClassPropertiesAfterSuperCall);
}
[TypeScriptBridge ("recordSourceMappingNameStart")]
public void RecordSourceMappingNameStart (string @name)
{
Instance.CallMemberFunction ("recordSourceMappingNameStart", @name);
}
[TypeScriptBridge ("recordSourceMappingNameEnd")]
public void RecordSourceMappingNameEnd ()
{
Instance.CallMemberFunction ("recordSourceMappingNameEnd");
}
[TypeScriptBridge ("recordSourceMappingStart")]
public void RecordSourceMappingStart (TypeScriptServiceBridge.TypeScript.ASTSpan @ast)
{
Instance.CallMemberFunction ("recordSourceMappingStart", @ast != null ? @ast.Instance : null);
}
[TypeScriptBridge ("recordSourceMappingEnd")]
public void RecordSourceMappingEnd (TypeScriptServiceBridge.TypeScript.ASTSpan @ast)
{
Instance.CallMemberFunction ("recordSourceMappingEnd", @ast != null ? @ast.Instance : null);
}
[TypeScriptBridge ("emitSourceMappings")]
public void EmitSourceMappings ()
{
Instance.CallMemberFunction ("emitSourceMappings");
}
[TypeScriptBridge ("_emitJavascriptList")]
public void _emitJavascriptList (TypeScriptServiceBridge.TypeScript.AST @ast, string @delimiter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine, bool @onlyStatics, bool @emitClassPropertiesAfterSuperCall, bool @emitPrologue = false, bool @requiresInherit = false, bool @inModule = false)
{
Instance.CallMemberFunction ("_emitJavascriptList", @ast != null ? @ast.Instance : null, @delimiter, @tokenId, @startLine, @onlyStatics, @emitClassPropertiesAfterSuperCall, @emitPrologue, @requiresInherit, @inModule);
}
[TypeScriptBridge ("emitJavascriptList")]
public void EmitJavascriptList (TypeScriptServiceBridge.TypeScript.AST @ast, string @delimiter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine, bool @onlyStatics, bool @emitClassPropertiesAfterSuperCall, bool @emitPrologue = false, bool @requiresInherit = false, bool @inModule = false, bool @isGlobal = false)
{
Instance.CallMemberFunction ("emitJavascriptList", @ast != null ? @ast.Instance : null, @delimiter, @tokenId, @startLine, @onlyStatics, @emitClassPropertiesAfterSuperCall, @emitPrologue, @requiresInherit, @inModule, @isGlobal);
}
[TypeScriptBridge ("emitJavascript")]
public void EmitJavascript (TypeScriptServiceBridge.TypeScript.AST @ast, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emitJavascript", @ast != null ? @ast.Instance : null, @tokenId, @startLine);
}
[TypeScriptBridge ("emitPropertyAccessor")]
public void EmitPropertyAccessor (TypeScriptServiceBridge.TypeScript.FuncDecl @funcDecl, string @className, bool @isProto)
{
Instance.CallMemberFunction ("emitPropertyAccessor", @funcDecl != null ? @funcDecl.Instance : null, @className, @isProto);
}
[TypeScriptBridge ("emitCSharpMethodArguments")]
public void EmitCSharpMethodArguments (TypeScriptServiceBridge.TypeScript.FuncDecl @funcDecl)
{
Instance.CallMemberFunction ("emitCSharpMethodArguments", @funcDecl != null ? @funcDecl.Instance : null);
}
[TypeScriptBridge ("emitPrototypeMember")]
public void EmitPrototypeMember (TypeScriptServiceBridge.TypeScript.AST @member, string @className)
{
Instance.CallMemberFunction ("emitPrototypeMember", @member != null ? @member.Instance : null, @className);
}
[TypeScriptBridge ("emitAddBaseMethods")]
public void EmitAddBaseMethods (string @className, TypeScriptServiceBridge.TypeScript.Type @base, TypeScriptServiceBridge.TypeScript.TypeDeclaration @classDecl)
{
Instance.CallMemberFunction ("emitAddBaseMethods", @className, @base != null ? @base.Instance : null, @classDecl != null ? @classDecl.Instance : null);
}
[TypeScriptBridge ("emitJavascriptClass")]
public void EmitJavascriptClass (TypeScriptServiceBridge.TypeScript.ClassDeclaration @classDecl)
{
Instance.CallMemberFunction ("emitJavascriptClass", @classDecl != null ? @classDecl.Instance : null);
}
[TypeScriptBridge ("emitJavascriptInterface")]
public void EmitJavascriptInterface (TypeScriptServiceBridge.TypeScript.InterfaceDeclaration @ifaceDecl)
{
Instance.CallMemberFunction ("emitJavascriptInterface", @ifaceDecl != null ? @ifaceDecl.Instance : null);
}
[TypeScriptBridge ("emitJavascriptClassOrInterface")]
public void EmitJavascriptClassOrInterface (TypeScriptServiceBridge.TypeScript.TypeDeclaration @classDecl, bool @isInterface)
{
Instance.CallMemberFunction ("emitJavascriptClassOrInterface", @classDecl != null ? @classDecl.Instance : null, @isInterface);
}
[TypeScriptBridge ("emitPrologue")]
public void EmitPrologue (bool @reqInherits)
{
Instance.CallMemberFunction ("emitPrologue", @reqInherits);
}
[TypeScriptBridge ("emitSuperReference")]
public void EmitSuperReference ()
{
Instance.CallMemberFunction ("emitSuperReference");
}
[TypeScriptBridge ("emitSuperCall")]
public bool EmitSuperCall (TypeScriptServiceBridge.TypeScript.CallExpression @callEx)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("emitSuperCall", @callEx != null ? @callEx.Instance : null));
}
}
public interface ILineCol : ITypeScriptObject
{
[TypeScriptBridge ("line")]
double Line { get; set; }
[TypeScriptBridge ("col")]
double Col { get; set; }
[TypeScriptBridge ("get_line")]
double Get_line ();
[TypeScriptBridge ("set_line")]
void Set_line (double @value);
[TypeScriptBridge ("get_col")]
double Get_col ();
[TypeScriptBridge ("set_col")]
void Set_col (double @value);
}
public class ILineCol_Impl : TypeScriptObject, ILineCol
{
public ILineCol_Impl (ObjectInstance instance) : base (instance) {}
[TypeScriptBridge ("line")]
public double Line {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("line")); }
set { Instance.SetPropertyValue ("line", value, true); }
}
[TypeScriptBridge ("col")]
public double Col {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("col")); }
set { Instance.SetPropertyValue ("col", value, true); }
}
[TypeScriptBridge ("get_line")]
public double Get_line ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_line"));
}
[TypeScriptBridge ("set_line")]
public void Set_line (double @value)
{
Instance.CallMemberFunction ("set_line", @value);
}
[TypeScriptBridge ("get_col")]
public double Get_col ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_col"));
}
[TypeScriptBridge ("set_col")]
public void Set_col (double @value)
{
Instance.CallMemberFunction ("set_col", @value);
}
}
public class ErrorReporter : TypeScriptObject
{
public ErrorReporter (ObjectInstance instance) : base (instance) {}
public ErrorReporter (TypeScriptServiceBridge.ITextWriter @outfile)
: base (CallConstructor ("TypeScript", "ErrorReporter", @outfile != null ? @outfile.Instance : null))
{
}
[TypeScriptBridge ("outfile")]
public TypeScriptServiceBridge.ITextWriter Outfile {
get { return new TypeScriptServiceBridge.ITextWriter_Impl ((ObjectInstance) Instance.GetPropertyValue ("outfile")); }
set { Instance.SetPropertyValue ("outfile", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("parser")]
public TypeScriptServiceBridge.TypeScript.Parser Parser {
get { return new TypeScriptServiceBridge.TypeScript.Parser ((ObjectInstance) Instance.GetPropertyValue ("parser")); }
set { Instance.SetPropertyValue ("parser", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("checker")]
public TypeScriptServiceBridge.TypeScript.TypeChecker Checker {
get { return new TypeScriptServiceBridge.TypeScript.TypeChecker ((ObjectInstance) Instance.GetPropertyValue ("checker")); }
set { Instance.SetPropertyValue ("checker", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("lineCol")]
public System.Object LineCol {
get { return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("lineCol")); }
set { Instance.SetPropertyValue ("lineCol", value, true); }
}
[TypeScriptBridge ("emitAsComments")]
public bool EmitAsComments {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("emitAsComments")); }
set { Instance.SetPropertyValue ("emitAsComments", value, true); }
}
[TypeScriptBridge ("hasErrors")]
public bool HasErrors {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("hasErrors")); }
set { Instance.SetPropertyValue ("hasErrors", value, true); }
}
[TypeScriptBridge ("pushToErrorSink")]
public bool PushToErrorSink {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("pushToErrorSink")); }
set { Instance.SetPropertyValue ("pushToErrorSink", value, true); }
}
[TypeScriptBridge ("errorSink")]
public ArrayInstance ErrorSink {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("errorSink")); }
set { Instance.SetPropertyValue ("errorSink", value, true); }
}
[TypeScriptBridge ("get_outfile")]
public TypeScriptServiceBridge.ITextWriter Get_outfile ()
{
return new TypeScriptServiceBridge.ITextWriter_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_outfile"));
}
[TypeScriptBridge ("set_outfile")]
public void Set_outfile (TypeScriptServiceBridge.ITextWriter @value)
{
Instance.CallMemberFunction ("set_outfile", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_parser")]
public TypeScriptServiceBridge.TypeScript.Parser Get_parser ()
{
return new TypeScriptServiceBridge.TypeScript.Parser ((ObjectInstance) Instance.CallMemberFunction ("get_parser"));
}
[TypeScriptBridge ("set_parser")]
public void Set_parser (TypeScriptServiceBridge.TypeScript.Parser @value)
{
Instance.CallMemberFunction ("set_parser", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_checker")]
public TypeScriptServiceBridge.TypeScript.TypeChecker Get_checker ()
{
return new TypeScriptServiceBridge.TypeScript.TypeChecker ((ObjectInstance) Instance.CallMemberFunction ("get_checker"));
}
[TypeScriptBridge ("set_checker")]
public void Set_checker (TypeScriptServiceBridge.TypeScript.TypeChecker @value)
{
Instance.CallMemberFunction ("set_checker", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_lineCol")]
public System.Object Get_lineCol ()
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_lineCol"));
}
[TypeScriptBridge ("set_lineCol")]
public void Set_lineCol (System.Object @value)
{
Instance.CallMemberFunction ("set_lineCol", @value);
}
[TypeScriptBridge ("get_emitAsComments")]
public bool Get_emitAsComments ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_emitAsComments"));
}
[TypeScriptBridge ("set_emitAsComments")]
public void Set_emitAsComments (bool @value)
{
Instance.CallMemberFunction ("set_emitAsComments", @value);
}
[TypeScriptBridge ("get_hasErrors")]
public bool Get_hasErrors ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_hasErrors"));
}
[TypeScriptBridge ("set_hasErrors")]
public void Set_hasErrors (bool @value)
{
Instance.CallMemberFunction ("set_hasErrors", @value);
}
[TypeScriptBridge ("get_pushToErrorSink")]
public bool Get_pushToErrorSink ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_pushToErrorSink"));
}
[TypeScriptBridge ("set_pushToErrorSink")]
public void Set_pushToErrorSink (bool @value)
{
Instance.CallMemberFunction ("set_pushToErrorSink", @value);
}
[TypeScriptBridge ("get_errorSink")]
public ArrayInstance Get_errorSink ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_errorSink"));
}
[TypeScriptBridge ("set_errorSink")]
public void Set_errorSink (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_errorSink", @value);
}
[TypeScriptBridge ("getCapturedErrors")]
public ArrayInstance GetCapturedErrors ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getCapturedErrors"));
}
[TypeScriptBridge ("freeCapturedErrors")]
public void FreeCapturedErrors ()
{
Instance.CallMemberFunction ("freeCapturedErrors");
}
[TypeScriptBridge ("captureError")]
public void CaptureError (string @emsg)
{
Instance.CallMemberFunction ("captureError", @emsg);
}
[TypeScriptBridge ("setErrOut")]
public void SetErrOut (System.Object @outerr)
{
Instance.CallMemberFunction ("setErrOut", @outerr);
}
[TypeScriptBridge ("emitPrefix")]
public void EmitPrefix ()
{
Instance.CallMemberFunction ("emitPrefix");
}
[TypeScriptBridge ("writePrefix")]
public void WritePrefix (TypeScriptServiceBridge.TypeScript.AST @ast)
{
Instance.CallMemberFunction ("writePrefix", @ast != null ? @ast.Instance : null);
}
[TypeScriptBridge ("writePrefixFromSym")]
public void WritePrefixFromSym (TypeScriptServiceBridge.TypeScript.Symbol @symbol)
{
Instance.CallMemberFunction ("writePrefixFromSym", @symbol != null ? @symbol.Instance : null);
}
[TypeScriptBridge ("setError")]
public void SetError (TypeScriptServiceBridge.TypeScript.AST @ast)
{
Instance.CallMemberFunction ("setError", @ast != null ? @ast.Instance : null);
}
[TypeScriptBridge ("reportError")]
public void ReportError (TypeScriptServiceBridge.TypeScript.AST @ast, string @message)
{
Instance.CallMemberFunction ("reportError", @ast != null ? @ast.Instance : null, @message);
}
[TypeScriptBridge ("reportErrorFromSym")]
public void ReportErrorFromSym (TypeScriptServiceBridge.TypeScript.Symbol @symbol, string @message)
{
Instance.CallMemberFunction ("reportErrorFromSym", @symbol != null ? @symbol.Instance : null, @message);
}
[TypeScriptBridge ("emitterError")]
public void EmitterError (TypeScriptServiceBridge.TypeScript.AST @ast, string @message)
{
Instance.CallMemberFunction ("emitterError", @ast != null ? @ast.Instance : null, @message);
}
[TypeScriptBridge ("duplicateIdentifier")]
public void DuplicateIdentifier (TypeScriptServiceBridge.TypeScript.AST @ast, string @name)
{
Instance.CallMemberFunction ("duplicateIdentifier", @ast != null ? @ast.Instance : null, @name);
}
[TypeScriptBridge ("showRef")]
public void ShowRef (TypeScriptServiceBridge.TypeScript.AST @ast, string @text, TypeScriptServiceBridge.TypeScript.Symbol @symbol)
{
Instance.CallMemberFunction ("showRef", @ast != null ? @ast.Instance : null, @text, @symbol != null ? @symbol.Instance : null);
}
[TypeScriptBridge ("unresolvedSymbol")]
public void UnresolvedSymbol (TypeScriptServiceBridge.TypeScript.AST @ast, string @name)
{
Instance.CallMemberFunction ("unresolvedSymbol", @ast != null ? @ast.Instance : null, @name);
}
[TypeScriptBridge ("symbolDoesNotReferToAValue")]
public void SymbolDoesNotReferToAValue (TypeScriptServiceBridge.TypeScript.AST @ast, string @name)
{
Instance.CallMemberFunction ("symbolDoesNotReferToAValue", @ast != null ? @ast.Instance : null, @name);
}
[TypeScriptBridge ("styleError")]
public void StyleError (TypeScriptServiceBridge.TypeScript.AST @ast, string @msg)
{
Instance.CallMemberFunction ("styleError", @ast != null ? @ast.Instance : null, @msg);
}
[TypeScriptBridge ("simpleError")]
public void SimpleError (TypeScriptServiceBridge.TypeScript.AST @ast, string @msg)
{
Instance.CallMemberFunction ("simpleError", @ast != null ? @ast.Instance : null, @msg);
}
[TypeScriptBridge ("simpleErrorFromSym")]
public void SimpleErrorFromSym (TypeScriptServiceBridge.TypeScript.Symbol @sym, string @msg)
{
Instance.CallMemberFunction ("simpleErrorFromSym", @sym != null ? @sym.Instance : null, @msg);
}
[TypeScriptBridge ("invalidSuperReference")]
public void InvalidSuperReference (TypeScriptServiceBridge.TypeScript.AST @ast)
{
Instance.CallMemberFunction ("invalidSuperReference", @ast != null ? @ast.Instance : null);
}
[TypeScriptBridge ("valueCannotBeModified")]
public void ValueCannotBeModified (TypeScriptServiceBridge.TypeScript.AST @ast)
{
Instance.CallMemberFunction ("valueCannotBeModified", @ast != null ? @ast.Instance : null);
}
[TypeScriptBridge ("invalidCall")]
public void InvalidCall (TypeScriptServiceBridge.TypeScript.CallExpression @ast, double @nodeType, TypeScriptServiceBridge.TypeScript.SymbolScope @scope)
{
Instance.CallMemberFunction ("invalidCall", @ast != null ? @ast.Instance : null, @nodeType, @scope != null ? @scope.Instance : null);
}
[TypeScriptBridge ("indexLHS")]
public void IndexLHS (TypeScriptServiceBridge.TypeScript.BinaryExpression @ast, TypeScriptServiceBridge.TypeScript.SymbolScope @scope)
{
Instance.CallMemberFunction ("indexLHS", @ast != null ? @ast.Instance : null, @scope != null ? @scope.Instance : null);
}
[TypeScriptBridge ("incompatibleTypes")]
public void IncompatibleTypes (TypeScriptServiceBridge.TypeScript.AST @ast, TypeScriptServiceBridge.TypeScript.Type @t1, TypeScriptServiceBridge.TypeScript.Type @t2, string @op, TypeScriptServiceBridge.TypeScript.SymbolScope @scope, TypeScriptServiceBridge.TypeScript.TypeComparisonInfo @comparisonInfo = null)
{
Instance.CallMemberFunction ("incompatibleTypes", @ast != null ? @ast.Instance : null, @t1 != null ? @t1.Instance : null, @t2 != null ? @t2.Instance : null, @op, @scope != null ? @scope.Instance : null, @comparisonInfo != null ? @comparisonInfo.Instance : null);
}
[TypeScriptBridge ("expectedClassOrInterface")]
public void ExpectedClassOrInterface (TypeScriptServiceBridge.TypeScript.AST @ast)
{
Instance.CallMemberFunction ("expectedClassOrInterface", @ast != null ? @ast.Instance : null);
}
[TypeScriptBridge ("unaryOperatorTypeError")]
public void UnaryOperatorTypeError (TypeScriptServiceBridge.TypeScript.AST @ast, string @op, TypeScriptServiceBridge.TypeScript.Type @type)
{
Instance.CallMemberFunction ("unaryOperatorTypeError", @ast != null ? @ast.Instance : null, @op, @type != null ? @type.Instance : null);
}
}
public enum TypeContext
{
NoTypes = 0,
ArraySuffix = 1,
Primitive = 2,
Named = 4,
AllSimpleTypes = 6,
AllTypes = 7,
}
public enum ParseState
{
None = 0,
StartScript = 1,
StartStatementList = 2,
StartStatement = 3,
StartFncDecl = 4,
FncDeclName = 5,
FncDeclArgs = 6,
FncDeclReturnType = 7,
ForInit = 8,
ForInitAfterVar = 9,
ForCondStart = 10,
EndStmtList = 11,
EndScript = 12,
}
public interface IStatementInfo : ITypeScriptObject
{
[TypeScriptBridge ("stmt")]
TypeScriptServiceBridge.TypeScript.Statement Stmt { get; set; }
[TypeScriptBridge ("labels")]
TypeScriptServiceBridge.TypeScript.ASTList Labels { get; set; }
[TypeScriptBridge ("get_stmt")]
TypeScriptServiceBridge.TypeScript.Statement Get_stmt ();
[TypeScriptBridge ("set_stmt")]
void Set_stmt (TypeScriptServiceBridge.TypeScript.Statement @value);
[TypeScriptBridge ("get_labels")]
TypeScriptServiceBridge.TypeScript.ASTList Get_labels ();
[TypeScriptBridge ("set_labels")]
void Set_labels (TypeScriptServiceBridge.TypeScript.ASTList @value);
}
public class IStatementInfo_Impl : TypeScriptObject, IStatementInfo
{
public IStatementInfo_Impl (ObjectInstance instance) : base (instance) {}
[TypeScriptBridge ("stmt")]
public TypeScriptServiceBridge.TypeScript.Statement Stmt {
get { return new TypeScriptServiceBridge.TypeScript.Statement ((ObjectInstance) Instance.GetPropertyValue ("stmt")); }
set { Instance.SetPropertyValue ("stmt", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("labels")]
public TypeScriptServiceBridge.TypeScript.ASTList Labels {
get { return new TypeScriptServiceBridge.TypeScript.ASTList ((ObjectInstance) Instance.GetPropertyValue ("labels")); }
set { Instance.SetPropertyValue ("labels", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_stmt")]
public TypeScriptServiceBridge.TypeScript.Statement Get_stmt ()
{
return new TypeScriptServiceBridge.TypeScript.Statement ((ObjectInstance) Instance.CallMemberFunction ("get_stmt"));
}
[TypeScriptBridge ("set_stmt")]
public void Set_stmt (TypeScriptServiceBridge.TypeScript.Statement @value)
{
Instance.CallMemberFunction ("set_stmt", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_labels")]
public TypeScriptServiceBridge.TypeScript.ASTList Get_labels ()
{
return new TypeScriptServiceBridge.TypeScript.ASTList ((ObjectInstance) Instance.CallMemberFunction ("get_labels"));
}
[TypeScriptBridge ("set_labels")]
public void Set_labels (TypeScriptServiceBridge.TypeScript.ASTList @value)
{
Instance.CallMemberFunction ("set_labels", @value != null ? @value.Instance : null);
}
}
public interface ILambdaArgumentContext : ITypeScriptObject
{
[TypeScriptBridge ("preProcessedLambdaArgs")]
TypeScriptServiceBridge.TypeScript.AST PreProcessedLambdaArgs { get; set; }
[TypeScriptBridge ("get_preProcessedLambdaArgs")]
TypeScriptServiceBridge.TypeScript.AST Get_preProcessedLambdaArgs ();
[TypeScriptBridge ("set_preProcessedLambdaArgs")]
void Set_preProcessedLambdaArgs (TypeScriptServiceBridge.TypeScript.AST @value);
}
public class ILambdaArgumentContext_Impl : TypeScriptObject, ILambdaArgumentContext
{
public ILambdaArgumentContext_Impl (ObjectInstance instance) : base (instance) {}
[TypeScriptBridge ("preProcessedLambdaArgs")]
public TypeScriptServiceBridge.TypeScript.AST PreProcessedLambdaArgs {
get { return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.GetPropertyValue ("preProcessedLambdaArgs")); }
set { Instance.SetPropertyValue ("preProcessedLambdaArgs", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_preProcessedLambdaArgs")]
public TypeScriptServiceBridge.TypeScript.AST Get_preProcessedLambdaArgs ()
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("get_preProcessedLambdaArgs"));
}
[TypeScriptBridge ("set_preProcessedLambdaArgs")]
public void Set_preProcessedLambdaArgs (TypeScriptServiceBridge.TypeScript.AST @value)
{
Instance.CallMemberFunction ("set_preProcessedLambdaArgs", @value != null ? @value.Instance : null);
}
}
public class QuickParseResult : TypeScriptObject
{
public QuickParseResult (ObjectInstance instance) : base (instance) {}
public QuickParseResult (TypeScriptServiceBridge.TypeScript.Script @Script, TypeScriptServiceBridge.TypeScript.LexState @endLexState)
: base (CallConstructor ("TypeScript", "QuickParseResult", @Script != null ? @Script.Instance : null, @endLexState))
{
}
[TypeScriptBridge ("Script")]
public TypeScriptServiceBridge.TypeScript.Script Script {
get { return new TypeScriptServiceBridge.TypeScript.Script ((ObjectInstance) Instance.GetPropertyValue ("Script")); }
set { Instance.SetPropertyValue ("Script", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("endLexState")]
public TypeScriptServiceBridge.TypeScript.LexState EndLexState {
get { return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.LexState> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("endLexState")); }
set { Instance.SetPropertyValue ("endLexState", value, true); }
}
[TypeScriptBridge ("get_Script")]
public TypeScriptServiceBridge.TypeScript.Script Get_Script ()
{
return new TypeScriptServiceBridge.TypeScript.Script ((ObjectInstance) Instance.CallMemberFunction ("get_Script"));
}
[TypeScriptBridge ("set_Script")]
public void Set_Script (TypeScriptServiceBridge.TypeScript.Script @value)
{
Instance.CallMemberFunction ("set_Script", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_endLexState")]
public TypeScriptServiceBridge.TypeScript.LexState Get_endLexState ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.LexState> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_endLexState"));
}
[TypeScriptBridge ("set_endLexState")]
public void Set_endLexState (TypeScriptServiceBridge.TypeScript.LexState @value)
{
Instance.CallMemberFunction ("set_endLexState", @value);
}
}
public class Parser : TypeScriptObject
{
public Parser (ObjectInstance instance) : base (instance) {}
public Parser ()
: base (CallConstructor ("TypeScript", "Parser"))
{
}
[TypeScriptBridge ("currentClassDecl")]
public TypeScriptServiceBridge.TypeScript.NamedDeclaration CurrentClassDecl {
get { return new TypeScriptServiceBridge.TypeScript.NamedDeclaration ((ObjectInstance) Instance.GetPropertyValue ("currentClassDecl")); }
set { Instance.SetPropertyValue ("currentClassDecl", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("style_requireSemi")]
public bool Style_requireSemi {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("style_requireSemi")); }
set { Instance.SetPropertyValue ("style_requireSemi", value, true); }
}
[TypeScriptBridge ("style_funcInLoop")]
public bool Style_funcInLoop {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("style_funcInLoop")); }
set { Instance.SetPropertyValue ("style_funcInLoop", value, true); }
}
[TypeScriptBridge ("errorRecovery")]
public bool ErrorRecovery {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("errorRecovery")); }
set { Instance.SetPropertyValue ("errorRecovery", value, true); }
}
[TypeScriptBridge ("outfile")]
public TypeScriptServiceBridge.ITextWriter Outfile {
get { return new TypeScriptServiceBridge.ITextWriter_Impl ((ObjectInstance) Instance.GetPropertyValue ("outfile")); }
set { Instance.SetPropertyValue ("outfile", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("inferPropertiesFromThisAssignment")]
public bool InferPropertiesFromThisAssignment {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("inferPropertiesFromThisAssignment")); }
set { Instance.SetPropertyValue ("inferPropertiesFromThisAssignment", value, true); }
}
[TypeScriptBridge ("get_currentClassDecl")]
public TypeScriptServiceBridge.TypeScript.NamedDeclaration Get_currentClassDecl ()
{
return new TypeScriptServiceBridge.TypeScript.NamedDeclaration ((ObjectInstance) Instance.CallMemberFunction ("get_currentClassDecl"));
}
[TypeScriptBridge ("set_currentClassDecl")]
public void Set_currentClassDecl (TypeScriptServiceBridge.TypeScript.NamedDeclaration @value)
{
Instance.CallMemberFunction ("set_currentClassDecl", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_style_requireSemi")]
public bool Get_style_requireSemi ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_style_requireSemi"));
}
[TypeScriptBridge ("set_style_requireSemi")]
public void Set_style_requireSemi (bool @value)
{
Instance.CallMemberFunction ("set_style_requireSemi", @value);
}
[TypeScriptBridge ("get_style_funcInLoop")]
public bool Get_style_funcInLoop ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_style_funcInLoop"));
}
[TypeScriptBridge ("set_style_funcInLoop")]
public void Set_style_funcInLoop (bool @value)
{
Instance.CallMemberFunction ("set_style_funcInLoop", @value);
}
[TypeScriptBridge ("get_errorRecovery")]
public bool Get_errorRecovery ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_errorRecovery"));
}
[TypeScriptBridge ("set_errorRecovery")]
public void Set_errorRecovery (bool @value)
{
Instance.CallMemberFunction ("set_errorRecovery", @value);
}
[TypeScriptBridge ("get_outfile")]
public TypeScriptServiceBridge.ITextWriter Get_outfile ()
{
return new TypeScriptServiceBridge.ITextWriter_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_outfile"));
}
[TypeScriptBridge ("set_outfile")]
public void Set_outfile (TypeScriptServiceBridge.ITextWriter @value)
{
Instance.CallMemberFunction ("set_outfile", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_inferPropertiesFromThisAssignment")]
public bool Get_inferPropertiesFromThisAssignment ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_inferPropertiesFromThisAssignment"));
}
[TypeScriptBridge ("set_inferPropertiesFromThisAssignment")]
public void Set_inferPropertiesFromThisAssignment (bool @value)
{
Instance.CallMemberFunction ("set_inferPropertiesFromThisAssignment", @value);
}
[TypeScriptBridge ("resetStmtStack")]
public void ResetStmtStack ()
{
Instance.CallMemberFunction ("resetStmtStack");
}
[TypeScriptBridge ("inLoop")]
public bool InLoop ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("inLoop"));
}
[TypeScriptBridge ("pushStmt")]
public void PushStmt (TypeScriptServiceBridge.TypeScript.Statement @stmt, TypeScriptServiceBridge.TypeScript.ASTList @labels)
{
Instance.CallMemberFunction ("pushStmt", @stmt != null ? @stmt.Instance : null, @labels != null ? @labels.Instance : null);
}
[TypeScriptBridge ("popStmt")]
public TypeScriptServiceBridge.TypeScript.IStatementInfo PopStmt ()
{
return new TypeScriptServiceBridge.TypeScript.IStatementInfo_Impl ((ObjectInstance) Instance.CallMemberFunction ("popStmt"));
}
[TypeScriptBridge ("resolveJumpTarget")]
public void ResolveJumpTarget (TypeScriptServiceBridge.TypeScript.Jump @jump)
{
Instance.CallMemberFunction ("resolveJumpTarget", @jump != null ? @jump.Instance : null);
}
[TypeScriptBridge ("setErrorRecovery")]
public void SetErrorRecovery (TypeScriptServiceBridge.ITextWriter @outfile)
{
Instance.CallMemberFunction ("setErrorRecovery", @outfile != null ? @outfile.Instance : null);
}
[TypeScriptBridge ("getSourceLineCol")]
public void GetSourceLineCol (TypeScriptServiceBridge.TypeScript.ILineCol @lineCol, double @minChar)
{
Instance.CallMemberFunction ("getSourceLineCol", @lineCol != null ? @lineCol.Instance : null, @minChar);
}
[TypeScriptBridge ("createRef")]
public TypeScriptServiceBridge.TypeScript.Identifier CreateRef (string @text, bool @hasEscapeSequence, double @minChar)
{
return new TypeScriptServiceBridge.TypeScript.Identifier ((ObjectInstance) Instance.CallMemberFunction ("createRef", @text, @hasEscapeSequence, @minChar));
}
[TypeScriptBridge ("reportParseStyleError")]
public void ReportParseStyleError (string @message)
{
Instance.CallMemberFunction ("reportParseStyleError", @message);
}
[TypeScriptBridge ("reportParseError")]
public void ReportParseError (string @message, [DangerousDefaultValueAttribute]double @startPos = 0, [DangerousDefaultValueAttribute]double @pos = 0)
{
Instance.CallMemberFunction ("reportParseError", @message, @startPos, @pos);
}
[TypeScriptBridge ("checkNextToken")]
public void CheckNextToken (TypeScriptServiceBridge.TypeScript.TokenID @tokenId, TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet, string @errorText = null)
{
Instance.CallMemberFunction ("checkNextToken", @tokenId, @errorRecoverySet, @errorText);
}
[TypeScriptBridge ("skip")]
public void Skip (TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet)
{
Instance.CallMemberFunction ("skip", @errorRecoverySet);
}
[TypeScriptBridge ("checkCurrentToken")]
public void CheckCurrentToken (TypeScriptServiceBridge.TypeScript.TokenID @tokenId, TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet, string @errorText = null)
{
Instance.CallMemberFunction ("checkCurrentToken", @tokenId, @errorRecoverySet, @errorText);
}
[TypeScriptBridge ("pushDeclLists")]
public void PushDeclLists ()
{
Instance.CallMemberFunction ("pushDeclLists");
}
[TypeScriptBridge ("popDeclLists")]
public void PopDeclLists ()
{
Instance.CallMemberFunction ("popDeclLists");
}
[TypeScriptBridge ("topVarList")]
public TypeScriptServiceBridge.TypeScript.ASTList TopVarList ()
{
return new TypeScriptServiceBridge.TypeScript.ASTList ((ObjectInstance) Instance.CallMemberFunction ("topVarList"));
}
[TypeScriptBridge ("topScopeList")]
public TypeScriptServiceBridge.TypeScript.ASTList TopScopeList ()
{
return new TypeScriptServiceBridge.TypeScript.ASTList ((ObjectInstance) Instance.CallMemberFunction ("topScopeList"));
}
[TypeScriptBridge ("topStaticsList")]
public TypeScriptServiceBridge.TypeScript.ASTList TopStaticsList ()
{
return new TypeScriptServiceBridge.TypeScript.ASTList ((ObjectInstance) Instance.CallMemberFunction ("topStaticsList"));
}
[TypeScriptBridge ("parseComment")]
public TypeScriptServiceBridge.TypeScript.Comment ParseComment (TypeScriptServiceBridge.TypeScript.CommentToken @comment)
{
return new TypeScriptServiceBridge.TypeScript.Comment ((ObjectInstance) Instance.CallMemberFunction ("parseComment", @comment != null ? @comment.Instance : null));
}
[TypeScriptBridge ("parseCommentsInner")]
public ArrayInstance ParseCommentsInner (ArrayInstance @comments)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("parseCommentsInner", @comments));
}
[TypeScriptBridge ("parseComments")]
public ArrayInstance ParseComments ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("parseComments"));
}
[TypeScriptBridge ("parseCommentsForLine")]
public ArrayInstance ParseCommentsForLine (double @line)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("parseCommentsForLine", @line));
}
[TypeScriptBridge ("combineComments")]
public ArrayInstance CombineComments (ArrayInstance @comment1, ArrayInstance @comment2)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("combineComments", @comment1, @comment2));
}
[TypeScriptBridge ("parseEnumDecl")]
public TypeScriptServiceBridge.TypeScript.ModuleDeclaration ParseEnumDecl (TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet, TypeScriptServiceBridge.TypeScript.Modifiers @modifiers)
{
return new TypeScriptServiceBridge.TypeScript.ModuleDeclaration ((ObjectInstance) Instance.CallMemberFunction ("parseEnumDecl", @errorRecoverySet, @modifiers));
}
[TypeScriptBridge ("parseDottedName")]
public void ParseDottedName (ArrayInstance @enclosedList)
{
Instance.CallMemberFunction ("parseDottedName", @enclosedList);
}
[TypeScriptBridge ("isValidImportPath")]
public bool IsValidImportPath (string @importPath)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isValidImportPath", @importPath));
}
[TypeScriptBridge ("parseImportDeclaration")]
public TypeScriptServiceBridge.TypeScript.ImportDeclaration ParseImportDeclaration (TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet, TypeScriptServiceBridge.TypeScript.Modifiers @modifiers)
{
return new TypeScriptServiceBridge.TypeScript.ImportDeclaration ((ObjectInstance) Instance.CallMemberFunction ("parseImportDeclaration", @errorRecoverySet, @modifiers));
}
[TypeScriptBridge ("parseModuleDecl")]
public TypeScriptServiceBridge.TypeScript.ModuleDeclaration ParseModuleDecl (TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet, TypeScriptServiceBridge.TypeScript.Modifiers @modifiers)
{
return new TypeScriptServiceBridge.TypeScript.ModuleDeclaration ((ObjectInstance) Instance.CallMemberFunction ("parseModuleDecl", @errorRecoverySet, @modifiers));
}
[TypeScriptBridge ("parseTypeReferenceTail")]
public TypeScriptServiceBridge.TypeScript.TypeReference ParseTypeReferenceTail (TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet, double @minChar, TypeScriptServiceBridge.TypeScript.AST @term)
{
return new TypeScriptServiceBridge.TypeScript.TypeReference ((ObjectInstance) Instance.CallMemberFunction ("parseTypeReferenceTail", @errorRecoverySet, @minChar, @term != null ? @term.Instance : null));
}
[TypeScriptBridge ("parseNamedType")]
public TypeScriptServiceBridge.TypeScript.AST ParseNamedType (TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet, double @minChar, TypeScriptServiceBridge.TypeScript.AST @term, bool @tail)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("parseNamedType", @errorRecoverySet, @minChar, @term != null ? @term.Instance : null, @tail));
}
[TypeScriptBridge ("parseTypeReference")]
public TypeScriptServiceBridge.TypeScript.AST ParseTypeReference (TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet, bool @allowVoid)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("parseTypeReference", @errorRecoverySet, @allowVoid));
}
[TypeScriptBridge ("parseObjectType")]
public TypeScriptServiceBridge.TypeScript.TypeReference ParseObjectType (double @minChar, TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet)
{
return new TypeScriptServiceBridge.TypeScript.TypeReference ((ObjectInstance) Instance.CallMemberFunction ("parseObjectType", @minChar, @errorRecoverySet));
}
[TypeScriptBridge ("parseFunctionStatements")]
public TypeScriptServiceBridge.TypeScript.FuncDecl ParseFunctionStatements (TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet, TypeScriptServiceBridge.TypeScript.Identifier @name, bool @isConstructor, bool @isMethod, TypeScriptServiceBridge.TypeScript.ASTList @args, TypeScriptServiceBridge.TypeScript.AllowedElements @allowedElements, double @minChar, bool @requiresSignature, TypeScriptServiceBridge.TypeScript.Modifiers @parentModifiers)
{
return new TypeScriptServiceBridge.TypeScript.FuncDecl ((ObjectInstance) Instance.CallMemberFunction ("parseFunctionStatements", @errorRecoverySet, @name != null ? @name.Instance : null, @isConstructor, @isMethod, @args != null ? @args.Instance : null, @allowedElements, @minChar, @requiresSignature, @parentModifiers));
}
[TypeScriptBridge ("transformAnonymousArgsIntoFormals")]
public bool TransformAnonymousArgsIntoFormals (TypeScriptServiceBridge.TypeScript.ASTList @formals, TypeScriptServiceBridge.TypeScript.AST @argList)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("transformAnonymousArgsIntoFormals", @formals != null ? @formals.Instance : null, @argList != null ? @argList.Instance : null));
}
[TypeScriptBridge ("parseFormalParameterList")]
public bool ParseFormalParameterList (TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet, TypeScriptServiceBridge.TypeScript.ASTList @formals, bool @isClassConstr, bool @isSig, bool @isIndexer, bool @isGetter, bool @isSetter, bool @isLambda, TypeScriptServiceBridge.TypeScript.AST @preProcessedLambdaArgs, bool @expectClosingRParen)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("parseFormalParameterList", @errorRecoverySet, @formals != null ? @formals.Instance : null, @isClassConstr, @isSig, @isIndexer, @isGetter, @isSetter, @isLambda, @preProcessedLambdaArgs != null ? @preProcessedLambdaArgs.Instance : null, @expectClosingRParen));
}
[TypeScriptBridge ("parseFncDecl")]
public TypeScriptServiceBridge.TypeScript.AST ParseFncDecl (TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet, bool @isDecl, bool @requiresSignature, bool @isMethod, TypeScriptServiceBridge.TypeScript.Identifier @methodName, bool @indexer, bool @isStatic, bool @markedAsAmbient, TypeScriptServiceBridge.TypeScript.Modifiers @modifiers, TypeScriptServiceBridge.TypeScript.ILambdaArgumentContext @lambdaArgContext, bool @expectClosingRParen)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("parseFncDecl", @errorRecoverySet, @isDecl, @requiresSignature, @isMethod, @methodName != null ? @methodName.Instance : null, @indexer, @isStatic, @markedAsAmbient, @modifiers, @lambdaArgContext != null ? @lambdaArgContext.Instance : null, @expectClosingRParen));
}
[TypeScriptBridge ("convertToTypeReference")]
public TypeScriptServiceBridge.TypeScript.TypeReference ConvertToTypeReference (TypeScriptServiceBridge.TypeScript.AST @ast)
{
return new TypeScriptServiceBridge.TypeScript.TypeReference ((ObjectInstance) Instance.CallMemberFunction ("convertToTypeReference", @ast != null ? @ast.Instance : null));
}
[TypeScriptBridge ("parseArgList")]
public TypeScriptServiceBridge.TypeScript.ASTList ParseArgList (TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet)
{
return new TypeScriptServiceBridge.TypeScript.ASTList ((ObjectInstance) Instance.CallMemberFunction ("parseArgList", @errorRecoverySet));
}
[TypeScriptBridge ("parseBaseList")]
public void ParseBaseList (TypeScriptServiceBridge.TypeScript.ASTList @extendsList, TypeScriptServiceBridge.TypeScript.ASTList @implementsList, TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet, bool @interfaceOnly, bool @isClass)
{
Instance.CallMemberFunction ("parseBaseList", @extendsList != null ? @extendsList.Instance : null, @implementsList != null ? @implementsList.Instance : null, @errorRecoverySet, @interfaceOnly, @isClass);
}
[TypeScriptBridge ("parseClassDecl")]
public TypeScriptServiceBridge.TypeScript.ClassDeclaration ParseClassDecl (TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet, double @minChar, TypeScriptServiceBridge.TypeScript.Modifiers @modifiers)
{
return new TypeScriptServiceBridge.TypeScript.ClassDeclaration ((ObjectInstance) Instance.CallMemberFunction ("parseClassDecl", @errorRecoverySet, @minChar, @modifiers));
}
[TypeScriptBridge ("parseClassElements")]
public void ParseClassElements (TypeScriptServiceBridge.TypeScript.ClassDeclaration @classDecl, TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet, TypeScriptServiceBridge.TypeScript.Modifiers @parentModifiers)
{
Instance.CallMemberFunction ("parseClassElements", @classDecl != null ? @classDecl.Instance : null, @errorRecoverySet, @parentModifiers);
}
[TypeScriptBridge ("parseClassConstructorDeclaration")]
public TypeScriptServiceBridge.TypeScript.FuncDecl ParseClassConstructorDeclaration (double @minChar, TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet, TypeScriptServiceBridge.TypeScript.Modifiers @modifiers)
{
return new TypeScriptServiceBridge.TypeScript.FuncDecl ((ObjectInstance) Instance.CallMemberFunction ("parseClassConstructorDeclaration", @minChar, @errorRecoverySet, @modifiers));
}
[TypeScriptBridge ("parseClassMemberVariableDeclaration")]
public TypeScriptServiceBridge.TypeScript.VarDecl ParseClassMemberVariableDeclaration (TypeScriptServiceBridge.TypeScript.Identifier @text, double @minChar, bool @isDeclaredInConstructor, TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet, TypeScriptServiceBridge.TypeScript.Modifiers @modifiers)
{
return new TypeScriptServiceBridge.TypeScript.VarDecl ((ObjectInstance) Instance.CallMemberFunction ("parseClassMemberVariableDeclaration", @text != null ? @text.Instance : null, @minChar, @isDeclaredInConstructor, @errorRecoverySet, @modifiers));
}
[TypeScriptBridge ("parseClassMemberFunctionDeclaration")]
public TypeScriptServiceBridge.TypeScript.AST ParseClassMemberFunctionDeclaration (TypeScriptServiceBridge.TypeScript.Identifier @methodName, double @minChar, TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet, TypeScriptServiceBridge.TypeScript.Modifiers @modifiers)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("parseClassMemberFunctionDeclaration", @methodName != null ? @methodName.Instance : null, @minChar, @errorRecoverySet, @modifiers));
}
[TypeScriptBridge ("parseTypeMember")]
public TypeScriptServiceBridge.TypeScript.AST ParseTypeMember (TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("parseTypeMember", @errorRecoverySet));
}
[TypeScriptBridge ("parseTypeMemberList")]
public void ParseTypeMemberList (TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet, TypeScriptServiceBridge.TypeScript.ASTList @members)
{
Instance.CallMemberFunction ("parseTypeMemberList", @errorRecoverySet, @members != null ? @members.Instance : null);
}
[TypeScriptBridge ("parseInterfaceDecl")]
public TypeScriptServiceBridge.TypeScript.InterfaceDeclaration ParseInterfaceDecl (TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet, TypeScriptServiceBridge.TypeScript.Modifiers @modifiers)
{
return new TypeScriptServiceBridge.TypeScript.InterfaceDeclaration ((ObjectInstance) Instance.CallMemberFunction ("parseInterfaceDecl", @errorRecoverySet, @modifiers));
}
[TypeScriptBridge ("makeVarDecl")]
public TypeScriptServiceBridge.TypeScript.VarDecl MakeVarDecl (TypeScriptServiceBridge.TypeScript.Identifier @id, double @nest)
{
return new TypeScriptServiceBridge.TypeScript.VarDecl ((ObjectInstance) Instance.CallMemberFunction ("makeVarDecl", @id != null ? @id.Instance : null, @nest));
}
[TypeScriptBridge ("parsePropertyDeclaration")]
public TypeScriptServiceBridge.TypeScript.AST ParsePropertyDeclaration (TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet, TypeScriptServiceBridge.TypeScript.Modifiers @modifiers, bool @requireSignature, bool @isStatic)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("parsePropertyDeclaration", @errorRecoverySet, @modifiers, @requireSignature, @isStatic));
}
[TypeScriptBridge ("parseVariableDeclaration")]
public TypeScriptServiceBridge.TypeScript.AST ParseVariableDeclaration (TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet, TypeScriptServiceBridge.TypeScript.Modifiers @modifiers, bool @allowIn, bool @isStatic)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("parseVariableDeclaration", @errorRecoverySet, @modifiers, @allowIn, @isStatic));
}
[TypeScriptBridge ("parseMemberList")]
public TypeScriptServiceBridge.TypeScript.ASTList ParseMemberList (TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet)
{
return new TypeScriptServiceBridge.TypeScript.ASTList ((ObjectInstance) Instance.CallMemberFunction ("parseMemberList", @errorRecoverySet));
}
[TypeScriptBridge ("parseArrayList")]
public TypeScriptServiceBridge.TypeScript.ASTList ParseArrayList (TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet)
{
return new TypeScriptServiceBridge.TypeScript.ASTList ((ObjectInstance) Instance.CallMemberFunction ("parseArrayList", @errorRecoverySet));
}
[TypeScriptBridge ("parseArrayLiteral")]
public TypeScriptServiceBridge.TypeScript.UnaryExpression ParseArrayLiteral (TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet)
{
return new TypeScriptServiceBridge.TypeScript.UnaryExpression ((ObjectInstance) Instance.CallMemberFunction ("parseArrayLiteral", @errorRecoverySet));
}
[TypeScriptBridge ("parseTerm")]
public TypeScriptServiceBridge.TypeScript.AST ParseTerm (TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet, bool @allowCall, TypeScriptServiceBridge.TypeScript.TypeContext @typeContext, bool @inCast)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("parseTerm", @errorRecoverySet, @allowCall, @typeContext, @inCast));
}
[TypeScriptBridge ("parseLambdaExpr")]
public TypeScriptServiceBridge.TypeScript.AST ParseLambdaExpr (TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet, TypeScriptServiceBridge.TypeScript.AST @lambdaArgs, bool @skipNextRParen, bool @expectClosingRParen)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("parseLambdaExpr", @errorRecoverySet, @lambdaArgs != null ? @lambdaArgs.Instance : null, @skipNextRParen, @expectClosingRParen));
}
[TypeScriptBridge ("parseExpr")]
public TypeScriptServiceBridge.TypeScript.AST ParseExpr (TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet, double @minPrecedence, bool @allowIn, TypeScriptServiceBridge.TypeScript.TypeContext @typeContext, bool @possiblyInLambda = false)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("parseExpr", @errorRecoverySet, @minPrecedence, @allowIn, @typeContext, @possiblyInLambda));
}
[TypeScriptBridge ("parsePostfixOperators")]
public TypeScriptServiceBridge.TypeScript.AST ParsePostfixOperators (TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet, TypeScriptServiceBridge.TypeScript.AST @ast, bool @allowCall, bool @inNew, TypeScriptServiceBridge.TypeScript.TypeContext @typeContext, double @lhsMinChar, double @lhsLimChar)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("parsePostfixOperators", @errorRecoverySet, @ast != null ? @ast.Instance : null, @allowCall, @inNew, @typeContext, @lhsMinChar, @lhsLimChar));
}
[TypeScriptBridge ("parseTry")]
public TypeScriptServiceBridge.TypeScript.Try ParseTry (TypeScriptServiceBridge.TypeScript.Try @tryNode, TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet, TypeScriptServiceBridge.TypeScript.Modifiers @parentModifiers)
{
return new TypeScriptServiceBridge.TypeScript.Try ((ObjectInstance) Instance.CallMemberFunction ("parseTry", @tryNode != null ? @tryNode.Instance : null, @errorRecoverySet, @parentModifiers));
}
[TypeScriptBridge ("parseCatch")]
public TypeScriptServiceBridge.TypeScript.Catch ParseCatch (TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet, TypeScriptServiceBridge.TypeScript.Modifiers @parentModifiers)
{
return new TypeScriptServiceBridge.TypeScript.Catch ((ObjectInstance) Instance.CallMemberFunction ("parseCatch", @errorRecoverySet, @parentModifiers));
}
[TypeScriptBridge ("parseFinally")]
public TypeScriptServiceBridge.TypeScript.Finally ParseFinally (TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet, TypeScriptServiceBridge.TypeScript.Modifiers @parentModifiers)
{
return new TypeScriptServiceBridge.TypeScript.Finally ((ObjectInstance) Instance.CallMemberFunction ("parseFinally", @errorRecoverySet, @parentModifiers));
}
[TypeScriptBridge ("parseTryCatchFinally")]
public TypeScriptServiceBridge.TypeScript.AST ParseTryCatchFinally (TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet, TypeScriptServiceBridge.TypeScript.Modifiers @parentModifiers, TypeScriptServiceBridge.TypeScript.ASTList @labelList)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("parseTryCatchFinally", @errorRecoverySet, @parentModifiers, @labelList != null ? @labelList.Instance : null));
}
[TypeScriptBridge ("parseStatement")]
public TypeScriptServiceBridge.TypeScript.AST ParseStatement (TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet, TypeScriptServiceBridge.TypeScript.AllowedElements @allowedElements, TypeScriptServiceBridge.TypeScript.Modifiers @parentModifiers)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("parseStatement", @errorRecoverySet, @allowedElements, @parentModifiers));
}
[TypeScriptBridge ("okAmbientModuleMember")]
public bool OkAmbientModuleMember (TypeScriptServiceBridge.TypeScript.AST @ast)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("okAmbientModuleMember", @ast != null ? @ast.Instance : null));
}
[TypeScriptBridge ("parseStatementList")]
public void ParseStatementList (TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @errorRecoverySet, TypeScriptServiceBridge.TypeScript.ASTList @statements, bool @sourceElms, bool @noLeadingCase, TypeScriptServiceBridge.TypeScript.AllowedElements @allowedElements, TypeScriptServiceBridge.TypeScript.Modifiers @parentModifiers)
{
Instance.CallMemberFunction ("parseStatementList", @errorRecoverySet, @statements != null ? @statements.Instance : null, @sourceElms, @noLeadingCase, @allowedElements, @parentModifiers);
}
[TypeScriptBridge ("quickParse")]
public TypeScriptServiceBridge.TypeScript.QuickParseResult QuickParse (TypeScriptServiceBridge.TypeScript.ISourceText @sourceText, string @filename, double @unitIndex)
{
return new TypeScriptServiceBridge.TypeScript.QuickParseResult ((ObjectInstance) Instance.CallMemberFunction ("quickParse", @sourceText != null ? @sourceText.Instance : null, @filename, @unitIndex));
}
[TypeScriptBridge ("parse")]
public TypeScriptServiceBridge.TypeScript.Script Parse (TypeScriptServiceBridge.TypeScript.ISourceText @sourceText, string @filename, double @unitIndex, [DangerousDefaultValueAttribute]TypeScriptServiceBridge.TypeScript.AllowedElements @allowedElements = TypeScript.AllowedElements.None)
{
return new TypeScriptServiceBridge.TypeScript.Script ((ObjectInstance) Instance.CallMemberFunction ("parse", @sourceText != null ? @sourceText.Instance : null, @filename, @unitIndex, @allowedElements));
}
}
public class PrintContext : TypeScriptObject
{
public PrintContext (ObjectInstance instance) : base (instance) {}
public PrintContext (TypeScriptServiceBridge.ITextWriter @outfile, TypeScriptServiceBridge.TypeScript.Parser @parser)
: base (CallConstructor ("TypeScript", "PrintContext", @outfile != null ? @outfile.Instance : null, @parser != null ? @parser.Instance : null))
{
}
[TypeScriptBridge ("outfile")]
public TypeScriptServiceBridge.ITextWriter Outfile {
get { return new TypeScriptServiceBridge.ITextWriter_Impl ((ObjectInstance) Instance.GetPropertyValue ("outfile")); }
set { Instance.SetPropertyValue ("outfile", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("parser")]
public TypeScriptServiceBridge.TypeScript.Parser Parser {
get { return new TypeScriptServiceBridge.TypeScript.Parser ((ObjectInstance) Instance.GetPropertyValue ("parser")); }
set { Instance.SetPropertyValue ("parser", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("builder")]
public string Builder {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("builder")); }
set { Instance.SetPropertyValue ("builder", value, true); }
}
[TypeScriptBridge ("indent1")]
public string Indent1 {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("indent1")); }
set { Instance.SetPropertyValue ("indent1", value, true); }
}
[TypeScriptBridge ("indentStrings")]
public ArrayInstance IndentStrings {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("indentStrings")); }
set { Instance.SetPropertyValue ("indentStrings", value, true); }
}
[TypeScriptBridge ("indentAmt")]
public double IndentAmt {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("indentAmt")); }
set { Instance.SetPropertyValue ("indentAmt", value, true); }
}
[TypeScriptBridge ("get_outfile")]
public TypeScriptServiceBridge.ITextWriter Get_outfile ()
{
return new TypeScriptServiceBridge.ITextWriter_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_outfile"));
}
[TypeScriptBridge ("set_outfile")]
public void Set_outfile (TypeScriptServiceBridge.ITextWriter @value)
{
Instance.CallMemberFunction ("set_outfile", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_parser")]
public TypeScriptServiceBridge.TypeScript.Parser Get_parser ()
{
return new TypeScriptServiceBridge.TypeScript.Parser ((ObjectInstance) Instance.CallMemberFunction ("get_parser"));
}
[TypeScriptBridge ("set_parser")]
public void Set_parser (TypeScriptServiceBridge.TypeScript.Parser @value)
{
Instance.CallMemberFunction ("set_parser", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_builder")]
public string Get_builder ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_builder"));
}
[TypeScriptBridge ("set_builder")]
public void Set_builder (string @value)
{
Instance.CallMemberFunction ("set_builder", @value);
}
[TypeScriptBridge ("get_indent1")]
public string Get_indent1 ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_indent1"));
}
[TypeScriptBridge ("set_indent1")]
public void Set_indent1 (string @value)
{
Instance.CallMemberFunction ("set_indent1", @value);
}
[TypeScriptBridge ("get_indentStrings")]
public ArrayInstance Get_indentStrings ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_indentStrings"));
}
[TypeScriptBridge ("set_indentStrings")]
public void Set_indentStrings (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_indentStrings", @value);
}
[TypeScriptBridge ("get_indentAmt")]
public double Get_indentAmt ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_indentAmt"));
}
[TypeScriptBridge ("set_indentAmt")]
public void Set_indentAmt (double @value)
{
Instance.CallMemberFunction ("set_indentAmt", @value);
}
[TypeScriptBridge ("increaseIndent")]
public void IncreaseIndent ()
{
Instance.CallMemberFunction ("increaseIndent");
}
[TypeScriptBridge ("decreaseIndent")]
public void DecreaseIndent ()
{
Instance.CallMemberFunction ("decreaseIndent");
}
[TypeScriptBridge ("startLine")]
public void StartLine ()
{
Instance.CallMemberFunction ("startLine");
}
[TypeScriptBridge ("write")]
public void Write (System.Object @s)
{
Instance.CallMemberFunction ("write", @s);
}
[TypeScriptBridge ("writeLine")]
public void WriteLine (System.Object @s)
{
Instance.CallMemberFunction ("writeLine", @s);
}
}
public enum NumberScanState
{
Start = 0,
InFraction = 1,
InEmptyFraction = 2,
InExponent = 3,
}
public enum LexState
{
Start = 0,
InMultilineComment = 1,
}
public enum LexMode
{
Line = 0,
File = 1,
}
public enum CommentStyle
{
Line = 0,
Block = 1,
}
public interface ISourceText : ITypeScriptObject
{
[TypeScriptBridge ("getText")]
string GetText (double @start, double @end);
[TypeScriptBridge ("getLength")]
double GetLength ();
}
public class ISourceText_Impl : TypeScriptObject, ISourceText
{
public ISourceText_Impl (ObjectInstance instance) : base (instance) {}
[TypeScriptBridge ("getText")]
public string GetText (double @start, double @end)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getText", @start, @end));
}
[TypeScriptBridge ("getLength")]
public double GetLength ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getLength"));
}
}
public class StringSourceText : TypeScriptObject
, ISourceText
{
public StringSourceText (ObjectInstance instance) : base (instance) {}
public StringSourceText (string @text)
: base (CallConstructor ("TypeScript", "StringSourceText", @text))
{
}
[TypeScriptBridge ("text")]
public string Text {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("text")); }
set { Instance.SetPropertyValue ("text", value, true); }
}
[TypeScriptBridge ("get_text")]
public string Get_text ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_text"));
}
[TypeScriptBridge ("set_text")]
public void Set_text (string @value)
{
Instance.CallMemberFunction ("set_text", @value);
}
[TypeScriptBridge ("getText")]
public string GetText (double @start, double @end)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getText", @start, @end));
}
[TypeScriptBridge ("getLength")]
public double GetLength ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getLength"));
}
string TypeScriptServiceBridge.TypeScript.ISourceText.GetText (double @start, double @end)
{
return (string) GetText ((double) @start, (double) @end);
}
double TypeScriptServiceBridge.TypeScript.ISourceText.GetLength ()
{
return (double) GetLength ();
}
}
public class SourceTextSegment : TypeScriptObject
, ISourceTextSegment
{
public SourceTextSegment (ObjectInstance instance) : base (instance) {}
public SourceTextSegment (double @segmentStart, double @segmentEnd, string @segment)
: base (CallConstructor ("TypeScript", "SourceTextSegment", @segmentStart, @segmentEnd, @segment))
{
}
[TypeScriptBridge ("segmentStart")]
public double SegmentStart {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("segmentStart")); }
set { Instance.SetPropertyValue ("segmentStart", value, true); }
}
[TypeScriptBridge ("segmentEnd")]
public double SegmentEnd {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("segmentEnd")); }
set { Instance.SetPropertyValue ("segmentEnd", value, true); }
}
[TypeScriptBridge ("segment")]
public string Segment {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("segment")); }
set { Instance.SetPropertyValue ("segment", value, true); }
}
[TypeScriptBridge ("get_segmentStart")]
public double Get_segmentStart ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_segmentStart"));
}
[TypeScriptBridge ("set_segmentStart")]
public void Set_segmentStart (double @value)
{
Instance.CallMemberFunction ("set_segmentStart", @value);
}
[TypeScriptBridge ("get_segmentEnd")]
public double Get_segmentEnd ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_segmentEnd"));
}
[TypeScriptBridge ("set_segmentEnd")]
public void Set_segmentEnd (double @value)
{
Instance.CallMemberFunction ("set_segmentEnd", @value);
}
[TypeScriptBridge ("get_segment")]
public string Get_segment ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_segment"));
}
[TypeScriptBridge ("set_segment")]
public void Set_segment (string @value)
{
Instance.CallMemberFunction ("set_segment", @value);
}
[TypeScriptBridge ("charCodeAt")]
public double CharCodeAt (double @index)
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("charCodeAt", @index));
}
[TypeScriptBridge ("substring")]
public string Substring (double @start, double @end)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("substring", @start, @end));
}
double TypeScriptServiceBridge.TypeScript.ISourceTextSegment.CharCodeAt (double @index)
{
return (double) CharCodeAt ((double) @index);
}
string TypeScriptServiceBridge.TypeScript.ISourceTextSegment.Substring (double @start, double @end)
{
return (string) Substring ((double) @start, (double) @end);
}
}
public class AggerateSourceTextSegment : TypeScriptObject
, ISourceTextSegment
{
public AggerateSourceTextSegment (ObjectInstance instance) : base (instance) {}
public AggerateSourceTextSegment (TypeScriptServiceBridge.TypeScript.SourceTextSegment @seg1, TypeScriptServiceBridge.TypeScript.SourceTextSegment @seg2)
: base (CallConstructor ("TypeScript", "AggerateSourceTextSegment", @seg1 != null ? @seg1.Instance : null, @seg2 != null ? @seg2.Instance : null))
{
}
[TypeScriptBridge ("seg1")]
public TypeScriptServiceBridge.TypeScript.SourceTextSegment Seg1 {
get { return new TypeScriptServiceBridge.TypeScript.SourceTextSegment ((ObjectInstance) Instance.GetPropertyValue ("seg1")); }
set { Instance.SetPropertyValue ("seg1", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("seg2")]
public TypeScriptServiceBridge.TypeScript.SourceTextSegment Seg2 {
get { return new TypeScriptServiceBridge.TypeScript.SourceTextSegment ((ObjectInstance) Instance.GetPropertyValue ("seg2")); }
set { Instance.SetPropertyValue ("seg2", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_seg1")]
public TypeScriptServiceBridge.TypeScript.SourceTextSegment Get_seg1 ()
{
return new TypeScriptServiceBridge.TypeScript.SourceTextSegment ((ObjectInstance) Instance.CallMemberFunction ("get_seg1"));
}
[TypeScriptBridge ("set_seg1")]
public void Set_seg1 (TypeScriptServiceBridge.TypeScript.SourceTextSegment @value)
{
Instance.CallMemberFunction ("set_seg1", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_seg2")]
public TypeScriptServiceBridge.TypeScript.SourceTextSegment Get_seg2 ()
{
return new TypeScriptServiceBridge.TypeScript.SourceTextSegment ((ObjectInstance) Instance.CallMemberFunction ("get_seg2"));
}
[TypeScriptBridge ("set_seg2")]
public void Set_seg2 (TypeScriptServiceBridge.TypeScript.SourceTextSegment @value)
{
Instance.CallMemberFunction ("set_seg2", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("charCodeAt")]
public double CharCodeAt (double @index)
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("charCodeAt", @index));
}
[TypeScriptBridge ("substring")]
public string Substring (double @start, double @end)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("substring", @start, @end));
}
double TypeScriptServiceBridge.TypeScript.ISourceTextSegment.CharCodeAt (double @index)
{
return (double) CharCodeAt ((double) @index);
}
string TypeScriptServiceBridge.TypeScript.ISourceTextSegment.Substring (double @start, double @end)
{
return (string) Substring ((double) @start, (double) @end);
}
}
public interface ISourceTextSegment : ITypeScriptObject
{
[TypeScriptBridge ("charCodeAt")]
double CharCodeAt (double @index);
[TypeScriptBridge ("substring")]
string Substring (double @start, double @end);
}
public class ISourceTextSegment_Impl : TypeScriptObject, ISourceTextSegment
{
public ISourceTextSegment_Impl (ObjectInstance instance) : base (instance) {}
[TypeScriptBridge ("charCodeAt")]
public double CharCodeAt (double @index)
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("charCodeAt", @index));
}
[TypeScriptBridge ("substring")]
public string Substring (double @start, double @end)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("substring", @start, @end));
}
}
public class ScannerTextStream : TypeScriptObject
{
public ScannerTextStream (ObjectInstance instance) : base (instance) {}
public ScannerTextStream (TypeScriptServiceBridge.TypeScript.ISourceText @sourceText)
: base (CallConstructor ("TypeScript", "ScannerTextStream", @sourceText != null ? @sourceText.Instance : null))
{
}
[TypeScriptBridge ("sourceText")]
public TypeScriptServiceBridge.TypeScript.ISourceText SourceText {
get { return new TypeScriptServiceBridge.TypeScript.ISourceText_Impl ((ObjectInstance) Instance.GetPropertyValue ("sourceText")); }
set { Instance.SetPropertyValue ("sourceText", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("emptySegment")]
public TypeScriptServiceBridge.TypeScript.SourceTextSegment EmptySegment {
get { return new TypeScriptServiceBridge.TypeScript.SourceTextSegment ((ObjectInstance) Instance.GetPropertyValue ("emptySegment")); }
set { Instance.SetPropertyValue ("emptySegment", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("agg")]
public TypeScriptServiceBridge.TypeScript.AggerateSourceTextSegment Agg {
get { return new TypeScriptServiceBridge.TypeScript.AggerateSourceTextSegment ((ObjectInstance) Instance.GetPropertyValue ("agg")); }
set { Instance.SetPropertyValue ("agg", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("len")]
public double Len {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("len")); }
set { Instance.SetPropertyValue ("len", value, true); }
}
[TypeScriptBridge ("get_sourceText")]
public TypeScriptServiceBridge.TypeScript.ISourceText Get_sourceText ()
{
return new TypeScriptServiceBridge.TypeScript.ISourceText_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_sourceText"));
}
[TypeScriptBridge ("set_sourceText")]
public void Set_sourceText (TypeScriptServiceBridge.TypeScript.ISourceText @value)
{
Instance.CallMemberFunction ("set_sourceText", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_emptySegment")]
public TypeScriptServiceBridge.TypeScript.SourceTextSegment Get_emptySegment ()
{
return new TypeScriptServiceBridge.TypeScript.SourceTextSegment ((ObjectInstance) Instance.CallMemberFunction ("get_emptySegment"));
}
[TypeScriptBridge ("set_emptySegment")]
public void Set_emptySegment (TypeScriptServiceBridge.TypeScript.SourceTextSegment @value)
{
Instance.CallMemberFunction ("set_emptySegment", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_agg")]
public TypeScriptServiceBridge.TypeScript.AggerateSourceTextSegment Get_agg ()
{
return new TypeScriptServiceBridge.TypeScript.AggerateSourceTextSegment ((ObjectInstance) Instance.CallMemberFunction ("get_agg"));
}
[TypeScriptBridge ("set_agg")]
public void Set_agg (TypeScriptServiceBridge.TypeScript.AggerateSourceTextSegment @value)
{
Instance.CallMemberFunction ("set_agg", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_len")]
public double Get_len ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_len"));
}
[TypeScriptBridge ("set_len")]
public void Set_len (double @value)
{
Instance.CallMemberFunction ("set_len", @value);
}
[TypeScriptBridge ("max")]
public double Max (double @a, double @b)
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("max", @a, @b));
}
[TypeScriptBridge ("min")]
public double Min (double @a, double @b)
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("min", @a, @b));
}
[TypeScriptBridge ("fetchSegment")]
public TypeScriptServiceBridge.TypeScript.ISourceTextSegment FetchSegment (double @start, double @end)
{
return new TypeScriptServiceBridge.TypeScript.ISourceTextSegment_Impl ((ObjectInstance) Instance.CallMemberFunction ("fetchSegment", @start, @end));
}
[TypeScriptBridge ("charCodeAt")]
public double CharCodeAt (double @index)
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("charCodeAt", @index));
}
[TypeScriptBridge ("substring")]
public string Substring (double @start, double @end)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("substring", @start, @end));
}
}
public interface IScanner : ITypeScriptObject
{
[TypeScriptBridge ("startPos")]
double StartPos { get; set; }
[TypeScriptBridge ("pos")]
double Pos { get; set; }
[TypeScriptBridge ("prevLine")]
double PrevLine { get; set; }
[TypeScriptBridge ("line")]
double Line { get; set; }
[TypeScriptBridge ("col")]
double Col { get; set; }
[TypeScriptBridge ("leftCurlyCount")]
double LeftCurlyCount { get; set; }
[TypeScriptBridge ("rightCurlyCount")]
double RightCurlyCount { get; set; }
[TypeScriptBridge ("lexState")]
double LexState { get; set; }
[TypeScriptBridge ("lineMap")]
ArrayInstance LineMap { get; set; }
[TypeScriptBridge ("seenUnicodeChar")]
bool SeenUnicodeChar { get; set; }
[TypeScriptBridge ("seenUnicodeCharInComment")]
bool SeenUnicodeCharInComment { get; set; }
[TypeScriptBridge ("get_startPos")]
double Get_startPos ();
[TypeScriptBridge ("set_startPos")]
void Set_startPos (double @value);
[TypeScriptBridge ("get_pos")]
double Get_pos ();
[TypeScriptBridge ("set_pos")]
void Set_pos (double @value);
[TypeScriptBridge ("scan")]
TypeScriptServiceBridge.TypeScript.Token Scan ();
[TypeScriptBridge ("previousToken")]
TypeScriptServiceBridge.TypeScript.Token PreviousToken ();
[TypeScriptBridge ("get_prevLine")]
double Get_prevLine ();
[TypeScriptBridge ("set_prevLine")]
void Set_prevLine (double @value);
[TypeScriptBridge ("get_line")]
double Get_line ();
[TypeScriptBridge ("set_line")]
void Set_line (double @value);
[TypeScriptBridge ("get_col")]
double Get_col ();
[TypeScriptBridge ("set_col")]
void Set_col (double @value);
[TypeScriptBridge ("get_leftCurlyCount")]
double Get_leftCurlyCount ();
[TypeScriptBridge ("set_leftCurlyCount")]
void Set_leftCurlyCount (double @value);
[TypeScriptBridge ("get_rightCurlyCount")]
double Get_rightCurlyCount ();
[TypeScriptBridge ("set_rightCurlyCount")]
void Set_rightCurlyCount (double @value);
[TypeScriptBridge ("lastTokenLimChar")]
double LastTokenLimChar ();
[TypeScriptBridge ("lastTokenHadNewline")]
bool LastTokenHadNewline ();
[TypeScriptBridge ("get_lexState")]
double Get_lexState ();
[TypeScriptBridge ("set_lexState")]
void Set_lexState (double @value);
[TypeScriptBridge ("getComments")]
ArrayInstance GetComments ();
[TypeScriptBridge ("getCommentsForLine")]
ArrayInstance GetCommentsForLine (double @line);
[TypeScriptBridge ("resetComments")]
void ResetComments ();
[TypeScriptBridge ("get_lineMap")]
ArrayInstance Get_lineMap ();
[TypeScriptBridge ("set_lineMap")]
void Set_lineMap (ArrayInstance @value);
[TypeScriptBridge ("setSourceText")]
void SetSourceText (TypeScriptServiceBridge.TypeScript.ISourceText @newSrc, double @textMode);
[TypeScriptBridge ("get_seenUnicodeChar")]
bool Get_seenUnicodeChar ();
[TypeScriptBridge ("set_seenUnicodeChar")]
void Set_seenUnicodeChar (bool @value);
[TypeScriptBridge ("get_seenUnicodeCharInComment")]
bool Get_seenUnicodeCharInComment ();
[TypeScriptBridge ("set_seenUnicodeCharInComment")]
void Set_seenUnicodeCharInComment (bool @value);
[TypeScriptBridge ("getLookAheadToken")]
TypeScriptServiceBridge.TypeScript.Token GetLookAheadToken ();
}
public class IScanner_Impl : TypeScriptObject, IScanner
{
public IScanner_Impl (ObjectInstance instance) : base (instance) {}
[TypeScriptBridge ("startPos")]
public double StartPos {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("startPos")); }
set { Instance.SetPropertyValue ("startPos", value, true); }
}
[TypeScriptBridge ("pos")]
public double Pos {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("pos")); }
set { Instance.SetPropertyValue ("pos", value, true); }
}
[TypeScriptBridge ("prevLine")]
public double PrevLine {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("prevLine")); }
set { Instance.SetPropertyValue ("prevLine", value, true); }
}
[TypeScriptBridge ("line")]
public double Line {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("line")); }
set { Instance.SetPropertyValue ("line", value, true); }
}
[TypeScriptBridge ("col")]
public double Col {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("col")); }
set { Instance.SetPropertyValue ("col", value, true); }
}
[TypeScriptBridge ("leftCurlyCount")]
public double LeftCurlyCount {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("leftCurlyCount")); }
set { Instance.SetPropertyValue ("leftCurlyCount", value, true); }
}
[TypeScriptBridge ("rightCurlyCount")]
public double RightCurlyCount {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("rightCurlyCount")); }
set { Instance.SetPropertyValue ("rightCurlyCount", value, true); }
}
[TypeScriptBridge ("lexState")]
public double LexState {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("lexState")); }
set { Instance.SetPropertyValue ("lexState", value, true); }
}
[TypeScriptBridge ("lineMap")]
public ArrayInstance LineMap {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("lineMap")); }
set { Instance.SetPropertyValue ("lineMap", value, true); }
}
[TypeScriptBridge ("seenUnicodeChar")]
public bool SeenUnicodeChar {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("seenUnicodeChar")); }
set { Instance.SetPropertyValue ("seenUnicodeChar", value, true); }
}
[TypeScriptBridge ("seenUnicodeCharInComment")]
public bool SeenUnicodeCharInComment {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("seenUnicodeCharInComment")); }
set { Instance.SetPropertyValue ("seenUnicodeCharInComment", value, true); }
}
[TypeScriptBridge ("get_startPos")]
public double Get_startPos ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_startPos"));
}
[TypeScriptBridge ("set_startPos")]
public void Set_startPos (double @value)
{
Instance.CallMemberFunction ("set_startPos", @value);
}
[TypeScriptBridge ("get_pos")]
public double Get_pos ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_pos"));
}
[TypeScriptBridge ("set_pos")]
public void Set_pos (double @value)
{
Instance.CallMemberFunction ("set_pos", @value);
}
[TypeScriptBridge ("scan")]
public TypeScriptServiceBridge.TypeScript.Token Scan ()
{
return new TypeScriptServiceBridge.TypeScript.Token ((ObjectInstance) Instance.CallMemberFunction ("scan"));
}
[TypeScriptBridge ("previousToken")]
public TypeScriptServiceBridge.TypeScript.Token PreviousToken ()
{
return new TypeScriptServiceBridge.TypeScript.Token ((ObjectInstance) Instance.CallMemberFunction ("previousToken"));
}
[TypeScriptBridge ("get_prevLine")]
public double Get_prevLine ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_prevLine"));
}
[TypeScriptBridge ("set_prevLine")]
public void Set_prevLine (double @value)
{
Instance.CallMemberFunction ("set_prevLine", @value);
}
[TypeScriptBridge ("get_line")]
public double Get_line ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_line"));
}
[TypeScriptBridge ("set_line")]
public void Set_line (double @value)
{
Instance.CallMemberFunction ("set_line", @value);
}
[TypeScriptBridge ("get_col")]
public double Get_col ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_col"));
}
[TypeScriptBridge ("set_col")]
public void Set_col (double @value)
{
Instance.CallMemberFunction ("set_col", @value);
}
[TypeScriptBridge ("get_leftCurlyCount")]
public double Get_leftCurlyCount ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_leftCurlyCount"));
}
[TypeScriptBridge ("set_leftCurlyCount")]
public void Set_leftCurlyCount (double @value)
{
Instance.CallMemberFunction ("set_leftCurlyCount", @value);
}
[TypeScriptBridge ("get_rightCurlyCount")]
public double Get_rightCurlyCount ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_rightCurlyCount"));
}
[TypeScriptBridge ("set_rightCurlyCount")]
public void Set_rightCurlyCount (double @value)
{
Instance.CallMemberFunction ("set_rightCurlyCount", @value);
}
[TypeScriptBridge ("lastTokenLimChar")]
public double LastTokenLimChar ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("lastTokenLimChar"));
}
[TypeScriptBridge ("lastTokenHadNewline")]
public bool LastTokenHadNewline ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("lastTokenHadNewline"));
}
[TypeScriptBridge ("get_lexState")]
public double Get_lexState ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_lexState"));
}
[TypeScriptBridge ("set_lexState")]
public void Set_lexState (double @value)
{
Instance.CallMemberFunction ("set_lexState", @value);
}
[TypeScriptBridge ("getComments")]
public ArrayInstance GetComments ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getComments"));
}
[TypeScriptBridge ("getCommentsForLine")]
public ArrayInstance GetCommentsForLine (double @line)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getCommentsForLine", @line));
}
[TypeScriptBridge ("resetComments")]
public void ResetComments ()
{
Instance.CallMemberFunction ("resetComments");
}
[TypeScriptBridge ("get_lineMap")]
public ArrayInstance Get_lineMap ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_lineMap"));
}
[TypeScriptBridge ("set_lineMap")]
public void Set_lineMap (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_lineMap", @value);
}
[TypeScriptBridge ("setSourceText")]
public void SetSourceText (TypeScriptServiceBridge.TypeScript.ISourceText @newSrc, double @textMode)
{
Instance.CallMemberFunction ("setSourceText", @newSrc != null ? @newSrc.Instance : null, @textMode);
}
[TypeScriptBridge ("get_seenUnicodeChar")]
public bool Get_seenUnicodeChar ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_seenUnicodeChar"));
}
[TypeScriptBridge ("set_seenUnicodeChar")]
public void Set_seenUnicodeChar (bool @value)
{
Instance.CallMemberFunction ("set_seenUnicodeChar", @value);
}
[TypeScriptBridge ("get_seenUnicodeCharInComment")]
public bool Get_seenUnicodeCharInComment ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_seenUnicodeCharInComment"));
}
[TypeScriptBridge ("set_seenUnicodeCharInComment")]
public void Set_seenUnicodeCharInComment (bool @value)
{
Instance.CallMemberFunction ("set_seenUnicodeCharInComment", @value);
}
[TypeScriptBridge ("getLookAheadToken")]
public TypeScriptServiceBridge.TypeScript.Token GetLookAheadToken ()
{
return new TypeScriptServiceBridge.TypeScript.Token ((ObjectInstance) Instance.CallMemberFunction ("getLookAheadToken"));
}
}
public class SavedTokens : TypeScriptObject
, IScanner
{
public SavedTokens (ObjectInstance instance) : base (instance) {}
public SavedTokens ()
: base (CallConstructor ("TypeScript", "SavedTokens"))
{
}
[TypeScriptBridge ("prevToken")]
public TypeScriptServiceBridge.TypeScript.Token PrevToken {
get { return new TypeScriptServiceBridge.TypeScript.Token ((ObjectInstance) Instance.GetPropertyValue ("prevToken")); }
set { Instance.SetPropertyValue ("prevToken", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("curSavedToken")]
public TypeScriptServiceBridge.TypeScript.SavedToken CurSavedToken {
get { return new TypeScriptServiceBridge.TypeScript.SavedToken ((ObjectInstance) Instance.GetPropertyValue ("curSavedToken")); }
set { Instance.SetPropertyValue ("curSavedToken", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("prevSavedToken")]
public TypeScriptServiceBridge.TypeScript.SavedToken PrevSavedToken {
get { return new TypeScriptServiceBridge.TypeScript.SavedToken ((ObjectInstance) Instance.GetPropertyValue ("prevSavedToken")); }
set { Instance.SetPropertyValue ("prevSavedToken", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("currentTokenIndex")]
public double CurrentTokenIndex {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("currentTokenIndex")); }
set { Instance.SetPropertyValue ("currentTokenIndex", value, true); }
}
[TypeScriptBridge ("currentTokens")]
public ArrayInstance CurrentTokens {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("currentTokens")); }
set { Instance.SetPropertyValue ("currentTokens", value, true); }
}
[TypeScriptBridge ("tokensByLine")]
public ArrayInstance TokensByLine {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("tokensByLine")); }
set { Instance.SetPropertyValue ("tokensByLine", value, true); }
}
[TypeScriptBridge ("lexStateByLine")]
public ArrayInstance LexStateByLine {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("lexStateByLine")); }
set { Instance.SetPropertyValue ("lexStateByLine", value, true); }
}
[TypeScriptBridge ("currentToken")]
public double CurrentToken {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("currentToken")); }
set { Instance.SetPropertyValue ("currentToken", value, true); }
}
[TypeScriptBridge ("tokens")]
public ArrayInstance Tokens {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("tokens")); }
set { Instance.SetPropertyValue ("tokens", value, true); }
}
[TypeScriptBridge ("startPos")]
public double StartPos {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("startPos")); }
set { Instance.SetPropertyValue ("startPos", value, true); }
}
[TypeScriptBridge ("pos")]
public double Pos {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("pos")); }
set { Instance.SetPropertyValue ("pos", value, true); }
}
[TypeScriptBridge ("seenUnicodeChar")]
public bool SeenUnicodeChar {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("seenUnicodeChar")); }
set { Instance.SetPropertyValue ("seenUnicodeChar", value, true); }
}
[TypeScriptBridge ("seenUnicodeCharInComment")]
public bool SeenUnicodeCharInComment {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("seenUnicodeCharInComment")); }
set { Instance.SetPropertyValue ("seenUnicodeCharInComment", value, true); }
}
[TypeScriptBridge ("startLine")]
public double StartLine {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("startLine")); }
set { Instance.SetPropertyValue ("startLine", value, true); }
}
[TypeScriptBridge ("prevLine")]
public double PrevLine {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("prevLine")); }
set { Instance.SetPropertyValue ("prevLine", value, true); }
}
[TypeScriptBridge ("line")]
public double Line {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("line")); }
set { Instance.SetPropertyValue ("line", value, true); }
}
[TypeScriptBridge ("col")]
public double Col {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("col")); }
set { Instance.SetPropertyValue ("col", value, true); }
}
[TypeScriptBridge ("leftCurlyCount")]
public double LeftCurlyCount {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("leftCurlyCount")); }
set { Instance.SetPropertyValue ("leftCurlyCount", value, true); }
}
[TypeScriptBridge ("rightCurlyCount")]
public double RightCurlyCount {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("rightCurlyCount")); }
set { Instance.SetPropertyValue ("rightCurlyCount", value, true); }
}
[TypeScriptBridge ("lexState")]
public TypeScriptServiceBridge.TypeScript.LexState LexState {
get { return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.LexState> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("lexState")); }
set { Instance.SetPropertyValue ("lexState", value, true); }
}
[TypeScriptBridge ("commentStack")]
public ArrayInstance CommentStack {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("commentStack")); }
set { Instance.SetPropertyValue ("commentStack", value, true); }
}
[TypeScriptBridge ("lineMap")]
public ArrayInstance LineMap {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("lineMap")); }
set { Instance.SetPropertyValue ("lineMap", value, true); }
}
[TypeScriptBridge ("get_prevToken")]
public TypeScriptServiceBridge.TypeScript.Token Get_prevToken ()
{
return new TypeScriptServiceBridge.TypeScript.Token ((ObjectInstance) Instance.CallMemberFunction ("get_prevToken"));
}
[TypeScriptBridge ("set_prevToken")]
public void Set_prevToken (TypeScriptServiceBridge.TypeScript.Token @value)
{
Instance.CallMemberFunction ("set_prevToken", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_curSavedToken")]
public TypeScriptServiceBridge.TypeScript.SavedToken Get_curSavedToken ()
{
return new TypeScriptServiceBridge.TypeScript.SavedToken ((ObjectInstance) Instance.CallMemberFunction ("get_curSavedToken"));
}
[TypeScriptBridge ("set_curSavedToken")]
public void Set_curSavedToken (TypeScriptServiceBridge.TypeScript.SavedToken @value)
{
Instance.CallMemberFunction ("set_curSavedToken", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_prevSavedToken")]
public TypeScriptServiceBridge.TypeScript.SavedToken Get_prevSavedToken ()
{
return new TypeScriptServiceBridge.TypeScript.SavedToken ((ObjectInstance) Instance.CallMemberFunction ("get_prevSavedToken"));
}
[TypeScriptBridge ("set_prevSavedToken")]
public void Set_prevSavedToken (TypeScriptServiceBridge.TypeScript.SavedToken @value)
{
Instance.CallMemberFunction ("set_prevSavedToken", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_currentTokenIndex")]
public double Get_currentTokenIndex ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_currentTokenIndex"));
}
[TypeScriptBridge ("set_currentTokenIndex")]
public void Set_currentTokenIndex (double @value)
{
Instance.CallMemberFunction ("set_currentTokenIndex", @value);
}
[TypeScriptBridge ("get_currentTokens")]
public ArrayInstance Get_currentTokens ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_currentTokens"));
}
[TypeScriptBridge ("set_currentTokens")]
public void Set_currentTokens (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_currentTokens", @value);
}
[TypeScriptBridge ("get_tokensByLine")]
public ArrayInstance Get_tokensByLine ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_tokensByLine"));
}
[TypeScriptBridge ("set_tokensByLine")]
public void Set_tokensByLine (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_tokensByLine", @value);
}
[TypeScriptBridge ("get_lexStateByLine")]
public ArrayInstance Get_lexStateByLine ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_lexStateByLine"));
}
[TypeScriptBridge ("set_lexStateByLine")]
public void Set_lexStateByLine (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_lexStateByLine", @value);
}
[TypeScriptBridge ("previousToken")]
public TypeScriptServiceBridge.TypeScript.Token PreviousToken ()
{
return new TypeScriptServiceBridge.TypeScript.Token ((ObjectInstance) Instance.CallMemberFunction ("previousToken"));
}
[TypeScriptBridge ("get_currentToken")]
public double Get_currentToken ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_currentToken"));
}
[TypeScriptBridge ("set_currentToken")]
public void Set_currentToken (double @value)
{
Instance.CallMemberFunction ("set_currentToken", @value);
}
[TypeScriptBridge ("get_tokens")]
public ArrayInstance Get_tokens ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_tokens"));
}
[TypeScriptBridge ("set_tokens")]
public void Set_tokens (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_tokens", @value);
}
[TypeScriptBridge ("get_startPos")]
public double Get_startPos ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_startPos"));
}
[TypeScriptBridge ("set_startPos")]
public void Set_startPos (double @value)
{
Instance.CallMemberFunction ("set_startPos", @value);
}
[TypeScriptBridge ("get_pos")]
public double Get_pos ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_pos"));
}
[TypeScriptBridge ("set_pos")]
public void Set_pos (double @value)
{
Instance.CallMemberFunction ("set_pos", @value);
}
[TypeScriptBridge ("get_seenUnicodeChar")]
public bool Get_seenUnicodeChar ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_seenUnicodeChar"));
}
[TypeScriptBridge ("set_seenUnicodeChar")]
public void Set_seenUnicodeChar (bool @value)
{
Instance.CallMemberFunction ("set_seenUnicodeChar", @value);
}
[TypeScriptBridge ("get_seenUnicodeCharInComment")]
public bool Get_seenUnicodeCharInComment ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_seenUnicodeCharInComment"));
}
[TypeScriptBridge ("set_seenUnicodeCharInComment")]
public void Set_seenUnicodeCharInComment (bool @value)
{
Instance.CallMemberFunction ("set_seenUnicodeCharInComment", @value);
}
[TypeScriptBridge ("close")]
public void Close ()
{
Instance.CallMemberFunction ("close");
}
[TypeScriptBridge ("addToken")]
public void AddToken (TypeScriptServiceBridge.TypeScript.Token @tok, TypeScriptServiceBridge.TypeScript.IScanner @scanner)
{
Instance.CallMemberFunction ("addToken", @tok != null ? @tok.Instance : null, @scanner != null ? @scanner.Instance : null);
}
[TypeScriptBridge ("scan")]
public TypeScriptServiceBridge.TypeScript.Token Scan ()
{
return new TypeScriptServiceBridge.TypeScript.Token ((ObjectInstance) Instance.CallMemberFunction ("scan"));
}
[TypeScriptBridge ("get_startLine")]
public double Get_startLine ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_startLine"));
}
[TypeScriptBridge ("set_startLine")]
public void Set_startLine (double @value)
{
Instance.CallMemberFunction ("set_startLine", @value);
}
[TypeScriptBridge ("get_prevLine")]
public double Get_prevLine ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_prevLine"));
}
[TypeScriptBridge ("set_prevLine")]
public void Set_prevLine (double @value)
{
Instance.CallMemberFunction ("set_prevLine", @value);
}
[TypeScriptBridge ("get_line")]
public double Get_line ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_line"));
}
[TypeScriptBridge ("set_line")]
public void Set_line (double @value)
{
Instance.CallMemberFunction ("set_line", @value);
}
[TypeScriptBridge ("get_col")]
public double Get_col ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_col"));
}
[TypeScriptBridge ("set_col")]
public void Set_col (double @value)
{
Instance.CallMemberFunction ("set_col", @value);
}
[TypeScriptBridge ("get_leftCurlyCount")]
public double Get_leftCurlyCount ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_leftCurlyCount"));
}
[TypeScriptBridge ("set_leftCurlyCount")]
public void Set_leftCurlyCount (double @value)
{
Instance.CallMemberFunction ("set_leftCurlyCount", @value);
}
[TypeScriptBridge ("get_rightCurlyCount")]
public double Get_rightCurlyCount ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_rightCurlyCount"));
}
[TypeScriptBridge ("set_rightCurlyCount")]
public void Set_rightCurlyCount (double @value)
{
Instance.CallMemberFunction ("set_rightCurlyCount", @value);
}
[TypeScriptBridge ("syncToTok")]
public double SyncToTok (double @offset)
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("syncToTok", @offset));
}
[TypeScriptBridge ("lastTokenLimChar")]
public double LastTokenLimChar ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("lastTokenLimChar"));
}
[TypeScriptBridge ("lastTokenHadNewline")]
public bool LastTokenHadNewline ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("lastTokenHadNewline"));
}
[TypeScriptBridge ("get_lexState")]
public TypeScriptServiceBridge.TypeScript.LexState Get_lexState ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.LexState> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_lexState"));
}
[TypeScriptBridge ("set_lexState")]
public void Set_lexState (TypeScriptServiceBridge.TypeScript.LexState @value)
{
Instance.CallMemberFunction ("set_lexState", @value);
}
[TypeScriptBridge ("get_commentStack")]
public ArrayInstance Get_commentStack ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_commentStack"));
}
[TypeScriptBridge ("set_commentStack")]
public void Set_commentStack (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_commentStack", @value);
}
[TypeScriptBridge ("pushComment")]
public void PushComment (TypeScriptServiceBridge.TypeScript.CommentToken @comment)
{
Instance.CallMemberFunction ("pushComment", @comment != null ? @comment.Instance : null);
}
[TypeScriptBridge ("getComments")]
public ArrayInstance GetComments ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getComments"));
}
[TypeScriptBridge ("getCommentsForLine")]
public ArrayInstance GetCommentsForLine (double @line)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getCommentsForLine", @line));
}
[TypeScriptBridge ("resetComments")]
public void ResetComments ()
{
Instance.CallMemberFunction ("resetComments");
}
[TypeScriptBridge ("get_lineMap")]
public ArrayInstance Get_lineMap ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_lineMap"));
}
[TypeScriptBridge ("set_lineMap")]
public void Set_lineMap (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_lineMap", @value);
}
[TypeScriptBridge ("setSourceText")]
public void SetSourceText (TypeScriptServiceBridge.TypeScript.ISourceText @newSrc, double @textMode)
{
Instance.CallMemberFunction ("setSourceText", @newSrc != null ? @newSrc.Instance : null, @textMode);
}
[TypeScriptBridge ("getLookAheadToken")]
public TypeScriptServiceBridge.TypeScript.Token GetLookAheadToken ()
{
return new TypeScriptServiceBridge.TypeScript.Token ((ObjectInstance) Instance.CallMemberFunction ("getLookAheadToken"));
}
double TypeScriptServiceBridge.TypeScript.IScanner.StartPos {
get { return (double) StartPos; }
set { StartPos = (double) value; }
}
double TypeScriptServiceBridge.TypeScript.IScanner.Pos {
get { return (double) Pos; }
set { Pos = (double) value; }
}
double TypeScriptServiceBridge.TypeScript.IScanner.PrevLine {
get { return (double) PrevLine; }
set { PrevLine = (double) value; }
}
double TypeScriptServiceBridge.TypeScript.IScanner.Line {
get { return (double) Line; }
set { Line = (double) value; }
}
double TypeScriptServiceBridge.TypeScript.IScanner.Col {
get { return (double) Col; }
set { Col = (double) value; }
}
double TypeScriptServiceBridge.TypeScript.IScanner.LeftCurlyCount {
get { return (double) LeftCurlyCount; }
set { LeftCurlyCount = (double) value; }
}
double TypeScriptServiceBridge.TypeScript.IScanner.RightCurlyCount {
get { return (double) RightCurlyCount; }
set { RightCurlyCount = (double) value; }
}
double TypeScriptServiceBridge.TypeScript.IScanner.LexState {
get { return (double) LexState; }
set { LexState = (TypeScriptServiceBridge.TypeScript.LexState) value; }
}
ArrayInstance TypeScriptServiceBridge.TypeScript.IScanner.LineMap {
get { return (ArrayInstance) LineMap; }
set { LineMap = (ArrayInstance) value; }
}
bool TypeScriptServiceBridge.TypeScript.IScanner.SeenUnicodeChar {
get { return (bool) SeenUnicodeChar; }
set { SeenUnicodeChar = (bool) value; }
}
bool TypeScriptServiceBridge.TypeScript.IScanner.SeenUnicodeCharInComment {
get { return (bool) SeenUnicodeCharInComment; }
set { SeenUnicodeCharInComment = (bool) value; }
}
double TypeScriptServiceBridge.TypeScript.IScanner.Get_startPos ()
{
return (double) Get_startPos ();
}
void TypeScriptServiceBridge.TypeScript.IScanner.Set_startPos (double @value)
{
Set_startPos ((double) @value);
}
double TypeScriptServiceBridge.TypeScript.IScanner.Get_pos ()
{
return (double) Get_pos ();
}
void TypeScriptServiceBridge.TypeScript.IScanner.Set_pos (double @value)
{
Set_pos ((double) @value);
}
TypeScriptServiceBridge.TypeScript.Token TypeScriptServiceBridge.TypeScript.IScanner.Scan ()
{
return (TypeScriptServiceBridge.TypeScript.Token) Scan ();
}
TypeScriptServiceBridge.TypeScript.Token TypeScriptServiceBridge.TypeScript.IScanner.PreviousToken ()
{
return (TypeScriptServiceBridge.TypeScript.Token) PreviousToken ();
}
double TypeScriptServiceBridge.TypeScript.IScanner.Get_prevLine ()
{
return (double) Get_prevLine ();
}
void TypeScriptServiceBridge.TypeScript.IScanner.Set_prevLine (double @value)
{
Set_prevLine ((double) @value);
}
double TypeScriptServiceBridge.TypeScript.IScanner.Get_line ()
{
return (double) Get_line ();
}
void TypeScriptServiceBridge.TypeScript.IScanner.Set_line (double @value)
{
Set_line ((double) @value);
}
double TypeScriptServiceBridge.TypeScript.IScanner.Get_col ()
{
return (double) Get_col ();
}
void TypeScriptServiceBridge.TypeScript.IScanner.Set_col (double @value)
{
Set_col ((double) @value);
}
double TypeScriptServiceBridge.TypeScript.IScanner.Get_leftCurlyCount ()
{
return (double) Get_leftCurlyCount ();
}
void TypeScriptServiceBridge.TypeScript.IScanner.Set_leftCurlyCount (double @value)
{
Set_leftCurlyCount ((double) @value);
}
double TypeScriptServiceBridge.TypeScript.IScanner.Get_rightCurlyCount ()
{
return (double) Get_rightCurlyCount ();
}
void TypeScriptServiceBridge.TypeScript.IScanner.Set_rightCurlyCount (double @value)
{
Set_rightCurlyCount ((double) @value);
}
double TypeScriptServiceBridge.TypeScript.IScanner.LastTokenLimChar ()
{
return (double) LastTokenLimChar ();
}
bool TypeScriptServiceBridge.TypeScript.IScanner.LastTokenHadNewline ()
{
return (bool) LastTokenHadNewline ();
}
double TypeScriptServiceBridge.TypeScript.IScanner.Get_lexState ()
{
return (double) Get_lexState ();
}
void TypeScriptServiceBridge.TypeScript.IScanner.Set_lexState (double @value)
{
Set_lexState ((TypeScriptServiceBridge.TypeScript.LexState) @value);
}
ArrayInstance TypeScriptServiceBridge.TypeScript.IScanner.GetComments ()
{
return (ArrayInstance) GetComments ();
}
ArrayInstance TypeScriptServiceBridge.TypeScript.IScanner.GetCommentsForLine (double @line)
{
return (ArrayInstance) GetCommentsForLine ((double) @line);
}
void TypeScriptServiceBridge.TypeScript.IScanner.ResetComments ()
{
ResetComments ();
}
ArrayInstance TypeScriptServiceBridge.TypeScript.IScanner.Get_lineMap ()
{
return (ArrayInstance) Get_lineMap ();
}
void TypeScriptServiceBridge.TypeScript.IScanner.Set_lineMap (ArrayInstance @value)
{
Set_lineMap ((ArrayInstance) @value);
}
void TypeScriptServiceBridge.TypeScript.IScanner.SetSourceText (TypeScriptServiceBridge.TypeScript.ISourceText @newSrc, double @textMode)
{
SetSourceText ((TypeScriptServiceBridge.TypeScript.ISourceText) @newSrc, (double) @textMode);
}
bool TypeScriptServiceBridge.TypeScript.IScanner.Get_seenUnicodeChar ()
{
return (bool) Get_seenUnicodeChar ();
}
void TypeScriptServiceBridge.TypeScript.IScanner.Set_seenUnicodeChar (bool @value)
{
Set_seenUnicodeChar ((bool) @value);
}
bool TypeScriptServiceBridge.TypeScript.IScanner.Get_seenUnicodeCharInComment ()
{
return (bool) Get_seenUnicodeCharInComment ();
}
void TypeScriptServiceBridge.TypeScript.IScanner.Set_seenUnicodeCharInComment (bool @value)
{
Set_seenUnicodeCharInComment ((bool) @value);
}
TypeScriptServiceBridge.TypeScript.Token TypeScriptServiceBridge.TypeScript.IScanner.GetLookAheadToken ()
{
return (TypeScriptServiceBridge.TypeScript.Token) GetLookAheadToken ();
}
}
public class Scanner : TypeScriptObject
, IScanner
{
public Scanner (ObjectInstance instance) : base (instance) {}
public Scanner ()
: base (CallConstructor ("TypeScript", "Scanner"))
{
}
[TypeScriptBridge ("prevLine")]
public double PrevLine {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("prevLine")); }
set { Instance.SetPropertyValue ("prevLine", value, true); }
}
[TypeScriptBridge ("line")]
public double Line {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("line")); }
set { Instance.SetPropertyValue ("line", value, true); }
}
[TypeScriptBridge ("col")]
public double Col {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("col")); }
set { Instance.SetPropertyValue ("col", value, true); }
}
[TypeScriptBridge ("pos")]
public double Pos {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("pos")); }
set { Instance.SetPropertyValue ("pos", value, true); }
}
[TypeScriptBridge ("startPos")]
public double StartPos {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("startPos")); }
set { Instance.SetPropertyValue ("startPos", value, true); }
}
[TypeScriptBridge ("startCol")]
public double StartCol {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("startCol")); }
set { Instance.SetPropertyValue ("startCol", value, true); }
}
[TypeScriptBridge ("startLine")]
public double StartLine {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("startLine")); }
set { Instance.SetPropertyValue ("startLine", value, true); }
}
[TypeScriptBridge ("src")]
public string Src {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("src")); }
set { Instance.SetPropertyValue ("src", value, true); }
}
[TypeScriptBridge ("len")]
public double Len {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("len")); }
set { Instance.SetPropertyValue ("len", value, true); }
}
[TypeScriptBridge ("lineMap")]
public ArrayInstance LineMap {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("lineMap")); }
set { Instance.SetPropertyValue ("lineMap", value, true); }
}
[TypeScriptBridge ("ch")]
public double Ch {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("ch")); }
set { Instance.SetPropertyValue ("ch", value, true); }
}
[TypeScriptBridge ("lexState")]
public TypeScriptServiceBridge.TypeScript.LexState LexState {
get { return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.LexState> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("lexState")); }
set { Instance.SetPropertyValue ("lexState", value, true); }
}
[TypeScriptBridge ("mode")]
public TypeScriptServiceBridge.TypeScript.LexMode Mode {
get { return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.LexMode> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("mode")); }
set { Instance.SetPropertyValue ("mode", value, true); }
}
[TypeScriptBridge ("scanComments")]
public bool ScanComments {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("scanComments")); }
set { Instance.SetPropertyValue ("scanComments", value, true); }
}
[TypeScriptBridge ("interveningWhitespace")]
public bool InterveningWhitespace {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("interveningWhitespace")); }
set { Instance.SetPropertyValue ("interveningWhitespace", value, true); }
}
[TypeScriptBridge ("leftCurlyCount")]
public double LeftCurlyCount {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("leftCurlyCount")); }
set { Instance.SetPropertyValue ("leftCurlyCount", value, true); }
}
[TypeScriptBridge ("rightCurlyCount")]
public double RightCurlyCount {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("rightCurlyCount")); }
set { Instance.SetPropertyValue ("rightCurlyCount", value, true); }
}
[TypeScriptBridge ("commentStack")]
public ArrayInstance CommentStack {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("commentStack")); }
set { Instance.SetPropertyValue ("commentStack", value, true); }
}
[TypeScriptBridge ("saveScan")]
public TypeScriptServiceBridge.TypeScript.SavedTokens SaveScan {
get { return new TypeScriptServiceBridge.TypeScript.SavedTokens ((ObjectInstance) Instance.GetPropertyValue ("saveScan")); }
set { Instance.SetPropertyValue ("saveScan", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("seenUnicodeChar")]
public bool SeenUnicodeChar {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("seenUnicodeChar")); }
set { Instance.SetPropertyValue ("seenUnicodeChar", value, true); }
}
[TypeScriptBridge ("seenUnicodeCharInComment")]
public bool SeenUnicodeCharInComment {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("seenUnicodeCharInComment")); }
set { Instance.SetPropertyValue ("seenUnicodeCharInComment", value, true); }
}
[TypeScriptBridge ("get_prevLine")]
public double Get_prevLine ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_prevLine"));
}
[TypeScriptBridge ("set_prevLine")]
public void Set_prevLine (double @value)
{
Instance.CallMemberFunction ("set_prevLine", @value);
}
[TypeScriptBridge ("get_line")]
public double Get_line ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_line"));
}
[TypeScriptBridge ("set_line")]
public void Set_line (double @value)
{
Instance.CallMemberFunction ("set_line", @value);
}
[TypeScriptBridge ("get_col")]
public double Get_col ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_col"));
}
[TypeScriptBridge ("set_col")]
public void Set_col (double @value)
{
Instance.CallMemberFunction ("set_col", @value);
}
[TypeScriptBridge ("get_pos")]
public double Get_pos ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_pos"));
}
[TypeScriptBridge ("set_pos")]
public void Set_pos (double @value)
{
Instance.CallMemberFunction ("set_pos", @value);
}
[TypeScriptBridge ("get_startPos")]
public double Get_startPos ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_startPos"));
}
[TypeScriptBridge ("set_startPos")]
public void Set_startPos (double @value)
{
Instance.CallMemberFunction ("set_startPos", @value);
}
[TypeScriptBridge ("get_startCol")]
public double Get_startCol ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_startCol"));
}
[TypeScriptBridge ("set_startCol")]
public void Set_startCol (double @value)
{
Instance.CallMemberFunction ("set_startCol", @value);
}
[TypeScriptBridge ("get_startLine")]
public double Get_startLine ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_startLine"));
}
[TypeScriptBridge ("set_startLine")]
public void Set_startLine (double @value)
{
Instance.CallMemberFunction ("set_startLine", @value);
}
[TypeScriptBridge ("get_src")]
public string Get_src ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_src"));
}
[TypeScriptBridge ("set_src")]
public void Set_src (string @value)
{
Instance.CallMemberFunction ("set_src", @value);
}
[TypeScriptBridge ("get_len")]
public double Get_len ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_len"));
}
[TypeScriptBridge ("set_len")]
public void Set_len (double @value)
{
Instance.CallMemberFunction ("set_len", @value);
}
[TypeScriptBridge ("get_lineMap")]
public ArrayInstance Get_lineMap ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_lineMap"));
}
[TypeScriptBridge ("set_lineMap")]
public void Set_lineMap (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_lineMap", @value);
}
[TypeScriptBridge ("get_ch")]
public double Get_ch ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_ch"));
}
[TypeScriptBridge ("set_ch")]
public void Set_ch (double @value)
{
Instance.CallMemberFunction ("set_ch", @value);
}
[TypeScriptBridge ("get_lexState")]
public TypeScriptServiceBridge.TypeScript.LexState Get_lexState ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.LexState> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_lexState"));
}
[TypeScriptBridge ("set_lexState")]
public void Set_lexState (TypeScriptServiceBridge.TypeScript.LexState @value)
{
Instance.CallMemberFunction ("set_lexState", @value);
}
[TypeScriptBridge ("get_mode")]
public TypeScriptServiceBridge.TypeScript.LexMode Get_mode ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.LexMode> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_mode"));
}
[TypeScriptBridge ("set_mode")]
public void Set_mode (TypeScriptServiceBridge.TypeScript.LexMode @value)
{
Instance.CallMemberFunction ("set_mode", @value);
}
[TypeScriptBridge ("get_scanComments")]
public bool Get_scanComments ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_scanComments"));
}
[TypeScriptBridge ("set_scanComments")]
public void Set_scanComments (bool @value)
{
Instance.CallMemberFunction ("set_scanComments", @value);
}
[TypeScriptBridge ("get_interveningWhitespace")]
public bool Get_interveningWhitespace ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_interveningWhitespace"));
}
[TypeScriptBridge ("set_interveningWhitespace")]
public void Set_interveningWhitespace (bool @value)
{
Instance.CallMemberFunction ("set_interveningWhitespace", @value);
}
[TypeScriptBridge ("get_leftCurlyCount")]
public double Get_leftCurlyCount ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_leftCurlyCount"));
}
[TypeScriptBridge ("set_leftCurlyCount")]
public void Set_leftCurlyCount (double @value)
{
Instance.CallMemberFunction ("set_leftCurlyCount", @value);
}
[TypeScriptBridge ("get_rightCurlyCount")]
public double Get_rightCurlyCount ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_rightCurlyCount"));
}
[TypeScriptBridge ("set_rightCurlyCount")]
public void Set_rightCurlyCount (double @value)
{
Instance.CallMemberFunction ("set_rightCurlyCount", @value);
}
[TypeScriptBridge ("get_commentStack")]
public ArrayInstance Get_commentStack ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_commentStack"));
}
[TypeScriptBridge ("set_commentStack")]
public void Set_commentStack (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_commentStack", @value);
}
[TypeScriptBridge ("get_saveScan")]
public TypeScriptServiceBridge.TypeScript.SavedTokens Get_saveScan ()
{
return new TypeScriptServiceBridge.TypeScript.SavedTokens ((ObjectInstance) Instance.CallMemberFunction ("get_saveScan"));
}
[TypeScriptBridge ("set_saveScan")]
public void Set_saveScan (TypeScriptServiceBridge.TypeScript.SavedTokens @value)
{
Instance.CallMemberFunction ("set_saveScan", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_seenUnicodeChar")]
public bool Get_seenUnicodeChar ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_seenUnicodeChar"));
}
[TypeScriptBridge ("set_seenUnicodeChar")]
public void Set_seenUnicodeChar (bool @value)
{
Instance.CallMemberFunction ("set_seenUnicodeChar", @value);
}
[TypeScriptBridge ("get_seenUnicodeCharInComment")]
public bool Get_seenUnicodeCharInComment ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_seenUnicodeCharInComment"));
}
[TypeScriptBridge ("set_seenUnicodeCharInComment")]
public void Set_seenUnicodeCharInComment (bool @value)
{
Instance.CallMemberFunction ("set_seenUnicodeCharInComment", @value);
}
[TypeScriptBridge ("previousToken")]
public TypeScriptServiceBridge.TypeScript.Token PreviousToken ()
{
return new TypeScriptServiceBridge.TypeScript.Token ((ObjectInstance) Instance.CallMemberFunction ("previousToken"));
}
[TypeScriptBridge ("setSourceText")]
public void SetSourceText (TypeScriptServiceBridge.TypeScript.ISourceText @newSrc, double @textMode)
{
Instance.CallMemberFunction ("setSourceText", @newSrc != null ? @newSrc.Instance : null, @textMode);
}
[TypeScriptBridge ("setSaveScan")]
public void SetSaveScan (TypeScriptServiceBridge.TypeScript.SavedTokens @savedTokens)
{
Instance.CallMemberFunction ("setSaveScan", @savedTokens != null ? @savedTokens.Instance : null);
}
[TypeScriptBridge ("setText")]
public void SetText (string @newSrc, double @textMode)
{
Instance.CallMemberFunction ("setText", @newSrc, @textMode);
}
[TypeScriptBridge ("setScanComments")]
public void SetScanComments (bool @value)
{
Instance.CallMemberFunction ("setScanComments", @value);
}
[TypeScriptBridge ("getLexState")]
public double GetLexState ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getLexState"));
}
[TypeScriptBridge ("scanLine")]
public ArrayInstance ScanLine (string @line, double @initialState)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("scanLine", @line, @initialState));
}
[TypeScriptBridge ("tokenStart")]
public void TokenStart ()
{
Instance.CallMemberFunction ("tokenStart");
}
[TypeScriptBridge ("peekChar")]
public double PeekChar ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("peekChar"));
}
[TypeScriptBridge ("peekCharAt")]
public double PeekCharAt (double @index)
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("peekCharAt", @index));
}
[TypeScriptBridge ("IsHexDigit")]
public bool IsHexDigit (double @c)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("IsHexDigit", @c));
}
[TypeScriptBridge ("IsOctalDigit")]
public bool IsOctalDigit (double @c)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("IsOctalDigit", @c));
}
[TypeScriptBridge ("scanHexDigits")]
public TypeScriptServiceBridge.TypeScript.Token ScanHexDigits ()
{
return new TypeScriptServiceBridge.TypeScript.Token ((ObjectInstance) Instance.CallMemberFunction ("scanHexDigits"));
}
[TypeScriptBridge ("scanOctalDigits")]
public TypeScriptServiceBridge.TypeScript.Token ScanOctalDigits ()
{
return new TypeScriptServiceBridge.TypeScript.Token ((ObjectInstance) Instance.CallMemberFunction ("scanOctalDigits"));
}
[TypeScriptBridge ("scanDecimalNumber")]
public TypeScriptServiceBridge.TypeScript.Token ScanDecimalNumber (double @state)
{
return new TypeScriptServiceBridge.TypeScript.Token ((ObjectInstance) Instance.CallMemberFunction ("scanDecimalNumber", @state));
}
[TypeScriptBridge ("scanNumber")]
public TypeScriptServiceBridge.TypeScript.Token ScanNumber ()
{
return new TypeScriptServiceBridge.TypeScript.Token ((ObjectInstance) Instance.CallMemberFunction ("scanNumber"));
}
[TypeScriptBridge ("scanFraction")]
public TypeScriptServiceBridge.TypeScript.Token ScanFraction ()
{
return new TypeScriptServiceBridge.TypeScript.Token ((ObjectInstance) Instance.CallMemberFunction ("scanFraction"));
}
[TypeScriptBridge ("newLine")]
public void NewLine ()
{
Instance.CallMemberFunction ("newLine");
}
[TypeScriptBridge ("finishMultilineComment")]
public bool FinishMultilineComment ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("finishMultilineComment"));
}
[TypeScriptBridge ("pushComment")]
public void PushComment (TypeScriptServiceBridge.TypeScript.CommentToken @comment)
{
Instance.CallMemberFunction ("pushComment", @comment != null ? @comment.Instance : null);
}
[TypeScriptBridge ("getComments")]
public ArrayInstance GetComments ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getComments"));
}
[TypeScriptBridge ("getCommentsForLine")]
public ArrayInstance GetCommentsForLine (double @line)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getCommentsForLine", @line));
}
[TypeScriptBridge ("resetComments")]
public void ResetComments ()
{
Instance.CallMemberFunction ("resetComments");
}
[TypeScriptBridge ("endsLine")]
public bool EndsLine (double @c)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("endsLine", @c));
}
[TypeScriptBridge ("finishSinglelineComment")]
public void FinishSinglelineComment ()
{
Instance.CallMemberFunction ("finishSinglelineComment");
}
[TypeScriptBridge ("tokenText")]
public string TokenText ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("tokenText"));
}
[TypeScriptBridge ("findClosingSLH")]
public double FindClosingSLH ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("findClosingSLH"));
}
[TypeScriptBridge ("speculateRegex")]
public TypeScriptServiceBridge.TypeScript.Token SpeculateRegex ()
{
return new TypeScriptServiceBridge.TypeScript.Token ((ObjectInstance) Instance.CallMemberFunction ("speculateRegex"));
}
[TypeScriptBridge ("lastTokenHadNewline")]
public bool LastTokenHadNewline ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("lastTokenHadNewline"));
}
[TypeScriptBridge ("lastTokenLimChar")]
public double LastTokenLimChar ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("lastTokenLimChar"));
}
[TypeScriptBridge ("advanceChar")]
public void AdvanceChar (double @amt)
{
Instance.CallMemberFunction ("advanceChar", @amt);
}
[TypeScriptBridge ("nextChar")]
public void NextChar ()
{
Instance.CallMemberFunction ("nextChar");
}
[TypeScriptBridge ("getLookAheadToken")]
public TypeScriptServiceBridge.TypeScript.Token GetLookAheadToken ()
{
return new TypeScriptServiceBridge.TypeScript.Token ((ObjectInstance) Instance.CallMemberFunction ("getLookAheadToken"));
}
[TypeScriptBridge ("scan")]
public TypeScriptServiceBridge.TypeScript.Token Scan ()
{
return new TypeScriptServiceBridge.TypeScript.Token ((ObjectInstance) Instance.CallMemberFunction ("scan"));
}
[TypeScriptBridge ("isValidUnicodeIdentifierChar")]
public bool IsValidUnicodeIdentifierChar ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isValidUnicodeIdentifierChar"));
}
[TypeScriptBridge ("scanIdentifier")]
public TypeScriptServiceBridge.TypeScript.Token ScanIdentifier ()
{
return new TypeScriptServiceBridge.TypeScript.Token ((ObjectInstance) Instance.CallMemberFunction ("scanIdentifier"));
}
[TypeScriptBridge ("innerScan")]
public TypeScriptServiceBridge.TypeScript.Token InnerScan ()
{
return new TypeScriptServiceBridge.TypeScript.Token ((ObjectInstance) Instance.CallMemberFunction ("innerScan"));
}
[TypeScriptBridge ("reportScannerError")]
public void ReportScannerError (string @message)
{
Instance.CallMemberFunction ("reportScannerError", @message);
}
double TypeScriptServiceBridge.TypeScript.IScanner.StartPos {
get { return (double) StartPos; }
set { StartPos = (double) value; }
}
double TypeScriptServiceBridge.TypeScript.IScanner.Pos {
get { return (double) Pos; }
set { Pos = (double) value; }
}
double TypeScriptServiceBridge.TypeScript.IScanner.PrevLine {
get { return (double) PrevLine; }
set { PrevLine = (double) value; }
}
double TypeScriptServiceBridge.TypeScript.IScanner.Line {
get { return (double) Line; }
set { Line = (double) value; }
}
double TypeScriptServiceBridge.TypeScript.IScanner.Col {
get { return (double) Col; }
set { Col = (double) value; }
}
double TypeScriptServiceBridge.TypeScript.IScanner.LeftCurlyCount {
get { return (double) LeftCurlyCount; }
set { LeftCurlyCount = (double) value; }
}
double TypeScriptServiceBridge.TypeScript.IScanner.RightCurlyCount {
get { return (double) RightCurlyCount; }
set { RightCurlyCount = (double) value; }
}
double TypeScriptServiceBridge.TypeScript.IScanner.LexState {
get { return (double) LexState; }
set { LexState = (TypeScriptServiceBridge.TypeScript.LexState) value; }
}
ArrayInstance TypeScriptServiceBridge.TypeScript.IScanner.LineMap {
get { return (ArrayInstance) LineMap; }
set { LineMap = (ArrayInstance) value; }
}
bool TypeScriptServiceBridge.TypeScript.IScanner.SeenUnicodeChar {
get { return (bool) SeenUnicodeChar; }
set { SeenUnicodeChar = (bool) value; }
}
bool TypeScriptServiceBridge.TypeScript.IScanner.SeenUnicodeCharInComment {
get { return (bool) SeenUnicodeCharInComment; }
set { SeenUnicodeCharInComment = (bool) value; }
}
double TypeScriptServiceBridge.TypeScript.IScanner.Get_startPos ()
{
return (double) Get_startPos ();
}
void TypeScriptServiceBridge.TypeScript.IScanner.Set_startPos (double @value)
{
Set_startPos ((double) @value);
}
double TypeScriptServiceBridge.TypeScript.IScanner.Get_pos ()
{
return (double) Get_pos ();
}
void TypeScriptServiceBridge.TypeScript.IScanner.Set_pos (double @value)
{
Set_pos ((double) @value);
}
TypeScriptServiceBridge.TypeScript.Token TypeScriptServiceBridge.TypeScript.IScanner.Scan ()
{
return (TypeScriptServiceBridge.TypeScript.Token) Scan ();
}
TypeScriptServiceBridge.TypeScript.Token TypeScriptServiceBridge.TypeScript.IScanner.PreviousToken ()
{
return (TypeScriptServiceBridge.TypeScript.Token) PreviousToken ();
}
double TypeScriptServiceBridge.TypeScript.IScanner.Get_prevLine ()
{
return (double) Get_prevLine ();
}
void TypeScriptServiceBridge.TypeScript.IScanner.Set_prevLine (double @value)
{
Set_prevLine ((double) @value);
}
double TypeScriptServiceBridge.TypeScript.IScanner.Get_line ()
{
return (double) Get_line ();
}
void TypeScriptServiceBridge.TypeScript.IScanner.Set_line (double @value)
{
Set_line ((double) @value);
}
double TypeScriptServiceBridge.TypeScript.IScanner.Get_col ()
{
return (double) Get_col ();
}
void TypeScriptServiceBridge.TypeScript.IScanner.Set_col (double @value)
{
Set_col ((double) @value);
}
double TypeScriptServiceBridge.TypeScript.IScanner.Get_leftCurlyCount ()
{
return (double) Get_leftCurlyCount ();
}
void TypeScriptServiceBridge.TypeScript.IScanner.Set_leftCurlyCount (double @value)
{
Set_leftCurlyCount ((double) @value);
}
double TypeScriptServiceBridge.TypeScript.IScanner.Get_rightCurlyCount ()
{
return (double) Get_rightCurlyCount ();
}
void TypeScriptServiceBridge.TypeScript.IScanner.Set_rightCurlyCount (double @value)
{
Set_rightCurlyCount ((double) @value);
}
double TypeScriptServiceBridge.TypeScript.IScanner.LastTokenLimChar ()
{
return (double) LastTokenLimChar ();
}
bool TypeScriptServiceBridge.TypeScript.IScanner.LastTokenHadNewline ()
{
return (bool) LastTokenHadNewline ();
}
double TypeScriptServiceBridge.TypeScript.IScanner.Get_lexState ()
{
return (double) Get_lexState ();
}
void TypeScriptServiceBridge.TypeScript.IScanner.Set_lexState (double @value)
{
Set_lexState ((TypeScriptServiceBridge.TypeScript.LexState) @value);
}
ArrayInstance TypeScriptServiceBridge.TypeScript.IScanner.GetComments ()
{
return (ArrayInstance) GetComments ();
}
ArrayInstance TypeScriptServiceBridge.TypeScript.IScanner.GetCommentsForLine (double @line)
{
return (ArrayInstance) GetCommentsForLine ((double) @line);
}
void TypeScriptServiceBridge.TypeScript.IScanner.ResetComments ()
{
ResetComments ();
}
ArrayInstance TypeScriptServiceBridge.TypeScript.IScanner.Get_lineMap ()
{
return (ArrayInstance) Get_lineMap ();
}
void TypeScriptServiceBridge.TypeScript.IScanner.Set_lineMap (ArrayInstance @value)
{
Set_lineMap ((ArrayInstance) @value);
}
void TypeScriptServiceBridge.TypeScript.IScanner.SetSourceText (TypeScriptServiceBridge.TypeScript.ISourceText @newSrc, double @textMode)
{
SetSourceText ((TypeScriptServiceBridge.TypeScript.ISourceText) @newSrc, (double) @textMode);
}
bool TypeScriptServiceBridge.TypeScript.IScanner.Get_seenUnicodeChar ()
{
return (bool) Get_seenUnicodeChar ();
}
void TypeScriptServiceBridge.TypeScript.IScanner.Set_seenUnicodeChar (bool @value)
{
Set_seenUnicodeChar ((bool) @value);
}
bool TypeScriptServiceBridge.TypeScript.IScanner.Get_seenUnicodeCharInComment ()
{
return (bool) Get_seenUnicodeCharInComment ();
}
void TypeScriptServiceBridge.TypeScript.IScanner.Set_seenUnicodeCharInComment (bool @value)
{
Set_seenUnicodeCharInComment ((bool) @value);
}
TypeScriptServiceBridge.TypeScript.Token TypeScriptServiceBridge.TypeScript.IScanner.GetLookAheadToken ()
{
return (TypeScriptServiceBridge.TypeScript.Token) GetLookAheadToken ();
}
}
public class AssignScopeContext : TypeScriptObject
{
public AssignScopeContext (ObjectInstance instance) : base (instance) {}
public AssignScopeContext (TypeScriptServiceBridge.TypeScript.ScopeChain @scopeChain, TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow, ArrayInstance @modDeclChain)
: base (CallConstructor ("TypeScript", "AssignScopeContext", @scopeChain != null ? @scopeChain.Instance : null, @typeFlow != null ? @typeFlow.Instance : null, @modDeclChain))
{
}
[TypeScriptBridge ("scopeChain")]
public TypeScriptServiceBridge.TypeScript.ScopeChain ScopeChain {
get { return new TypeScriptServiceBridge.TypeScript.ScopeChain ((ObjectInstance) Instance.GetPropertyValue ("scopeChain")); }
set { Instance.SetPropertyValue ("scopeChain", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("typeFlow")]
public TypeScriptServiceBridge.TypeScript.TypeFlow TypeFlow {
get { return new TypeScriptServiceBridge.TypeScript.TypeFlow ((ObjectInstance) Instance.GetPropertyValue ("typeFlow")); }
set { Instance.SetPropertyValue ("typeFlow", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("modDeclChain")]
public ArrayInstance ModDeclChain {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("modDeclChain")); }
set { Instance.SetPropertyValue ("modDeclChain", value, true); }
}
[TypeScriptBridge ("get_scopeChain")]
public TypeScriptServiceBridge.TypeScript.ScopeChain Get_scopeChain ()
{
return new TypeScriptServiceBridge.TypeScript.ScopeChain ((ObjectInstance) Instance.CallMemberFunction ("get_scopeChain"));
}
[TypeScriptBridge ("set_scopeChain")]
public void Set_scopeChain (TypeScriptServiceBridge.TypeScript.ScopeChain @value)
{
Instance.CallMemberFunction ("set_scopeChain", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_typeFlow")]
public TypeScriptServiceBridge.TypeScript.TypeFlow Get_typeFlow ()
{
return new TypeScriptServiceBridge.TypeScript.TypeFlow ((ObjectInstance) Instance.CallMemberFunction ("get_typeFlow"));
}
[TypeScriptBridge ("set_typeFlow")]
public void Set_typeFlow (TypeScriptServiceBridge.TypeScript.TypeFlow @value)
{
Instance.CallMemberFunction ("set_typeFlow", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_modDeclChain")]
public ArrayInstance Get_modDeclChain ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_modDeclChain"));
}
[TypeScriptBridge ("set_modDeclChain")]
public void Set_modDeclChain (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_modDeclChain", @value);
}
}
public class ScopeSearchFilter : TypeScriptObject
{
public ScopeSearchFilter (ObjectInstance instance) : base (instance) {}
public ScopeSearchFilter (object @select, object @stop)
: base (CallConstructor ("TypeScript", "ScopeSearchFilter", @select, @stop))
{
}
[TypeScriptBridge ("result")]
public TypeScriptServiceBridge.TypeScript.Symbol Result {
get { return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.GetPropertyValue ("result")); }
set { Instance.SetPropertyValue ("result", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_result")]
public TypeScriptServiceBridge.TypeScript.Symbol Get_result ()
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("get_result"));
}
[TypeScriptBridge ("set_result")]
public void Set_result (TypeScriptServiceBridge.TypeScript.Symbol @value)
{
Instance.CallMemberFunction ("set_result", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("reset")]
public void Reset ()
{
Instance.CallMemberFunction ("reset");
}
[TypeScriptBridge ("update")]
public bool Update (TypeScriptServiceBridge.TypeScript.Symbol @b)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("update", @b != null ? @b.Instance : null));
}
}
public class TypeCollectionContext : TypeScriptObject
{
public TypeCollectionContext (ObjectInstance instance) : base (instance) {}
public TypeCollectionContext (TypeScriptServiceBridge.TypeScript.ScopeChain @scopeChain, TypeScriptServiceBridge.TypeScript.TypeChecker @checker)
: base (CallConstructor ("TypeScript", "TypeCollectionContext", @scopeChain != null ? @scopeChain.Instance : null, @checker != null ? @checker.Instance : null))
{
}
[TypeScriptBridge ("scopeChain")]
public TypeScriptServiceBridge.TypeScript.ScopeChain ScopeChain {
get { return new TypeScriptServiceBridge.TypeScript.ScopeChain ((ObjectInstance) Instance.GetPropertyValue ("scopeChain")); }
set { Instance.SetPropertyValue ("scopeChain", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("checker")]
public TypeScriptServiceBridge.TypeScript.TypeChecker Checker {
get { return new TypeScriptServiceBridge.TypeScript.TypeChecker ((ObjectInstance) Instance.GetPropertyValue ("checker")); }
set { Instance.SetPropertyValue ("checker", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("script")]
public TypeScriptServiceBridge.TypeScript.Script Script {
get { return new TypeScriptServiceBridge.TypeScript.Script ((ObjectInstance) Instance.GetPropertyValue ("script")); }
set { Instance.SetPropertyValue ("script", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_scopeChain")]
public TypeScriptServiceBridge.TypeScript.ScopeChain Get_scopeChain ()
{
return new TypeScriptServiceBridge.TypeScript.ScopeChain ((ObjectInstance) Instance.CallMemberFunction ("get_scopeChain"));
}
[TypeScriptBridge ("set_scopeChain")]
public void Set_scopeChain (TypeScriptServiceBridge.TypeScript.ScopeChain @value)
{
Instance.CallMemberFunction ("set_scopeChain", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_checker")]
public TypeScriptServiceBridge.TypeScript.TypeChecker Get_checker ()
{
return new TypeScriptServiceBridge.TypeScript.TypeChecker ((ObjectInstance) Instance.CallMemberFunction ("get_checker"));
}
[TypeScriptBridge ("set_checker")]
public void Set_checker (TypeScriptServiceBridge.TypeScript.TypeChecker @value)
{
Instance.CallMemberFunction ("set_checker", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_script")]
public TypeScriptServiceBridge.TypeScript.Script Get_script ()
{
return new TypeScriptServiceBridge.TypeScript.Script ((ObjectInstance) Instance.CallMemberFunction ("get_script"));
}
[TypeScriptBridge ("set_script")]
public void Set_script (TypeScriptServiceBridge.TypeScript.Script @value)
{
Instance.CallMemberFunction ("set_script", @value != null ? @value.Instance : null);
}
}
public class MemberScopeContext : TypeScriptObject
{
public MemberScopeContext (ObjectInstance instance) : base (instance) {}
public MemberScopeContext (TypeScriptServiceBridge.TypeScript.TypeFlow @flow, double @pos, TypeScriptServiceBridge.TypeScript.ASTFlags @matchFlag)
: base (CallConstructor ("TypeScript", "MemberScopeContext", @flow != null ? @flow.Instance : null, @pos, @matchFlag))
{
}
[TypeScriptBridge ("flow")]
public TypeScriptServiceBridge.TypeScript.TypeFlow Flow {
get { return new TypeScriptServiceBridge.TypeScript.TypeFlow ((ObjectInstance) Instance.GetPropertyValue ("flow")); }
set { Instance.SetPropertyValue ("flow", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("pos")]
public double Pos {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("pos")); }
set { Instance.SetPropertyValue ("pos", value, true); }
}
[TypeScriptBridge ("matchFlag")]
public TypeScriptServiceBridge.TypeScript.ASTFlags MatchFlag {
get { return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.ASTFlags> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("matchFlag")); }
set { Instance.SetPropertyValue ("matchFlag", value, true); }
}
[TypeScriptBridge ("type")]
public TypeScriptServiceBridge.TypeScript.Type Type {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("type")); }
set { Instance.SetPropertyValue ("type", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("ast")]
public TypeScriptServiceBridge.TypeScript.AST Ast {
get { return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.GetPropertyValue ("ast")); }
set { Instance.SetPropertyValue ("ast", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("scope")]
public TypeScriptServiceBridge.TypeScript.SymbolScope Scope {
get { return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.GetPropertyValue ("scope")); }
set { Instance.SetPropertyValue ("scope", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("options")]
public TypeScriptServiceBridge.TypeScript.AstWalkOptions Options {
get { return new TypeScriptServiceBridge.TypeScript.AstWalkOptions ((ObjectInstance) Instance.GetPropertyValue ("options")); }
set { Instance.SetPropertyValue ("options", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_flow")]
public TypeScriptServiceBridge.TypeScript.TypeFlow Get_flow ()
{
return new TypeScriptServiceBridge.TypeScript.TypeFlow ((ObjectInstance) Instance.CallMemberFunction ("get_flow"));
}
[TypeScriptBridge ("set_flow")]
public void Set_flow (TypeScriptServiceBridge.TypeScript.TypeFlow @value)
{
Instance.CallMemberFunction ("set_flow", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_pos")]
public double Get_pos ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_pos"));
}
[TypeScriptBridge ("set_pos")]
public void Set_pos (double @value)
{
Instance.CallMemberFunction ("set_pos", @value);
}
[TypeScriptBridge ("get_matchFlag")]
public TypeScriptServiceBridge.TypeScript.ASTFlags Get_matchFlag ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.ASTFlags> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_matchFlag"));
}
[TypeScriptBridge ("set_matchFlag")]
public void Set_matchFlag (TypeScriptServiceBridge.TypeScript.ASTFlags @value)
{
Instance.CallMemberFunction ("set_matchFlag", @value);
}
[TypeScriptBridge ("get_type")]
public TypeScriptServiceBridge.TypeScript.Type Get_type ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_type"));
}
[TypeScriptBridge ("set_type")]
public void Set_type (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_type", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_ast")]
public TypeScriptServiceBridge.TypeScript.AST Get_ast ()
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("get_ast"));
}
[TypeScriptBridge ("set_ast")]
public void Set_ast (TypeScriptServiceBridge.TypeScript.AST @value)
{
Instance.CallMemberFunction ("set_ast", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_scope")]
public TypeScriptServiceBridge.TypeScript.SymbolScope Get_scope ()
{
return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.CallMemberFunction ("get_scope"));
}
[TypeScriptBridge ("set_scope")]
public void Set_scope (TypeScriptServiceBridge.TypeScript.SymbolScope @value)
{
Instance.CallMemberFunction ("set_scope", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_options")]
public TypeScriptServiceBridge.TypeScript.AstWalkOptions Get_options ()
{
return new TypeScriptServiceBridge.TypeScript.AstWalkOptions ((ObjectInstance) Instance.CallMemberFunction ("get_options"));
}
[TypeScriptBridge ("set_options")]
public void Set_options (TypeScriptServiceBridge.TypeScript.AstWalkOptions @value)
{
Instance.CallMemberFunction ("set_options", @value != null ? @value.Instance : null);
}
}
public class EnclosingScopeContext : TypeScriptObject
{
public EnclosingScopeContext (ObjectInstance instance) : base (instance) {}
public EnclosingScopeContext (TypeScriptServiceBridge.TypeScript.ILogger @logger, TypeScriptServiceBridge.TypeScript.Script @script, TypeScriptServiceBridge.TypeScript.ISourceText @text, double @pos, bool @isMemberCompletion)
: base (CallConstructor ("TypeScript", "EnclosingScopeContext", @logger != null ? @logger.Instance : null, @script != null ? @script.Instance : null, @text != null ? @text.Instance : null, @pos, @isMemberCompletion))
{
}
[TypeScriptBridge ("logger")]
public TypeScriptServiceBridge.TypeScript.ILogger Logger {
get { return new TypeScriptServiceBridge.TypeScript.ILogger_Impl ((ObjectInstance) Instance.GetPropertyValue ("logger")); }
set { Instance.SetPropertyValue ("logger", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("script")]
public TypeScriptServiceBridge.TypeScript.Script Script {
get { return new TypeScriptServiceBridge.TypeScript.Script ((ObjectInstance) Instance.GetPropertyValue ("script")); }
set { Instance.SetPropertyValue ("script", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("text")]
public TypeScriptServiceBridge.TypeScript.ISourceText Text {
get { return new TypeScriptServiceBridge.TypeScript.ISourceText_Impl ((ObjectInstance) Instance.GetPropertyValue ("text")); }
set { Instance.SetPropertyValue ("text", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("pos")]
public double Pos {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("pos")); }
set { Instance.SetPropertyValue ("pos", value, true); }
}
[TypeScriptBridge ("isMemberCompletion")]
public bool IsMemberCompletion {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("isMemberCompletion")); }
set { Instance.SetPropertyValue ("isMemberCompletion", value, true); }
}
[TypeScriptBridge ("scopeStartAST")]
public TypeScriptServiceBridge.TypeScript.AST ScopeStartAST {
get { return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.GetPropertyValue ("scopeStartAST")); }
set { Instance.SetPropertyValue ("scopeStartAST", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("skipNextFuncDeclForClass")]
public bool SkipNextFuncDeclForClass {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("skipNextFuncDeclForClass")); }
set { Instance.SetPropertyValue ("skipNextFuncDeclForClass", value, true); }
}
[TypeScriptBridge ("deepestModuleDecl")]
public TypeScriptServiceBridge.TypeScript.ModuleDeclaration DeepestModuleDecl {
get { return new TypeScriptServiceBridge.TypeScript.ModuleDeclaration ((ObjectInstance) Instance.GetPropertyValue ("deepestModuleDecl")); }
set { Instance.SetPropertyValue ("deepestModuleDecl", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("enclosingClassDecl")]
public TypeScriptServiceBridge.TypeScript.TypeDeclaration EnclosingClassDecl {
get { return new TypeScriptServiceBridge.TypeScript.TypeDeclaration ((ObjectInstance) Instance.GetPropertyValue ("enclosingClassDecl")); }
set { Instance.SetPropertyValue ("enclosingClassDecl", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("enclosingObjectLit")]
public TypeScriptServiceBridge.TypeScript.UnaryExpression EnclosingObjectLit {
get { return new TypeScriptServiceBridge.TypeScript.UnaryExpression ((ObjectInstance) Instance.GetPropertyValue ("enclosingObjectLit")); }
set { Instance.SetPropertyValue ("enclosingObjectLit", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("publicsOnly")]
public bool PublicsOnly {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("publicsOnly")); }
set { Instance.SetPropertyValue ("publicsOnly", value, true); }
}
[TypeScriptBridge ("useFullAst")]
public bool UseFullAst {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("useFullAst")); }
set { Instance.SetPropertyValue ("useFullAst", value, true); }
}
[TypeScriptBridge ("get_logger")]
public TypeScriptServiceBridge.TypeScript.ILogger Get_logger ()
{
return new TypeScriptServiceBridge.TypeScript.ILogger_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_logger"));
}
[TypeScriptBridge ("set_logger")]
public void Set_logger (TypeScriptServiceBridge.TypeScript.ILogger @value)
{
Instance.CallMemberFunction ("set_logger", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_script")]
public TypeScriptServiceBridge.TypeScript.Script Get_script ()
{
return new TypeScriptServiceBridge.TypeScript.Script ((ObjectInstance) Instance.CallMemberFunction ("get_script"));
}
[TypeScriptBridge ("set_script")]
public void Set_script (TypeScriptServiceBridge.TypeScript.Script @value)
{
Instance.CallMemberFunction ("set_script", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_text")]
public TypeScriptServiceBridge.TypeScript.ISourceText Get_text ()
{
return new TypeScriptServiceBridge.TypeScript.ISourceText_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_text"));
}
[TypeScriptBridge ("set_text")]
public void Set_text (TypeScriptServiceBridge.TypeScript.ISourceText @value)
{
Instance.CallMemberFunction ("set_text", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_pos")]
public double Get_pos ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_pos"));
}
[TypeScriptBridge ("set_pos")]
public void Set_pos (double @value)
{
Instance.CallMemberFunction ("set_pos", @value);
}
[TypeScriptBridge ("get_isMemberCompletion")]
public bool Get_isMemberCompletion ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_isMemberCompletion"));
}
[TypeScriptBridge ("set_isMemberCompletion")]
public void Set_isMemberCompletion (bool @value)
{
Instance.CallMemberFunction ("set_isMemberCompletion", @value);
}
[TypeScriptBridge ("get_scopeStartAST")]
public TypeScriptServiceBridge.TypeScript.AST Get_scopeStartAST ()
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("get_scopeStartAST"));
}
[TypeScriptBridge ("set_scopeStartAST")]
public void Set_scopeStartAST (TypeScriptServiceBridge.TypeScript.AST @value)
{
Instance.CallMemberFunction ("set_scopeStartAST", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_skipNextFuncDeclForClass")]
public bool Get_skipNextFuncDeclForClass ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_skipNextFuncDeclForClass"));
}
[TypeScriptBridge ("set_skipNextFuncDeclForClass")]
public void Set_skipNextFuncDeclForClass (bool @value)
{
Instance.CallMemberFunction ("set_skipNextFuncDeclForClass", @value);
}
[TypeScriptBridge ("get_deepestModuleDecl")]
public TypeScriptServiceBridge.TypeScript.ModuleDeclaration Get_deepestModuleDecl ()
{
return new TypeScriptServiceBridge.TypeScript.ModuleDeclaration ((ObjectInstance) Instance.CallMemberFunction ("get_deepestModuleDecl"));
}
[TypeScriptBridge ("set_deepestModuleDecl")]
public void Set_deepestModuleDecl (TypeScriptServiceBridge.TypeScript.ModuleDeclaration @value)
{
Instance.CallMemberFunction ("set_deepestModuleDecl", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_enclosingClassDecl")]
public TypeScriptServiceBridge.TypeScript.TypeDeclaration Get_enclosingClassDecl ()
{
return new TypeScriptServiceBridge.TypeScript.TypeDeclaration ((ObjectInstance) Instance.CallMemberFunction ("get_enclosingClassDecl"));
}
[TypeScriptBridge ("set_enclosingClassDecl")]
public void Set_enclosingClassDecl (TypeScriptServiceBridge.TypeScript.TypeDeclaration @value)
{
Instance.CallMemberFunction ("set_enclosingClassDecl", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_enclosingObjectLit")]
public TypeScriptServiceBridge.TypeScript.UnaryExpression Get_enclosingObjectLit ()
{
return new TypeScriptServiceBridge.TypeScript.UnaryExpression ((ObjectInstance) Instance.CallMemberFunction ("get_enclosingObjectLit"));
}
[TypeScriptBridge ("set_enclosingObjectLit")]
public void Set_enclosingObjectLit (TypeScriptServiceBridge.TypeScript.UnaryExpression @value)
{
Instance.CallMemberFunction ("set_enclosingObjectLit", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_publicsOnly")]
public bool Get_publicsOnly ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_publicsOnly"));
}
[TypeScriptBridge ("set_publicsOnly")]
public void Set_publicsOnly (bool @value)
{
Instance.CallMemberFunction ("set_publicsOnly", @value);
}
[TypeScriptBridge ("get_useFullAst")]
public bool Get_useFullAst ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_useFullAst"));
}
[TypeScriptBridge ("set_useFullAst")]
public void Set_useFullAst (bool @value)
{
Instance.CallMemberFunction ("set_useFullAst", @value);
}
[TypeScriptBridge ("getScope")]
public TypeScriptServiceBridge.TypeScript.SymbolScope GetScope ()
{
return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.CallMemberFunction ("getScope"));
}
[TypeScriptBridge ("getObjectLiteralScope")]
public TypeScriptServiceBridge.TypeScript.SymbolScope GetObjectLiteralScope ()
{
return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.CallMemberFunction ("getObjectLiteralScope"));
}
[TypeScriptBridge ("getScopeAST")]
public TypeScriptServiceBridge.TypeScript.AST GetScopeAST ()
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("getScopeAST"));
}
[TypeScriptBridge ("getScopePosition")]
public double GetScopePosition ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getScopePosition"));
}
[TypeScriptBridge ("getScriptFragmentStartAST")]
public TypeScriptServiceBridge.TypeScript.AST GetScriptFragmentStartAST ()
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("getScriptFragmentStartAST"));
}
[TypeScriptBridge ("getScriptFragmentPosition")]
public double GetScriptFragmentPosition ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getScriptFragmentPosition"));
}
[TypeScriptBridge ("getScriptFragment")]
public TypeScriptServiceBridge.TypeScript.Script GetScriptFragment ()
{
return new TypeScriptServiceBridge.TypeScript.Script ((ObjectInstance) Instance.CallMemberFunction ("getScriptFragment"));
}
}
public class Signature : TypeScriptObject
{
public Signature (ObjectInstance instance) : base (instance) {}
public Signature ()
: base (CallConstructor ("TypeScript", "Signature"))
{
}
[TypeScriptBridge ("hasVariableArgList")]
public bool HasVariableArgList {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("hasVariableArgList")); }
set { Instance.SetPropertyValue ("hasVariableArgList", value, true); }
}
[TypeScriptBridge ("returnType")]
public TypeScriptServiceBridge.TypeScript.TypeLink ReturnType {
get { return new TypeScriptServiceBridge.TypeScript.TypeLink ((ObjectInstance) Instance.GetPropertyValue ("returnType")); }
set { Instance.SetPropertyValue ("returnType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("parameters")]
public ArrayInstance Parameters {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("parameters")); }
set { Instance.SetPropertyValue ("parameters", value, true); }
}
[TypeScriptBridge ("declAST")]
public TypeScriptServiceBridge.TypeScript.FuncDecl DeclAST {
get { return new TypeScriptServiceBridge.TypeScript.FuncDecl ((ObjectInstance) Instance.GetPropertyValue ("declAST")); }
set { Instance.SetPropertyValue ("declAST", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("typeCheckStatus")]
public TypeScriptServiceBridge.TypeScript.TypeCheckStatus TypeCheckStatus {
get { return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.TypeCheckStatus> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("typeCheckStatus")); }
set { Instance.SetPropertyValue ("typeCheckStatus", value, true); }
}
[TypeScriptBridge ("nonOptionalParameterCount")]
public double NonOptionalParameterCount {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("nonOptionalParameterCount")); }
set { Instance.SetPropertyValue ("nonOptionalParameterCount", value, true); }
}
[TypeScriptBridge ("get_hasVariableArgList")]
public bool Get_hasVariableArgList ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_hasVariableArgList"));
}
[TypeScriptBridge ("set_hasVariableArgList")]
public void Set_hasVariableArgList (bool @value)
{
Instance.CallMemberFunction ("set_hasVariableArgList", @value);
}
[TypeScriptBridge ("get_returnType")]
public TypeScriptServiceBridge.TypeScript.TypeLink Get_returnType ()
{
return new TypeScriptServiceBridge.TypeScript.TypeLink ((ObjectInstance) Instance.CallMemberFunction ("get_returnType"));
}
[TypeScriptBridge ("set_returnType")]
public void Set_returnType (TypeScriptServiceBridge.TypeScript.TypeLink @value)
{
Instance.CallMemberFunction ("set_returnType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_parameters")]
public ArrayInstance Get_parameters ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_parameters"));
}
[TypeScriptBridge ("set_parameters")]
public void Set_parameters (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_parameters", @value);
}
[TypeScriptBridge ("get_declAST")]
public TypeScriptServiceBridge.TypeScript.FuncDecl Get_declAST ()
{
return new TypeScriptServiceBridge.TypeScript.FuncDecl ((ObjectInstance) Instance.CallMemberFunction ("get_declAST"));
}
[TypeScriptBridge ("set_declAST")]
public void Set_declAST (TypeScriptServiceBridge.TypeScript.FuncDecl @value)
{
Instance.CallMemberFunction ("set_declAST", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_typeCheckStatus")]
public TypeScriptServiceBridge.TypeScript.TypeCheckStatus Get_typeCheckStatus ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.TypeCheckStatus> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_typeCheckStatus"));
}
[TypeScriptBridge ("set_typeCheckStatus")]
public void Set_typeCheckStatus (TypeScriptServiceBridge.TypeScript.TypeCheckStatus @value)
{
Instance.CallMemberFunction ("set_typeCheckStatus", @value);
}
[TypeScriptBridge ("get_nonOptionalParameterCount")]
public double Get_nonOptionalParameterCount ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_nonOptionalParameterCount"));
}
[TypeScriptBridge ("set_nonOptionalParameterCount")]
public void Set_nonOptionalParameterCount (double @value)
{
Instance.CallMemberFunction ("set_nonOptionalParameterCount", @value);
}
[TypeScriptBridge ("specializeType")]
public TypeScriptServiceBridge.TypeScript.Signature SpecializeType (TypeScriptServiceBridge.TypeScript.Type @pattern, TypeScriptServiceBridge.TypeScript.Type @replacement, TypeScriptServiceBridge.TypeScript.TypeChecker @checker)
{
return new TypeScriptServiceBridge.TypeScript.Signature ((ObjectInstance) Instance.CallMemberFunction ("specializeType", @pattern != null ? @pattern.Instance : null, @replacement != null ? @replacement.Instance : null, @checker != null ? @checker.Instance : null));
}
[TypeScriptBridge ("toString")]
public string ToString ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("toString"));
}
[TypeScriptBridge ("toStringHelper")]
public string ToStringHelper (bool @shortform, bool @brackets, TypeScriptServiceBridge.TypeScript.SymbolScope @scope, bool @isTypeSignature = false)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("toStringHelper", @shortform, @brackets, @scope != null ? @scope.Instance : null, @isTypeSignature));
}
[TypeScriptBridge ("toStringHelperEx")]
public TypeScriptServiceBridge.TypeScript.MemberName ToStringHelperEx (bool @shortform, bool @brackets, TypeScriptServiceBridge.TypeScript.SymbolScope @scope, string @prefix = "", bool @isTypeSignature = false)
{
return new TypeScriptServiceBridge.TypeScript.MemberName ((ObjectInstance) Instance.CallMemberFunction ("toStringHelperEx", @shortform, @brackets, @scope != null ? @scope.Instance : null, @prefix, @isTypeSignature));
}
}
public class SignatureGroup : TypeScriptObject
{
public SignatureGroup (ObjectInstance instance) : base (instance) {}
public SignatureGroup ()
: base (CallConstructor ("TypeScript", "SignatureGroup"))
{
}
[TypeScriptBridge ("signatures")]
public ArrayInstance Signatures {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("signatures")); }
set { Instance.SetPropertyValue ("signatures", value, true); }
}
[TypeScriptBridge ("hasImplementation")]
public bool HasImplementation {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("hasImplementation")); }
set { Instance.SetPropertyValue ("hasImplementation", value, true); }
}
[TypeScriptBridge ("definitionSignature")]
public TypeScriptServiceBridge.TypeScript.Signature DefinitionSignature {
get { return new TypeScriptServiceBridge.TypeScript.Signature ((ObjectInstance) Instance.GetPropertyValue ("definitionSignature")); }
set { Instance.SetPropertyValue ("definitionSignature", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("hasBeenTypechecked")]
public bool HasBeenTypechecked {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("hasBeenTypechecked")); }
set { Instance.SetPropertyValue ("hasBeenTypechecked", value, true); }
}
[TypeScriptBridge ("flags")]
public TypeScriptServiceBridge.TypeScript.SignatureFlags Flags {
get { return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.SignatureFlags> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("flags")); }
set { Instance.SetPropertyValue ("flags", value, true); }
}
[TypeScriptBridge ("get_signatures")]
public ArrayInstance Get_signatures ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_signatures"));
}
[TypeScriptBridge ("set_signatures")]
public void Set_signatures (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_signatures", @value);
}
[TypeScriptBridge ("get_hasImplementation")]
public bool Get_hasImplementation ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_hasImplementation"));
}
[TypeScriptBridge ("set_hasImplementation")]
public void Set_hasImplementation (bool @value)
{
Instance.CallMemberFunction ("set_hasImplementation", @value);
}
[TypeScriptBridge ("get_definitionSignature")]
public TypeScriptServiceBridge.TypeScript.Signature Get_definitionSignature ()
{
return new TypeScriptServiceBridge.TypeScript.Signature ((ObjectInstance) Instance.CallMemberFunction ("get_definitionSignature"));
}
[TypeScriptBridge ("set_definitionSignature")]
public void Set_definitionSignature (TypeScriptServiceBridge.TypeScript.Signature @value)
{
Instance.CallMemberFunction ("set_definitionSignature", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_hasBeenTypechecked")]
public bool Get_hasBeenTypechecked ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_hasBeenTypechecked"));
}
[TypeScriptBridge ("set_hasBeenTypechecked")]
public void Set_hasBeenTypechecked (bool @value)
{
Instance.CallMemberFunction ("set_hasBeenTypechecked", @value);
}
[TypeScriptBridge ("get_flags")]
public TypeScriptServiceBridge.TypeScript.SignatureFlags Get_flags ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.SignatureFlags> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_flags"));
}
[TypeScriptBridge ("set_flags")]
public void Set_flags (TypeScriptServiceBridge.TypeScript.SignatureFlags @value)
{
Instance.CallMemberFunction ("set_flags", @value);
}
[TypeScriptBridge ("addSignature")]
public void AddSignature (TypeScriptServiceBridge.TypeScript.Signature @signature)
{
Instance.CallMemberFunction ("addSignature", @signature != null ? @signature.Instance : null);
}
[TypeScriptBridge ("toString")]
public string ToString ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("toString"));
}
[TypeScriptBridge ("toStrings")]
public ArrayInstance ToStrings (string @prefix, bool @shortform, TypeScriptServiceBridge.TypeScript.SymbolScope @scope, bool @isTypeSignature = false)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("toStrings", @prefix, @shortform, @scope != null ? @scope.Instance : null, @isTypeSignature));
}
[TypeScriptBridge ("specializeType")]
public TypeScriptServiceBridge.TypeScript.SignatureGroup SpecializeType (TypeScriptServiceBridge.TypeScript.Type @pattern, TypeScriptServiceBridge.TypeScript.Type @replacement, TypeScriptServiceBridge.TypeScript.TypeChecker @checker)
{
return new TypeScriptServiceBridge.TypeScript.SignatureGroup ((ObjectInstance) Instance.CallMemberFunction ("specializeType", @pattern != null ? @pattern.Instance : null, @replacement != null ? @replacement.Instance : null, @checker != null ? @checker.Instance : null));
}
[TypeScriptBridge ("verifySignatures")]
public void VerifySignatures (TypeScriptServiceBridge.TypeScript.TypeChecker @checker)
{
Instance.CallMemberFunction ("verifySignatures", @checker != null ? @checker.Instance : null);
}
[TypeScriptBridge ("typeCheck")]
public void TypeCheck (TypeScriptServiceBridge.TypeScript.TypeChecker @checker, TypeScriptServiceBridge.TypeScript.AST @ast, bool @hasConstruct)
{
Instance.CallMemberFunction ("typeCheck", @checker != null ? @checker.Instance : null, @ast != null ? @ast.Instance : null, @hasConstruct);
}
}
public enum TypeCheckStatus
{
NotStarted = 0,
Started = 1,
Finished = 2,
}
public interface PhasedTypecheckObject : ITypeScriptObject
{
[TypeScriptBridge ("typeCheckStatus")]
TypeScriptServiceBridge.TypeScript.TypeCheckStatus TypeCheckStatus { get; set; }
[TypeScriptBridge ("get_typeCheckStatus")]
TypeScriptServiceBridge.TypeScript.TypeCheckStatus Get_typeCheckStatus ();
[TypeScriptBridge ("set_typeCheckStatus")]
void Set_typeCheckStatus (TypeScriptServiceBridge.TypeScript.TypeCheckStatus @value);
}
public class PhasedTypecheckObject_Impl : TypeScriptObject, PhasedTypecheckObject
{
public PhasedTypecheckObject_Impl (ObjectInstance instance) : base (instance) {}
[TypeScriptBridge ("typeCheckStatus")]
public TypeScriptServiceBridge.TypeScript.TypeCheckStatus TypeCheckStatus {
get { return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.TypeCheckStatus> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("typeCheckStatus")); }
set { Instance.SetPropertyValue ("typeCheckStatus", value, true); }
}
[TypeScriptBridge ("get_typeCheckStatus")]
public TypeScriptServiceBridge.TypeScript.TypeCheckStatus Get_typeCheckStatus ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.TypeCheckStatus> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_typeCheckStatus"));
}
[TypeScriptBridge ("set_typeCheckStatus")]
public void Set_typeCheckStatus (TypeScriptServiceBridge.TypeScript.TypeCheckStatus @value)
{
Instance.CallMemberFunction ("set_typeCheckStatus", @value);
}
}
public class Symbol : TypeScriptObject
{
public Symbol (ObjectInstance instance) : base (instance) {}
public Symbol (string @name, double @location, double @unitIndex)
: base (CallConstructor ("TypeScript", "Symbol", @name, @location, @unitIndex))
{
}
[TypeScriptBridge ("name")]
public string Name {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("name")); }
set { Instance.SetPropertyValue ("name", value, true); }
}
[TypeScriptBridge ("location")]
public double Location {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("location")); }
set { Instance.SetPropertyValue ("location", value, true); }
}
[TypeScriptBridge ("unitIndex")]
public double UnitIndex {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("unitIndex")); }
set { Instance.SetPropertyValue ("unitIndex", value, true); }
}
[TypeScriptBridge ("bound")]
public bool Bound {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("bound")); }
set { Instance.SetPropertyValue ("bound", value, true); }
}
[TypeScriptBridge ("container")]
public TypeScriptServiceBridge.TypeScript.Symbol Container {
get { return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.GetPropertyValue ("container")); }
set { Instance.SetPropertyValue ("container", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("flags")]
public TypeScriptServiceBridge.TypeScript.SymbolFlags Flags {
get { return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.SymbolFlags> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("flags")); }
set { Instance.SetPropertyValue ("flags", value, true); }
}
[TypeScriptBridge ("refs")]
public ArrayInstance Refs {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("refs")); }
set { Instance.SetPropertyValue ("refs", value, true); }
}
[TypeScriptBridge ("isObjectLitField")]
public bool IsObjectLitField {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("isObjectLitField")); }
set { Instance.SetPropertyValue ("isObjectLitField", value, true); }
}
[TypeScriptBridge ("declAST")]
public TypeScriptServiceBridge.TypeScript.AST DeclAST {
get { return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.GetPropertyValue ("declAST")); }
set { Instance.SetPropertyValue ("declAST", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("declModule")]
public TypeScriptServiceBridge.TypeScript.ModuleDeclaration DeclModule {
get { return new TypeScriptServiceBridge.TypeScript.ModuleDeclaration ((ObjectInstance) Instance.GetPropertyValue ("declModule")); }
set { Instance.SetPropertyValue ("declModule", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("passSymbolCreated")]
public double PassSymbolCreated {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("passSymbolCreated")); }
set { Instance.SetPropertyValue ("passSymbolCreated", value, true); }
}
[TypeScriptBridge ("get_name")]
public string Get_name ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_name"));
}
[TypeScriptBridge ("set_name")]
public void Set_name (string @value)
{
Instance.CallMemberFunction ("set_name", @value);
}
[TypeScriptBridge ("get_location")]
public double Get_location ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_location"));
}
[TypeScriptBridge ("set_location")]
public void Set_location (double @value)
{
Instance.CallMemberFunction ("set_location", @value);
}
[TypeScriptBridge ("get_unitIndex")]
public double Get_unitIndex ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_unitIndex"));
}
[TypeScriptBridge ("set_unitIndex")]
public void Set_unitIndex (double @value)
{
Instance.CallMemberFunction ("set_unitIndex", @value);
}
[TypeScriptBridge ("get_bound")]
public bool Get_bound ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_bound"));
}
[TypeScriptBridge ("set_bound")]
public void Set_bound (bool @value)
{
Instance.CallMemberFunction ("set_bound", @value);
}
[TypeScriptBridge ("get_container")]
public TypeScriptServiceBridge.TypeScript.Symbol Get_container ()
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("get_container"));
}
[TypeScriptBridge ("set_container")]
public void Set_container (TypeScriptServiceBridge.TypeScript.Symbol @value)
{
Instance.CallMemberFunction ("set_container", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("instanceScope")]
public TypeScriptServiceBridge.TypeScript.SymbolScope InstanceScope ()
{
return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.CallMemberFunction ("instanceScope"));
}
[TypeScriptBridge ("isVariable")]
public bool IsVariable ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isVariable"));
}
[TypeScriptBridge ("isMember")]
public bool IsMember ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isMember"));
}
[TypeScriptBridge ("isInferenceSymbol")]
public bool IsInferenceSymbol ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isInferenceSymbol"));
}
[TypeScriptBridge ("isWith")]
public bool IsWith ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isWith"));
}
[TypeScriptBridge ("writeable")]
public bool Writeable ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("writeable"));
}
[TypeScriptBridge ("isType")]
public bool IsType ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isType"));
}
[TypeScriptBridge ("getType")]
public TypeScriptServiceBridge.TypeScript.Type GetType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("getType"));
}
[TypeScriptBridge ("get_flags")]
public TypeScriptServiceBridge.TypeScript.SymbolFlags Get_flags ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.SymbolFlags> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_flags"));
}
[TypeScriptBridge ("set_flags")]
public void Set_flags (TypeScriptServiceBridge.TypeScript.SymbolFlags @value)
{
Instance.CallMemberFunction ("set_flags", @value);
}
[TypeScriptBridge ("get_refs")]
public ArrayInstance Get_refs ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_refs"));
}
[TypeScriptBridge ("set_refs")]
public void Set_refs (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_refs", @value);
}
[TypeScriptBridge ("isAccessor")]
public bool IsAccessor ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isAccessor"));
}
[TypeScriptBridge ("get_isObjectLitField")]
public bool Get_isObjectLitField ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_isObjectLitField"));
}
[TypeScriptBridge ("set_isObjectLitField")]
public void Set_isObjectLitField (bool @value)
{
Instance.CallMemberFunction ("set_isObjectLitField", @value);
}
[TypeScriptBridge ("get_declAST")]
public TypeScriptServiceBridge.TypeScript.AST Get_declAST ()
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("get_declAST"));
}
[TypeScriptBridge ("set_declAST")]
public void Set_declAST (TypeScriptServiceBridge.TypeScript.AST @value)
{
Instance.CallMemberFunction ("set_declAST", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_declModule")]
public TypeScriptServiceBridge.TypeScript.ModuleDeclaration Get_declModule ()
{
return new TypeScriptServiceBridge.TypeScript.ModuleDeclaration ((ObjectInstance) Instance.CallMemberFunction ("get_declModule"));
}
[TypeScriptBridge ("set_declModule")]
public void Set_declModule (TypeScriptServiceBridge.TypeScript.ModuleDeclaration @value)
{
Instance.CallMemberFunction ("set_declModule", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_passSymbolCreated")]
public double Get_passSymbolCreated ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_passSymbolCreated"));
}
[TypeScriptBridge ("set_passSymbolCreated")]
public void Set_passSymbolCreated (double @value)
{
Instance.CallMemberFunction ("set_passSymbolCreated", @value);
}
[TypeScriptBridge ("isInstanceProperty")]
public bool IsInstanceProperty ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isInstanceProperty"));
}
[TypeScriptBridge ("getTypeName")]
public string GetTypeName (TypeScriptServiceBridge.TypeScript.SymbolScope @scope)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getTypeName", @scope != null ? @scope.Instance : null));
}
[TypeScriptBridge ("getTypeNameEx")]
public TypeScriptServiceBridge.TypeScript.MemberName GetTypeNameEx (TypeScriptServiceBridge.TypeScript.SymbolScope @scope)
{
return new TypeScriptServiceBridge.TypeScript.MemberName ((ObjectInstance) Instance.CallMemberFunction ("getTypeNameEx", @scope != null ? @scope.Instance : null));
}
[TypeScriptBridge ("getOptionalNameString")]
public string GetOptionalNameString ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getOptionalNameString"));
}
[TypeScriptBridge ("pathToRoot")]
public ArrayInstance PathToRoot ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("pathToRoot"));
}
[TypeScriptBridge ("findCommonAncestorPath")]
public ArrayInstance FindCommonAncestorPath (TypeScriptServiceBridge.TypeScript.Symbol @b)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("findCommonAncestorPath", @b != null ? @b.Instance : null));
}
[TypeScriptBridge ("getPrettyName")]
public string GetPrettyName (TypeScriptServiceBridge.TypeScript.Symbol @scopeSymbol, bool @searchTillRoot)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getPrettyName", @scopeSymbol != null ? @scopeSymbol.Instance : null, @searchTillRoot));
}
[TypeScriptBridge ("scopeRelativeName")]
public string ScopeRelativeName (TypeScriptServiceBridge.TypeScript.SymbolScope @scope)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("scopeRelativeName", @scope != null ? @scope.Instance : null));
}
[TypeScriptBridge ("fullName")]
public string FullName ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("fullName"));
}
[TypeScriptBridge ("isExternallyVisible")]
public System.Object IsExternallyVisible (TypeScriptServiceBridge.TypeScript.TypeChecker @checker)
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isExternallyVisible", @checker != null ? @checker.Instance : null));
}
[TypeScriptBridge ("visible")]
public bool Visible (TypeScriptServiceBridge.TypeScript.SymbolScope @scope, TypeScriptServiceBridge.TypeScript.TypeChecker @checker)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("visible", @scope != null ? @scope.Instance : null, @checker != null ? @checker.Instance : null));
}
[TypeScriptBridge ("addRef")]
public void AddRef (TypeScriptServiceBridge.TypeScript.Identifier @identifier)
{
Instance.CallMemberFunction ("addRef", @identifier != null ? @identifier.Instance : null);
}
[TypeScriptBridge ("toString")]
public string ToString ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("toString"));
}
[TypeScriptBridge ("print")]
public void Print (System.Object @outfile)
{
Instance.CallMemberFunction ("print", @outfile);
}
[TypeScriptBridge ("specializeType")]
public TypeScriptServiceBridge.TypeScript.Symbol SpecializeType (TypeScriptServiceBridge.TypeScript.Type @pattern, TypeScriptServiceBridge.TypeScript.Type @replacement, TypeScriptServiceBridge.TypeScript.TypeChecker @checker)
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("specializeType", @pattern != null ? @pattern.Instance : null, @replacement != null ? @replacement.Instance : null, @checker != null ? @checker.Instance : null));
}
[TypeScriptBridge ("setType")]
public void SetType (TypeScriptServiceBridge.TypeScript.Type @type)
{
Instance.CallMemberFunction ("setType", @type != null ? @type.Instance : null);
}
[TypeScriptBridge ("kind")]
public TypeScriptServiceBridge.TypeScript.SymbolKind Kind ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.SymbolKind> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("kind"));
}
[TypeScriptBridge ("getInterfaceDeclFromSymbol")]
public TypeScriptServiceBridge.TypeScript.InterfaceDeclaration GetInterfaceDeclFromSymbol (TypeScriptServiceBridge.TypeScript.TypeChecker @checker)
{
return new TypeScriptServiceBridge.TypeScript.InterfaceDeclaration ((ObjectInstance) Instance.CallMemberFunction ("getInterfaceDeclFromSymbol", @checker != null ? @checker.Instance : null));
}
[TypeScriptBridge ("getVarDeclFromSymbol")]
public TypeScriptServiceBridge.TypeScript.VarDecl GetVarDeclFromSymbol ()
{
return new TypeScriptServiceBridge.TypeScript.VarDecl ((ObjectInstance) Instance.CallMemberFunction ("getVarDeclFromSymbol"));
}
[TypeScriptBridge ("getImportDeclFromSymbol")]
public TypeScriptServiceBridge.TypeScript.ImportDeclaration GetImportDeclFromSymbol ()
{
return new TypeScriptServiceBridge.TypeScript.ImportDeclaration ((ObjectInstance) Instance.CallMemberFunction ("getImportDeclFromSymbol"));
}
}
public class ValueLocation : TypeScriptObject
{
public ValueLocation (ObjectInstance instance) : base (instance) {}
public ValueLocation ()
: base (CallConstructor ("TypeScript", "ValueLocation"))
{
}
[TypeScriptBridge ("symbol")]
public TypeScriptServiceBridge.TypeScript.Symbol Symbol {
get { return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.GetPropertyValue ("symbol")); }
set { Instance.SetPropertyValue ("symbol", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("typeLink")]
public TypeScriptServiceBridge.TypeScript.TypeLink TypeLink {
get { return new TypeScriptServiceBridge.TypeScript.TypeLink ((ObjectInstance) Instance.GetPropertyValue ("typeLink")); }
set { Instance.SetPropertyValue ("typeLink", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_symbol")]
public TypeScriptServiceBridge.TypeScript.Symbol Get_symbol ()
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("get_symbol"));
}
[TypeScriptBridge ("set_symbol")]
public void Set_symbol (TypeScriptServiceBridge.TypeScript.Symbol @value)
{
Instance.CallMemberFunction ("set_symbol", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_typeLink")]
public TypeScriptServiceBridge.TypeScript.TypeLink Get_typeLink ()
{
return new TypeScriptServiceBridge.TypeScript.TypeLink ((ObjectInstance) Instance.CallMemberFunction ("get_typeLink"));
}
[TypeScriptBridge ("set_typeLink")]
public void Set_typeLink (TypeScriptServiceBridge.TypeScript.TypeLink @value)
{
Instance.CallMemberFunction ("set_typeLink", @value != null ? @value.Instance : null);
}
}
public class InferenceSymbol : Symbol
{
public InferenceSymbol (ObjectInstance instance) : base (instance) {}
public InferenceSymbol (string @name, double @location, double @unitIndex)
: base (CallConstructor ("TypeScript", "InferenceSymbol", @name, @location, @unitIndex))
{
}
[TypeScriptBridge ("typeCheckStatus")]
public TypeScriptServiceBridge.TypeScript.TypeCheckStatus TypeCheckStatus {
get { return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.TypeCheckStatus> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("typeCheckStatus")); }
set { Instance.SetPropertyValue ("typeCheckStatus", value, true); }
}
[TypeScriptBridge ("get_typeCheckStatus")]
public TypeScriptServiceBridge.TypeScript.TypeCheckStatus Get_typeCheckStatus ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.TypeCheckStatus> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_typeCheckStatus"));
}
[TypeScriptBridge ("set_typeCheckStatus")]
public void Set_typeCheckStatus (TypeScriptServiceBridge.TypeScript.TypeCheckStatus @value)
{
Instance.CallMemberFunction ("set_typeCheckStatus", @value);
}
[TypeScriptBridge ("isInferenceSymbol")]
public bool IsInferenceSymbol ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isInferenceSymbol"));
}
[TypeScriptBridge ("transferVarFlags")]
public void TransferVarFlags (TypeScriptServiceBridge.TypeScript.VarFlags @varFlags)
{
Instance.CallMemberFunction ("transferVarFlags", @varFlags);
}
}
public class TypeSymbol : InferenceSymbol
{
public TypeSymbol (ObjectInstance instance) : base (instance) {}
public TypeSymbol (string @locName, double @location, double @unitIndex, TypeScriptServiceBridge.TypeScript.Type @type)
: base (CallConstructor ("TypeScript", "TypeSymbol", @locName, @location, @unitIndex, @type != null ? @type.Instance : null))
{
}
[TypeScriptBridge ("additionalLocations")]
public ArrayInstance AdditionalLocations {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("additionalLocations")); }
set { Instance.SetPropertyValue ("additionalLocations", value, true); }
}
[TypeScriptBridge ("expansions")]
public ArrayInstance Expansions {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("expansions")); }
set { Instance.SetPropertyValue ("expansions", value, true); }
}
[TypeScriptBridge ("isMethod")]
public bool IsMethod {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("isMethod")); }
set { Instance.SetPropertyValue ("isMethod", value, true); }
}
[TypeScriptBridge ("aliasLink")]
public TypeScriptServiceBridge.TypeScript.ImportDeclaration AliasLink {
get { return new TypeScriptServiceBridge.TypeScript.ImportDeclaration ((ObjectInstance) Instance.GetPropertyValue ("aliasLink")); }
set { Instance.SetPropertyValue ("aliasLink", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("prettyName")]
public string PrettyName {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("prettyName")); }
set { Instance.SetPropertyValue ("prettyName", value, true); }
}
[TypeScriptBridge ("onlyReferencedAsTypeRef")]
public bool OnlyReferencedAsTypeRef {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("onlyReferencedAsTypeRef")); }
set { Instance.SetPropertyValue ("onlyReferencedAsTypeRef", value, true); }
}
[TypeScriptBridge ("instanceType")]
public TypeScriptServiceBridge.TypeScript.Type InstanceType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("instanceType")); }
set { Instance.SetPropertyValue ("instanceType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_additionalLocations")]
public ArrayInstance Get_additionalLocations ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_additionalLocations"));
}
[TypeScriptBridge ("set_additionalLocations")]
public void Set_additionalLocations (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_additionalLocations", @value);
}
[TypeScriptBridge ("get_expansions")]
public ArrayInstance Get_expansions ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_expansions"));
}
[TypeScriptBridge ("set_expansions")]
public void Set_expansions (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_expansions", @value);
}
[TypeScriptBridge ("addLocation")]
public void AddLocation (double @loc)
{
Instance.CallMemberFunction ("addLocation", @loc);
}
[TypeScriptBridge ("get_isMethod")]
public bool Get_isMethod ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_isMethod"));
}
[TypeScriptBridge ("set_isMethod")]
public void Set_isMethod (bool @value)
{
Instance.CallMemberFunction ("set_isMethod", @value);
}
[TypeScriptBridge ("get_aliasLink")]
public TypeScriptServiceBridge.TypeScript.ImportDeclaration Get_aliasLink ()
{
return new TypeScriptServiceBridge.TypeScript.ImportDeclaration ((ObjectInstance) Instance.CallMemberFunction ("get_aliasLink"));
}
[TypeScriptBridge ("set_aliasLink")]
public void Set_aliasLink (TypeScriptServiceBridge.TypeScript.ImportDeclaration @value)
{
Instance.CallMemberFunction ("set_aliasLink", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("kind")]
public TypeScriptServiceBridge.TypeScript.SymbolKind Kind ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.SymbolKind> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("kind"));
}
[TypeScriptBridge ("isType")]
public bool IsType ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isType"));
}
[TypeScriptBridge ("getType")]
public TypeScriptServiceBridge.TypeScript.Type GetType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("getType"));
}
[TypeScriptBridge ("get_prettyName")]
public string Get_prettyName ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_prettyName"));
}
[TypeScriptBridge ("set_prettyName")]
public void Set_prettyName (string @value)
{
Instance.CallMemberFunction ("set_prettyName", @value);
}
[TypeScriptBridge ("get_onlyReferencedAsTypeRef")]
public bool Get_onlyReferencedAsTypeRef ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_onlyReferencedAsTypeRef"));
}
[TypeScriptBridge ("set_onlyReferencedAsTypeRef")]
public void Set_onlyReferencedAsTypeRef (bool @value)
{
Instance.CallMemberFunction ("set_onlyReferencedAsTypeRef", @value);
}
[TypeScriptBridge ("getTypeNameEx")]
public TypeScriptServiceBridge.TypeScript.MemberName GetTypeNameEx (TypeScriptServiceBridge.TypeScript.SymbolScope @scope)
{
return new TypeScriptServiceBridge.TypeScript.MemberName ((ObjectInstance) Instance.CallMemberFunction ("getTypeNameEx", @scope != null ? @scope.Instance : null));
}
[TypeScriptBridge ("instanceScope")]
public TypeScriptServiceBridge.TypeScript.SymbolScope InstanceScope ()
{
return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.CallMemberFunction ("instanceScope"));
}
[TypeScriptBridge ("get_instanceType")]
public TypeScriptServiceBridge.TypeScript.Type Get_instanceType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_instanceType"));
}
[TypeScriptBridge ("set_instanceType")]
public void Set_instanceType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_instanceType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("toString")]
public string ToString ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("toString"));
}
[TypeScriptBridge ("isClass")]
public bool IsClass ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isClass"));
}
[TypeScriptBridge ("isFunction")]
public bool IsFunction ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isFunction"));
}
[TypeScriptBridge ("specializeType")]
public TypeScriptServiceBridge.TypeScript.Symbol SpecializeType (TypeScriptServiceBridge.TypeScript.Type @pattern, TypeScriptServiceBridge.TypeScript.Type @replacement, TypeScriptServiceBridge.TypeScript.TypeChecker @checker)
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("specializeType", @pattern != null ? @pattern.Instance : null, @replacement != null ? @replacement.Instance : null, @checker != null ? @checker.Instance : null));
}
[TypeScriptBridge ("getPrettyName")]
public string GetPrettyName (TypeScriptServiceBridge.TypeScript.Symbol @scopeSymbol, bool @searchTillRoot)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getPrettyName", @scopeSymbol != null ? @scopeSymbol.Instance : null, @searchTillRoot));
}
[TypeScriptBridge ("scopeRelativeName")]
public string ScopeRelativeName (TypeScriptServiceBridge.TypeScript.SymbolScope @scope)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("scopeRelativeName", @scope != null ? @scope.Instance : null));
}
}
public class WithSymbol : TypeSymbol
{
public WithSymbol (ObjectInstance instance) : base (instance) {}
public WithSymbol (double @location, double @unitIndex, TypeScriptServiceBridge.TypeScript.Type @withType)
: base (CallConstructor ("TypeScript", "WithSymbol", @location, @unitIndex, @withType != null ? @withType.Instance : null))
{
}
[TypeScriptBridge ("isWith")]
public bool IsWith ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isWith"));
}
}
public class FieldSymbol : InferenceSymbol
{
public FieldSymbol (ObjectInstance instance) : base (instance) {}
public FieldSymbol (string @name, double @location, double @unitIndex, bool @canWrite, TypeScriptServiceBridge.TypeScript.ValueLocation @field)
: base (CallConstructor ("TypeScript", "FieldSymbol", @name, @location, @unitIndex, @canWrite, @field != null ? @field.Instance : null))
{
}
[TypeScriptBridge ("name")]
public string Name {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("name")); }
set { Instance.SetPropertyValue ("name", value, true); }
}
[TypeScriptBridge ("location")]
public double Location {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("location")); }
set { Instance.SetPropertyValue ("location", value, true); }
}
[TypeScriptBridge ("getter")]
public TypeScriptServiceBridge.TypeScript.TypeSymbol Getter {
get { return new TypeScriptServiceBridge.TypeScript.TypeSymbol ((ObjectInstance) Instance.GetPropertyValue ("getter")); }
set { Instance.SetPropertyValue ("getter", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("setter")]
public TypeScriptServiceBridge.TypeScript.TypeSymbol Setter {
get { return new TypeScriptServiceBridge.TypeScript.TypeSymbol ((ObjectInstance) Instance.GetPropertyValue ("setter")); }
set { Instance.SetPropertyValue ("setter", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("hasBeenEmitted")]
public bool HasBeenEmitted {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("hasBeenEmitted")); }
set { Instance.SetPropertyValue ("hasBeenEmitted", value, true); }
}
[TypeScriptBridge ("get_name")]
public string Get_name ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_name"));
}
[TypeScriptBridge ("set_name")]
public void Set_name (string @value)
{
Instance.CallMemberFunction ("set_name", @value);
}
[TypeScriptBridge ("get_location")]
public double Get_location ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_location"));
}
[TypeScriptBridge ("set_location")]
public void Set_location (double @value)
{
Instance.CallMemberFunction ("set_location", @value);
}
[TypeScriptBridge ("kind")]
public TypeScriptServiceBridge.TypeScript.SymbolKind Kind ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.SymbolKind> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("kind"));
}
[TypeScriptBridge ("writeable")]
public bool Writeable ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("writeable"));
}
[TypeScriptBridge ("getType")]
public TypeScriptServiceBridge.TypeScript.Type GetType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("getType"));
}
[TypeScriptBridge ("getTypeNameEx")]
public TypeScriptServiceBridge.TypeScript.MemberName GetTypeNameEx (TypeScriptServiceBridge.TypeScript.SymbolScope @scope)
{
return new TypeScriptServiceBridge.TypeScript.MemberName ((ObjectInstance) Instance.CallMemberFunction ("getTypeNameEx", @scope != null ? @scope.Instance : null));
}
[TypeScriptBridge ("isMember")]
public bool IsMember ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isMember"));
}
[TypeScriptBridge ("setType")]
public void SetType (TypeScriptServiceBridge.TypeScript.Type @type)
{
Instance.CallMemberFunction ("setType", @type != null ? @type.Instance : null);
}
[TypeScriptBridge ("get_getter")]
public TypeScriptServiceBridge.TypeScript.TypeSymbol Get_getter ()
{
return new TypeScriptServiceBridge.TypeScript.TypeSymbol ((ObjectInstance) Instance.CallMemberFunction ("get_getter"));
}
[TypeScriptBridge ("set_getter")]
public void Set_getter (TypeScriptServiceBridge.TypeScript.TypeSymbol @value)
{
Instance.CallMemberFunction ("set_getter", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_setter")]
public TypeScriptServiceBridge.TypeScript.TypeSymbol Get_setter ()
{
return new TypeScriptServiceBridge.TypeScript.TypeSymbol ((ObjectInstance) Instance.CallMemberFunction ("get_setter"));
}
[TypeScriptBridge ("set_setter")]
public void Set_setter (TypeScriptServiceBridge.TypeScript.TypeSymbol @value)
{
Instance.CallMemberFunction ("set_setter", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_hasBeenEmitted")]
public bool Get_hasBeenEmitted ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_hasBeenEmitted"));
}
[TypeScriptBridge ("set_hasBeenEmitted")]
public void Set_hasBeenEmitted (bool @value)
{
Instance.CallMemberFunction ("set_hasBeenEmitted", @value);
}
[TypeScriptBridge ("isAccessor")]
public bool IsAccessor ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isAccessor"));
}
[TypeScriptBridge ("isVariable")]
public bool IsVariable ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isVariable"));
}
[TypeScriptBridge ("toString")]
public string ToString ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("toString"));
}
[TypeScriptBridge ("specializeType")]
public TypeScriptServiceBridge.TypeScript.Symbol SpecializeType (TypeScriptServiceBridge.TypeScript.Type @pattern, TypeScriptServiceBridge.TypeScript.Type @replacement, TypeScriptServiceBridge.TypeScript.TypeChecker @checker)
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("specializeType", @pattern != null ? @pattern.Instance : null, @replacement != null ? @replacement.Instance : null, @checker != null ? @checker.Instance : null));
}
}
public class ParameterSymbol : InferenceSymbol
{
public ParameterSymbol (ObjectInstance instance) : base (instance) {}
public ParameterSymbol (string @name, double @location, double @unitIndex, TypeScriptServiceBridge.TypeScript.ValueLocation @parameter)
: base (CallConstructor ("TypeScript", "ParameterSymbol", @name, @location, @unitIndex, @parameter != null ? @parameter.Instance : null))
{
}
[TypeScriptBridge ("name")]
public string Name {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("name")); }
set { Instance.SetPropertyValue ("name", value, true); }
}
[TypeScriptBridge ("location")]
public double Location {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("location")); }
set { Instance.SetPropertyValue ("location", value, true); }
}
[TypeScriptBridge ("argsOffset")]
public double ArgsOffset {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("argsOffset")); }
set { Instance.SetPropertyValue ("argsOffset", value, true); }
}
[TypeScriptBridge ("get_name")]
public string Get_name ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_name"));
}
[TypeScriptBridge ("set_name")]
public void Set_name (string @value)
{
Instance.CallMemberFunction ("set_name", @value);
}
[TypeScriptBridge ("get_location")]
public double Get_location ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_location"));
}
[TypeScriptBridge ("set_location")]
public void Set_location (double @value)
{
Instance.CallMemberFunction ("set_location", @value);
}
[TypeScriptBridge ("kind")]
public TypeScriptServiceBridge.TypeScript.SymbolKind Kind ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.SymbolKind> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("kind"));
}
[TypeScriptBridge ("writeable")]
public bool Writeable ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("writeable"));
}
[TypeScriptBridge ("getType")]
public TypeScriptServiceBridge.TypeScript.Type GetType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("getType"));
}
[TypeScriptBridge ("setType")]
public void SetType (TypeScriptServiceBridge.TypeScript.Type @type)
{
Instance.CallMemberFunction ("setType", @type != null ? @type.Instance : null);
}
[TypeScriptBridge ("isVariable")]
public bool IsVariable ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isVariable"));
}
[TypeScriptBridge ("get_argsOffset")]
public double Get_argsOffset ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_argsOffset"));
}
[TypeScriptBridge ("set_argsOffset")]
public void Set_argsOffset (double @value)
{
Instance.CallMemberFunction ("set_argsOffset", @value);
}
[TypeScriptBridge ("isOptional")]
public bool IsOptional ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isOptional"));
}
[TypeScriptBridge ("getTypeNameEx")]
public TypeScriptServiceBridge.TypeScript.MemberName GetTypeNameEx (TypeScriptServiceBridge.TypeScript.SymbolScope @scope)
{
return new TypeScriptServiceBridge.TypeScript.MemberName ((ObjectInstance) Instance.CallMemberFunction ("getTypeNameEx", @scope != null ? @scope.Instance : null));
}
[TypeScriptBridge ("toString")]
public string ToString ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("toString"));
}
[TypeScriptBridge ("specializeType")]
public TypeScriptServiceBridge.TypeScript.Symbol SpecializeType (TypeScriptServiceBridge.TypeScript.Type @pattern, TypeScriptServiceBridge.TypeScript.Type @replacement, TypeScriptServiceBridge.TypeScript.TypeChecker @checker)
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("specializeType", @pattern != null ? @pattern.Instance : null, @replacement != null ? @replacement.Instance : null, @checker != null ? @checker.Instance : null));
}
}
public class VariableSymbol : InferenceSymbol
{
public VariableSymbol (ObjectInstance instance) : base (instance) {}
public VariableSymbol (string @name, double @location, double @unitIndex, TypeScriptServiceBridge.TypeScript.ValueLocation @variable)
: base (CallConstructor ("TypeScript", "VariableSymbol", @name, @location, @unitIndex, @variable != null ? @variable.Instance : null))
{
}
[TypeScriptBridge ("kind")]
public TypeScriptServiceBridge.TypeScript.SymbolKind Kind ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.SymbolKind> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("kind"));
}
[TypeScriptBridge ("writeable")]
public bool Writeable ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("writeable"));
}
[TypeScriptBridge ("getType")]
public TypeScriptServiceBridge.TypeScript.Type GetType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("getType"));
}
[TypeScriptBridge ("getTypeNameEx")]
public TypeScriptServiceBridge.TypeScript.MemberName GetTypeNameEx (TypeScriptServiceBridge.TypeScript.SymbolScope @scope)
{
return new TypeScriptServiceBridge.TypeScript.MemberName ((ObjectInstance) Instance.CallMemberFunction ("getTypeNameEx", @scope != null ? @scope.Instance : null));
}
[TypeScriptBridge ("setType")]
public void SetType (TypeScriptServiceBridge.TypeScript.Type @type)
{
Instance.CallMemberFunction ("setType", @type != null ? @type.Instance : null);
}
[TypeScriptBridge ("isVariable")]
public bool IsVariable ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isVariable"));
}
}
public class ScopedMembers : TypeScriptObject
{
public ScopedMembers (ObjectInstance instance) : base (instance) {}
public ScopedMembers (TypeScriptServiceBridge.TypeScript.DualStringHashTable @dualMembers)
: base (CallConstructor ("TypeScript", "ScopedMembers", @dualMembers != null ? @dualMembers.Instance : null))
{
}
[TypeScriptBridge ("dualMembers")]
public TypeScriptServiceBridge.TypeScript.DualStringHashTable DualMembers {
get { return new TypeScriptServiceBridge.TypeScript.DualStringHashTable ((ObjectInstance) Instance.GetPropertyValue ("dualMembers")); }
set { Instance.SetPropertyValue ("dualMembers", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("allMembers")]
public TypeScriptServiceBridge.TypeScript.IHashTable AllMembers {
get { return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.GetPropertyValue ("allMembers")); }
set { Instance.SetPropertyValue ("allMembers", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("publicMembers")]
public TypeScriptServiceBridge.TypeScript.IHashTable PublicMembers {
get { return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.GetPropertyValue ("publicMembers")); }
set { Instance.SetPropertyValue ("publicMembers", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("privateMembers")]
public TypeScriptServiceBridge.TypeScript.IHashTable PrivateMembers {
get { return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.GetPropertyValue ("privateMembers")); }
set { Instance.SetPropertyValue ("privateMembers", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_dualMembers")]
public TypeScriptServiceBridge.TypeScript.DualStringHashTable Get_dualMembers ()
{
return new TypeScriptServiceBridge.TypeScript.DualStringHashTable ((ObjectInstance) Instance.CallMemberFunction ("get_dualMembers"));
}
[TypeScriptBridge ("set_dualMembers")]
public void Set_dualMembers (TypeScriptServiceBridge.TypeScript.DualStringHashTable @value)
{
Instance.CallMemberFunction ("set_dualMembers", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_allMembers")]
public TypeScriptServiceBridge.TypeScript.IHashTable Get_allMembers ()
{
return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_allMembers"));
}
[TypeScriptBridge ("set_allMembers")]
public void Set_allMembers (TypeScriptServiceBridge.TypeScript.IHashTable @value)
{
Instance.CallMemberFunction ("set_allMembers", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_publicMembers")]
public TypeScriptServiceBridge.TypeScript.IHashTable Get_publicMembers ()
{
return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_publicMembers"));
}
[TypeScriptBridge ("set_publicMembers")]
public void Set_publicMembers (TypeScriptServiceBridge.TypeScript.IHashTable @value)
{
Instance.CallMemberFunction ("set_publicMembers", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_privateMembers")]
public TypeScriptServiceBridge.TypeScript.IHashTable Get_privateMembers ()
{
return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_privateMembers"));
}
[TypeScriptBridge ("set_privateMembers")]
public void Set_privateMembers (TypeScriptServiceBridge.TypeScript.IHashTable @value)
{
Instance.CallMemberFunction ("set_privateMembers", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("addPublicMember")]
public bool AddPublicMember (string @key, System.Object @data)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("addPublicMember", @key, @data));
}
[TypeScriptBridge ("addPrivateMember")]
public bool AddPrivateMember (string @key, System.Object @data)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("addPrivateMember", @key, @data));
}
}
public enum SymbolKind
{
None = 0,
Type = 1,
Field = 2,
Parameter = 3,
Variable = 4,
}
public class SymbolScope : TypeScriptObject
{
public SymbolScope (ObjectInstance instance) : base (instance) {}
public SymbolScope (TypeScriptServiceBridge.TypeScript.Symbol @container)
: base (CallConstructor ("TypeScript", "SymbolScope", @container != null ? @container.Instance : null))
{
}
[TypeScriptBridge ("container")]
public TypeScriptServiceBridge.TypeScript.Symbol Container {
get { return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.GetPropertyValue ("container")); }
set { Instance.SetPropertyValue ("container", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_container")]
public TypeScriptServiceBridge.TypeScript.Symbol Get_container ()
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("get_container"));
}
[TypeScriptBridge ("set_container")]
public void Set_container (TypeScriptServiceBridge.TypeScript.Symbol @value)
{
Instance.CallMemberFunction ("set_container", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("printLabel")]
public string PrintLabel ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("printLabel"));
}
[TypeScriptBridge ("getAllSymbolNames")]
public ArrayInstance GetAllSymbolNames (bool @members)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getAllSymbolNames", @members));
}
[TypeScriptBridge ("getAllTypeSymbolNames")]
public ArrayInstance GetAllTypeSymbolNames (bool @members)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getAllTypeSymbolNames", @members));
}
[TypeScriptBridge ("getAllValueSymbolNames")]
public ArrayInstance GetAllValueSymbolNames (bool @members)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getAllValueSymbolNames", @members));
}
[TypeScriptBridge ("search")]
public TypeScriptServiceBridge.TypeScript.Symbol Search (TypeScriptServiceBridge.TypeScript.ScopeSearchFilter @filter, string @name, bool @publicOnly, bool @typespace)
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("search", @filter != null ? @filter.Instance : null, @name, @publicOnly, @typespace));
}
[TypeScriptBridge ("findLocal")]
public TypeScriptServiceBridge.TypeScript.Symbol FindLocal (string @name, bool @publicOnly, bool @typespace)
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("findLocal", @name, @publicOnly, @typespace));
}
[TypeScriptBridge ("find")]
public TypeScriptServiceBridge.TypeScript.Symbol Find (string @name, bool @publicOnly, bool @typespace)
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("find", @name, @publicOnly, @typespace));
}
[TypeScriptBridge ("findImplementation")]
public TypeScriptServiceBridge.TypeScript.Symbol FindImplementation (string @name, bool @publicOnly, bool @typespace)
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("findImplementation", @name, @publicOnly, @typespace));
}
[TypeScriptBridge ("findAmbient")]
public TypeScriptServiceBridge.TypeScript.Symbol FindAmbient (string @name, bool @publicOnly, bool @typespace)
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("findAmbient", @name, @publicOnly, @typespace));
}
[TypeScriptBridge ("print")]
public void Print (TypeScriptServiceBridge.ITextWriter @outfile)
{
Instance.CallMemberFunction ("print", @outfile != null ? @outfile.Instance : null);
}
[TypeScriptBridge ("enter")]
public void Enter (TypeScriptServiceBridge.TypeScript.Symbol @container, TypeScriptServiceBridge.TypeScript.AST @ast, TypeScriptServiceBridge.TypeScript.Symbol @symbol, TypeScriptServiceBridge.TypeScript.ErrorReporter @errorReporter, bool @publicOnly, bool @typespace, bool @ambient)
{
Instance.CallMemberFunction ("enter", @container != null ? @container.Instance : null, @ast != null ? @ast.Instance : null, @symbol != null ? @symbol.Instance : null, @errorReporter != null ? @errorReporter.Instance : null, @publicOnly, @typespace, @ambient);
}
[TypeScriptBridge ("getTable")]
public TypeScriptServiceBridge.TypeScript.IHashTable GetTable ()
{
return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.CallMemberFunction ("getTable"));
}
}
public class SymbolAggregateScope : SymbolScope
{
public SymbolAggregateScope (ObjectInstance instance) : base (instance) {}
public SymbolAggregateScope (TypeScriptServiceBridge.TypeScript.Symbol @container)
: base (CallConstructor ("TypeScript", "SymbolAggregateScope", @container != null ? @container.Instance : null))
{
}
[TypeScriptBridge ("valueCache")]
public TypeScriptServiceBridge.TypeScript.IHashTable ValueCache {
get { return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.GetPropertyValue ("valueCache")); }
set { Instance.SetPropertyValue ("valueCache", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("valueImplCache")]
public TypeScriptServiceBridge.TypeScript.IHashTable ValueImplCache {
get { return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.GetPropertyValue ("valueImplCache")); }
set { Instance.SetPropertyValue ("valueImplCache", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("valueAmbientCache")]
public TypeScriptServiceBridge.TypeScript.IHashTable ValueAmbientCache {
get { return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.GetPropertyValue ("valueAmbientCache")); }
set { Instance.SetPropertyValue ("valueAmbientCache", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("typeCache")]
public TypeScriptServiceBridge.TypeScript.IHashTable TypeCache {
get { return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.GetPropertyValue ("typeCache")); }
set { Instance.SetPropertyValue ("typeCache", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("typeImplCache")]
public TypeScriptServiceBridge.TypeScript.IHashTable TypeImplCache {
get { return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.GetPropertyValue ("typeImplCache")); }
set { Instance.SetPropertyValue ("typeImplCache", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("typeAmbientCache")]
public TypeScriptServiceBridge.TypeScript.IHashTable TypeAmbientCache {
get { return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.GetPropertyValue ("typeAmbientCache")); }
set { Instance.SetPropertyValue ("typeAmbientCache", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("parents")]
public ArrayInstance Parents {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("parents")); }
set { Instance.SetPropertyValue ("parents", value, true); }
}
[TypeScriptBridge ("container")]
public TypeScriptServiceBridge.TypeScript.Symbol Container {
get { return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.GetPropertyValue ("container")); }
set { Instance.SetPropertyValue ("container", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("printLabel")]
public string PrintLabel ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("printLabel"));
}
[TypeScriptBridge ("get_valueCache")]
public TypeScriptServiceBridge.TypeScript.IHashTable Get_valueCache ()
{
return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_valueCache"));
}
[TypeScriptBridge ("set_valueCache")]
public void Set_valueCache (TypeScriptServiceBridge.TypeScript.IHashTable @value)
{
Instance.CallMemberFunction ("set_valueCache", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_valueImplCache")]
public TypeScriptServiceBridge.TypeScript.IHashTable Get_valueImplCache ()
{
return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_valueImplCache"));
}
[TypeScriptBridge ("set_valueImplCache")]
public void Set_valueImplCache (TypeScriptServiceBridge.TypeScript.IHashTable @value)
{
Instance.CallMemberFunction ("set_valueImplCache", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_valueAmbientCache")]
public TypeScriptServiceBridge.TypeScript.IHashTable Get_valueAmbientCache ()
{
return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_valueAmbientCache"));
}
[TypeScriptBridge ("set_valueAmbientCache")]
public void Set_valueAmbientCache (TypeScriptServiceBridge.TypeScript.IHashTable @value)
{
Instance.CallMemberFunction ("set_valueAmbientCache", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_typeCache")]
public TypeScriptServiceBridge.TypeScript.IHashTable Get_typeCache ()
{
return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_typeCache"));
}
[TypeScriptBridge ("set_typeCache")]
public void Set_typeCache (TypeScriptServiceBridge.TypeScript.IHashTable @value)
{
Instance.CallMemberFunction ("set_typeCache", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_typeImplCache")]
public TypeScriptServiceBridge.TypeScript.IHashTable Get_typeImplCache ()
{
return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_typeImplCache"));
}
[TypeScriptBridge ("set_typeImplCache")]
public void Set_typeImplCache (TypeScriptServiceBridge.TypeScript.IHashTable @value)
{
Instance.CallMemberFunction ("set_typeImplCache", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_typeAmbientCache")]
public TypeScriptServiceBridge.TypeScript.IHashTable Get_typeAmbientCache ()
{
return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_typeAmbientCache"));
}
[TypeScriptBridge ("set_typeAmbientCache")]
public void Set_typeAmbientCache (TypeScriptServiceBridge.TypeScript.IHashTable @value)
{
Instance.CallMemberFunction ("set_typeAmbientCache", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_parents")]
public ArrayInstance Get_parents ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_parents"));
}
[TypeScriptBridge ("set_parents")]
public void Set_parents (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_parents", @value);
}
[TypeScriptBridge ("get_container")]
public TypeScriptServiceBridge.TypeScript.Symbol Get_container ()
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("get_container"));
}
[TypeScriptBridge ("set_container")]
public void Set_container (TypeScriptServiceBridge.TypeScript.Symbol @value)
{
Instance.CallMemberFunction ("set_container", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("search")]
public TypeScriptServiceBridge.TypeScript.Symbol Search (TypeScriptServiceBridge.TypeScript.ScopeSearchFilter @filter, string @name, bool @publicOnly, bool @typespace)
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("search", @filter != null ? @filter.Instance : null, @name, @publicOnly, @typespace));
}
[TypeScriptBridge ("getAllSymbolNames")]
public ArrayInstance GetAllSymbolNames (bool @members)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getAllSymbolNames", @members));
}
[TypeScriptBridge ("getAllTypeSymbolNames")]
public ArrayInstance GetAllTypeSymbolNames (bool @members)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getAllTypeSymbolNames", @members));
}
[TypeScriptBridge ("getAllValueSymbolNames")]
public ArrayInstance GetAllValueSymbolNames (bool @members)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getAllValueSymbolNames", @members));
}
[TypeScriptBridge ("print")]
public void Print (TypeScriptServiceBridge.ITextWriter @outfile)
{
Instance.CallMemberFunction ("print", @outfile != null ? @outfile.Instance : null);
}
[TypeScriptBridge ("findImplementation")]
public TypeScriptServiceBridge.TypeScript.Symbol FindImplementation (string @name, bool @publicOnly, bool @typespace)
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("findImplementation", @name, @publicOnly, @typespace));
}
[TypeScriptBridge ("find")]
public TypeScriptServiceBridge.TypeScript.Symbol Find (string @name, bool @publicOnly, bool @typespace)
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("find", @name, @publicOnly, @typespace));
}
[TypeScriptBridge ("findAmbient")]
public TypeScriptServiceBridge.TypeScript.Symbol FindAmbient (string @name, bool @publicOnly, bool @typespace)
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("findAmbient", @name, @publicOnly, @typespace));
}
[TypeScriptBridge ("addParentScope")]
public void AddParentScope (TypeScriptServiceBridge.TypeScript.SymbolScope @parent)
{
Instance.CallMemberFunction ("addParentScope", @parent != null ? @parent.Instance : null);
}
}
public class SymbolTableScope : SymbolScope
{
public SymbolTableScope (ObjectInstance instance) : base (instance) {}
public SymbolTableScope (TypeScriptServiceBridge.TypeScript.ScopedMembers @valueMembers, TypeScriptServiceBridge.TypeScript.ScopedMembers @ambientValueMembers, TypeScriptServiceBridge.TypeScript.ScopedMembers @enclosedTypes, TypeScriptServiceBridge.TypeScript.ScopedMembers @ambientEnclosedTypes, TypeScriptServiceBridge.TypeScript.Symbol @container)
: base (CallConstructor ("TypeScript", "SymbolTableScope", @valueMembers != null ? @valueMembers.Instance : null, @ambientValueMembers != null ? @ambientValueMembers.Instance : null, @enclosedTypes != null ? @enclosedTypes.Instance : null, @ambientEnclosedTypes != null ? @ambientEnclosedTypes.Instance : null, @container != null ? @container.Instance : null))
{
}
[TypeScriptBridge ("container")]
public TypeScriptServiceBridge.TypeScript.Symbol Container {
get { return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.GetPropertyValue ("container")); }
set { Instance.SetPropertyValue ("container", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_container")]
public TypeScriptServiceBridge.TypeScript.Symbol Get_container ()
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("get_container"));
}
[TypeScriptBridge ("set_container")]
public void Set_container (TypeScriptServiceBridge.TypeScript.Symbol @value)
{
Instance.CallMemberFunction ("set_container", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("printLabel")]
public string PrintLabel ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("printLabel"));
}
[TypeScriptBridge ("getAllSymbolNames")]
public ArrayInstance GetAllSymbolNames (bool @members)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getAllSymbolNames", @members));
}
[TypeScriptBridge ("getAllTypeSymbolNames")]
public ArrayInstance GetAllTypeSymbolNames (bool @members)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getAllTypeSymbolNames", @members));
}
[TypeScriptBridge ("getAllValueSymbolNames")]
public ArrayInstance GetAllValueSymbolNames (bool @members)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getAllValueSymbolNames", @members));
}
[TypeScriptBridge ("search")]
public TypeScriptServiceBridge.TypeScript.Symbol Search (TypeScriptServiceBridge.TypeScript.ScopeSearchFilter @filter, string @name, bool @publicOnly, bool @typespace)
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("search", @filter != null ? @filter.Instance : null, @name, @publicOnly, @typespace));
}
[TypeScriptBridge ("find")]
public TypeScriptServiceBridge.TypeScript.Symbol Find (string @name, bool @publicOnly, bool @typespace)
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("find", @name, @publicOnly, @typespace));
}
[TypeScriptBridge ("findAmbient")]
public TypeScriptServiceBridge.TypeScript.Symbol FindAmbient (string @name, bool @publicOnly, bool @typespace)
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("findAmbient", @name, @publicOnly, @typespace));
}
[TypeScriptBridge ("print")]
public void Print (TypeScriptServiceBridge.ITextWriter @outfile)
{
Instance.CallMemberFunction ("print", @outfile != null ? @outfile.Instance : null);
}
[TypeScriptBridge ("findImplementation")]
public TypeScriptServiceBridge.TypeScript.Symbol FindImplementation (string @name, bool @publicOnly, bool @typespace)
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("findImplementation", @name, @publicOnly, @typespace));
}
[TypeScriptBridge ("getTable")]
public TypeScriptServiceBridge.TypeScript.IHashTable GetTable ()
{
return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.CallMemberFunction ("getTable"));
}
}
public class SymbolScopeBuilder : SymbolScope
{
public SymbolScopeBuilder (ObjectInstance instance) : base (instance) {}
public SymbolScopeBuilder (TypeScriptServiceBridge.TypeScript.ScopedMembers @valueMembers, TypeScriptServiceBridge.TypeScript.ScopedMembers @ambientValueMembers, TypeScriptServiceBridge.TypeScript.ScopedMembers @enclosedTypes, TypeScriptServiceBridge.TypeScript.ScopedMembers @ambientEnclosedTypes, TypeScriptServiceBridge.TypeScript.SymbolScope @parent, TypeScriptServiceBridge.TypeScript.Symbol @container)
: base (CallConstructor ("TypeScript", "SymbolScopeBuilder", @valueMembers != null ? @valueMembers.Instance : null, @ambientValueMembers != null ? @ambientValueMembers.Instance : null, @enclosedTypes != null ? @enclosedTypes.Instance : null, @ambientEnclosedTypes != null ? @ambientEnclosedTypes.Instance : null, @parent != null ? @parent.Instance : null, @container != null ? @container.Instance : null))
{
}
[TypeScriptBridge ("container")]
public TypeScriptServiceBridge.TypeScript.Symbol Container {
get { return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.GetPropertyValue ("container")); }
set { Instance.SetPropertyValue ("container", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_container")]
public TypeScriptServiceBridge.TypeScript.Symbol Get_container ()
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("get_container"));
}
[TypeScriptBridge ("set_container")]
public void Set_container (TypeScriptServiceBridge.TypeScript.Symbol @value)
{
Instance.CallMemberFunction ("set_container", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("printLabel")]
public string PrintLabel ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("printLabel"));
}
[TypeScriptBridge ("getAllSymbolNames")]
public ArrayInstance GetAllSymbolNames (bool @members)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getAllSymbolNames", @members));
}
[TypeScriptBridge ("getAllTypeSymbolNames")]
public ArrayInstance GetAllTypeSymbolNames (bool @members)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getAllTypeSymbolNames", @members));
}
[TypeScriptBridge ("getAllValueSymbolNames")]
public ArrayInstance GetAllValueSymbolNames (bool @members)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getAllValueSymbolNames", @members));
}
[TypeScriptBridge ("search")]
public TypeScriptServiceBridge.TypeScript.Symbol Search (TypeScriptServiceBridge.TypeScript.ScopeSearchFilter @filter, string @name, bool @publicOnly, bool @typespace)
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("search", @filter != null ? @filter.Instance : null, @name, @publicOnly, @typespace));
}
[TypeScriptBridge ("print")]
public void Print (TypeScriptServiceBridge.ITextWriter @outfile)
{
Instance.CallMemberFunction ("print", @outfile != null ? @outfile.Instance : null);
}
[TypeScriptBridge ("find")]
public TypeScriptServiceBridge.TypeScript.Symbol Find (string @name, bool @publicOnly, bool @typespace)
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("find", @name, @publicOnly, @typespace));
}
[TypeScriptBridge ("findAmbient")]
public TypeScriptServiceBridge.TypeScript.Symbol FindAmbient (string @name, bool @publicOnly, bool @typespace)
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("findAmbient", @name, @publicOnly, @typespace));
}
[TypeScriptBridge ("findLocal")]
public TypeScriptServiceBridge.TypeScript.Symbol FindLocal (string @name, bool @publicOnly, bool @typespace)
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("findLocal", @name, @publicOnly, @typespace));
}
[TypeScriptBridge ("enter")]
public void Enter (TypeScriptServiceBridge.TypeScript.Symbol @container, TypeScriptServiceBridge.TypeScript.AST @ast, TypeScriptServiceBridge.TypeScript.Symbol @symbol, TypeScriptServiceBridge.TypeScript.ErrorReporter @errorReporter, bool @insertAsPublic, bool @typespace, bool @ambient)
{
Instance.CallMemberFunction ("enter", @container != null ? @container.Instance : null, @ast != null ? @ast.Instance : null, @symbol != null ? @symbol.Instance : null, @errorReporter != null ? @errorReporter.Instance : null, @insertAsPublic, @typespace, @ambient);
}
[TypeScriptBridge ("getTable")]
public TypeScriptServiceBridge.TypeScript.IHashTable GetTable ()
{
return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.CallMemberFunction ("getTable"));
}
}
public class FilteredSymbolScope : SymbolScope
{
public FilteredSymbolScope (ObjectInstance instance) : base (instance) {}
public FilteredSymbolScope (TypeScriptServiceBridge.TypeScript.SymbolScope @scope, TypeScriptServiceBridge.TypeScript.Symbol @container, TypeScriptServiceBridge.TypeScript.ScopeSearchFilter @filter)
: base (CallConstructor ("TypeScript", "FilteredSymbolScope", @scope != null ? @scope.Instance : null, @container != null ? @container.Instance : null, @filter != null ? @filter.Instance : null))
{
}
[TypeScriptBridge ("print")]
public void Print (TypeScriptServiceBridge.ITextWriter @outfile)
{
Instance.CallMemberFunction ("print", @outfile != null ? @outfile.Instance : null);
}
[TypeScriptBridge ("find")]
public TypeScriptServiceBridge.TypeScript.Symbol Find (string @name, bool @publicOnly, bool @typespace)
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("find", @name, @publicOnly, @typespace));
}
[TypeScriptBridge ("findLocal")]
public TypeScriptServiceBridge.TypeScript.Symbol FindLocal (string @name, bool @publicOnly, bool @typespace)
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("findLocal", @name, @publicOnly, @typespace));
}
}
public class FilteredSymbolScopeBuilder : SymbolScopeBuilder
{
public FilteredSymbolScopeBuilder (ObjectInstance instance) : base (instance) {}
public FilteredSymbolScopeBuilder (TypeScriptServiceBridge.TypeScript.ScopedMembers @valueMembers, TypeScriptServiceBridge.TypeScript.SymbolScope @parent, TypeScriptServiceBridge.TypeScript.Symbol @container, object @filter)
: base (CallConstructor ("TypeScript", "FilteredSymbolScopeBuilder", @valueMembers != null ? @valueMembers.Instance : null, @parent != null ? @parent.Instance : null, @container != null ? @container.Instance : null, @filter))
{
}
[TypeScriptBridge ("findLocal")]
public TypeScriptServiceBridge.TypeScript.Symbol FindLocal (string @name, bool @publicOnly, bool @typespace)
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("findLocal", @name, @publicOnly, @typespace));
}
[TypeScriptBridge ("search")]
public TypeScriptServiceBridge.TypeScript.Symbol Search (TypeScriptServiceBridge.TypeScript.ScopeSearchFilter @filter, string @name, bool @publicOnly, bool @typespace)
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("search", @filter != null ? @filter.Instance : null, @name, @publicOnly, @typespace));
}
[TypeScriptBridge ("find")]
public TypeScriptServiceBridge.TypeScript.Symbol Find (string @name, bool @publicOnly, bool @typespace)
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("find", @name, @publicOnly, @typespace));
}
}
public enum TokenID
{
Any = 0,
Bool = 1,
Break = 2,
Case = 3,
Catch = 4,
Class = 5,
Const = 6,
Continue = 7,
Debugger = 8,
Default = 9,
Delete = 10,
Do = 11,
Else = 12,
Enum = 13,
Export = 14,
Extends = 15,
Declare = 16,
False = 17,
Finally = 18,
For = 19,
Function = 20,
Constructor = 21,
Get = 22,
If = 23,
Implements = 24,
Import = 25,
In = 26,
InstanceOf = 27,
Interface = 28,
Let = 29,
Module = 30,
New = 31,
Number = 32,
Null = 33,
Package = 34,
Private = 35,
Protected = 36,
Public = 37,
Return = 38,
Set = 39,
Static = 40,
String = 41,
Super = 42,
Switch = 43,
This = 44,
Throw = 45,
True = 46,
Try = 47,
TypeOf = 48,
Var = 49,
Void = 50,
With = 51,
While = 52,
LimKeyword = 53,
Yield = 53,
Semicolon = 54,
OpenParen = 55,
CloseParen = 56,
OpenBracket = 57,
CloseBracket = 58,
OpenBrace = 59,
CloseBrace = 60,
Comma = 61,
Equals = 62,
PlusEquals = 63,
MinusEquals = 64,
AsteriskEquals = 65,
SlashEquals = 66,
PercentEquals = 67,
AmpersandEquals = 68,
CaretEquals = 69,
BarEquals = 70,
LessThanLessThanEquals = 71,
GreaterThanGreaterThanEquals = 72,
GreaterThanGreaterThanGreaterThanEquals = 73,
Question = 74,
Colon = 75,
BarBar = 76,
AmpersandAmpersand = 77,
Bar = 78,
Caret = 79,
And = 80,
EqualsEquals = 81,
ExclamationEquals = 82,
EqualsEqualsEquals = 83,
ExclamationEqualsEquals = 84,
LessThan = 85,
LessThanEquals = 86,
GreaterThan = 87,
GreaterThanEquals = 88,
LessThanLessThan = 89,
GreaterThanGreaterThan = 90,
GreaterThanGreaterThanGreaterThan = 91,
Plus = 92,
Minus = 93,
Asterisk = 94,
Slash = 95,
Percent = 96,
Tilde = 97,
Exclamation = 98,
PlusPlus = 99,
MinusMinus = 100,
Dot = 101,
DotDotDot = 102,
Error = 103,
EndOfFile = 104,
EqualsGreaterThan = 105,
LimFixed = 105,
Identifier = 106,
StringLiteral = 107,
RegularExpressionLiteral = 108,
NumberLiteral = 109,
Whitespace = 110,
Comment = 111,
Lim = 112,
}
public enum OperatorPrecedence
{
None = 0,
Comma = 1,
Assignment = 2,
Conditional = 3,
LogicalOr = 4,
LogicalAnd = 5,
BitwiseOr = 6,
BitwiseExclusiveOr = 7,
BitwiseAnd = 8,
Equality = 9,
Relational = 10,
Shift = 11,
Additive = 12,
Multiplicative = 13,
Unary = 14,
Lim = 15,
}
public enum Reservation
{
None = 0,
Javascript = 1,
JavascriptFuture = 2,
TypeScript = 4,
TypeScriptAndJS = 5,
TypeScriptAndJSFuture = 6,
JavascriptFutureStrict = 8,
TypeScriptAndJSFutureStrict = 12,
}
public class TokenInfo : TypeScriptObject
{
public TokenInfo (ObjectInstance instance) : base (instance) {}
public TokenInfo (TypeScriptServiceBridge.TypeScript.TokenID @tokenId, TypeScriptServiceBridge.TypeScript.Reservation @reservation, double @binopPrecedence, double @binopNodeType, double @unopPrecedence, double @unopNodeType, string @text, TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @ers)
: base (CallConstructor ("TypeScript", "TokenInfo", @tokenId, @reservation, @binopPrecedence, @binopNodeType, @unopPrecedence, @unopNodeType, @text, @ers))
{
}
[TypeScriptBridge ("tokenId")]
public TypeScriptServiceBridge.TypeScript.TokenID TokenId {
get { return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.TokenID> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("tokenId")); }
set { Instance.SetPropertyValue ("tokenId", value, true); }
}
[TypeScriptBridge ("reservation")]
public TypeScriptServiceBridge.TypeScript.Reservation Reservation {
get { return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.Reservation> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("reservation")); }
set { Instance.SetPropertyValue ("reservation", value, true); }
}
[TypeScriptBridge ("binopPrecedence")]
public double BinopPrecedence {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("binopPrecedence")); }
set { Instance.SetPropertyValue ("binopPrecedence", value, true); }
}
[TypeScriptBridge ("binopNodeType")]
public double BinopNodeType {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("binopNodeType")); }
set { Instance.SetPropertyValue ("binopNodeType", value, true); }
}
[TypeScriptBridge ("unopPrecedence")]
public double UnopPrecedence {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("unopPrecedence")); }
set { Instance.SetPropertyValue ("unopPrecedence", value, true); }
}
[TypeScriptBridge ("unopNodeType")]
public double UnopNodeType {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("unopNodeType")); }
set { Instance.SetPropertyValue ("unopNodeType", value, true); }
}
[TypeScriptBridge ("text")]
public string Text {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("text")); }
set { Instance.SetPropertyValue ("text", value, true); }
}
[TypeScriptBridge ("ers")]
public TypeScriptServiceBridge.TypeScript.ErrorRecoverySet Ers {
get { return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.ErrorRecoverySet> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("ers")); }
set { Instance.SetPropertyValue ("ers", value, true); }
}
[TypeScriptBridge ("get_tokenId")]
public TypeScriptServiceBridge.TypeScript.TokenID Get_tokenId ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.TokenID> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_tokenId"));
}
[TypeScriptBridge ("set_tokenId")]
public void Set_tokenId (TypeScriptServiceBridge.TypeScript.TokenID @value)
{
Instance.CallMemberFunction ("set_tokenId", @value);
}
[TypeScriptBridge ("get_reservation")]
public TypeScriptServiceBridge.TypeScript.Reservation Get_reservation ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.Reservation> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_reservation"));
}
[TypeScriptBridge ("set_reservation")]
public void Set_reservation (TypeScriptServiceBridge.TypeScript.Reservation @value)
{
Instance.CallMemberFunction ("set_reservation", @value);
}
[TypeScriptBridge ("get_binopPrecedence")]
public double Get_binopPrecedence ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_binopPrecedence"));
}
[TypeScriptBridge ("set_binopPrecedence")]
public void Set_binopPrecedence (double @value)
{
Instance.CallMemberFunction ("set_binopPrecedence", @value);
}
[TypeScriptBridge ("get_binopNodeType")]
public double Get_binopNodeType ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_binopNodeType"));
}
[TypeScriptBridge ("set_binopNodeType")]
public void Set_binopNodeType (double @value)
{
Instance.CallMemberFunction ("set_binopNodeType", @value);
}
[TypeScriptBridge ("get_unopPrecedence")]
public double Get_unopPrecedence ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_unopPrecedence"));
}
[TypeScriptBridge ("set_unopPrecedence")]
public void Set_unopPrecedence (double @value)
{
Instance.CallMemberFunction ("set_unopPrecedence", @value);
}
[TypeScriptBridge ("get_unopNodeType")]
public double Get_unopNodeType ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_unopNodeType"));
}
[TypeScriptBridge ("set_unopNodeType")]
public void Set_unopNodeType (double @value)
{
Instance.CallMemberFunction ("set_unopNodeType", @value);
}
[TypeScriptBridge ("get_text")]
public string Get_text ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_text"));
}
[TypeScriptBridge ("set_text")]
public void Set_text (string @value)
{
Instance.CallMemberFunction ("set_text", @value);
}
[TypeScriptBridge ("get_ers")]
public TypeScriptServiceBridge.TypeScript.ErrorRecoverySet Get_ers ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.ErrorRecoverySet> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_ers"));
}
[TypeScriptBridge ("set_ers")]
public void Set_ers (TypeScriptServiceBridge.TypeScript.ErrorRecoverySet @value)
{
Instance.CallMemberFunction ("set_ers", @value);
}
}
public enum TokenClass
{
Punctuation = 0,
Keyword = 1,
Operator = 2,
Comment = 3,
Whitespace = 4,
Identifier = 5,
Literal = 6,
}
public class SavedToken : TypeScriptObject
{
public SavedToken (ObjectInstance instance) : base (instance) {}
public SavedToken (TypeScriptServiceBridge.TypeScript.Token @tok, double @minChar, double @limChar)
: base (CallConstructor ("TypeScript", "SavedToken", @tok != null ? @tok.Instance : null, @minChar, @limChar))
{
}
[TypeScriptBridge ("tok")]
public TypeScriptServiceBridge.TypeScript.Token Tok {
get { return new TypeScriptServiceBridge.TypeScript.Token ((ObjectInstance) Instance.GetPropertyValue ("tok")); }
set { Instance.SetPropertyValue ("tok", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("minChar")]
public double MinChar {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("minChar")); }
set { Instance.SetPropertyValue ("minChar", value, true); }
}
[TypeScriptBridge ("limChar")]
public double LimChar {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("limChar")); }
set { Instance.SetPropertyValue ("limChar", value, true); }
}
[TypeScriptBridge ("get_tok")]
public TypeScriptServiceBridge.TypeScript.Token Get_tok ()
{
return new TypeScriptServiceBridge.TypeScript.Token ((ObjectInstance) Instance.CallMemberFunction ("get_tok"));
}
[TypeScriptBridge ("set_tok")]
public void Set_tok (TypeScriptServiceBridge.TypeScript.Token @value)
{
Instance.CallMemberFunction ("set_tok", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_minChar")]
public double Get_minChar ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_minChar"));
}
[TypeScriptBridge ("set_minChar")]
public void Set_minChar (double @value)
{
Instance.CallMemberFunction ("set_minChar", @value);
}
[TypeScriptBridge ("get_limChar")]
public double Get_limChar ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_limChar"));
}
[TypeScriptBridge ("set_limChar")]
public void Set_limChar (double @value)
{
Instance.CallMemberFunction ("set_limChar", @value);
}
}
public class Token : TypeScriptObject
{
public Token (ObjectInstance instance) : base (instance) {}
public Token (TypeScriptServiceBridge.TypeScript.TokenID @tokenId)
: base (CallConstructor ("TypeScript", "Token", @tokenId))
{
}
[TypeScriptBridge ("tokenId")]
public TypeScriptServiceBridge.TypeScript.TokenID TokenId {
get { return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.TokenID> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("tokenId")); }
set { Instance.SetPropertyValue ("tokenId", value, true); }
}
[TypeScriptBridge ("get_tokenId")]
public TypeScriptServiceBridge.TypeScript.TokenID Get_tokenId ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.TokenID> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_tokenId"));
}
[TypeScriptBridge ("set_tokenId")]
public void Set_tokenId (TypeScriptServiceBridge.TypeScript.TokenID @value)
{
Instance.CallMemberFunction ("set_tokenId", @value);
}
[TypeScriptBridge ("toString")]
public string ToString ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("toString"));
}
[TypeScriptBridge ("print")]
public void Print (double @line, System.Object @outfile)
{
Instance.CallMemberFunction ("print", @line, @outfile);
}
[TypeScriptBridge ("getText")]
public string GetText ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getText"));
}
[TypeScriptBridge ("classification")]
public TypeScriptServiceBridge.TypeScript.TokenClass Classification ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.TokenClass> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("classification"));
}
}
public class NumberLiteralToken : Token
{
public NumberLiteralToken (ObjectInstance instance) : base (instance) {}
public NumberLiteralToken (double @value, bool @hasEmptyFraction = false)
: base (CallConstructor ("TypeScript", "NumberLiteralToken", @value, @hasEmptyFraction))
{
}
[TypeScriptBridge ("getText")]
public string GetText ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getText"));
}
[TypeScriptBridge ("classification")]
public TypeScriptServiceBridge.TypeScript.TokenClass Classification ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.TokenClass> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("classification"));
}
}
public class StringLiteralToken : Token
{
public StringLiteralToken (ObjectInstance instance) : base (instance) {}
public StringLiteralToken (string @value)
: base (CallConstructor ("TypeScript", "StringLiteralToken", @value))
{
}
[TypeScriptBridge ("getText")]
public string GetText ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getText"));
}
[TypeScriptBridge ("classification")]
public TypeScriptServiceBridge.TypeScript.TokenClass Classification ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.TokenClass> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("classification"));
}
}
public class IdentifierToken : Token
{
public IdentifierToken (ObjectInstance instance) : base (instance) {}
public IdentifierToken (string @value, bool @hasEscapeSequence)
: base (CallConstructor ("TypeScript", "IdentifierToken", @value, @hasEscapeSequence))
{
}
[TypeScriptBridge ("getText")]
public string GetText ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getText"));
}
[TypeScriptBridge ("classification")]
public TypeScriptServiceBridge.TypeScript.TokenClass Classification ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.TokenClass> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("classification"));
}
}
public class WhitespaceToken : Token
{
public WhitespaceToken (ObjectInstance instance) : base (instance) {}
public WhitespaceToken (TypeScriptServiceBridge.TypeScript.TokenID @tokenId, string @value)
: base (CallConstructor ("TypeScript", "WhitespaceToken", @tokenId, @value))
{
}
[TypeScriptBridge ("getText")]
public string GetText ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getText"));
}
[TypeScriptBridge ("classification")]
public TypeScriptServiceBridge.TypeScript.TokenClass Classification ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.TokenClass> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("classification"));
}
}
public class CommentToken : Token
{
public CommentToken (ObjectInstance instance) : base (instance) {}
public CommentToken (TypeScriptServiceBridge.TypeScript.TokenID @tokenID, string @value, bool @isBlock, double @startPos, double @line, bool @endsLine)
: base (CallConstructor ("TypeScript", "CommentToken", @tokenID, @value, @isBlock, @startPos, @line, @endsLine))
{
}
[TypeScriptBridge ("getText")]
public string GetText ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getText"));
}
[TypeScriptBridge ("classification")]
public TypeScriptServiceBridge.TypeScript.TokenClass Classification ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.TokenClass> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("classification"));
}
}
public class RegularExpressionLiteralToken : Token
{
public RegularExpressionLiteralToken (ObjectInstance instance) : base (instance) {}
public RegularExpressionLiteralToken (System.Object @regex)
: base (CallConstructor ("TypeScript", "RegularExpressionLiteralToken", @regex))
{
}
[TypeScriptBridge ("getText")]
public string GetText ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getText"));
}
[TypeScriptBridge ("classification")]
public TypeScriptServiceBridge.TypeScript.TokenClass Classification ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.TokenClass> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("classification"));
}
}
public class ArrayCache : TypeScriptObject
{
public ArrayCache (ObjectInstance instance) : base (instance) {}
public ArrayCache ()
: base (CallConstructor ("TypeScript", "ArrayCache"))
{
}
[TypeScriptBridge ("arrayType")]
public TypeScriptServiceBridge.TypeScript.Type ArrayType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("arrayType")); }
set { Instance.SetPropertyValue ("arrayType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("arrayBase")]
public TypeScriptServiceBridge.TypeScript.Type ArrayBase {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("arrayBase")); }
set { Instance.SetPropertyValue ("arrayBase", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_arrayType")]
public TypeScriptServiceBridge.TypeScript.Type Get_arrayType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_arrayType"));
}
[TypeScriptBridge ("set_arrayType")]
public void Set_arrayType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_arrayType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_arrayBase")]
public TypeScriptServiceBridge.TypeScript.Type Get_arrayBase ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_arrayBase"));
}
[TypeScriptBridge ("set_arrayBase")]
public void Set_arrayBase (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_arrayBase", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("specialize")]
public TypeScriptServiceBridge.TypeScript.Type Specialize (TypeScriptServiceBridge.TypeScript.Type @arrInstType, TypeScriptServiceBridge.TypeScript.TypeChecker @checker)
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("specialize", @arrInstType != null ? @arrInstType.Instance : null, @checker != null ? @checker.Instance : null));
}
}
public class TypeComparisonInfo : TypeScriptObject
{
public TypeComparisonInfo (ObjectInstance instance) : base (instance) {}
public TypeComparisonInfo ()
: base (CallConstructor ("TypeScript", "TypeComparisonInfo"))
{
}
[TypeScriptBridge ("onlyCaptureFirstError")]
public bool OnlyCaptureFirstError {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("onlyCaptureFirstError")); }
set { Instance.SetPropertyValue ("onlyCaptureFirstError", value, true); }
}
[TypeScriptBridge ("flags")]
public TypeScriptServiceBridge.TypeScript.TypeRelationshipFlags Flags {
get { return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.TypeRelationshipFlags> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("flags")); }
set { Instance.SetPropertyValue ("flags", value, true); }
}
[TypeScriptBridge ("message")]
public string Message {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("message")); }
set { Instance.SetPropertyValue ("message", value, true); }
}
[TypeScriptBridge ("get_onlyCaptureFirstError")]
public bool Get_onlyCaptureFirstError ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_onlyCaptureFirstError"));
}
[TypeScriptBridge ("set_onlyCaptureFirstError")]
public void Set_onlyCaptureFirstError (bool @value)
{
Instance.CallMemberFunction ("set_onlyCaptureFirstError", @value);
}
[TypeScriptBridge ("get_flags")]
public TypeScriptServiceBridge.TypeScript.TypeRelationshipFlags Get_flags ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.TypeRelationshipFlags> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_flags"));
}
[TypeScriptBridge ("set_flags")]
public void Set_flags (TypeScriptServiceBridge.TypeScript.TypeRelationshipFlags @value)
{
Instance.CallMemberFunction ("set_flags", @value);
}
[TypeScriptBridge ("get_message")]
public string Get_message ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_message"));
}
[TypeScriptBridge ("set_message")]
public void Set_message (string @value)
{
Instance.CallMemberFunction ("set_message", @value);
}
[TypeScriptBridge ("addMessageToFront")]
public void AddMessageToFront (System.Object @message)
{
Instance.CallMemberFunction ("addMessageToFront", @message);
}
[TypeScriptBridge ("setMessage")]
public void SetMessage (System.Object @message)
{
Instance.CallMemberFunction ("setMessage", @message);
}
}
public interface SignatureData : ITypeScriptObject
{
[TypeScriptBridge ("parameters")]
ArrayInstance Parameters { get; set; }
[TypeScriptBridge ("nonOptionalParameterCount")]
double NonOptionalParameterCount { get; set; }
[TypeScriptBridge ("get_parameters")]
ArrayInstance Get_parameters ();
[TypeScriptBridge ("set_parameters")]
void Set_parameters (ArrayInstance @value);
[TypeScriptBridge ("get_nonOptionalParameterCount")]
double Get_nonOptionalParameterCount ();
[TypeScriptBridge ("set_nonOptionalParameterCount")]
void Set_nonOptionalParameterCount (double @value);
}
public class SignatureData_Impl : TypeScriptObject, SignatureData
{
public SignatureData_Impl (ObjectInstance instance) : base (instance) {}
[TypeScriptBridge ("parameters")]
public ArrayInstance Parameters {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("parameters")); }
set { Instance.SetPropertyValue ("parameters", value, true); }
}
[TypeScriptBridge ("nonOptionalParameterCount")]
public double NonOptionalParameterCount {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("nonOptionalParameterCount")); }
set { Instance.SetPropertyValue ("nonOptionalParameterCount", value, true); }
}
[TypeScriptBridge ("get_parameters")]
public ArrayInstance Get_parameters ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_parameters"));
}
[TypeScriptBridge ("set_parameters")]
public void Set_parameters (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_parameters", @value);
}
[TypeScriptBridge ("get_nonOptionalParameterCount")]
public double Get_nonOptionalParameterCount ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_nonOptionalParameterCount"));
}
[TypeScriptBridge ("set_nonOptionalParameterCount")]
public void Set_nonOptionalParameterCount (double @value)
{
Instance.CallMemberFunction ("set_nonOptionalParameterCount", @value);
}
}
public interface ApplicableSignature : ITypeScriptObject
{
[TypeScriptBridge ("signature")]
TypeScriptServiceBridge.TypeScript.Signature Signature { get; set; }
[TypeScriptBridge ("hadProvisionalErrors")]
bool HadProvisionalErrors { get; set; }
[TypeScriptBridge ("get_signature")]
TypeScriptServiceBridge.TypeScript.Signature Get_signature ();
[TypeScriptBridge ("set_signature")]
void Set_signature (TypeScriptServiceBridge.TypeScript.Signature @value);
[TypeScriptBridge ("get_hadProvisionalErrors")]
bool Get_hadProvisionalErrors ();
[TypeScriptBridge ("set_hadProvisionalErrors")]
void Set_hadProvisionalErrors (bool @value);
}
public class ApplicableSignature_Impl : TypeScriptObject, ApplicableSignature
{
public ApplicableSignature_Impl (ObjectInstance instance) : base (instance) {}
[TypeScriptBridge ("signature")]
public TypeScriptServiceBridge.TypeScript.Signature Signature {
get { return new TypeScriptServiceBridge.TypeScript.Signature ((ObjectInstance) Instance.GetPropertyValue ("signature")); }
set { Instance.SetPropertyValue ("signature", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("hadProvisionalErrors")]
public bool HadProvisionalErrors {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("hadProvisionalErrors")); }
set { Instance.SetPropertyValue ("hadProvisionalErrors", value, true); }
}
[TypeScriptBridge ("get_signature")]
public TypeScriptServiceBridge.TypeScript.Signature Get_signature ()
{
return new TypeScriptServiceBridge.TypeScript.Signature ((ObjectInstance) Instance.CallMemberFunction ("get_signature"));
}
[TypeScriptBridge ("set_signature")]
public void Set_signature (TypeScriptServiceBridge.TypeScript.Signature @value)
{
Instance.CallMemberFunction ("set_signature", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_hadProvisionalErrors")]
public bool Get_hadProvisionalErrors ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_hadProvisionalErrors"));
}
[TypeScriptBridge ("set_hadProvisionalErrors")]
public void Set_hadProvisionalErrors (bool @value)
{
Instance.CallMemberFunction ("set_hadProvisionalErrors", @value);
}
}
public enum TypeCheckCollectionMode
{
Resident = 0,
Transient = 1,
}
public class PersistentGlobalTypeState : TypeScriptObject
{
public PersistentGlobalTypeState (ObjectInstance instance) : base (instance) {}
public PersistentGlobalTypeState (TypeScriptServiceBridge.TypeScript.ErrorReporter @errorReporter)
: base (CallConstructor ("TypeScript", "PersistentGlobalTypeState", @errorReporter != null ? @errorReporter.Instance : null))
{
}
[TypeScriptBridge ("errorReporter")]
public TypeScriptServiceBridge.TypeScript.ErrorReporter ErrorReporter {
get { return new TypeScriptServiceBridge.TypeScript.ErrorReporter ((ObjectInstance) Instance.GetPropertyValue ("errorReporter")); }
set { Instance.SetPropertyValue ("errorReporter", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("importedGlobalsTable")]
public TypeScriptServiceBridge.TypeScript.ScopedMembers ImportedGlobalsTable {
get { return new TypeScriptServiceBridge.TypeScript.ScopedMembers ((ObjectInstance) Instance.GetPropertyValue ("importedGlobalsTable")); }
set { Instance.SetPropertyValue ("importedGlobalsTable", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("importedGlobalsTypeTable")]
public TypeScriptServiceBridge.TypeScript.ScopedMembers ImportedGlobalsTypeTable {
get { return new TypeScriptServiceBridge.TypeScript.ScopedMembers ((ObjectInstance) Instance.GetPropertyValue ("importedGlobalsTypeTable")); }
set { Instance.SetPropertyValue ("importedGlobalsTypeTable", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("importedGlobals")]
public TypeScriptServiceBridge.TypeScript.SymbolScopeBuilder ImportedGlobals {
get { return new TypeScriptServiceBridge.TypeScript.SymbolScopeBuilder ((ObjectInstance) Instance.GetPropertyValue ("importedGlobals")); }
set { Instance.SetPropertyValue ("importedGlobals", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("globals")]
public TypeScriptServiceBridge.TypeScript.IHashTable Globals {
get { return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.GetPropertyValue ("globals")); }
set { Instance.SetPropertyValue ("globals", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("globalTypes")]
public TypeScriptServiceBridge.TypeScript.IHashTable GlobalTypes {
get { return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.GetPropertyValue ("globalTypes")); }
set { Instance.SetPropertyValue ("globalTypes", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("ambientGlobals")]
public TypeScriptServiceBridge.TypeScript.IHashTable AmbientGlobals {
get { return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.GetPropertyValue ("ambientGlobals")); }
set { Instance.SetPropertyValue ("ambientGlobals", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("ambientGlobalTypes")]
public TypeScriptServiceBridge.TypeScript.IHashTable AmbientGlobalTypes {
get { return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.GetPropertyValue ("ambientGlobalTypes")); }
set { Instance.SetPropertyValue ("ambientGlobalTypes", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("residentGlobalValues")]
public TypeScriptServiceBridge.TypeScript.StringHashTable ResidentGlobalValues {
get { return new TypeScriptServiceBridge.TypeScript.StringHashTable ((ObjectInstance) Instance.GetPropertyValue ("residentGlobalValues")); }
set { Instance.SetPropertyValue ("residentGlobalValues", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("residentGlobalTypes")]
public TypeScriptServiceBridge.TypeScript.StringHashTable ResidentGlobalTypes {
get { return new TypeScriptServiceBridge.TypeScript.StringHashTable ((ObjectInstance) Instance.GetPropertyValue ("residentGlobalTypes")); }
set { Instance.SetPropertyValue ("residentGlobalTypes", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("residentGlobalAmbientValues")]
public TypeScriptServiceBridge.TypeScript.StringHashTable ResidentGlobalAmbientValues {
get { return new TypeScriptServiceBridge.TypeScript.StringHashTable ((ObjectInstance) Instance.GetPropertyValue ("residentGlobalAmbientValues")); }
set { Instance.SetPropertyValue ("residentGlobalAmbientValues", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("residentGlobalAmbientTypes")]
public TypeScriptServiceBridge.TypeScript.StringHashTable ResidentGlobalAmbientTypes {
get { return new TypeScriptServiceBridge.TypeScript.StringHashTable ((ObjectInstance) Instance.GetPropertyValue ("residentGlobalAmbientTypes")); }
set { Instance.SetPropertyValue ("residentGlobalAmbientTypes", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("dualGlobalValues")]
public TypeScriptServiceBridge.TypeScript.DualStringHashTable DualGlobalValues {
get { return new TypeScriptServiceBridge.TypeScript.DualStringHashTable ((ObjectInstance) Instance.GetPropertyValue ("dualGlobalValues")); }
set { Instance.SetPropertyValue ("dualGlobalValues", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("dualGlobalTypes")]
public TypeScriptServiceBridge.TypeScript.DualStringHashTable DualGlobalTypes {
get { return new TypeScriptServiceBridge.TypeScript.DualStringHashTable ((ObjectInstance) Instance.GetPropertyValue ("dualGlobalTypes")); }
set { Instance.SetPropertyValue ("dualGlobalTypes", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("dualAmbientGlobalValues")]
public TypeScriptServiceBridge.TypeScript.DualStringHashTable DualAmbientGlobalValues {
get { return new TypeScriptServiceBridge.TypeScript.DualStringHashTable ((ObjectInstance) Instance.GetPropertyValue ("dualAmbientGlobalValues")); }
set { Instance.SetPropertyValue ("dualAmbientGlobalValues", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("dualAmbientGlobalTypes")]
public TypeScriptServiceBridge.TypeScript.DualStringHashTable DualAmbientGlobalTypes {
get { return new TypeScriptServiceBridge.TypeScript.DualStringHashTable ((ObjectInstance) Instance.GetPropertyValue ("dualAmbientGlobalTypes")); }
set { Instance.SetPropertyValue ("dualAmbientGlobalTypes", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("globalScope")]
public TypeScriptServiceBridge.TypeScript.SymbolScope GlobalScope {
get { return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.GetPropertyValue ("globalScope")); }
set { Instance.SetPropertyValue ("globalScope", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("voidType")]
public TypeScriptServiceBridge.TypeScript.Type VoidType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("voidType")); }
set { Instance.SetPropertyValue ("voidType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("booleanType")]
public TypeScriptServiceBridge.TypeScript.Type BooleanType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("booleanType")); }
set { Instance.SetPropertyValue ("booleanType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("doubleType")]
public TypeScriptServiceBridge.TypeScript.Type DoubleType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("doubleType")); }
set { Instance.SetPropertyValue ("doubleType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("stringType")]
public TypeScriptServiceBridge.TypeScript.Type StringType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("stringType")); }
set { Instance.SetPropertyValue ("stringType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("anyType")]
public TypeScriptServiceBridge.TypeScript.Type AnyType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("anyType")); }
set { Instance.SetPropertyValue ("anyType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("nullType")]
public TypeScriptServiceBridge.TypeScript.Type NullType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("nullType")); }
set { Instance.SetPropertyValue ("nullType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("undefinedType")]
public TypeScriptServiceBridge.TypeScript.Type UndefinedType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("undefinedType")); }
set { Instance.SetPropertyValue ("undefinedType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("residentTypeCheck")]
public bool ResidentTypeCheck {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("residentTypeCheck")); }
set { Instance.SetPropertyValue ("residentTypeCheck", value, true); }
}
[TypeScriptBridge ("mod")]
public TypeScriptServiceBridge.TypeScript.ModuleType Mod {
get { return new TypeScriptServiceBridge.TypeScript.ModuleType ((ObjectInstance) Instance.GetPropertyValue ("mod")); }
set { Instance.SetPropertyValue ("mod", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("gloMod")]
public TypeScriptServiceBridge.TypeScript.TypeSymbol GloMod {
get { return new TypeScriptServiceBridge.TypeScript.TypeSymbol ((ObjectInstance) Instance.GetPropertyValue ("gloMod")); }
set { Instance.SetPropertyValue ("gloMod", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("wildElm")]
public TypeScriptServiceBridge.TypeScript.TypeSymbol WildElm {
get { return new TypeScriptServiceBridge.TypeScript.TypeSymbol ((ObjectInstance) Instance.GetPropertyValue ("wildElm")); }
set { Instance.SetPropertyValue ("wildElm", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_errorReporter")]
public TypeScriptServiceBridge.TypeScript.ErrorReporter Get_errorReporter ()
{
return new TypeScriptServiceBridge.TypeScript.ErrorReporter ((ObjectInstance) Instance.CallMemberFunction ("get_errorReporter"));
}
[TypeScriptBridge ("set_errorReporter")]
public void Set_errorReporter (TypeScriptServiceBridge.TypeScript.ErrorReporter @value)
{
Instance.CallMemberFunction ("set_errorReporter", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_importedGlobalsTable")]
public TypeScriptServiceBridge.TypeScript.ScopedMembers Get_importedGlobalsTable ()
{
return new TypeScriptServiceBridge.TypeScript.ScopedMembers ((ObjectInstance) Instance.CallMemberFunction ("get_importedGlobalsTable"));
}
[TypeScriptBridge ("set_importedGlobalsTable")]
public void Set_importedGlobalsTable (TypeScriptServiceBridge.TypeScript.ScopedMembers @value)
{
Instance.CallMemberFunction ("set_importedGlobalsTable", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_importedGlobalsTypeTable")]
public TypeScriptServiceBridge.TypeScript.ScopedMembers Get_importedGlobalsTypeTable ()
{
return new TypeScriptServiceBridge.TypeScript.ScopedMembers ((ObjectInstance) Instance.CallMemberFunction ("get_importedGlobalsTypeTable"));
}
[TypeScriptBridge ("set_importedGlobalsTypeTable")]
public void Set_importedGlobalsTypeTable (TypeScriptServiceBridge.TypeScript.ScopedMembers @value)
{
Instance.CallMemberFunction ("set_importedGlobalsTypeTable", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_importedGlobals")]
public TypeScriptServiceBridge.TypeScript.SymbolScopeBuilder Get_importedGlobals ()
{
return new TypeScriptServiceBridge.TypeScript.SymbolScopeBuilder ((ObjectInstance) Instance.CallMemberFunction ("get_importedGlobals"));
}
[TypeScriptBridge ("set_importedGlobals")]
public void Set_importedGlobals (TypeScriptServiceBridge.TypeScript.SymbolScopeBuilder @value)
{
Instance.CallMemberFunction ("set_importedGlobals", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_globals")]
public TypeScriptServiceBridge.TypeScript.IHashTable Get_globals ()
{
return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_globals"));
}
[TypeScriptBridge ("set_globals")]
public void Set_globals (TypeScriptServiceBridge.TypeScript.IHashTable @value)
{
Instance.CallMemberFunction ("set_globals", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_globalTypes")]
public TypeScriptServiceBridge.TypeScript.IHashTable Get_globalTypes ()
{
return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_globalTypes"));
}
[TypeScriptBridge ("set_globalTypes")]
public void Set_globalTypes (TypeScriptServiceBridge.TypeScript.IHashTable @value)
{
Instance.CallMemberFunction ("set_globalTypes", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_ambientGlobals")]
public TypeScriptServiceBridge.TypeScript.IHashTable Get_ambientGlobals ()
{
return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_ambientGlobals"));
}
[TypeScriptBridge ("set_ambientGlobals")]
public void Set_ambientGlobals (TypeScriptServiceBridge.TypeScript.IHashTable @value)
{
Instance.CallMemberFunction ("set_ambientGlobals", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_ambientGlobalTypes")]
public TypeScriptServiceBridge.TypeScript.IHashTable Get_ambientGlobalTypes ()
{
return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_ambientGlobalTypes"));
}
[TypeScriptBridge ("set_ambientGlobalTypes")]
public void Set_ambientGlobalTypes (TypeScriptServiceBridge.TypeScript.IHashTable @value)
{
Instance.CallMemberFunction ("set_ambientGlobalTypes", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_residentGlobalValues")]
public TypeScriptServiceBridge.TypeScript.StringHashTable Get_residentGlobalValues ()
{
return new TypeScriptServiceBridge.TypeScript.StringHashTable ((ObjectInstance) Instance.CallMemberFunction ("get_residentGlobalValues"));
}
[TypeScriptBridge ("set_residentGlobalValues")]
public void Set_residentGlobalValues (TypeScriptServiceBridge.TypeScript.StringHashTable @value)
{
Instance.CallMemberFunction ("set_residentGlobalValues", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_residentGlobalTypes")]
public TypeScriptServiceBridge.TypeScript.StringHashTable Get_residentGlobalTypes ()
{
return new TypeScriptServiceBridge.TypeScript.StringHashTable ((ObjectInstance) Instance.CallMemberFunction ("get_residentGlobalTypes"));
}
[TypeScriptBridge ("set_residentGlobalTypes")]
public void Set_residentGlobalTypes (TypeScriptServiceBridge.TypeScript.StringHashTable @value)
{
Instance.CallMemberFunction ("set_residentGlobalTypes", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_residentGlobalAmbientValues")]
public TypeScriptServiceBridge.TypeScript.StringHashTable Get_residentGlobalAmbientValues ()
{
return new TypeScriptServiceBridge.TypeScript.StringHashTable ((ObjectInstance) Instance.CallMemberFunction ("get_residentGlobalAmbientValues"));
}
[TypeScriptBridge ("set_residentGlobalAmbientValues")]
public void Set_residentGlobalAmbientValues (TypeScriptServiceBridge.TypeScript.StringHashTable @value)
{
Instance.CallMemberFunction ("set_residentGlobalAmbientValues", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_residentGlobalAmbientTypes")]
public TypeScriptServiceBridge.TypeScript.StringHashTable Get_residentGlobalAmbientTypes ()
{
return new TypeScriptServiceBridge.TypeScript.StringHashTable ((ObjectInstance) Instance.CallMemberFunction ("get_residentGlobalAmbientTypes"));
}
[TypeScriptBridge ("set_residentGlobalAmbientTypes")]
public void Set_residentGlobalAmbientTypes (TypeScriptServiceBridge.TypeScript.StringHashTable @value)
{
Instance.CallMemberFunction ("set_residentGlobalAmbientTypes", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_dualGlobalValues")]
public TypeScriptServiceBridge.TypeScript.DualStringHashTable Get_dualGlobalValues ()
{
return new TypeScriptServiceBridge.TypeScript.DualStringHashTable ((ObjectInstance) Instance.CallMemberFunction ("get_dualGlobalValues"));
}
[TypeScriptBridge ("set_dualGlobalValues")]
public void Set_dualGlobalValues (TypeScriptServiceBridge.TypeScript.DualStringHashTable @value)
{
Instance.CallMemberFunction ("set_dualGlobalValues", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_dualGlobalTypes")]
public TypeScriptServiceBridge.TypeScript.DualStringHashTable Get_dualGlobalTypes ()
{
return new TypeScriptServiceBridge.TypeScript.DualStringHashTable ((ObjectInstance) Instance.CallMemberFunction ("get_dualGlobalTypes"));
}
[TypeScriptBridge ("set_dualGlobalTypes")]
public void Set_dualGlobalTypes (TypeScriptServiceBridge.TypeScript.DualStringHashTable @value)
{
Instance.CallMemberFunction ("set_dualGlobalTypes", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_dualAmbientGlobalValues")]
public TypeScriptServiceBridge.TypeScript.DualStringHashTable Get_dualAmbientGlobalValues ()
{
return new TypeScriptServiceBridge.TypeScript.DualStringHashTable ((ObjectInstance) Instance.CallMemberFunction ("get_dualAmbientGlobalValues"));
}
[TypeScriptBridge ("set_dualAmbientGlobalValues")]
public void Set_dualAmbientGlobalValues (TypeScriptServiceBridge.TypeScript.DualStringHashTable @value)
{
Instance.CallMemberFunction ("set_dualAmbientGlobalValues", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_dualAmbientGlobalTypes")]
public TypeScriptServiceBridge.TypeScript.DualStringHashTable Get_dualAmbientGlobalTypes ()
{
return new TypeScriptServiceBridge.TypeScript.DualStringHashTable ((ObjectInstance) Instance.CallMemberFunction ("get_dualAmbientGlobalTypes"));
}
[TypeScriptBridge ("set_dualAmbientGlobalTypes")]
public void Set_dualAmbientGlobalTypes (TypeScriptServiceBridge.TypeScript.DualStringHashTable @value)
{
Instance.CallMemberFunction ("set_dualAmbientGlobalTypes", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_globalScope")]
public TypeScriptServiceBridge.TypeScript.SymbolScope Get_globalScope ()
{
return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.CallMemberFunction ("get_globalScope"));
}
[TypeScriptBridge ("set_globalScope")]
public void Set_globalScope (TypeScriptServiceBridge.TypeScript.SymbolScope @value)
{
Instance.CallMemberFunction ("set_globalScope", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_voidType")]
public TypeScriptServiceBridge.TypeScript.Type Get_voidType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_voidType"));
}
[TypeScriptBridge ("set_voidType")]
public void Set_voidType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_voidType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_booleanType")]
public TypeScriptServiceBridge.TypeScript.Type Get_booleanType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_booleanType"));
}
[TypeScriptBridge ("set_booleanType")]
public void Set_booleanType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_booleanType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_doubleType")]
public TypeScriptServiceBridge.TypeScript.Type Get_doubleType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_doubleType"));
}
[TypeScriptBridge ("set_doubleType")]
public void Set_doubleType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_doubleType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_stringType")]
public TypeScriptServiceBridge.TypeScript.Type Get_stringType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_stringType"));
}
[TypeScriptBridge ("set_stringType")]
public void Set_stringType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_stringType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_anyType")]
public TypeScriptServiceBridge.TypeScript.Type Get_anyType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_anyType"));
}
[TypeScriptBridge ("set_anyType")]
public void Set_anyType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_anyType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_nullType")]
public TypeScriptServiceBridge.TypeScript.Type Get_nullType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_nullType"));
}
[TypeScriptBridge ("set_nullType")]
public void Set_nullType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_nullType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_undefinedType")]
public TypeScriptServiceBridge.TypeScript.Type Get_undefinedType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_undefinedType"));
}
[TypeScriptBridge ("set_undefinedType")]
public void Set_undefinedType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_undefinedType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_residentTypeCheck")]
public bool Get_residentTypeCheck ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_residentTypeCheck"));
}
[TypeScriptBridge ("set_residentTypeCheck")]
public void Set_residentTypeCheck (bool @value)
{
Instance.CallMemberFunction ("set_residentTypeCheck", @value);
}
[TypeScriptBridge ("get_mod")]
public TypeScriptServiceBridge.TypeScript.ModuleType Get_mod ()
{
return new TypeScriptServiceBridge.TypeScript.ModuleType ((ObjectInstance) Instance.CallMemberFunction ("get_mod"));
}
[TypeScriptBridge ("set_mod")]
public void Set_mod (TypeScriptServiceBridge.TypeScript.ModuleType @value)
{
Instance.CallMemberFunction ("set_mod", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_gloMod")]
public TypeScriptServiceBridge.TypeScript.TypeSymbol Get_gloMod ()
{
return new TypeScriptServiceBridge.TypeScript.TypeSymbol ((ObjectInstance) Instance.CallMemberFunction ("get_gloMod"));
}
[TypeScriptBridge ("set_gloMod")]
public void Set_gloMod (TypeScriptServiceBridge.TypeScript.TypeSymbol @value)
{
Instance.CallMemberFunction ("set_gloMod", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_wildElm")]
public TypeScriptServiceBridge.TypeScript.TypeSymbol Get_wildElm ()
{
return new TypeScriptServiceBridge.TypeScript.TypeSymbol ((ObjectInstance) Instance.CallMemberFunction ("get_wildElm"));
}
[TypeScriptBridge ("set_wildElm")]
public void Set_wildElm (TypeScriptServiceBridge.TypeScript.TypeSymbol @value)
{
Instance.CallMemberFunction ("set_wildElm", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("enterPrimitive")]
public TypeScriptServiceBridge.TypeScript.Type EnterPrimitive (double @flags, string @name)
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("enterPrimitive", @flags, @name));
}
[TypeScriptBridge ("setCollectionMode")]
public void SetCollectionMode (TypeScriptServiceBridge.TypeScript.TypeCheckCollectionMode @mode)
{
Instance.CallMemberFunction ("setCollectionMode", @mode);
}
[TypeScriptBridge ("refreshPersistentState")]
public void RefreshPersistentState ()
{
Instance.CallMemberFunction ("refreshPersistentState");
}
[TypeScriptBridge ("defineGlobalValue")]
public void DefineGlobalValue (string @name, TypeScriptServiceBridge.TypeScript.Type @type)
{
Instance.CallMemberFunction ("defineGlobalValue", @name, @type != null ? @type.Instance : null);
}
}
public class ContextualTypeContext : TypeScriptObject
{
public ContextualTypeContext (ObjectInstance instance) : base (instance) {}
public ContextualTypeContext (TypeScriptServiceBridge.TypeScript.Type @contextualType, bool @provisional, double @contextID)
: base (CallConstructor ("TypeScript", "ContextualTypeContext", @contextualType != null ? @contextualType.Instance : null, @provisional, @contextID))
{
}
[TypeScriptBridge ("contextualType")]
public TypeScriptServiceBridge.TypeScript.Type ContextualType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("contextualType")); }
set { Instance.SetPropertyValue ("contextualType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("provisional")]
public bool Provisional {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("provisional")); }
set { Instance.SetPropertyValue ("provisional", value, true); }
}
[TypeScriptBridge ("contextID")]
public double ContextID {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("contextID")); }
set { Instance.SetPropertyValue ("contextID", value, true); }
}
[TypeScriptBridge ("targetSig")]
public TypeScriptServiceBridge.TypeScript.Signature TargetSig {
get { return new TypeScriptServiceBridge.TypeScript.Signature ((ObjectInstance) Instance.GetPropertyValue ("targetSig")); }
set { Instance.SetPropertyValue ("targetSig", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("targetThis")]
public TypeScriptServiceBridge.TypeScript.Type TargetThis {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("targetThis")); }
set { Instance.SetPropertyValue ("targetThis", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("targetAccessorType")]
public TypeScriptServiceBridge.TypeScript.Type TargetAccessorType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("targetAccessorType")); }
set { Instance.SetPropertyValue ("targetAccessorType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_contextualType")]
public TypeScriptServiceBridge.TypeScript.Type Get_contextualType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_contextualType"));
}
[TypeScriptBridge ("set_contextualType")]
public void Set_contextualType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_contextualType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_provisional")]
public bool Get_provisional ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_provisional"));
}
[TypeScriptBridge ("set_provisional")]
public void Set_provisional (bool @value)
{
Instance.CallMemberFunction ("set_provisional", @value);
}
[TypeScriptBridge ("get_contextID")]
public double Get_contextID ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_contextID"));
}
[TypeScriptBridge ("set_contextID")]
public void Set_contextID (double @value)
{
Instance.CallMemberFunction ("set_contextID", @value);
}
[TypeScriptBridge ("get_targetSig")]
public TypeScriptServiceBridge.TypeScript.Signature Get_targetSig ()
{
return new TypeScriptServiceBridge.TypeScript.Signature ((ObjectInstance) Instance.CallMemberFunction ("get_targetSig"));
}
[TypeScriptBridge ("set_targetSig")]
public void Set_targetSig (TypeScriptServiceBridge.TypeScript.Signature @value)
{
Instance.CallMemberFunction ("set_targetSig", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_targetThis")]
public TypeScriptServiceBridge.TypeScript.Type Get_targetThis ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_targetThis"));
}
[TypeScriptBridge ("set_targetThis")]
public void Set_targetThis (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_targetThis", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_targetAccessorType")]
public TypeScriptServiceBridge.TypeScript.Type Get_targetAccessorType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_targetAccessorType"));
}
[TypeScriptBridge ("set_targetAccessorType")]
public void Set_targetAccessorType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_targetAccessorType", @value != null ? @value.Instance : null);
}
}
public class ContextualTypingContextStack : TypeScriptObject
{
public ContextualTypingContextStack (ObjectInstance instance) : base (instance) {}
public ContextualTypingContextStack (TypeScriptServiceBridge.TypeScript.TypeChecker @checker)
: base (CallConstructor ("TypeScript", "ContextualTypingContextStack", @checker != null ? @checker.Instance : null))
{
}
[TypeScriptBridge ("checker")]
public TypeScriptServiceBridge.TypeScript.TypeChecker Checker {
get { return new TypeScriptServiceBridge.TypeScript.TypeChecker ((ObjectInstance) Instance.GetPropertyValue ("checker")); }
set { Instance.SetPropertyValue ("checker", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("contextID")]
public double ContextID {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("contextID")); }
set { Instance.SetPropertyValue ("contextID", value, true); }
}
[TypeScriptBridge ("hadProvisionalErrors")]
public bool HadProvisionalErrors {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("hadProvisionalErrors")); }
set { Instance.SetPropertyValue ("hadProvisionalErrors", value, true); }
}
[TypeScriptBridge ("get_checker")]
public TypeScriptServiceBridge.TypeScript.TypeChecker Get_checker ()
{
return new TypeScriptServiceBridge.TypeScript.TypeChecker ((ObjectInstance) Instance.CallMemberFunction ("get_checker"));
}
[TypeScriptBridge ("set_checker")]
public void Set_checker (TypeScriptServiceBridge.TypeScript.TypeChecker @value)
{
Instance.CallMemberFunction ("set_checker", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_contextID")]
public double Get_contextID ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_contextID"));
}
[TypeScriptBridge ("set_contextID")]
public void Set_contextID (double @value)
{
Instance.CallMemberFunction ("set_contextID", @value);
}
[TypeScriptBridge ("pushContextualType")]
public void PushContextualType (TypeScriptServiceBridge.TypeScript.Type @type, bool @provisional)
{
Instance.CallMemberFunction ("pushContextualType", @type != null ? @type.Instance : null, @provisional);
}
[TypeScriptBridge ("get_hadProvisionalErrors")]
public bool Get_hadProvisionalErrors ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_hadProvisionalErrors"));
}
[TypeScriptBridge ("set_hadProvisionalErrors")]
public void Set_hadProvisionalErrors (bool @value)
{
Instance.CallMemberFunction ("set_hadProvisionalErrors", @value);
}
[TypeScriptBridge ("popContextualType")]
public TypeScriptServiceBridge.TypeScript.ContextualTypeContext PopContextualType ()
{
return new TypeScriptServiceBridge.TypeScript.ContextualTypeContext ((ObjectInstance) Instance.CallMemberFunction ("popContextualType"));
}
[TypeScriptBridge ("getContextualType")]
public TypeScriptServiceBridge.TypeScript.ContextualTypeContext GetContextualType ()
{
return new TypeScriptServiceBridge.TypeScript.ContextualTypeContext ((ObjectInstance) Instance.CallMemberFunction ("getContextualType"));
}
[TypeScriptBridge ("getContextID")]
public double GetContextID ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getContextID"));
}
[TypeScriptBridge ("isProvisional")]
public bool IsProvisional ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isProvisional"));
}
}
public class TypeChecker : TypeScriptObject
{
public TypeChecker (ObjectInstance instance) : base (instance) {}
public TypeChecker (TypeScriptServiceBridge.TypeScript.PersistentGlobalTypeState @persistentState)
: base (CallConstructor ("TypeScript", "TypeChecker", @persistentState != null ? @persistentState.Instance : null))
{
}
[TypeScriptBridge ("persistentState")]
public TypeScriptServiceBridge.TypeScript.PersistentGlobalTypeState PersistentState {
get { return new TypeScriptServiceBridge.TypeScript.PersistentGlobalTypeState ((ObjectInstance) Instance.GetPropertyValue ("persistentState")); }
set { Instance.SetPropertyValue ("persistentState", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("errorReporter")]
public TypeScriptServiceBridge.TypeScript.ErrorReporter ErrorReporter {
get { return new TypeScriptServiceBridge.TypeScript.ErrorReporter ((ObjectInstance) Instance.GetPropertyValue ("errorReporter")); }
set { Instance.SetPropertyValue ("errorReporter", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("globalScope")]
public TypeScriptServiceBridge.TypeScript.SymbolScope GlobalScope {
get { return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.GetPropertyValue ("globalScope")); }
set { Instance.SetPropertyValue ("globalScope", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("checkControlFlow")]
public bool CheckControlFlow {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("checkControlFlow")); }
set { Instance.SetPropertyValue ("checkControlFlow", value, true); }
}
[TypeScriptBridge ("printControlFlowGraph")]
public bool PrintControlFlowGraph {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("printControlFlowGraph")); }
set { Instance.SetPropertyValue ("printControlFlowGraph", value, true); }
}
[TypeScriptBridge ("checkControlFlowUseDef")]
public bool CheckControlFlowUseDef {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("checkControlFlowUseDef")); }
set { Instance.SetPropertyValue ("checkControlFlowUseDef", value, true); }
}
[TypeScriptBridge ("styleSettings")]
public TypeScriptServiceBridge.TypeScript.StyleSettings StyleSettings {
get { return new TypeScriptServiceBridge.TypeScript.StyleSettings ((ObjectInstance) Instance.GetPropertyValue ("styleSettings")); }
set { Instance.SetPropertyValue ("styleSettings", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("units")]
public ArrayInstance Units {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("units")); }
set { Instance.SetPropertyValue ("units", value, true); }
}
[TypeScriptBridge ("voidType")]
public TypeScriptServiceBridge.TypeScript.Type VoidType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("voidType")); }
set { Instance.SetPropertyValue ("voidType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("booleanType")]
public TypeScriptServiceBridge.TypeScript.Type BooleanType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("booleanType")); }
set { Instance.SetPropertyValue ("booleanType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("doubleType")]
public TypeScriptServiceBridge.TypeScript.Type DoubleType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("doubleType")); }
set { Instance.SetPropertyValue ("doubleType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("stringType")]
public TypeScriptServiceBridge.TypeScript.Type StringType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("stringType")); }
set { Instance.SetPropertyValue ("stringType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("anyType")]
public TypeScriptServiceBridge.TypeScript.Type AnyType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("anyType")); }
set { Instance.SetPropertyValue ("anyType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("nullType")]
public TypeScriptServiceBridge.TypeScript.Type NullType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("nullType")); }
set { Instance.SetPropertyValue ("nullType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("undefinedType")]
public TypeScriptServiceBridge.TypeScript.Type UndefinedType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("undefinedType")); }
set { Instance.SetPropertyValue ("undefinedType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("anon")]
public string Anon {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("anon")); }
set { Instance.SetPropertyValue ("anon", value, true); }
}
[TypeScriptBridge ("globals")]
public TypeScriptServiceBridge.TypeScript.DualStringHashTable Globals {
get { return new TypeScriptServiceBridge.TypeScript.DualStringHashTable ((ObjectInstance) Instance.GetPropertyValue ("globals")); }
set { Instance.SetPropertyValue ("globals", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("globalTypes")]
public TypeScriptServiceBridge.TypeScript.DualStringHashTable GlobalTypes {
get { return new TypeScriptServiceBridge.TypeScript.DualStringHashTable ((ObjectInstance) Instance.GetPropertyValue ("globalTypes")); }
set { Instance.SetPropertyValue ("globalTypes", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("ambientGlobals")]
public TypeScriptServiceBridge.TypeScript.DualStringHashTable AmbientGlobals {
get { return new TypeScriptServiceBridge.TypeScript.DualStringHashTable ((ObjectInstance) Instance.GetPropertyValue ("ambientGlobals")); }
set { Instance.SetPropertyValue ("ambientGlobals", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("ambientGlobalTypes")]
public TypeScriptServiceBridge.TypeScript.DualStringHashTable AmbientGlobalTypes {
get { return new TypeScriptServiceBridge.TypeScript.DualStringHashTable ((ObjectInstance) Instance.GetPropertyValue ("ambientGlobalTypes")); }
set { Instance.SetPropertyValue ("ambientGlobalTypes", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("gloModType")]
public TypeScriptServiceBridge.TypeScript.ModuleType GloModType {
get { return new TypeScriptServiceBridge.TypeScript.ModuleType ((ObjectInstance) Instance.GetPropertyValue ("gloModType")); }
set { Instance.SetPropertyValue ("gloModType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("gloMod")]
public TypeScriptServiceBridge.TypeScript.TypeSymbol GloMod {
get { return new TypeScriptServiceBridge.TypeScript.TypeSymbol ((ObjectInstance) Instance.GetPropertyValue ("gloMod")); }
set { Instance.SetPropertyValue ("gloMod", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("wildElm")]
public TypeScriptServiceBridge.TypeScript.TypeSymbol WildElm {
get { return new TypeScriptServiceBridge.TypeScript.TypeSymbol ((ObjectInstance) Instance.GetPropertyValue ("wildElm")); }
set { Instance.SetPropertyValue ("wildElm", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("locationInfo")]
public TypeScriptServiceBridge.TypeScript.LocationInfo LocationInfo {
get { return new TypeScriptServiceBridge.TypeScript.LocationInfo ((ObjectInstance) Instance.GetPropertyValue ("locationInfo")); }
set { Instance.SetPropertyValue ("locationInfo", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("typeFlow")]
public TypeScriptServiceBridge.TypeScript.TypeFlow TypeFlow {
get { return new TypeScriptServiceBridge.TypeScript.TypeFlow ((ObjectInstance) Instance.GetPropertyValue ("typeFlow")); }
set { Instance.SetPropertyValue ("typeFlow", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("currentCompareA")]
public TypeScriptServiceBridge.TypeScript.Symbol CurrentCompareA {
get { return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.GetPropertyValue ("currentCompareA")); }
set { Instance.SetPropertyValue ("currentCompareA", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("currentCompareB")]
public TypeScriptServiceBridge.TypeScript.Symbol CurrentCompareB {
get { return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.GetPropertyValue ("currentCompareB")); }
set { Instance.SetPropertyValue ("currentCompareB", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("currentModDecl")]
public TypeScriptServiceBridge.TypeScript.ModuleDeclaration CurrentModDecl {
get { return new TypeScriptServiceBridge.TypeScript.ModuleDeclaration ((ObjectInstance) Instance.GetPropertyValue ("currentModDecl")); }
set { Instance.SetPropertyValue ("currentModDecl", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("inBind")]
public bool InBind {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("inBind")); }
set { Instance.SetPropertyValue ("inBind", value, true); }
}
[TypeScriptBridge ("inWith")]
public bool InWith {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("inWith")); }
set { Instance.SetPropertyValue ("inWith", value, true); }
}
[TypeScriptBridge ("errorsOnWith")]
public bool ErrorsOnWith {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("errorsOnWith")); }
set { Instance.SetPropertyValue ("errorsOnWith", value, true); }
}
[TypeScriptBridge ("typingContextStack")]
public TypeScriptServiceBridge.TypeScript.ContextualTypingContextStack TypingContextStack {
get { return new TypeScriptServiceBridge.TypeScript.ContextualTypingContextStack ((ObjectInstance) Instance.GetPropertyValue ("typingContextStack")); }
set { Instance.SetPropertyValue ("typingContextStack", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("currentContextualTypeContext")]
public TypeScriptServiceBridge.TypeScript.ContextualTypeContext CurrentContextualTypeContext {
get { return new TypeScriptServiceBridge.TypeScript.ContextualTypeContext ((ObjectInstance) Instance.GetPropertyValue ("currentContextualTypeContext")); }
set { Instance.SetPropertyValue ("currentContextualTypeContext", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("resolvingBases")]
public bool ResolvingBases {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("resolvingBases")); }
set { Instance.SetPropertyValue ("resolvingBases", value, true); }
}
[TypeScriptBridge ("canCallDefinitionSignature")]
public bool CanCallDefinitionSignature {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("canCallDefinitionSignature")); }
set { Instance.SetPropertyValue ("canCallDefinitionSignature", value, true); }
}
[TypeScriptBridge ("assignableCache")]
public ArrayInstance AssignableCache {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("assignableCache")); }
set { Instance.SetPropertyValue ("assignableCache", value, true); }
}
[TypeScriptBridge ("subtypeCache")]
public ArrayInstance SubtypeCache {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("subtypeCache")); }
set { Instance.SetPropertyValue ("subtypeCache", value, true); }
}
[TypeScriptBridge ("identicalCache")]
public ArrayInstance IdenticalCache {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("identicalCache")); }
set { Instance.SetPropertyValue ("identicalCache", value, true); }
}
[TypeScriptBridge ("provisionalStartedTypecheckObjects")]
public ArrayInstance ProvisionalStartedTypecheckObjects {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("provisionalStartedTypecheckObjects")); }
set { Instance.SetPropertyValue ("provisionalStartedTypecheckObjects", value, true); }
}
[TypeScriptBridge ("mustCaptureGlobalThis")]
public bool MustCaptureGlobalThis {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("mustCaptureGlobalThis")); }
set { Instance.SetPropertyValue ("mustCaptureGlobalThis", value, true); }
}
[TypeScriptBridge ("get_persistentState")]
public TypeScriptServiceBridge.TypeScript.PersistentGlobalTypeState Get_persistentState ()
{
return new TypeScriptServiceBridge.TypeScript.PersistentGlobalTypeState ((ObjectInstance) Instance.CallMemberFunction ("get_persistentState"));
}
[TypeScriptBridge ("set_persistentState")]
public void Set_persistentState (TypeScriptServiceBridge.TypeScript.PersistentGlobalTypeState @value)
{
Instance.CallMemberFunction ("set_persistentState", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_errorReporter")]
public TypeScriptServiceBridge.TypeScript.ErrorReporter Get_errorReporter ()
{
return new TypeScriptServiceBridge.TypeScript.ErrorReporter ((ObjectInstance) Instance.CallMemberFunction ("get_errorReporter"));
}
[TypeScriptBridge ("set_errorReporter")]
public void Set_errorReporter (TypeScriptServiceBridge.TypeScript.ErrorReporter @value)
{
Instance.CallMemberFunction ("set_errorReporter", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_globalScope")]
public TypeScriptServiceBridge.TypeScript.SymbolScope Get_globalScope ()
{
return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.CallMemberFunction ("get_globalScope"));
}
[TypeScriptBridge ("set_globalScope")]
public void Set_globalScope (TypeScriptServiceBridge.TypeScript.SymbolScope @value)
{
Instance.CallMemberFunction ("set_globalScope", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_checkControlFlow")]
public bool Get_checkControlFlow ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_checkControlFlow"));
}
[TypeScriptBridge ("set_checkControlFlow")]
public void Set_checkControlFlow (bool @value)
{
Instance.CallMemberFunction ("set_checkControlFlow", @value);
}
[TypeScriptBridge ("get_printControlFlowGraph")]
public bool Get_printControlFlowGraph ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_printControlFlowGraph"));
}
[TypeScriptBridge ("set_printControlFlowGraph")]
public void Set_printControlFlowGraph (bool @value)
{
Instance.CallMemberFunction ("set_printControlFlowGraph", @value);
}
[TypeScriptBridge ("get_checkControlFlowUseDef")]
public bool Get_checkControlFlowUseDef ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_checkControlFlowUseDef"));
}
[TypeScriptBridge ("set_checkControlFlowUseDef")]
public void Set_checkControlFlowUseDef (bool @value)
{
Instance.CallMemberFunction ("set_checkControlFlowUseDef", @value);
}
[TypeScriptBridge ("get_styleSettings")]
public TypeScriptServiceBridge.TypeScript.StyleSettings Get_styleSettings ()
{
return new TypeScriptServiceBridge.TypeScript.StyleSettings ((ObjectInstance) Instance.CallMemberFunction ("get_styleSettings"));
}
[TypeScriptBridge ("set_styleSettings")]
public void Set_styleSettings (TypeScriptServiceBridge.TypeScript.StyleSettings @value)
{
Instance.CallMemberFunction ("set_styleSettings", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_units")]
public ArrayInstance Get_units ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_units"));
}
[TypeScriptBridge ("set_units")]
public void Set_units (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_units", @value);
}
[TypeScriptBridge ("get_voidType")]
public TypeScriptServiceBridge.TypeScript.Type Get_voidType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_voidType"));
}
[TypeScriptBridge ("set_voidType")]
public void Set_voidType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_voidType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_booleanType")]
public TypeScriptServiceBridge.TypeScript.Type Get_booleanType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_booleanType"));
}
[TypeScriptBridge ("set_booleanType")]
public void Set_booleanType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_booleanType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_doubleType")]
public TypeScriptServiceBridge.TypeScript.Type Get_doubleType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_doubleType"));
}
[TypeScriptBridge ("set_doubleType")]
public void Set_doubleType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_doubleType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_stringType")]
public TypeScriptServiceBridge.TypeScript.Type Get_stringType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_stringType"));
}
[TypeScriptBridge ("set_stringType")]
public void Set_stringType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_stringType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_anyType")]
public TypeScriptServiceBridge.TypeScript.Type Get_anyType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_anyType"));
}
[TypeScriptBridge ("set_anyType")]
public void Set_anyType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_anyType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_nullType")]
public TypeScriptServiceBridge.TypeScript.Type Get_nullType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_nullType"));
}
[TypeScriptBridge ("set_nullType")]
public void Set_nullType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_nullType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_undefinedType")]
public TypeScriptServiceBridge.TypeScript.Type Get_undefinedType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_undefinedType"));
}
[TypeScriptBridge ("set_undefinedType")]
public void Set_undefinedType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_undefinedType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_anon")]
public string Get_anon ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_anon"));
}
[TypeScriptBridge ("set_anon")]
public void Set_anon (string @value)
{
Instance.CallMemberFunction ("set_anon", @value);
}
[TypeScriptBridge ("get_globals")]
public TypeScriptServiceBridge.TypeScript.DualStringHashTable Get_globals ()
{
return new TypeScriptServiceBridge.TypeScript.DualStringHashTable ((ObjectInstance) Instance.CallMemberFunction ("get_globals"));
}
[TypeScriptBridge ("set_globals")]
public void Set_globals (TypeScriptServiceBridge.TypeScript.DualStringHashTable @value)
{
Instance.CallMemberFunction ("set_globals", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_globalTypes")]
public TypeScriptServiceBridge.TypeScript.DualStringHashTable Get_globalTypes ()
{
return new TypeScriptServiceBridge.TypeScript.DualStringHashTable ((ObjectInstance) Instance.CallMemberFunction ("get_globalTypes"));
}
[TypeScriptBridge ("set_globalTypes")]
public void Set_globalTypes (TypeScriptServiceBridge.TypeScript.DualStringHashTable @value)
{
Instance.CallMemberFunction ("set_globalTypes", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_ambientGlobals")]
public TypeScriptServiceBridge.TypeScript.DualStringHashTable Get_ambientGlobals ()
{
return new TypeScriptServiceBridge.TypeScript.DualStringHashTable ((ObjectInstance) Instance.CallMemberFunction ("get_ambientGlobals"));
}
[TypeScriptBridge ("set_ambientGlobals")]
public void Set_ambientGlobals (TypeScriptServiceBridge.TypeScript.DualStringHashTable @value)
{
Instance.CallMemberFunction ("set_ambientGlobals", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_ambientGlobalTypes")]
public TypeScriptServiceBridge.TypeScript.DualStringHashTable Get_ambientGlobalTypes ()
{
return new TypeScriptServiceBridge.TypeScript.DualStringHashTable ((ObjectInstance) Instance.CallMemberFunction ("get_ambientGlobalTypes"));
}
[TypeScriptBridge ("set_ambientGlobalTypes")]
public void Set_ambientGlobalTypes (TypeScriptServiceBridge.TypeScript.DualStringHashTable @value)
{
Instance.CallMemberFunction ("set_ambientGlobalTypes", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_gloModType")]
public TypeScriptServiceBridge.TypeScript.ModuleType Get_gloModType ()
{
return new TypeScriptServiceBridge.TypeScript.ModuleType ((ObjectInstance) Instance.CallMemberFunction ("get_gloModType"));
}
[TypeScriptBridge ("set_gloModType")]
public void Set_gloModType (TypeScriptServiceBridge.TypeScript.ModuleType @value)
{
Instance.CallMemberFunction ("set_gloModType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_gloMod")]
public TypeScriptServiceBridge.TypeScript.TypeSymbol Get_gloMod ()
{
return new TypeScriptServiceBridge.TypeScript.TypeSymbol ((ObjectInstance) Instance.CallMemberFunction ("get_gloMod"));
}
[TypeScriptBridge ("set_gloMod")]
public void Set_gloMod (TypeScriptServiceBridge.TypeScript.TypeSymbol @value)
{
Instance.CallMemberFunction ("set_gloMod", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_wildElm")]
public TypeScriptServiceBridge.TypeScript.TypeSymbol Get_wildElm ()
{
return new TypeScriptServiceBridge.TypeScript.TypeSymbol ((ObjectInstance) Instance.CallMemberFunction ("get_wildElm"));
}
[TypeScriptBridge ("set_wildElm")]
public void Set_wildElm (TypeScriptServiceBridge.TypeScript.TypeSymbol @value)
{
Instance.CallMemberFunction ("set_wildElm", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_locationInfo")]
public TypeScriptServiceBridge.TypeScript.LocationInfo Get_locationInfo ()
{
return new TypeScriptServiceBridge.TypeScript.LocationInfo ((ObjectInstance) Instance.CallMemberFunction ("get_locationInfo"));
}
[TypeScriptBridge ("set_locationInfo")]
public void Set_locationInfo (TypeScriptServiceBridge.TypeScript.LocationInfo @value)
{
Instance.CallMemberFunction ("set_locationInfo", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_typeFlow")]
public TypeScriptServiceBridge.TypeScript.TypeFlow Get_typeFlow ()
{
return new TypeScriptServiceBridge.TypeScript.TypeFlow ((ObjectInstance) Instance.CallMemberFunction ("get_typeFlow"));
}
[TypeScriptBridge ("set_typeFlow")]
public void Set_typeFlow (TypeScriptServiceBridge.TypeScript.TypeFlow @value)
{
Instance.CallMemberFunction ("set_typeFlow", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_currentCompareA")]
public TypeScriptServiceBridge.TypeScript.Symbol Get_currentCompareA ()
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("get_currentCompareA"));
}
[TypeScriptBridge ("set_currentCompareA")]
public void Set_currentCompareA (TypeScriptServiceBridge.TypeScript.Symbol @value)
{
Instance.CallMemberFunction ("set_currentCompareA", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_currentCompareB")]
public TypeScriptServiceBridge.TypeScript.Symbol Get_currentCompareB ()
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("get_currentCompareB"));
}
[TypeScriptBridge ("set_currentCompareB")]
public void Set_currentCompareB (TypeScriptServiceBridge.TypeScript.Symbol @value)
{
Instance.CallMemberFunction ("set_currentCompareB", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_currentModDecl")]
public TypeScriptServiceBridge.TypeScript.ModuleDeclaration Get_currentModDecl ()
{
return new TypeScriptServiceBridge.TypeScript.ModuleDeclaration ((ObjectInstance) Instance.CallMemberFunction ("get_currentModDecl"));
}
[TypeScriptBridge ("set_currentModDecl")]
public void Set_currentModDecl (TypeScriptServiceBridge.TypeScript.ModuleDeclaration @value)
{
Instance.CallMemberFunction ("set_currentModDecl", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_inBind")]
public bool Get_inBind ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_inBind"));
}
[TypeScriptBridge ("set_inBind")]
public void Set_inBind (bool @value)
{
Instance.CallMemberFunction ("set_inBind", @value);
}
[TypeScriptBridge ("get_inWith")]
public bool Get_inWith ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_inWith"));
}
[TypeScriptBridge ("set_inWith")]
public void Set_inWith (bool @value)
{
Instance.CallMemberFunction ("set_inWith", @value);
}
[TypeScriptBridge ("get_errorsOnWith")]
public bool Get_errorsOnWith ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_errorsOnWith"));
}
[TypeScriptBridge ("set_errorsOnWith")]
public void Set_errorsOnWith (bool @value)
{
Instance.CallMemberFunction ("set_errorsOnWith", @value);
}
[TypeScriptBridge ("get_typingContextStack")]
public TypeScriptServiceBridge.TypeScript.ContextualTypingContextStack Get_typingContextStack ()
{
return new TypeScriptServiceBridge.TypeScript.ContextualTypingContextStack ((ObjectInstance) Instance.CallMemberFunction ("get_typingContextStack"));
}
[TypeScriptBridge ("set_typingContextStack")]
public void Set_typingContextStack (TypeScriptServiceBridge.TypeScript.ContextualTypingContextStack @value)
{
Instance.CallMemberFunction ("set_typingContextStack", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_currentContextualTypeContext")]
public TypeScriptServiceBridge.TypeScript.ContextualTypeContext Get_currentContextualTypeContext ()
{
return new TypeScriptServiceBridge.TypeScript.ContextualTypeContext ((ObjectInstance) Instance.CallMemberFunction ("get_currentContextualTypeContext"));
}
[TypeScriptBridge ("set_currentContextualTypeContext")]
public void Set_currentContextualTypeContext (TypeScriptServiceBridge.TypeScript.ContextualTypeContext @value)
{
Instance.CallMemberFunction ("set_currentContextualTypeContext", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_resolvingBases")]
public bool Get_resolvingBases ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_resolvingBases"));
}
[TypeScriptBridge ("set_resolvingBases")]
public void Set_resolvingBases (bool @value)
{
Instance.CallMemberFunction ("set_resolvingBases", @value);
}
[TypeScriptBridge ("get_canCallDefinitionSignature")]
public bool Get_canCallDefinitionSignature ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_canCallDefinitionSignature"));
}
[TypeScriptBridge ("set_canCallDefinitionSignature")]
public void Set_canCallDefinitionSignature (bool @value)
{
Instance.CallMemberFunction ("set_canCallDefinitionSignature", @value);
}
[TypeScriptBridge ("get_assignableCache")]
public ArrayInstance Get_assignableCache ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_assignableCache"));
}
[TypeScriptBridge ("set_assignableCache")]
public void Set_assignableCache (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_assignableCache", @value);
}
[TypeScriptBridge ("get_subtypeCache")]
public ArrayInstance Get_subtypeCache ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_subtypeCache"));
}
[TypeScriptBridge ("set_subtypeCache")]
public void Set_subtypeCache (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_subtypeCache", @value);
}
[TypeScriptBridge ("get_identicalCache")]
public ArrayInstance Get_identicalCache ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_identicalCache"));
}
[TypeScriptBridge ("set_identicalCache")]
public void Set_identicalCache (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_identicalCache", @value);
}
[TypeScriptBridge ("get_provisionalStartedTypecheckObjects")]
public ArrayInstance Get_provisionalStartedTypecheckObjects ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_provisionalStartedTypecheckObjects"));
}
[TypeScriptBridge ("set_provisionalStartedTypecheckObjects")]
public void Set_provisionalStartedTypecheckObjects (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_provisionalStartedTypecheckObjects", @value);
}
[TypeScriptBridge ("get_mustCaptureGlobalThis")]
public bool Get_mustCaptureGlobalThis ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_mustCaptureGlobalThis"));
}
[TypeScriptBridge ("set_mustCaptureGlobalThis")]
public void Set_mustCaptureGlobalThis (bool @value)
{
Instance.CallMemberFunction ("set_mustCaptureGlobalThis", @value);
}
[TypeScriptBridge ("setStyleOptions")]
public void SetStyleOptions (TypeScriptServiceBridge.TypeScript.StyleSettings @style)
{
Instance.CallMemberFunction ("setStyleOptions", @style != null ? @style.Instance : null);
}
[TypeScriptBridge ("setContextualType")]
public void SetContextualType (TypeScriptServiceBridge.TypeScript.Type @type, bool @provisional)
{
Instance.CallMemberFunction ("setContextualType", @type != null ? @type.Instance : null, @provisional);
}
[TypeScriptBridge ("unsetContextualType")]
public TypeScriptServiceBridge.TypeScript.ContextualTypeContext UnsetContextualType ()
{
return new TypeScriptServiceBridge.TypeScript.ContextualTypeContext ((ObjectInstance) Instance.CallMemberFunction ("unsetContextualType"));
}
[TypeScriptBridge ("hadProvisionalErrors")]
public bool HadProvisionalErrors ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("hadProvisionalErrors"));
}
[TypeScriptBridge ("resetProvisionalErrors")]
public void ResetProvisionalErrors ()
{
Instance.CallMemberFunction ("resetProvisionalErrors");
}
[TypeScriptBridge ("typeCheckWithContextualType")]
public void TypeCheckWithContextualType (TypeScriptServiceBridge.TypeScript.Type @contextType, bool @provisional, bool @condition, TypeScriptServiceBridge.TypeScript.AST @ast)
{
Instance.CallMemberFunction ("typeCheckWithContextualType", @contextType != null ? @contextType.Instance : null, @provisional, @condition, @ast != null ? @ast.Instance : null);
}
[TypeScriptBridge ("resetTargetType")]
public void ResetTargetType ()
{
Instance.CallMemberFunction ("resetTargetType");
}
[TypeScriptBridge ("killCurrentContextualType")]
public void KillCurrentContextualType ()
{
Instance.CallMemberFunction ("killCurrentContextualType");
}
[TypeScriptBridge ("hasTargetType")]
public TypeScriptServiceBridge.TypeScript.Type HasTargetType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("hasTargetType"));
}
[TypeScriptBridge ("getTargetTypeContext")]
public TypeScriptServiceBridge.TypeScript.ContextualTypeContext GetTargetTypeContext ()
{
return new TypeScriptServiceBridge.TypeScript.ContextualTypeContext ((ObjectInstance) Instance.CallMemberFunction ("getTargetTypeContext"));
}
[TypeScriptBridge ("inProvisionalTypecheckMode")]
public bool InProvisionalTypecheckMode ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("inProvisionalTypecheckMode"));
}
[TypeScriptBridge ("getTypeCheckFinishedStatus")]
public TypeScriptServiceBridge.TypeScript.TypeCheckStatus GetTypeCheckFinishedStatus ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.TypeCheckStatus> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getTypeCheckFinishedStatus"));
}
[TypeScriptBridge ("typeStatusIsFinished")]
public bool TypeStatusIsFinished (TypeScriptServiceBridge.TypeScript.TypeCheckStatus @status)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("typeStatusIsFinished", @status));
}
[TypeScriptBridge ("addStartedPTO")]
public void AddStartedPTO (TypeScriptServiceBridge.TypeScript.PhasedTypecheckObject @pto)
{
Instance.CallMemberFunction ("addStartedPTO", @pto != null ? @pto.Instance : null);
}
[TypeScriptBridge ("cleanStartedPTO")]
public void CleanStartedPTO ()
{
Instance.CallMemberFunction ("cleanStartedPTO");
}
[TypeScriptBridge ("collectTypes")]
public void CollectTypes (TypeScriptServiceBridge.TypeScript.AST @ast)
{
Instance.CallMemberFunction ("collectTypes", @ast != null ? @ast.Instance : null);
}
[TypeScriptBridge ("makeArrayType")]
public TypeScriptServiceBridge.TypeScript.Type MakeArrayType (TypeScriptServiceBridge.TypeScript.Type @type)
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("makeArrayType", @type != null ? @type.Instance : null));
}
[TypeScriptBridge ("getParameterList")]
public TypeScriptServiceBridge.TypeScript.SignatureData GetParameterList (TypeScriptServiceBridge.TypeScript.ASTList @args, TypeScriptServiceBridge.TypeScript.Symbol @container)
{
return new TypeScriptServiceBridge.TypeScript.SignatureData_Impl ((ObjectInstance) Instance.CallMemberFunction ("getParameterList", @args != null ? @args.Instance : null, @container != null ? @container.Instance : null));
}
[TypeScriptBridge ("createFunctionSignature")]
public TypeScriptServiceBridge.TypeScript.Signature CreateFunctionSignature (TypeScriptServiceBridge.TypeScript.FuncDecl @funcDecl, TypeScriptServiceBridge.TypeScript.Symbol @container, TypeScriptServiceBridge.TypeScript.SymbolScope @scope, TypeScriptServiceBridge.TypeScript.Symbol @overloadGroupSym, bool @addToScope)
{
return new TypeScriptServiceBridge.TypeScript.Signature ((ObjectInstance) Instance.CallMemberFunction ("createFunctionSignature", @funcDecl != null ? @funcDecl.Instance : null, @container != null ? @container.Instance : null, @scope != null ? @scope.Instance : null, @overloadGroupSym != null ? @overloadGroupSym.Instance : null, @addToScope));
}
[TypeScriptBridge ("createAccessorSymbol")]
public TypeScriptServiceBridge.TypeScript.FieldSymbol CreateAccessorSymbol (TypeScriptServiceBridge.TypeScript.FuncDecl @funcDecl, TypeScriptServiceBridge.TypeScript.Symbol @fgSym, TypeScriptServiceBridge.TypeScript.Type @enclosingClass, bool @addToMembers, bool @isClassProperty, TypeScriptServiceBridge.TypeScript.SymbolScope @scope, TypeScriptServiceBridge.TypeScript.Symbol @container)
{
return new TypeScriptServiceBridge.TypeScript.FieldSymbol ((ObjectInstance) Instance.CallMemberFunction ("createAccessorSymbol", @funcDecl != null ? @funcDecl.Instance : null, @fgSym != null ? @fgSym.Instance : null, @enclosingClass != null ? @enclosingClass.Instance : null, @addToMembers, @isClassProperty, @scope != null ? @scope.Instance : null, @container != null ? @container.Instance : null));
}
[TypeScriptBridge ("addBases")]
public void AddBases (TypeScriptServiceBridge.TypeScript.SymbolAggregateScope @resultScope, TypeScriptServiceBridge.TypeScript.Type @type, System.Object @baseContext)
{
Instance.CallMemberFunction ("addBases", @resultScope != null ? @resultScope.Instance : null, @type != null ? @type.Instance : null, @baseContext);
}
[TypeScriptBridge ("scopeOf")]
public TypeScriptServiceBridge.TypeScript.SymbolScope ScopeOf (TypeScriptServiceBridge.TypeScript.Type @type)
{
return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.CallMemberFunction ("scopeOf", @type != null ? @type.Instance : null));
}
[TypeScriptBridge ("lookupMemberType")]
public TypeScriptServiceBridge.TypeScript.Type LookupMemberType (TypeScriptServiceBridge.TypeScript.Type @containingType, string @name)
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("lookupMemberType", @containingType != null ? @containingType.Instance : null, @name));
}
[TypeScriptBridge ("resolveTypeMember")]
public TypeScriptServiceBridge.TypeScript.Type ResolveTypeMember (TypeScriptServiceBridge.TypeScript.SymbolScope @scope, TypeScriptServiceBridge.TypeScript.BinaryExpression @dotNode)
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("resolveTypeMember", @scope != null ? @scope.Instance : null, @dotNode != null ? @dotNode.Instance : null));
}
[TypeScriptBridge ("resolveFuncDecl")]
public TypeScriptServiceBridge.TypeScript.Symbol ResolveFuncDecl (TypeScriptServiceBridge.TypeScript.FuncDecl @funcDecl, TypeScriptServiceBridge.TypeScript.SymbolScope @scope, TypeScriptServiceBridge.TypeScript.TypeSymbol @fgSym)
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("resolveFuncDecl", @funcDecl != null ? @funcDecl.Instance : null, @scope != null ? @scope.Instance : null, @fgSym != null ? @fgSym.Instance : null));
}
[TypeScriptBridge ("resolveVarDecl")]
public TypeScriptServiceBridge.TypeScript.Symbol ResolveVarDecl (TypeScriptServiceBridge.TypeScript.VarDecl @varDecl, TypeScriptServiceBridge.TypeScript.SymbolScope @scope)
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("resolveVarDecl", @varDecl != null ? @varDecl.Instance : null, @scope != null ? @scope.Instance : null));
}
[TypeScriptBridge ("resolveTypeLink")]
public void ResolveTypeLink (TypeScriptServiceBridge.TypeScript.SymbolScope @scope, TypeScriptServiceBridge.TypeScript.TypeLink @typeLink, bool @supplyVar)
{
Instance.CallMemberFunction ("resolveTypeLink", @scope != null ? @scope.Instance : null, @typeLink != null ? @typeLink.Instance : null, @supplyVar);
}
[TypeScriptBridge ("findMostApplicableSignature")]
public System.Object FindMostApplicableSignature (ArrayInstance @signatures, TypeScriptServiceBridge.TypeScript.ASTList @args)
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("findMostApplicableSignature", @signatures, @args != null ? @args.Instance : null));
}
[TypeScriptBridge ("getApplicableSignatures")]
public ArrayInstance GetApplicableSignatures (ArrayInstance @signatures, TypeScriptServiceBridge.TypeScript.ASTList @args, TypeScriptServiceBridge.TypeScript.TypeComparisonInfo @comparisonInfo)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getApplicableSignatures", @signatures, @args != null ? @args.Instance : null, @comparisonInfo != null ? @comparisonInfo.Instance : null));
}
[TypeScriptBridge ("canContextuallyTypeFunction")]
public bool CanContextuallyTypeFunction (TypeScriptServiceBridge.TypeScript.Type @candidateType, TypeScriptServiceBridge.TypeScript.FuncDecl @funcDecl, bool @beStringent)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("canContextuallyTypeFunction", @candidateType != null ? @candidateType.Instance : null, @funcDecl != null ? @funcDecl.Instance : null, @beStringent));
}
[TypeScriptBridge ("canContextuallyTypeObjectLiteral")]
public bool CanContextuallyTypeObjectLiteral (TypeScriptServiceBridge.TypeScript.Type @targetType, TypeScriptServiceBridge.TypeScript.UnaryExpression @objectLit)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("canContextuallyTypeObjectLiteral", @targetType != null ? @targetType.Instance : null, @objectLit != null ? @objectLit.Instance : null));
}
[TypeScriptBridge ("widenType")]
public TypeScriptServiceBridge.TypeScript.Type WidenType (TypeScriptServiceBridge.TypeScript.Type @t)
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("widenType", @t != null ? @t.Instance : null));
}
[TypeScriptBridge ("isNullOrUndefinedType")]
public bool IsNullOrUndefinedType (TypeScriptServiceBridge.TypeScript.Type @t)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isNullOrUndefinedType", @t != null ? @t.Instance : null));
}
[TypeScriptBridge ("findBestCommonType")]
public TypeScriptServiceBridge.TypeScript.Type FindBestCommonType (TypeScriptServiceBridge.TypeScript.Type @initialType, TypeScriptServiceBridge.TypeScript.Type @targetType, TypeScriptServiceBridge.TypeScript.ITypeCollection @collection, bool @acceptVoid, TypeScriptServiceBridge.TypeScript.TypeComparisonInfo @comparisonInfo = null)
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("findBestCommonType", @initialType != null ? @initialType.Instance : null, @targetType != null ? @targetType.Instance : null, @collection != null ? @collection.Instance : null, @acceptVoid, @comparisonInfo != null ? @comparisonInfo.Instance : null));
}
[TypeScriptBridge ("typesAreIdentical")]
public System.Object TypesAreIdentical (TypeScriptServiceBridge.TypeScript.Type @t1, TypeScriptServiceBridge.TypeScript.Type @t2)
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("typesAreIdentical", @t1 != null ? @t1.Instance : null, @t2 != null ? @t2.Instance : null));
}
[TypeScriptBridge ("signatureGroupsAreIdentical")]
public bool SignatureGroupsAreIdentical (TypeScriptServiceBridge.TypeScript.SignatureGroup @sg1, TypeScriptServiceBridge.TypeScript.SignatureGroup @sg2)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("signatureGroupsAreIdentical", @sg1 != null ? @sg1.Instance : null, @sg2 != null ? @sg2.Instance : null));
}
[TypeScriptBridge ("signaturesAreIdentical")]
public System.Object SignaturesAreIdentical (TypeScriptServiceBridge.TypeScript.Signature @s1, TypeScriptServiceBridge.TypeScript.Signature @s2)
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("signaturesAreIdentical", @s1 != null ? @s1.Instance : null, @s2 != null ? @s2.Instance : null));
}
[TypeScriptBridge ("sourceIsSubtypeOfTarget")]
public System.Object SourceIsSubtypeOfTarget (TypeScriptServiceBridge.TypeScript.Type @source, TypeScriptServiceBridge.TypeScript.Type @target, TypeScriptServiceBridge.TypeScript.TypeComparisonInfo @comparisonInfo = null)
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("sourceIsSubtypeOfTarget", @source != null ? @source.Instance : null, @target != null ? @target.Instance : null, @comparisonInfo != null ? @comparisonInfo.Instance : null));
}
[TypeScriptBridge ("signatureGroupIsSubtypeOfTarget")]
public bool SignatureGroupIsSubtypeOfTarget (TypeScriptServiceBridge.TypeScript.SignatureGroup @sg1, TypeScriptServiceBridge.TypeScript.SignatureGroup @sg2, TypeScriptServiceBridge.TypeScript.TypeComparisonInfo @comparisonInfo = null)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("signatureGroupIsSubtypeOfTarget", @sg1 != null ? @sg1.Instance : null, @sg2 != null ? @sg2.Instance : null, @comparisonInfo != null ? @comparisonInfo.Instance : null));
}
[TypeScriptBridge ("signatureIsSubtypeOfTarget")]
public System.Object SignatureIsSubtypeOfTarget (TypeScriptServiceBridge.TypeScript.Signature @s1, TypeScriptServiceBridge.TypeScript.Signature @s2, TypeScriptServiceBridge.TypeScript.TypeComparisonInfo @comparisonInfo = null)
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("signatureIsSubtypeOfTarget", @s1 != null ? @s1.Instance : null, @s2 != null ? @s2.Instance : null, @comparisonInfo != null ? @comparisonInfo.Instance : null));
}
[TypeScriptBridge ("sourceIsAssignableToTarget")]
public System.Object SourceIsAssignableToTarget (TypeScriptServiceBridge.TypeScript.Type @source, TypeScriptServiceBridge.TypeScript.Type @target, TypeScriptServiceBridge.TypeScript.TypeComparisonInfo @comparisonInfo = null)
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("sourceIsAssignableToTarget", @source != null ? @source.Instance : null, @target != null ? @target.Instance : null, @comparisonInfo != null ? @comparisonInfo.Instance : null));
}
[TypeScriptBridge ("signatureGroupIsAssignableToTarget")]
public bool SignatureGroupIsAssignableToTarget (TypeScriptServiceBridge.TypeScript.SignatureGroup @sg1, TypeScriptServiceBridge.TypeScript.SignatureGroup @sg2, TypeScriptServiceBridge.TypeScript.TypeComparisonInfo @comparisonInfo = null)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("signatureGroupIsAssignableToTarget", @sg1 != null ? @sg1.Instance : null, @sg2 != null ? @sg2.Instance : null, @comparisonInfo != null ? @comparisonInfo.Instance : null));
}
[TypeScriptBridge ("signatureIsAssignableToTarget")]
public System.Object SignatureIsAssignableToTarget (TypeScriptServiceBridge.TypeScript.Signature @s1, TypeScriptServiceBridge.TypeScript.Signature @s2, TypeScriptServiceBridge.TypeScript.TypeComparisonInfo @comparisonInfo = null)
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("signatureIsAssignableToTarget", @s1 != null ? @s1.Instance : null, @s2 != null ? @s2.Instance : null, @comparisonInfo != null ? @comparisonInfo.Instance : null));
}
[TypeScriptBridge ("sourceIsRelatableToTarget")]
public System.Object SourceIsRelatableToTarget (TypeScriptServiceBridge.TypeScript.Type @source, TypeScriptServiceBridge.TypeScript.Type @target, bool @assignableTo, System.Object @comparisonCache, TypeScriptServiceBridge.TypeScript.TypeComparisonInfo @comparisonInfo)
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("sourceIsRelatableToTarget", @source != null ? @source.Instance : null, @target != null ? @target.Instance : null, @assignableTo, @comparisonCache, @comparisonInfo != null ? @comparisonInfo.Instance : null));
}
[TypeScriptBridge ("signatureGroupIsRelatableToTarget")]
public bool SignatureGroupIsRelatableToTarget (TypeScriptServiceBridge.TypeScript.SignatureGroup @sourceSG, TypeScriptServiceBridge.TypeScript.SignatureGroup @targetSG, bool @assignableTo, System.Object @comparisonCache, TypeScriptServiceBridge.TypeScript.TypeComparisonInfo @comparisonInfo = null)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("signatureGroupIsRelatableToTarget", @sourceSG != null ? @sourceSG.Instance : null, @targetSG != null ? @targetSG.Instance : null, @assignableTo, @comparisonCache, @comparisonInfo != null ? @comparisonInfo.Instance : null));
}
[TypeScriptBridge ("signatureIsRelatableToTarget")]
public System.Object SignatureIsRelatableToTarget (TypeScriptServiceBridge.TypeScript.Signature @sourceSig, TypeScriptServiceBridge.TypeScript.Signature @targetSig, bool @assignableTo, System.Object @comparisonCache, TypeScriptServiceBridge.TypeScript.TypeComparisonInfo @comparisonInfo = null)
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("signatureIsRelatableToTarget", @sourceSig != null ? @sourceSig.Instance : null, @targetSig != null ? @targetSig.Instance : null, @assignableTo, @comparisonCache, @comparisonInfo != null ? @comparisonInfo.Instance : null));
}
}
public class Continuation : TypeScriptObject
{
public Continuation (ObjectInstance instance) : base (instance) {}
public Continuation (double @normalBlock)
: base (CallConstructor ("TypeScript", "Continuation", @normalBlock))
{
}
[TypeScriptBridge ("normalBlock")]
public double NormalBlock {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("normalBlock")); }
set { Instance.SetPropertyValue ("normalBlock", value, true); }
}
[TypeScriptBridge ("exceptionBlock")]
public double ExceptionBlock {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("exceptionBlock")); }
set { Instance.SetPropertyValue ("exceptionBlock", value, true); }
}
[TypeScriptBridge ("get_normalBlock")]
public double Get_normalBlock ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_normalBlock"));
}
[TypeScriptBridge ("set_normalBlock")]
public void Set_normalBlock (double @value)
{
Instance.CallMemberFunction ("set_normalBlock", @value);
}
[TypeScriptBridge ("get_exceptionBlock")]
public double Get_exceptionBlock ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_exceptionBlock"));
}
[TypeScriptBridge ("set_exceptionBlock")]
public void Set_exceptionBlock (double @value)
{
Instance.CallMemberFunction ("set_exceptionBlock", @value);
}
}
public interface IAliasScopeContext : ITypeScriptObject
{
[TypeScriptBridge ("topLevelScope")]
TypeScriptServiceBridge.TypeScript.ScopeChain TopLevelScope { get; set; }
[TypeScriptBridge ("members")]
TypeScriptServiceBridge.TypeScript.IHashTable Members { get; set; }
[TypeScriptBridge ("tcContext")]
TypeScriptServiceBridge.TypeScript.TypeCollectionContext TcContext { get; set; }
[TypeScriptBridge ("get_topLevelScope")]
TypeScriptServiceBridge.TypeScript.ScopeChain Get_topLevelScope ();
[TypeScriptBridge ("set_topLevelScope")]
void Set_topLevelScope (TypeScriptServiceBridge.TypeScript.ScopeChain @value);
[TypeScriptBridge ("get_members")]
TypeScriptServiceBridge.TypeScript.IHashTable Get_members ();
[TypeScriptBridge ("set_members")]
void Set_members (TypeScriptServiceBridge.TypeScript.IHashTable @value);
[TypeScriptBridge ("get_tcContext")]
TypeScriptServiceBridge.TypeScript.TypeCollectionContext Get_tcContext ();
[TypeScriptBridge ("set_tcContext")]
void Set_tcContext (TypeScriptServiceBridge.TypeScript.TypeCollectionContext @value);
}
public class IAliasScopeContext_Impl : TypeScriptObject, IAliasScopeContext
{
public IAliasScopeContext_Impl (ObjectInstance instance) : base (instance) {}
[TypeScriptBridge ("topLevelScope")]
public TypeScriptServiceBridge.TypeScript.ScopeChain TopLevelScope {
get { return new TypeScriptServiceBridge.TypeScript.ScopeChain ((ObjectInstance) Instance.GetPropertyValue ("topLevelScope")); }
set { Instance.SetPropertyValue ("topLevelScope", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("members")]
public TypeScriptServiceBridge.TypeScript.IHashTable Members {
get { return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.GetPropertyValue ("members")); }
set { Instance.SetPropertyValue ("members", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("tcContext")]
public TypeScriptServiceBridge.TypeScript.TypeCollectionContext TcContext {
get { return new TypeScriptServiceBridge.TypeScript.TypeCollectionContext ((ObjectInstance) Instance.GetPropertyValue ("tcContext")); }
set { Instance.SetPropertyValue ("tcContext", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_topLevelScope")]
public TypeScriptServiceBridge.TypeScript.ScopeChain Get_topLevelScope ()
{
return new TypeScriptServiceBridge.TypeScript.ScopeChain ((ObjectInstance) Instance.CallMemberFunction ("get_topLevelScope"));
}
[TypeScriptBridge ("set_topLevelScope")]
public void Set_topLevelScope (TypeScriptServiceBridge.TypeScript.ScopeChain @value)
{
Instance.CallMemberFunction ("set_topLevelScope", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_members")]
public TypeScriptServiceBridge.TypeScript.IHashTable Get_members ()
{
return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_members"));
}
[TypeScriptBridge ("set_members")]
public void Set_members (TypeScriptServiceBridge.TypeScript.IHashTable @value)
{
Instance.CallMemberFunction ("set_members", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_tcContext")]
public TypeScriptServiceBridge.TypeScript.TypeCollectionContext Get_tcContext ()
{
return new TypeScriptServiceBridge.TypeScript.TypeCollectionContext ((ObjectInstance) Instance.CallMemberFunction ("get_tcContext"));
}
[TypeScriptBridge ("set_tcContext")]
public void Set_tcContext (TypeScriptServiceBridge.TypeScript.TypeCollectionContext @value)
{
Instance.CallMemberFunction ("set_tcContext", @value != null ? @value.Instance : null);
}
}
public class ScopeChain : TypeScriptObject
{
public ScopeChain (ObjectInstance instance) : base (instance) {}
public ScopeChain (TypeScriptServiceBridge.TypeScript.Symbol @container, TypeScriptServiceBridge.TypeScript.ScopeChain @previous, TypeScriptServiceBridge.TypeScript.SymbolScope @scope)
: base (CallConstructor ("TypeScript", "ScopeChain", @container != null ? @container.Instance : null, @previous != null ? @previous.Instance : null, @scope != null ? @scope.Instance : null))
{
}
[TypeScriptBridge ("container")]
public TypeScriptServiceBridge.TypeScript.Symbol Container {
get { return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.GetPropertyValue ("container")); }
set { Instance.SetPropertyValue ("container", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("previous")]
public TypeScriptServiceBridge.TypeScript.ScopeChain Previous {
get { return new TypeScriptServiceBridge.TypeScript.ScopeChain ((ObjectInstance) Instance.GetPropertyValue ("previous")); }
set { Instance.SetPropertyValue ("previous", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("scope")]
public TypeScriptServiceBridge.TypeScript.SymbolScope Scope {
get { return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.GetPropertyValue ("scope")); }
set { Instance.SetPropertyValue ("scope", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("thisType")]
public TypeScriptServiceBridge.TypeScript.Type ThisType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("thisType")); }
set { Instance.SetPropertyValue ("thisType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("classType")]
public TypeScriptServiceBridge.TypeScript.Type ClassType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("classType")); }
set { Instance.SetPropertyValue ("classType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("fnc")]
public TypeScriptServiceBridge.TypeScript.FuncDecl Fnc {
get { return new TypeScriptServiceBridge.TypeScript.FuncDecl ((ObjectInstance) Instance.GetPropertyValue ("fnc")); }
set { Instance.SetPropertyValue ("fnc", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("moduleDecl")]
public TypeScriptServiceBridge.TypeScript.ModuleDeclaration ModuleDecl {
get { return new TypeScriptServiceBridge.TypeScript.ModuleDeclaration ((ObjectInstance) Instance.GetPropertyValue ("moduleDecl")); }
set { Instance.SetPropertyValue ("moduleDecl", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_container")]
public TypeScriptServiceBridge.TypeScript.Symbol Get_container ()
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("get_container"));
}
[TypeScriptBridge ("set_container")]
public void Set_container (TypeScriptServiceBridge.TypeScript.Symbol @value)
{
Instance.CallMemberFunction ("set_container", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_previous")]
public TypeScriptServiceBridge.TypeScript.ScopeChain Get_previous ()
{
return new TypeScriptServiceBridge.TypeScript.ScopeChain ((ObjectInstance) Instance.CallMemberFunction ("get_previous"));
}
[TypeScriptBridge ("set_previous")]
public void Set_previous (TypeScriptServiceBridge.TypeScript.ScopeChain @value)
{
Instance.CallMemberFunction ("set_previous", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_scope")]
public TypeScriptServiceBridge.TypeScript.SymbolScope Get_scope ()
{
return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.CallMemberFunction ("get_scope"));
}
[TypeScriptBridge ("set_scope")]
public void Set_scope (TypeScriptServiceBridge.TypeScript.SymbolScope @value)
{
Instance.CallMemberFunction ("set_scope", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_thisType")]
public TypeScriptServiceBridge.TypeScript.Type Get_thisType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_thisType"));
}
[TypeScriptBridge ("set_thisType")]
public void Set_thisType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_thisType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_classType")]
public TypeScriptServiceBridge.TypeScript.Type Get_classType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_classType"));
}
[TypeScriptBridge ("set_classType")]
public void Set_classType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_classType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_fnc")]
public TypeScriptServiceBridge.TypeScript.FuncDecl Get_fnc ()
{
return new TypeScriptServiceBridge.TypeScript.FuncDecl ((ObjectInstance) Instance.CallMemberFunction ("get_fnc"));
}
[TypeScriptBridge ("set_fnc")]
public void Set_fnc (TypeScriptServiceBridge.TypeScript.FuncDecl @value)
{
Instance.CallMemberFunction ("set_fnc", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_moduleDecl")]
public TypeScriptServiceBridge.TypeScript.ModuleDeclaration Get_moduleDecl ()
{
return new TypeScriptServiceBridge.TypeScript.ModuleDeclaration ((ObjectInstance) Instance.CallMemberFunction ("get_moduleDecl"));
}
[TypeScriptBridge ("set_moduleDecl")]
public void Set_moduleDecl (TypeScriptServiceBridge.TypeScript.ModuleDeclaration @value)
{
Instance.CallMemberFunction ("set_moduleDecl", @value != null ? @value.Instance : null);
}
}
public class BBUseDefInfo : TypeScriptObject
{
public BBUseDefInfo (ObjectInstance instance) : base (instance) {}
public BBUseDefInfo (TypeScriptServiceBridge.TypeScript.BasicBlock @bb)
: base (CallConstructor ("TypeScript", "BBUseDefInfo", @bb != null ? @bb.Instance : null))
{
}
[TypeScriptBridge ("bb")]
public TypeScriptServiceBridge.TypeScript.BasicBlock Bb {
get { return new TypeScriptServiceBridge.TypeScript.BasicBlock ((ObjectInstance) Instance.GetPropertyValue ("bb")); }
set { Instance.SetPropertyValue ("bb", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("defsBySymbol")]
public ArrayInstance DefsBySymbol {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("defsBySymbol")); }
set { Instance.SetPropertyValue ("defsBySymbol", value, true); }
}
[TypeScriptBridge ("gen")]
public TypeScriptServiceBridge.TypeScript.BitVector Gen {
get { return new TypeScriptServiceBridge.TypeScript.BitVector ((ObjectInstance) Instance.GetPropertyValue ("gen")); }
set { Instance.SetPropertyValue ("gen", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("kill")]
public TypeScriptServiceBridge.TypeScript.BitVector Kill {
get { return new TypeScriptServiceBridge.TypeScript.BitVector ((ObjectInstance) Instance.GetPropertyValue ("kill")); }
set { Instance.SetPropertyValue ("kill", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("top")]
public TypeScriptServiceBridge.TypeScript.BitVector Top {
get { return new TypeScriptServiceBridge.TypeScript.BitVector ((ObjectInstance) Instance.GetPropertyValue ("top")); }
set { Instance.SetPropertyValue ("top", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("useIndexBySymbol")]
public ArrayInstance UseIndexBySymbol {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("useIndexBySymbol")); }
set { Instance.SetPropertyValue ("useIndexBySymbol", value, true); }
}
[TypeScriptBridge ("get_bb")]
public TypeScriptServiceBridge.TypeScript.BasicBlock Get_bb ()
{
return new TypeScriptServiceBridge.TypeScript.BasicBlock ((ObjectInstance) Instance.CallMemberFunction ("get_bb"));
}
[TypeScriptBridge ("set_bb")]
public void Set_bb (TypeScriptServiceBridge.TypeScript.BasicBlock @value)
{
Instance.CallMemberFunction ("set_bb", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_defsBySymbol")]
public ArrayInstance Get_defsBySymbol ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_defsBySymbol"));
}
[TypeScriptBridge ("set_defsBySymbol")]
public void Set_defsBySymbol (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_defsBySymbol", @value);
}
[TypeScriptBridge ("get_gen")]
public TypeScriptServiceBridge.TypeScript.BitVector Get_gen ()
{
return new TypeScriptServiceBridge.TypeScript.BitVector ((ObjectInstance) Instance.CallMemberFunction ("get_gen"));
}
[TypeScriptBridge ("set_gen")]
public void Set_gen (TypeScriptServiceBridge.TypeScript.BitVector @value)
{
Instance.CallMemberFunction ("set_gen", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_kill")]
public TypeScriptServiceBridge.TypeScript.BitVector Get_kill ()
{
return new TypeScriptServiceBridge.TypeScript.BitVector ((ObjectInstance) Instance.CallMemberFunction ("get_kill"));
}
[TypeScriptBridge ("set_kill")]
public void Set_kill (TypeScriptServiceBridge.TypeScript.BitVector @value)
{
Instance.CallMemberFunction ("set_kill", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_top")]
public TypeScriptServiceBridge.TypeScript.BitVector Get_top ()
{
return new TypeScriptServiceBridge.TypeScript.BitVector ((ObjectInstance) Instance.CallMemberFunction ("get_top"));
}
[TypeScriptBridge ("set_top")]
public void Set_top (TypeScriptServiceBridge.TypeScript.BitVector @value)
{
Instance.CallMemberFunction ("set_top", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_useIndexBySymbol")]
public ArrayInstance Get_useIndexBySymbol ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_useIndexBySymbol"));
}
[TypeScriptBridge ("set_useIndexBySymbol")]
public void Set_useIndexBySymbol (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_useIndexBySymbol", @value);
}
[TypeScriptBridge ("updateTop")]
public bool UpdateTop ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("updateTop"));
}
[TypeScriptBridge ("initialize")]
public void Initialize (TypeScriptServiceBridge.TypeScript.UseDefContext @useDefContext)
{
Instance.CallMemberFunction ("initialize", @useDefContext != null ? @useDefContext.Instance : null);
}
[TypeScriptBridge ("initializeGen")]
public void InitializeGen (TypeScriptServiceBridge.TypeScript.UseDefContext @useDefContext)
{
Instance.CallMemberFunction ("initializeGen", @useDefContext != null ? @useDefContext.Instance : null);
}
[TypeScriptBridge ("initializeKill")]
public void InitializeKill (TypeScriptServiceBridge.TypeScript.UseDefContext @useDefContext)
{
Instance.CallMemberFunction ("initializeKill", @useDefContext != null ? @useDefContext.Instance : null);
}
}
public class UseDefContext : TypeScriptObject
{
public UseDefContext (ObjectInstance instance) : base (instance) {}
public UseDefContext ()
: base (CallConstructor ("TypeScript", "UseDefContext"))
{
}
[TypeScriptBridge ("useIndexBySymbol")]
public ArrayInstance UseIndexBySymbol {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("useIndexBySymbol")); }
set { Instance.SetPropertyValue ("useIndexBySymbol", value, true); }
}
[TypeScriptBridge ("uses")]
public ArrayInstance Uses {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("uses")); }
set { Instance.SetPropertyValue ("uses", value, true); }
}
[TypeScriptBridge ("symbols")]
public ArrayInstance Symbols {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("symbols")); }
set { Instance.SetPropertyValue ("symbols", value, true); }
}
[TypeScriptBridge ("symbolMap")]
public TypeScriptServiceBridge.TypeScript.StringHashTable SymbolMap {
get { return new TypeScriptServiceBridge.TypeScript.StringHashTable ((ObjectInstance) Instance.GetPropertyValue ("symbolMap")); }
set { Instance.SetPropertyValue ("symbolMap", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("symbolCount")]
public double SymbolCount {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("symbolCount")); }
set { Instance.SetPropertyValue ("symbolCount", value, true); }
}
[TypeScriptBridge ("func")]
public TypeScriptServiceBridge.TypeScript.Symbol Func {
get { return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.GetPropertyValue ("func")); }
set { Instance.SetPropertyValue ("func", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_useIndexBySymbol")]
public ArrayInstance Get_useIndexBySymbol ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_useIndexBySymbol"));
}
[TypeScriptBridge ("set_useIndexBySymbol")]
public void Set_useIndexBySymbol (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_useIndexBySymbol", @value);
}
[TypeScriptBridge ("get_uses")]
public ArrayInstance Get_uses ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_uses"));
}
[TypeScriptBridge ("set_uses")]
public void Set_uses (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_uses", @value);
}
[TypeScriptBridge ("get_symbols")]
public ArrayInstance Get_symbols ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_symbols"));
}
[TypeScriptBridge ("set_symbols")]
public void Set_symbols (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_symbols", @value);
}
[TypeScriptBridge ("get_symbolMap")]
public TypeScriptServiceBridge.TypeScript.StringHashTable Get_symbolMap ()
{
return new TypeScriptServiceBridge.TypeScript.StringHashTable ((ObjectInstance) Instance.CallMemberFunction ("get_symbolMap"));
}
[TypeScriptBridge ("set_symbolMap")]
public void Set_symbolMap (TypeScriptServiceBridge.TypeScript.StringHashTable @value)
{
Instance.CallMemberFunction ("set_symbolMap", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_symbolCount")]
public double Get_symbolCount ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_symbolCount"));
}
[TypeScriptBridge ("set_symbolCount")]
public void Set_symbolCount (double @value)
{
Instance.CallMemberFunction ("set_symbolCount", @value);
}
[TypeScriptBridge ("get_func")]
public TypeScriptServiceBridge.TypeScript.Symbol Get_func ()
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("get_func"));
}
[TypeScriptBridge ("set_func")]
public void Set_func (TypeScriptServiceBridge.TypeScript.Symbol @value)
{
Instance.CallMemberFunction ("set_func", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("getSymbolIndex")]
public double GetSymbolIndex (TypeScriptServiceBridge.TypeScript.Symbol @sym)
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getSymbolIndex", @sym != null ? @sym.Instance : null));
}
[TypeScriptBridge ("addUse")]
public void AddUse (double @symIndex, double @astIndex)
{
Instance.CallMemberFunction ("addUse", @symIndex, @astIndex);
}
[TypeScriptBridge ("getUseIndex")]
public double GetUseIndex (TypeScriptServiceBridge.TypeScript.AST @ast)
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getUseIndex", @ast != null ? @ast.Instance : null));
}
[TypeScriptBridge ("isLocalSym")]
public bool IsLocalSym (TypeScriptServiceBridge.TypeScript.Symbol @sym)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isLocalSym", @sym != null ? @sym.Instance : null));
}
[TypeScriptBridge ("killSymbol")]
public void KillSymbol (TypeScriptServiceBridge.TypeScript.VariableSymbol @sym, TypeScriptServiceBridge.TypeScript.BitVector @bbUses)
{
Instance.CallMemberFunction ("killSymbol", @sym != null ? @sym.Instance : null, @bbUses != null ? @bbUses.Instance : null);
}
}
public class BitVector : TypeScriptObject
{
public BitVector (ObjectInstance instance) : base (instance) {}
public BitVector (double @bitCount)
: base (CallConstructor ("TypeScript", "BitVector", @bitCount))
{
}
[TypeScriptBridge ("bitCount")]
public double BitCount {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("bitCount")); }
set { Instance.SetPropertyValue ("bitCount", value, true); }
}
[TypeScriptBridge ("packBits")]
public double PackBits {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("packBits")); }
set { Instance.SetPropertyValue ("packBits", value, true); }
}
[TypeScriptBridge ("firstBits")]
public double FirstBits {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("firstBits")); }
set { Instance.SetPropertyValue ("firstBits", value, true); }
}
[TypeScriptBridge ("restOfBits")]
public ArrayInstance RestOfBits {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("restOfBits")); }
set { Instance.SetPropertyValue ("restOfBits", value, true); }
}
[TypeScriptBridge ("get_bitCount")]
public double Get_bitCount ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_bitCount"));
}
[TypeScriptBridge ("set_bitCount")]
public void Set_bitCount (double @value)
{
Instance.CallMemberFunction ("set_bitCount", @value);
}
[TypeScriptBridge ("get_packBits")]
public double Get_packBits ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_packBits"));
}
[TypeScriptBridge ("set_packBits")]
public void Set_packBits (double @value)
{
Instance.CallMemberFunction ("set_packBits", @value);
}
[TypeScriptBridge ("get_firstBits")]
public double Get_firstBits ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_firstBits"));
}
[TypeScriptBridge ("set_firstBits")]
public void Set_firstBits (double @value)
{
Instance.CallMemberFunction ("set_firstBits", @value);
}
[TypeScriptBridge ("get_restOfBits")]
public ArrayInstance Get_restOfBits ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_restOfBits"));
}
[TypeScriptBridge ("set_restOfBits")]
public void Set_restOfBits (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_restOfBits", @value);
}
[TypeScriptBridge ("set")]
public void Set (double @bitIndex, bool @value)
{
Instance.CallMemberFunction ("set", @bitIndex, @value);
}
[TypeScriptBridge ("union")]
public void Union (TypeScriptServiceBridge.TypeScript.BitVector @b)
{
Instance.CallMemberFunction ("union", @b != null ? @b.Instance : null);
}
[TypeScriptBridge ("intersection")]
public void Intersection (TypeScriptServiceBridge.TypeScript.BitVector @b)
{
Instance.CallMemberFunction ("intersection", @b != null ? @b.Instance : null);
}
[TypeScriptBridge ("notEq")]
public bool NotEq (TypeScriptServiceBridge.TypeScript.BitVector @b)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("notEq", @b != null ? @b.Instance : null));
}
[TypeScriptBridge ("difference")]
public void Difference (TypeScriptServiceBridge.TypeScript.BitVector @b)
{
Instance.CallMemberFunction ("difference", @b != null ? @b.Instance : null);
}
}
public class BasicBlock : TypeScriptObject
{
public BasicBlock (ObjectInstance instance) : base (instance) {}
public BasicBlock ()
: base (CallConstructor ("TypeScript", "BasicBlock"))
{
}
[TypeScriptBridge ("predecessors")]
public ArrayInstance Predecessors {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("predecessors")); }
set { Instance.SetPropertyValue ("predecessors", value, true); }
}
[TypeScriptBridge ("index")]
public double Index {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("index")); }
set { Instance.SetPropertyValue ("index", value, true); }
}
[TypeScriptBridge ("markValue")]
public double MarkValue {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("markValue")); }
set { Instance.SetPropertyValue ("markValue", value, true); }
}
[TypeScriptBridge ("successors")]
public ArrayInstance Successors {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("successors")); }
set { Instance.SetPropertyValue ("successors", value, true); }
}
[TypeScriptBridge ("useDef")]
public TypeScriptServiceBridge.TypeScript.BBUseDefInfo UseDef {
get { return new TypeScriptServiceBridge.TypeScript.BBUseDefInfo ((ObjectInstance) Instance.GetPropertyValue ("useDef")); }
set { Instance.SetPropertyValue ("useDef", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("content")]
public TypeScriptServiceBridge.TypeScript.ASTList Content {
get { return new TypeScriptServiceBridge.TypeScript.ASTList ((ObjectInstance) Instance.GetPropertyValue ("content")); }
set { Instance.SetPropertyValue ("content", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_predecessors")]
public ArrayInstance Get_predecessors ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_predecessors"));
}
[TypeScriptBridge ("set_predecessors")]
public void Set_predecessors (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_predecessors", @value);
}
[TypeScriptBridge ("get_index")]
public double Get_index ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_index"));
}
[TypeScriptBridge ("set_index")]
public void Set_index (double @value)
{
Instance.CallMemberFunction ("set_index", @value);
}
[TypeScriptBridge ("get_markValue")]
public double Get_markValue ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_markValue"));
}
[TypeScriptBridge ("set_markValue")]
public void Set_markValue (double @value)
{
Instance.CallMemberFunction ("set_markValue", @value);
}
[TypeScriptBridge ("marked")]
public bool Marked (double @markBase)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("marked", @markBase));
}
[TypeScriptBridge ("mark")]
public void Mark ()
{
Instance.CallMemberFunction ("mark");
}
[TypeScriptBridge ("get_successors")]
public ArrayInstance Get_successors ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_successors"));
}
[TypeScriptBridge ("set_successors")]
public void Set_successors (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_successors", @value);
}
[TypeScriptBridge ("get_useDef")]
public TypeScriptServiceBridge.TypeScript.BBUseDefInfo Get_useDef ()
{
return new TypeScriptServiceBridge.TypeScript.BBUseDefInfo ((ObjectInstance) Instance.CallMemberFunction ("get_useDef"));
}
[TypeScriptBridge ("set_useDef")]
public void Set_useDef (TypeScriptServiceBridge.TypeScript.BBUseDefInfo @value)
{
Instance.CallMemberFunction ("set_useDef", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_content")]
public TypeScriptServiceBridge.TypeScript.ASTList Get_content ()
{
return new TypeScriptServiceBridge.TypeScript.ASTList ((ObjectInstance) Instance.CallMemberFunction ("get_content"));
}
[TypeScriptBridge ("set_content")]
public void Set_content (TypeScriptServiceBridge.TypeScript.ASTList @value)
{
Instance.CallMemberFunction ("set_content", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("addSuccessor")]
public void AddSuccessor (TypeScriptServiceBridge.TypeScript.BasicBlock @successor)
{
Instance.CallMemberFunction ("addSuccessor", @successor != null ? @successor.Instance : null);
}
}
public interface ITargetInfo : ITypeScriptObject
{
[TypeScriptBridge ("stmt")]
TypeScriptServiceBridge.TypeScript.AST Stmt { get; set; }
[TypeScriptBridge ("continueBB")]
TypeScriptServiceBridge.TypeScript.BasicBlock ContinueBB { get; set; }
[TypeScriptBridge ("breakBB")]
TypeScriptServiceBridge.TypeScript.BasicBlock BreakBB { get; set; }
[TypeScriptBridge ("get_stmt")]
TypeScriptServiceBridge.TypeScript.AST Get_stmt ();
[TypeScriptBridge ("set_stmt")]
void Set_stmt (TypeScriptServiceBridge.TypeScript.AST @value);
[TypeScriptBridge ("get_continueBB")]
TypeScriptServiceBridge.TypeScript.BasicBlock Get_continueBB ();
[TypeScriptBridge ("set_continueBB")]
void Set_continueBB (TypeScriptServiceBridge.TypeScript.BasicBlock @value);
[TypeScriptBridge ("get_breakBB")]
TypeScriptServiceBridge.TypeScript.BasicBlock Get_breakBB ();
[TypeScriptBridge ("set_breakBB")]
void Set_breakBB (TypeScriptServiceBridge.TypeScript.BasicBlock @value);
}
public class ITargetInfo_Impl : TypeScriptObject, ITargetInfo
{
public ITargetInfo_Impl (ObjectInstance instance) : base (instance) {}
[TypeScriptBridge ("stmt")]
public TypeScriptServiceBridge.TypeScript.AST Stmt {
get { return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.GetPropertyValue ("stmt")); }
set { Instance.SetPropertyValue ("stmt", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("continueBB")]
public TypeScriptServiceBridge.TypeScript.BasicBlock ContinueBB {
get { return new TypeScriptServiceBridge.TypeScript.BasicBlock ((ObjectInstance) Instance.GetPropertyValue ("continueBB")); }
set { Instance.SetPropertyValue ("continueBB", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("breakBB")]
public TypeScriptServiceBridge.TypeScript.BasicBlock BreakBB {
get { return new TypeScriptServiceBridge.TypeScript.BasicBlock ((ObjectInstance) Instance.GetPropertyValue ("breakBB")); }
set { Instance.SetPropertyValue ("breakBB", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_stmt")]
public TypeScriptServiceBridge.TypeScript.AST Get_stmt ()
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("get_stmt"));
}
[TypeScriptBridge ("set_stmt")]
public void Set_stmt (TypeScriptServiceBridge.TypeScript.AST @value)
{
Instance.CallMemberFunction ("set_stmt", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_continueBB")]
public TypeScriptServiceBridge.TypeScript.BasicBlock Get_continueBB ()
{
return new TypeScriptServiceBridge.TypeScript.BasicBlock ((ObjectInstance) Instance.CallMemberFunction ("get_continueBB"));
}
[TypeScriptBridge ("set_continueBB")]
public void Set_continueBB (TypeScriptServiceBridge.TypeScript.BasicBlock @value)
{
Instance.CallMemberFunction ("set_continueBB", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_breakBB")]
public TypeScriptServiceBridge.TypeScript.BasicBlock Get_breakBB ()
{
return new TypeScriptServiceBridge.TypeScript.BasicBlock ((ObjectInstance) Instance.CallMemberFunction ("get_breakBB"));
}
[TypeScriptBridge ("set_breakBB")]
public void Set_breakBB (TypeScriptServiceBridge.TypeScript.BasicBlock @value)
{
Instance.CallMemberFunction ("set_breakBB", @value != null ? @value.Instance : null);
}
}
public class ControlFlowContext : TypeScriptObject
{
public ControlFlowContext (ObjectInstance instance) : base (instance) {}
public ControlFlowContext (TypeScriptServiceBridge.TypeScript.BasicBlock @current, TypeScriptServiceBridge.TypeScript.BasicBlock @exit)
: base (CallConstructor ("TypeScript", "ControlFlowContext", @current != null ? @current.Instance : null, @exit != null ? @exit.Instance : null))
{
}
[TypeScriptBridge ("current")]
public TypeScriptServiceBridge.TypeScript.BasicBlock Current {
get { return new TypeScriptServiceBridge.TypeScript.BasicBlock ((ObjectInstance) Instance.GetPropertyValue ("current")); }
set { Instance.SetPropertyValue ("current", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("exit")]
public TypeScriptServiceBridge.TypeScript.BasicBlock Exit {
get { return new TypeScriptServiceBridge.TypeScript.BasicBlock ((ObjectInstance) Instance.GetPropertyValue ("exit")); }
set { Instance.SetPropertyValue ("exit", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("entry")]
public System.Object Entry {
get { return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("entry")); }
set { Instance.SetPropertyValue ("entry", value, true); }
}
[TypeScriptBridge ("unreachable")]
public ArrayInstance Unreachable {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("unreachable")); }
set { Instance.SetPropertyValue ("unreachable", value, true); }
}
[TypeScriptBridge ("noContinuation")]
public bool NoContinuation {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("noContinuation")); }
set { Instance.SetPropertyValue ("noContinuation", value, true); }
}
[TypeScriptBridge ("statementStack")]
public ArrayInstance StatementStack {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("statementStack")); }
set { Instance.SetPropertyValue ("statementStack", value, true); }
}
[TypeScriptBridge ("currentSwitch")]
public ArrayInstance CurrentSwitch {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("currentSwitch")); }
set { Instance.SetPropertyValue ("currentSwitch", value, true); }
}
[TypeScriptBridge ("walker")]
public TypeScriptServiceBridge.TypeScript.IAstWalker Walker {
get { return new TypeScriptServiceBridge.TypeScript.IAstWalker_Impl ((ObjectInstance) Instance.GetPropertyValue ("walker")); }
set { Instance.SetPropertyValue ("walker", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("markBase")]
public double MarkBase {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("markBase")); }
set { Instance.SetPropertyValue ("markBase", value, true); }
}
[TypeScriptBridge ("linearBBs")]
public ArrayInstance LinearBBs {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("linearBBs")); }
set { Instance.SetPropertyValue ("linearBBs", value, true); }
}
[TypeScriptBridge ("get_current")]
public TypeScriptServiceBridge.TypeScript.BasicBlock Get_current ()
{
return new TypeScriptServiceBridge.TypeScript.BasicBlock ((ObjectInstance) Instance.CallMemberFunction ("get_current"));
}
[TypeScriptBridge ("set_current")]
public void Set_current (TypeScriptServiceBridge.TypeScript.BasicBlock @value)
{
Instance.CallMemberFunction ("set_current", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_exit")]
public TypeScriptServiceBridge.TypeScript.BasicBlock Get_exit ()
{
return new TypeScriptServiceBridge.TypeScript.BasicBlock ((ObjectInstance) Instance.CallMemberFunction ("get_exit"));
}
[TypeScriptBridge ("set_exit")]
public void Set_exit (TypeScriptServiceBridge.TypeScript.BasicBlock @value)
{
Instance.CallMemberFunction ("set_exit", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_entry")]
public System.Object Get_entry ()
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_entry"));
}
[TypeScriptBridge ("set_entry")]
public void Set_entry (System.Object @value)
{
Instance.CallMemberFunction ("set_entry", @value);
}
[TypeScriptBridge ("get_unreachable")]
public ArrayInstance Get_unreachable ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_unreachable"));
}
[TypeScriptBridge ("set_unreachable")]
public void Set_unreachable (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_unreachable", @value);
}
[TypeScriptBridge ("get_noContinuation")]
public bool Get_noContinuation ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_noContinuation"));
}
[TypeScriptBridge ("set_noContinuation")]
public void Set_noContinuation (bool @value)
{
Instance.CallMemberFunction ("set_noContinuation", @value);
}
[TypeScriptBridge ("get_statementStack")]
public ArrayInstance Get_statementStack ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_statementStack"));
}
[TypeScriptBridge ("set_statementStack")]
public void Set_statementStack (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_statementStack", @value);
}
[TypeScriptBridge ("get_currentSwitch")]
public ArrayInstance Get_currentSwitch ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_currentSwitch"));
}
[TypeScriptBridge ("set_currentSwitch")]
public void Set_currentSwitch (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_currentSwitch", @value);
}
[TypeScriptBridge ("get_walker")]
public TypeScriptServiceBridge.TypeScript.IAstWalker Get_walker ()
{
return new TypeScriptServiceBridge.TypeScript.IAstWalker_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_walker"));
}
[TypeScriptBridge ("set_walker")]
public void Set_walker (TypeScriptServiceBridge.TypeScript.IAstWalker @value)
{
Instance.CallMemberFunction ("set_walker", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("walk")]
public TypeScriptServiceBridge.TypeScript.AST Walk (TypeScriptServiceBridge.TypeScript.AST @ast, TypeScriptServiceBridge.TypeScript.AST @parent)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("walk", @ast != null ? @ast.Instance : null, @parent != null ? @parent.Instance : null));
}
[TypeScriptBridge ("pushSwitch")]
public void PushSwitch (TypeScriptServiceBridge.TypeScript.BasicBlock @bb)
{
Instance.CallMemberFunction ("pushSwitch", @bb != null ? @bb.Instance : null);
}
[TypeScriptBridge ("popSwitch")]
public TypeScriptServiceBridge.TypeScript.BasicBlock PopSwitch ()
{
return new TypeScriptServiceBridge.TypeScript.BasicBlock ((ObjectInstance) Instance.CallMemberFunction ("popSwitch"));
}
[TypeScriptBridge ("reportUnreachable")]
public void ReportUnreachable (TypeScriptServiceBridge.TypeScript.ErrorReporter @er)
{
Instance.CallMemberFunction ("reportUnreachable", @er != null ? @er.Instance : null);
}
[TypeScriptBridge ("printAST")]
public void PrintAST (TypeScriptServiceBridge.TypeScript.AST @ast, TypeScriptServiceBridge.ITextWriter @outfile)
{
Instance.CallMemberFunction ("printAST", @ast != null ? @ast.Instance : null, @outfile != null ? @outfile.Instance : null);
}
[TypeScriptBridge ("printBlockContent")]
public void PrintBlockContent (TypeScriptServiceBridge.TypeScript.BasicBlock @bb, TypeScriptServiceBridge.ITextWriter @outfile)
{
Instance.CallMemberFunction ("printBlockContent", @bb != null ? @bb.Instance : null, @outfile != null ? @outfile.Instance : null);
}
[TypeScriptBridge ("get_markBase")]
public double Get_markBase ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_markBase"));
}
[TypeScriptBridge ("set_markBase")]
public void Set_markBase (double @value)
{
Instance.CallMemberFunction ("set_markBase", @value);
}
[TypeScriptBridge ("get_linearBBs")]
public ArrayInstance Get_linearBBs ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_linearBBs"));
}
[TypeScriptBridge ("set_linearBBs")]
public void Set_linearBBs (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_linearBBs", @value);
}
[TypeScriptBridge ("useDef")]
public void UseDef (TypeScriptServiceBridge.TypeScript.ErrorReporter @er, TypeScriptServiceBridge.TypeScript.Symbol @funcSym)
{
Instance.CallMemberFunction ("useDef", @er != null ? @er.Instance : null, @funcSym != null ? @funcSym.Instance : null);
}
[TypeScriptBridge ("print")]
public void Print (TypeScriptServiceBridge.ITextWriter @outfile)
{
Instance.CallMemberFunction ("print", @outfile != null ? @outfile.Instance : null);
}
[TypeScriptBridge ("pushStatement")]
public void PushStatement (TypeScriptServiceBridge.TypeScript.Statement @stmt, TypeScriptServiceBridge.TypeScript.BasicBlock @continueBB, TypeScriptServiceBridge.TypeScript.BasicBlock @breakBB)
{
Instance.CallMemberFunction ("pushStatement", @stmt != null ? @stmt.Instance : null, @continueBB != null ? @continueBB.Instance : null, @breakBB != null ? @breakBB.Instance : null);
}
[TypeScriptBridge ("popStatement")]
public TypeScriptServiceBridge.TypeScript.ITargetInfo PopStatement ()
{
return new TypeScriptServiceBridge.TypeScript.ITargetInfo_Impl ((ObjectInstance) Instance.CallMemberFunction ("popStatement"));
}
[TypeScriptBridge ("returnStmt")]
public void ReturnStmt ()
{
Instance.CallMemberFunction ("returnStmt");
}
[TypeScriptBridge ("setUnreachable")]
public void SetUnreachable ()
{
Instance.CallMemberFunction ("setUnreachable");
}
[TypeScriptBridge ("addUnreachable")]
public void AddUnreachable (TypeScriptServiceBridge.TypeScript.AST @ast)
{
Instance.CallMemberFunction ("addUnreachable", @ast != null ? @ast.Instance : null);
}
[TypeScriptBridge ("unconditionalBranch")]
public void UnconditionalBranch (TypeScriptServiceBridge.TypeScript.AST @target, bool @isContinue)
{
Instance.CallMemberFunction ("unconditionalBranch", @target != null ? @target.Instance : null, @isContinue);
}
[TypeScriptBridge ("addContent")]
public void AddContent (TypeScriptServiceBridge.TypeScript.AST @ast)
{
Instance.CallMemberFunction ("addContent", @ast != null ? @ast.Instance : null);
}
}
public interface IResolutionData : ITypeScriptObject
{
[TypeScriptBridge ("actuals")]
ArrayInstance Actuals { get; set; }
[TypeScriptBridge ("exactCandidates")]
ArrayInstance ExactCandidates { get; set; }
[TypeScriptBridge ("conversionCandidates")]
ArrayInstance ConversionCandidates { get; set; }
[TypeScriptBridge ("id")]
double Id { get; set; }
[TypeScriptBridge ("get_actuals")]
ArrayInstance Get_actuals ();
[TypeScriptBridge ("set_actuals")]
void Set_actuals (ArrayInstance @value);
[TypeScriptBridge ("get_exactCandidates")]
ArrayInstance Get_exactCandidates ();
[TypeScriptBridge ("set_exactCandidates")]
void Set_exactCandidates (ArrayInstance @value);
[TypeScriptBridge ("get_conversionCandidates")]
ArrayInstance Get_conversionCandidates ();
[TypeScriptBridge ("set_conversionCandidates")]
void Set_conversionCandidates (ArrayInstance @value);
[TypeScriptBridge ("get_id")]
double Get_id ();
[TypeScriptBridge ("set_id")]
void Set_id (double @value);
}
public class IResolutionData_Impl : TypeScriptObject, IResolutionData
{
public IResolutionData_Impl (ObjectInstance instance) : base (instance) {}
[TypeScriptBridge ("actuals")]
public ArrayInstance Actuals {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("actuals")); }
set { Instance.SetPropertyValue ("actuals", value, true); }
}
[TypeScriptBridge ("exactCandidates")]
public ArrayInstance ExactCandidates {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("exactCandidates")); }
set { Instance.SetPropertyValue ("exactCandidates", value, true); }
}
[TypeScriptBridge ("conversionCandidates")]
public ArrayInstance ConversionCandidates {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("conversionCandidates")); }
set { Instance.SetPropertyValue ("conversionCandidates", value, true); }
}
[TypeScriptBridge ("id")]
public double Id {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("id")); }
set { Instance.SetPropertyValue ("id", value, true); }
}
[TypeScriptBridge ("get_actuals")]
public ArrayInstance Get_actuals ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_actuals"));
}
[TypeScriptBridge ("set_actuals")]
public void Set_actuals (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_actuals", @value);
}
[TypeScriptBridge ("get_exactCandidates")]
public ArrayInstance Get_exactCandidates ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_exactCandidates"));
}
[TypeScriptBridge ("set_exactCandidates")]
public void Set_exactCandidates (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_exactCandidates", @value);
}
[TypeScriptBridge ("get_conversionCandidates")]
public ArrayInstance Get_conversionCandidates ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_conversionCandidates"));
}
[TypeScriptBridge ("set_conversionCandidates")]
public void Set_conversionCandidates (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_conversionCandidates", @value);
}
[TypeScriptBridge ("get_id")]
public double Get_id ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_id"));
}
[TypeScriptBridge ("set_id")]
public void Set_id (double @value)
{
Instance.CallMemberFunction ("set_id", @value);
}
}
public class ResolutionDataCache : TypeScriptObject
{
public ResolutionDataCache (ObjectInstance instance) : base (instance) {}
public ResolutionDataCache ()
: base (CallConstructor ("TypeScript", "ResolutionDataCache"))
{
}
[TypeScriptBridge ("cacheSize")]
public double CacheSize {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("cacheSize")); }
set { Instance.SetPropertyValue ("cacheSize", value, true); }
}
[TypeScriptBridge ("rdCache")]
public ArrayInstance RdCache {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("rdCache")); }
set { Instance.SetPropertyValue ("rdCache", value, true); }
}
[TypeScriptBridge ("nextUp")]
public double NextUp {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("nextUp")); }
set { Instance.SetPropertyValue ("nextUp", value, true); }
}
[TypeScriptBridge ("get_cacheSize")]
public double Get_cacheSize ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_cacheSize"));
}
[TypeScriptBridge ("set_cacheSize")]
public void Set_cacheSize (double @value)
{
Instance.CallMemberFunction ("set_cacheSize", @value);
}
[TypeScriptBridge ("get_rdCache")]
public ArrayInstance Get_rdCache ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_rdCache"));
}
[TypeScriptBridge ("set_rdCache")]
public void Set_rdCache (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_rdCache", @value);
}
[TypeScriptBridge ("get_nextUp")]
public double Get_nextUp ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_nextUp"));
}
[TypeScriptBridge ("set_nextUp")]
public void Set_nextUp (double @value)
{
Instance.CallMemberFunction ("set_nextUp", @value);
}
[TypeScriptBridge ("getResolutionData")]
public TypeScriptServiceBridge.TypeScript.IResolutionData GetResolutionData ()
{
return new TypeScriptServiceBridge.TypeScript.IResolutionData_Impl ((ObjectInstance) Instance.CallMemberFunction ("getResolutionData"));
}
[TypeScriptBridge ("returnResolutionData")]
public void ReturnResolutionData (TypeScriptServiceBridge.TypeScript.IResolutionData @rd)
{
Instance.CallMemberFunction ("returnResolutionData", @rd != null ? @rd.Instance : null);
}
}
public class TypeFlow : TypeScriptObject
{
public TypeFlow (ObjectInstance instance) : base (instance) {}
public TypeFlow (TypeScriptServiceBridge.TypeScript.ILogger @logger, TypeScriptServiceBridge.TypeScript.SymbolScope @initScope, TypeScriptServiceBridge.TypeScript.Parser @parser, TypeScriptServiceBridge.TypeScript.TypeChecker @checker)
: base (CallConstructor ("TypeScript", "TypeFlow", @logger != null ? @logger.Instance : null, @initScope != null ? @initScope.Instance : null, @parser != null ? @parser.Instance : null, @checker != null ? @checker.Instance : null))
{
}
[TypeScriptBridge ("logger")]
public TypeScriptServiceBridge.TypeScript.ILogger Logger {
get { return new TypeScriptServiceBridge.TypeScript.ILogger_Impl ((ObjectInstance) Instance.GetPropertyValue ("logger")); }
set { Instance.SetPropertyValue ("logger", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("initScope")]
public TypeScriptServiceBridge.TypeScript.SymbolScope InitScope {
get { return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.GetPropertyValue ("initScope")); }
set { Instance.SetPropertyValue ("initScope", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("parser")]
public TypeScriptServiceBridge.TypeScript.Parser Parser {
get { return new TypeScriptServiceBridge.TypeScript.Parser ((ObjectInstance) Instance.GetPropertyValue ("parser")); }
set { Instance.SetPropertyValue ("parser", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("checker")]
public TypeScriptServiceBridge.TypeScript.TypeChecker Checker {
get { return new TypeScriptServiceBridge.TypeScript.TypeChecker ((ObjectInstance) Instance.GetPropertyValue ("checker")); }
set { Instance.SetPropertyValue ("checker", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("scope")]
public TypeScriptServiceBridge.TypeScript.SymbolScope Scope {
get { return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.GetPropertyValue ("scope")); }
set { Instance.SetPropertyValue ("scope", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("globalScope")]
public TypeScriptServiceBridge.TypeScript.SymbolScope GlobalScope {
get { return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.GetPropertyValue ("globalScope")); }
set { Instance.SetPropertyValue ("globalScope", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("thisType")]
public TypeScriptServiceBridge.TypeScript.Type ThisType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("thisType")); }
set { Instance.SetPropertyValue ("thisType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("thisFnc")]
public TypeScriptServiceBridge.TypeScript.FuncDecl ThisFnc {
get { return new TypeScriptServiceBridge.TypeScript.FuncDecl ((ObjectInstance) Instance.GetPropertyValue ("thisFnc")); }
set { Instance.SetPropertyValue ("thisFnc", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("thisClassNode")]
public TypeScriptServiceBridge.TypeScript.TypeDeclaration ThisClassNode {
get { return new TypeScriptServiceBridge.TypeScript.TypeDeclaration ((ObjectInstance) Instance.GetPropertyValue ("thisClassNode")); }
set { Instance.SetPropertyValue ("thisClassNode", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("enclosingFncIsMethod")]
public bool EnclosingFncIsMethod {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("enclosingFncIsMethod")); }
set { Instance.SetPropertyValue ("enclosingFncIsMethod", value, true); }
}
[TypeScriptBridge ("doubleType")]
public TypeScriptServiceBridge.TypeScript.Type DoubleType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("doubleType")); }
set { Instance.SetPropertyValue ("doubleType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("booleanType")]
public TypeScriptServiceBridge.TypeScript.Type BooleanType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("booleanType")); }
set { Instance.SetPropertyValue ("booleanType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("stringType")]
public TypeScriptServiceBridge.TypeScript.Type StringType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("stringType")); }
set { Instance.SetPropertyValue ("stringType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("anyType")]
public TypeScriptServiceBridge.TypeScript.Type AnyType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("anyType")); }
set { Instance.SetPropertyValue ("anyType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("regexType")]
public TypeScriptServiceBridge.TypeScript.Type RegexType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("regexType")); }
set { Instance.SetPropertyValue ("regexType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("nullType")]
public TypeScriptServiceBridge.TypeScript.Type NullType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("nullType")); }
set { Instance.SetPropertyValue ("nullType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("voidType")]
public TypeScriptServiceBridge.TypeScript.Type VoidType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("voidType")); }
set { Instance.SetPropertyValue ("voidType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("arrayAnyType")]
public TypeScriptServiceBridge.TypeScript.Type ArrayAnyType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("arrayAnyType")); }
set { Instance.SetPropertyValue ("arrayAnyType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("arrayInterfaceType")]
public TypeScriptServiceBridge.TypeScript.Type ArrayInterfaceType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("arrayInterfaceType")); }
set { Instance.SetPropertyValue ("arrayInterfaceType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("stringInterfaceType")]
public TypeScriptServiceBridge.TypeScript.Type StringInterfaceType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("stringInterfaceType")); }
set { Instance.SetPropertyValue ("stringInterfaceType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("objectInterfaceType")]
public TypeScriptServiceBridge.TypeScript.Type ObjectInterfaceType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("objectInterfaceType")); }
set { Instance.SetPropertyValue ("objectInterfaceType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("functionInterfaceType")]
public TypeScriptServiceBridge.TypeScript.Type FunctionInterfaceType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("functionInterfaceType")); }
set { Instance.SetPropertyValue ("functionInterfaceType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("doubleInterfaceType")]
public TypeScriptServiceBridge.TypeScript.Type DoubleInterfaceType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("doubleInterfaceType")); }
set { Instance.SetPropertyValue ("doubleInterfaceType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("booleanInterfaceType")]
public TypeScriptServiceBridge.TypeScript.Type BooleanInterfaceType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("booleanInterfaceType")); }
set { Instance.SetPropertyValue ("booleanInterfaceType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("iargumentsInterfaceType")]
public TypeScriptServiceBridge.TypeScript.Type IargumentsInterfaceType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("iargumentsInterfaceType")); }
set { Instance.SetPropertyValue ("iargumentsInterfaceType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("currentScript")]
public TypeScriptServiceBridge.TypeScript.Script CurrentScript {
get { return new TypeScriptServiceBridge.TypeScript.Script ((ObjectInstance) Instance.GetPropertyValue ("currentScript")); }
set { Instance.SetPropertyValue ("currentScript", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("inImportTypeCheck")]
public bool InImportTypeCheck {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("inImportTypeCheck")); }
set { Instance.SetPropertyValue ("inImportTypeCheck", value, true); }
}
[TypeScriptBridge ("inTypeRefTypeCheck")]
public bool InTypeRefTypeCheck {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("inTypeRefTypeCheck")); }
set { Instance.SetPropertyValue ("inTypeRefTypeCheck", value, true); }
}
[TypeScriptBridge ("inArrayElementTypeCheck")]
public bool InArrayElementTypeCheck {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("inArrayElementTypeCheck")); }
set { Instance.SetPropertyValue ("inArrayElementTypeCheck", value, true); }
}
[TypeScriptBridge ("resolutionDataCache")]
public TypeScriptServiceBridge.TypeScript.ResolutionDataCache ResolutionDataCache {
get { return new TypeScriptServiceBridge.TypeScript.ResolutionDataCache ((ObjectInstance) Instance.GetPropertyValue ("resolutionDataCache")); }
set { Instance.SetPropertyValue ("resolutionDataCache", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("nestingLevel")]
public double NestingLevel {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("nestingLevel")); }
set { Instance.SetPropertyValue ("nestingLevel", value, true); }
}
[TypeScriptBridge ("inBoundPropTypeCheck")]
public bool InBoundPropTypeCheck {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("inBoundPropTypeCheck")); }
set { Instance.SetPropertyValue ("inBoundPropTypeCheck", value, true); }
}
[TypeScriptBridge ("inSuperCall")]
public bool InSuperCall {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("inSuperCall")); }
set { Instance.SetPropertyValue ("inSuperCall", value, true); }
}
[TypeScriptBridge ("get_logger")]
public TypeScriptServiceBridge.TypeScript.ILogger Get_logger ()
{
return new TypeScriptServiceBridge.TypeScript.ILogger_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_logger"));
}
[TypeScriptBridge ("set_logger")]
public void Set_logger (TypeScriptServiceBridge.TypeScript.ILogger @value)
{
Instance.CallMemberFunction ("set_logger", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_initScope")]
public TypeScriptServiceBridge.TypeScript.SymbolScope Get_initScope ()
{
return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.CallMemberFunction ("get_initScope"));
}
[TypeScriptBridge ("set_initScope")]
public void Set_initScope (TypeScriptServiceBridge.TypeScript.SymbolScope @value)
{
Instance.CallMemberFunction ("set_initScope", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_parser")]
public TypeScriptServiceBridge.TypeScript.Parser Get_parser ()
{
return new TypeScriptServiceBridge.TypeScript.Parser ((ObjectInstance) Instance.CallMemberFunction ("get_parser"));
}
[TypeScriptBridge ("set_parser")]
public void Set_parser (TypeScriptServiceBridge.TypeScript.Parser @value)
{
Instance.CallMemberFunction ("set_parser", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_checker")]
public TypeScriptServiceBridge.TypeScript.TypeChecker Get_checker ()
{
return new TypeScriptServiceBridge.TypeScript.TypeChecker ((ObjectInstance) Instance.CallMemberFunction ("get_checker"));
}
[TypeScriptBridge ("set_checker")]
public void Set_checker (TypeScriptServiceBridge.TypeScript.TypeChecker @value)
{
Instance.CallMemberFunction ("set_checker", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_scope")]
public TypeScriptServiceBridge.TypeScript.SymbolScope Get_scope ()
{
return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.CallMemberFunction ("get_scope"));
}
[TypeScriptBridge ("set_scope")]
public void Set_scope (TypeScriptServiceBridge.TypeScript.SymbolScope @value)
{
Instance.CallMemberFunction ("set_scope", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_globalScope")]
public TypeScriptServiceBridge.TypeScript.SymbolScope Get_globalScope ()
{
return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.CallMemberFunction ("get_globalScope"));
}
[TypeScriptBridge ("set_globalScope")]
public void Set_globalScope (TypeScriptServiceBridge.TypeScript.SymbolScope @value)
{
Instance.CallMemberFunction ("set_globalScope", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_thisType")]
public TypeScriptServiceBridge.TypeScript.Type Get_thisType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_thisType"));
}
[TypeScriptBridge ("set_thisType")]
public void Set_thisType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_thisType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_thisFnc")]
public TypeScriptServiceBridge.TypeScript.FuncDecl Get_thisFnc ()
{
return new TypeScriptServiceBridge.TypeScript.FuncDecl ((ObjectInstance) Instance.CallMemberFunction ("get_thisFnc"));
}
[TypeScriptBridge ("set_thisFnc")]
public void Set_thisFnc (TypeScriptServiceBridge.TypeScript.FuncDecl @value)
{
Instance.CallMemberFunction ("set_thisFnc", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_thisClassNode")]
public TypeScriptServiceBridge.TypeScript.TypeDeclaration Get_thisClassNode ()
{
return new TypeScriptServiceBridge.TypeScript.TypeDeclaration ((ObjectInstance) Instance.CallMemberFunction ("get_thisClassNode"));
}
[TypeScriptBridge ("set_thisClassNode")]
public void Set_thisClassNode (TypeScriptServiceBridge.TypeScript.TypeDeclaration @value)
{
Instance.CallMemberFunction ("set_thisClassNode", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_enclosingFncIsMethod")]
public bool Get_enclosingFncIsMethod ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_enclosingFncIsMethod"));
}
[TypeScriptBridge ("set_enclosingFncIsMethod")]
public void Set_enclosingFncIsMethod (bool @value)
{
Instance.CallMemberFunction ("set_enclosingFncIsMethod", @value);
}
[TypeScriptBridge ("get_doubleType")]
public TypeScriptServiceBridge.TypeScript.Type Get_doubleType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_doubleType"));
}
[TypeScriptBridge ("set_doubleType")]
public void Set_doubleType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_doubleType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_booleanType")]
public TypeScriptServiceBridge.TypeScript.Type Get_booleanType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_booleanType"));
}
[TypeScriptBridge ("set_booleanType")]
public void Set_booleanType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_booleanType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_stringType")]
public TypeScriptServiceBridge.TypeScript.Type Get_stringType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_stringType"));
}
[TypeScriptBridge ("set_stringType")]
public void Set_stringType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_stringType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_anyType")]
public TypeScriptServiceBridge.TypeScript.Type Get_anyType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_anyType"));
}
[TypeScriptBridge ("set_anyType")]
public void Set_anyType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_anyType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_regexType")]
public TypeScriptServiceBridge.TypeScript.Type Get_regexType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_regexType"));
}
[TypeScriptBridge ("set_regexType")]
public void Set_regexType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_regexType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_nullType")]
public TypeScriptServiceBridge.TypeScript.Type Get_nullType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_nullType"));
}
[TypeScriptBridge ("set_nullType")]
public void Set_nullType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_nullType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_voidType")]
public TypeScriptServiceBridge.TypeScript.Type Get_voidType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_voidType"));
}
[TypeScriptBridge ("set_voidType")]
public void Set_voidType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_voidType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_arrayAnyType")]
public TypeScriptServiceBridge.TypeScript.Type Get_arrayAnyType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_arrayAnyType"));
}
[TypeScriptBridge ("set_arrayAnyType")]
public void Set_arrayAnyType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_arrayAnyType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_arrayInterfaceType")]
public TypeScriptServiceBridge.TypeScript.Type Get_arrayInterfaceType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_arrayInterfaceType"));
}
[TypeScriptBridge ("set_arrayInterfaceType")]
public void Set_arrayInterfaceType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_arrayInterfaceType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_stringInterfaceType")]
public TypeScriptServiceBridge.TypeScript.Type Get_stringInterfaceType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_stringInterfaceType"));
}
[TypeScriptBridge ("set_stringInterfaceType")]
public void Set_stringInterfaceType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_stringInterfaceType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_objectInterfaceType")]
public TypeScriptServiceBridge.TypeScript.Type Get_objectInterfaceType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_objectInterfaceType"));
}
[TypeScriptBridge ("set_objectInterfaceType")]
public void Set_objectInterfaceType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_objectInterfaceType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_functionInterfaceType")]
public TypeScriptServiceBridge.TypeScript.Type Get_functionInterfaceType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_functionInterfaceType"));
}
[TypeScriptBridge ("set_functionInterfaceType")]
public void Set_functionInterfaceType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_functionInterfaceType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_doubleInterfaceType")]
public TypeScriptServiceBridge.TypeScript.Type Get_doubleInterfaceType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_doubleInterfaceType"));
}
[TypeScriptBridge ("set_doubleInterfaceType")]
public void Set_doubleInterfaceType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_doubleInterfaceType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_booleanInterfaceType")]
public TypeScriptServiceBridge.TypeScript.Type Get_booleanInterfaceType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_booleanInterfaceType"));
}
[TypeScriptBridge ("set_booleanInterfaceType")]
public void Set_booleanInterfaceType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_booleanInterfaceType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_iargumentsInterfaceType")]
public TypeScriptServiceBridge.TypeScript.Type Get_iargumentsInterfaceType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_iargumentsInterfaceType"));
}
[TypeScriptBridge ("set_iargumentsInterfaceType")]
public void Set_iargumentsInterfaceType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_iargumentsInterfaceType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_currentScript")]
public TypeScriptServiceBridge.TypeScript.Script Get_currentScript ()
{
return new TypeScriptServiceBridge.TypeScript.Script ((ObjectInstance) Instance.CallMemberFunction ("get_currentScript"));
}
[TypeScriptBridge ("set_currentScript")]
public void Set_currentScript (TypeScriptServiceBridge.TypeScript.Script @value)
{
Instance.CallMemberFunction ("set_currentScript", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_inImportTypeCheck")]
public bool Get_inImportTypeCheck ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_inImportTypeCheck"));
}
[TypeScriptBridge ("set_inImportTypeCheck")]
public void Set_inImportTypeCheck (bool @value)
{
Instance.CallMemberFunction ("set_inImportTypeCheck", @value);
}
[TypeScriptBridge ("get_inTypeRefTypeCheck")]
public bool Get_inTypeRefTypeCheck ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_inTypeRefTypeCheck"));
}
[TypeScriptBridge ("set_inTypeRefTypeCheck")]
public void Set_inTypeRefTypeCheck (bool @value)
{
Instance.CallMemberFunction ("set_inTypeRefTypeCheck", @value);
}
[TypeScriptBridge ("get_inArrayElementTypeCheck")]
public bool Get_inArrayElementTypeCheck ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_inArrayElementTypeCheck"));
}
[TypeScriptBridge ("set_inArrayElementTypeCheck")]
public void Set_inArrayElementTypeCheck (bool @value)
{
Instance.CallMemberFunction ("set_inArrayElementTypeCheck", @value);
}
[TypeScriptBridge ("get_resolutionDataCache")]
public TypeScriptServiceBridge.TypeScript.ResolutionDataCache Get_resolutionDataCache ()
{
return new TypeScriptServiceBridge.TypeScript.ResolutionDataCache ((ObjectInstance) Instance.CallMemberFunction ("get_resolutionDataCache"));
}
[TypeScriptBridge ("set_resolutionDataCache")]
public void Set_resolutionDataCache (TypeScriptServiceBridge.TypeScript.ResolutionDataCache @value)
{
Instance.CallMemberFunction ("set_resolutionDataCache", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_nestingLevel")]
public double Get_nestingLevel ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_nestingLevel"));
}
[TypeScriptBridge ("set_nestingLevel")]
public void Set_nestingLevel (double @value)
{
Instance.CallMemberFunction ("set_nestingLevel", @value);
}
[TypeScriptBridge ("get_inBoundPropTypeCheck")]
public bool Get_inBoundPropTypeCheck ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_inBoundPropTypeCheck"));
}
[TypeScriptBridge ("set_inBoundPropTypeCheck")]
public void Set_inBoundPropTypeCheck (bool @value)
{
Instance.CallMemberFunction ("set_inBoundPropTypeCheck", @value);
}
[TypeScriptBridge ("get_inSuperCall")]
public bool Get_inSuperCall ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_inSuperCall"));
}
[TypeScriptBridge ("set_inSuperCall")]
public void Set_inSuperCall (bool @value)
{
Instance.CallMemberFunction ("set_inSuperCall", @value);
}
[TypeScriptBridge ("initLibs")]
public void InitLibs ()
{
Instance.CallMemberFunction ("initLibs");
}
[TypeScriptBridge ("cast")]
public TypeScriptServiceBridge.TypeScript.AST Cast (TypeScriptServiceBridge.TypeScript.AST @ast, TypeScriptServiceBridge.TypeScript.Type @type)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("cast", @ast != null ? @ast.Instance : null, @type != null ? @type.Instance : null));
}
[TypeScriptBridge ("castWithCoercion")]
public TypeScriptServiceBridge.TypeScript.AST CastWithCoercion (TypeScriptServiceBridge.TypeScript.AST @ast, TypeScriptServiceBridge.TypeScript.Type @type, bool @applyCoercion, bool @typeAssertion)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("castWithCoercion", @ast != null ? @ast.Instance : null, @type != null ? @type.Instance : null, @applyCoercion, @typeAssertion));
}
[TypeScriptBridge ("inScopeTypeCheck")]
public TypeScriptServiceBridge.TypeScript.AST InScopeTypeCheck (TypeScriptServiceBridge.TypeScript.AST @ast, TypeScriptServiceBridge.TypeScript.SymbolScope @enclosingScope)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("inScopeTypeCheck", @ast != null ? @ast.Instance : null, @enclosingScope != null ? @enclosingScope.Instance : null));
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.AST TypeCheck (TypeScriptServiceBridge.TypeScript.AST @ast)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @ast != null ? @ast.Instance : null));
}
[TypeScriptBridge ("inScopeTypeCheckDecl")]
public void InScopeTypeCheckDecl (TypeScriptServiceBridge.TypeScript.AST @ast)
{
Instance.CallMemberFunction ("inScopeTypeCheckDecl", @ast != null ? @ast.Instance : null);
}
[TypeScriptBridge ("inScopeTypeCheckBoundDecl")]
public void InScopeTypeCheckBoundDecl (TypeScriptServiceBridge.TypeScript.BoundDecl @varDecl)
{
Instance.CallMemberFunction ("inScopeTypeCheckBoundDecl", @varDecl != null ? @varDecl.Instance : null);
}
[TypeScriptBridge ("resolveBoundDecl")]
public void ResolveBoundDecl (TypeScriptServiceBridge.TypeScript.BoundDecl @varDecl)
{
Instance.CallMemberFunction ("resolveBoundDecl", @varDecl != null ? @varDecl.Instance : null);
}
[TypeScriptBridge ("typeCheckBoundDecl")]
public TypeScriptServiceBridge.TypeScript.VarDecl TypeCheckBoundDecl (TypeScriptServiceBridge.TypeScript.BoundDecl @varDecl)
{
return new TypeScriptServiceBridge.TypeScript.VarDecl ((ObjectInstance) Instance.CallMemberFunction ("typeCheckBoundDecl", @varDecl != null ? @varDecl.Instance : null));
}
[TypeScriptBridge ("varPrivacyErrorReporter")]
public void VarPrivacyErrorReporter (TypeScriptServiceBridge.TypeScript.BoundDecl @varDecl, string @typeName)
{
Instance.CallMemberFunction ("varPrivacyErrorReporter", @varDecl != null ? @varDecl.Instance : null, @typeName);
}
[TypeScriptBridge ("typeCheckSuper")]
public TypeScriptServiceBridge.TypeScript.AST TypeCheckSuper (TypeScriptServiceBridge.TypeScript.AST @ast)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("typeCheckSuper", @ast != null ? @ast.Instance : null));
}
[TypeScriptBridge ("typeCheckThis")]
public TypeScriptServiceBridge.TypeScript.AST TypeCheckThis (TypeScriptServiceBridge.TypeScript.AST @ast)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("typeCheckThis", @ast != null ? @ast.Instance : null));
}
[TypeScriptBridge ("setTypeFromSymbol")]
public void SetTypeFromSymbol (TypeScriptServiceBridge.TypeScript.AST @ast, TypeScriptServiceBridge.TypeScript.Symbol @symbol)
{
Instance.CallMemberFunction ("setTypeFromSymbol", @ast != null ? @ast.Instance : null, @symbol != null ? @symbol.Instance : null);
}
[TypeScriptBridge ("typeCheckName")]
public TypeScriptServiceBridge.TypeScript.AST TypeCheckName (TypeScriptServiceBridge.TypeScript.AST @ast)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("typeCheckName", @ast != null ? @ast.Instance : null));
}
[TypeScriptBridge ("typeCheckScript")]
public TypeScriptServiceBridge.TypeScript.Script TypeCheckScript (TypeScriptServiceBridge.TypeScript.Script @script)
{
return new TypeScriptServiceBridge.TypeScript.Script ((ObjectInstance) Instance.CallMemberFunction ("typeCheckScript", @script != null ? @script.Instance : null));
}
[TypeScriptBridge ("typeCheckBitNot")]
public TypeScriptServiceBridge.TypeScript.AST TypeCheckBitNot (TypeScriptServiceBridge.TypeScript.AST @ast)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("typeCheckBitNot", @ast != null ? @ast.Instance : null));
}
[TypeScriptBridge ("typeCheckUnaryNumberOperator")]
public TypeScriptServiceBridge.TypeScript.AST TypeCheckUnaryNumberOperator (TypeScriptServiceBridge.TypeScript.AST @ast)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("typeCheckUnaryNumberOperator", @ast != null ? @ast.Instance : null));
}
[TypeScriptBridge ("typeCheckLogNot")]
public TypeScriptServiceBridge.TypeScript.AST TypeCheckLogNot (TypeScriptServiceBridge.TypeScript.AST @ast)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("typeCheckLogNot", @ast != null ? @ast.Instance : null));
}
[TypeScriptBridge ("astIsWriteable")]
public bool AstIsWriteable (TypeScriptServiceBridge.TypeScript.AST @ast)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("astIsWriteable", @ast != null ? @ast.Instance : null));
}
[TypeScriptBridge ("typeCheckIncOrDec")]
public TypeScriptServiceBridge.TypeScript.AST TypeCheckIncOrDec (TypeScriptServiceBridge.TypeScript.AST @ast)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("typeCheckIncOrDec", @ast != null ? @ast.Instance : null));
}
[TypeScriptBridge ("typeCheckBitwiseOperator")]
public TypeScriptServiceBridge.TypeScript.AST TypeCheckBitwiseOperator (TypeScriptServiceBridge.TypeScript.AST @ast, bool @assignment)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("typeCheckBitwiseOperator", @ast != null ? @ast.Instance : null, @assignment));
}
[TypeScriptBridge ("typeCheckArithmeticOperator")]
public TypeScriptServiceBridge.TypeScript.AST TypeCheckArithmeticOperator (TypeScriptServiceBridge.TypeScript.AST @ast, bool @assignment)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("typeCheckArithmeticOperator", @ast != null ? @ast.Instance : null, @assignment));
}
[TypeScriptBridge ("typeCheckDotOperator")]
public TypeScriptServiceBridge.TypeScript.AST TypeCheckDotOperator (TypeScriptServiceBridge.TypeScript.AST @ast)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("typeCheckDotOperator", @ast != null ? @ast.Instance : null));
}
[TypeScriptBridge ("typeCheckBooleanOperator")]
public TypeScriptServiceBridge.TypeScript.AST TypeCheckBooleanOperator (TypeScriptServiceBridge.TypeScript.AST @ast)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("typeCheckBooleanOperator", @ast != null ? @ast.Instance : null));
}
[TypeScriptBridge ("typeCheckAsgOperator")]
public TypeScriptServiceBridge.TypeScript.AST TypeCheckAsgOperator (TypeScriptServiceBridge.TypeScript.AST @ast)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("typeCheckAsgOperator", @ast != null ? @ast.Instance : null));
}
[TypeScriptBridge ("typeCheckIndex")]
public TypeScriptServiceBridge.TypeScript.AST TypeCheckIndex (TypeScriptServiceBridge.TypeScript.AST @ast)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("typeCheckIndex", @ast != null ? @ast.Instance : null));
}
[TypeScriptBridge ("typeCheckInOperator")]
public TypeScriptServiceBridge.TypeScript.BinaryExpression TypeCheckInOperator (TypeScriptServiceBridge.TypeScript.BinaryExpression @binex)
{
return new TypeScriptServiceBridge.TypeScript.BinaryExpression ((ObjectInstance) Instance.CallMemberFunction ("typeCheckInOperator", @binex != null ? @binex.Instance : null));
}
[TypeScriptBridge ("typeCheckShift")]
public TypeScriptServiceBridge.TypeScript.BinaryExpression TypeCheckShift (TypeScriptServiceBridge.TypeScript.BinaryExpression @binex, bool @assignment)
{
return new TypeScriptServiceBridge.TypeScript.BinaryExpression ((ObjectInstance) Instance.CallMemberFunction ("typeCheckShift", @binex != null ? @binex.Instance : null, @assignment));
}
[TypeScriptBridge ("typeCheckQMark")]
public TypeScriptServiceBridge.TypeScript.ConditionalExpression TypeCheckQMark (TypeScriptServiceBridge.TypeScript.ConditionalExpression @trinex)
{
return new TypeScriptServiceBridge.TypeScript.ConditionalExpression ((ObjectInstance) Instance.CallMemberFunction ("typeCheckQMark", @trinex != null ? @trinex.Instance : null));
}
[TypeScriptBridge ("addFormals")]
public void AddFormals (TypeScriptServiceBridge.TypeScript.Symbol @container, TypeScriptServiceBridge.TypeScript.Signature @signature, TypeScriptServiceBridge.TypeScript.IHashTable @table)
{
Instance.CallMemberFunction ("addFormals", @container != null ? @container.Instance : null, @signature != null ? @signature.Instance : null, @table != null ? @table.Instance : null);
}
[TypeScriptBridge ("addLocalsFromScope")]
public void AddLocalsFromScope (TypeScriptServiceBridge.TypeScript.SymbolScope @scope, TypeScriptServiceBridge.TypeScript.Symbol @container, TypeScriptServiceBridge.TypeScript.ASTList @vars, TypeScriptServiceBridge.TypeScript.IHashTable @table, bool @isModContainer)
{
Instance.CallMemberFunction ("addLocalsFromScope", @scope != null ? @scope.Instance : null, @container != null ? @container.Instance : null, @vars != null ? @vars.Instance : null, @table != null ? @table.Instance : null, @isModContainer);
}
[TypeScriptBridge ("addConstructorLocalArgs")]
public void AddConstructorLocalArgs (TypeScriptServiceBridge.TypeScript.Symbol @container, TypeScriptServiceBridge.TypeScript.ASTList @args, TypeScriptServiceBridge.TypeScript.IHashTable @table, bool @isClass)
{
Instance.CallMemberFunction ("addConstructorLocalArgs", @container != null ? @container.Instance : null, @args != null ? @args.Instance : null, @table != null ? @table.Instance : null, @isClass);
}
[TypeScriptBridge ("checkInitSelf")]
public bool CheckInitSelf (TypeScriptServiceBridge.TypeScript.FuncDecl @funcDecl)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("checkInitSelf", @funcDecl != null ? @funcDecl.Instance : null));
}
[TypeScriptBridge ("checkPromoteFreeVars")]
public void CheckPromoteFreeVars (TypeScriptServiceBridge.TypeScript.FuncDecl @funcDecl, TypeScriptServiceBridge.TypeScript.Symbol @constructorSym)
{
Instance.CallMemberFunction ("checkPromoteFreeVars", @funcDecl != null ? @funcDecl.Instance : null, @constructorSym != null ? @constructorSym.Instance : null);
}
[TypeScriptBridge ("allReturnsAreVoid")]
public bool AllReturnsAreVoid (TypeScriptServiceBridge.TypeScript.FuncDecl @funcDecl)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("allReturnsAreVoid", @funcDecl != null ? @funcDecl.Instance : null));
}
[TypeScriptBridge ("classConstructorHasSuperCall")]
public bool ClassConstructorHasSuperCall (TypeScriptServiceBridge.TypeScript.FuncDecl @funcDecl)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("classConstructorHasSuperCall", @funcDecl != null ? @funcDecl.Instance : null));
}
[TypeScriptBridge ("baseListPrivacyErrorReporter")]
public void BaseListPrivacyErrorReporter (TypeScriptServiceBridge.TypeScript.ASTList @bases, double @i, TypeScriptServiceBridge.TypeScript.Symbol @declSymbol, bool @extendsList, string @typeName, bool @isModuleName)
{
Instance.CallMemberFunction ("baseListPrivacyErrorReporter", @bases != null ? @bases.Instance : null, @i, @declSymbol != null ? @declSymbol.Instance : null, @extendsList, @typeName, @isModuleName);
}
[TypeScriptBridge ("typeCheckBaseListPrivacy")]
public void TypeCheckBaseListPrivacy (TypeScriptServiceBridge.TypeScript.ASTList @bases, TypeScriptServiceBridge.TypeScript.Symbol @declSymbol, bool @extendsList)
{
Instance.CallMemberFunction ("typeCheckBaseListPrivacy", @bases != null ? @bases.Instance : null, @declSymbol != null ? @declSymbol.Instance : null, @extendsList);
}
[TypeScriptBridge ("functionArgumentPrivacyErrorReporter")]
public void FunctionArgumentPrivacyErrorReporter (TypeScriptServiceBridge.TypeScript.FuncDecl @funcDecl, double @p, TypeScriptServiceBridge.TypeScript.Symbol @paramSymbol, string @typeName)
{
Instance.CallMemberFunction ("functionArgumentPrivacyErrorReporter", @funcDecl != null ? @funcDecl.Instance : null, @p, @paramSymbol != null ? @paramSymbol.Instance : null, @typeName);
}
[TypeScriptBridge ("returnTypePrivacyError")]
public void ReturnTypePrivacyError (TypeScriptServiceBridge.TypeScript.AST @astError, TypeScriptServiceBridge.TypeScript.FuncDecl @funcDecl, string @typeName)
{
Instance.CallMemberFunction ("returnTypePrivacyError", @astError != null ? @astError.Instance : null, @funcDecl != null ? @funcDecl.Instance : null, @typeName);
}
[TypeScriptBridge ("functionReturnTypePrivacyErrorReporter")]
public void FunctionReturnTypePrivacyErrorReporter (TypeScriptServiceBridge.TypeScript.FuncDecl @funcDecl, TypeScriptServiceBridge.TypeScript.Signature @signature, string @typeName)
{
Instance.CallMemberFunction ("functionReturnTypePrivacyErrorReporter", @funcDecl != null ? @funcDecl.Instance : null, @signature != null ? @signature.Instance : null, @typeName);
}
[TypeScriptBridge ("typeCheckFunction")]
public TypeScriptServiceBridge.TypeScript.FuncDecl TypeCheckFunction (TypeScriptServiceBridge.TypeScript.FuncDecl @funcDecl)
{
return new TypeScriptServiceBridge.TypeScript.FuncDecl ((ObjectInstance) Instance.CallMemberFunction ("typeCheckFunction", @funcDecl != null ? @funcDecl.Instance : null));
}
[TypeScriptBridge ("typeCheckBases")]
public void TypeCheckBases (TypeScriptServiceBridge.TypeScript.Type @type)
{
Instance.CallMemberFunction ("typeCheckBases", @type != null ? @type.Instance : null);
}
[TypeScriptBridge ("checkMembersImplementInterfaces")]
public void CheckMembersImplementInterfaces (TypeScriptServiceBridge.TypeScript.Type @implementingType)
{
Instance.CallMemberFunction ("checkMembersImplementInterfaces", @implementingType != null ? @implementingType.Instance : null);
}
[TypeScriptBridge ("typeCheckBaseCalls")]
public void TypeCheckBaseCalls (TypeScriptServiceBridge.TypeScript.ASTList @bases)
{
Instance.CallMemberFunction ("typeCheckBaseCalls", @bases != null ? @bases.Instance : null);
}
[TypeScriptBridge ("assertUniqueNamesInBaseTypes")]
public void AssertUniqueNamesInBaseTypes (TypeScriptServiceBridge.TypeScript.IHashTable @names, TypeScriptServiceBridge.TypeScript.Type @type, TypeScriptServiceBridge.TypeScript.InterfaceDeclaration @classDecl, bool @checkUnique)
{
Instance.CallMemberFunction ("assertUniqueNamesInBaseTypes", @names != null ? @names.Instance : null, @type != null ? @type.Instance : null, @classDecl != null ? @classDecl.Instance : null, @checkUnique);
}
[TypeScriptBridge ("checkBaseTypeMemberInheritance")]
public void CheckBaseTypeMemberInheritance (TypeScriptServiceBridge.TypeScript.Type @derivedType, TypeScriptServiceBridge.TypeScript.AST @derivedTypeDecl)
{
Instance.CallMemberFunction ("checkBaseTypeMemberInheritance", @derivedType != null ? @derivedType.Instance : null, @derivedTypeDecl != null ? @derivedTypeDecl.Instance : null);
}
[TypeScriptBridge ("typeCheckClass")]
public TypeScriptServiceBridge.TypeScript.ClassDeclaration TypeCheckClass (TypeScriptServiceBridge.TypeScript.ClassDeclaration @classDecl)
{
return new TypeScriptServiceBridge.TypeScript.ClassDeclaration ((ObjectInstance) Instance.CallMemberFunction ("typeCheckClass", @classDecl != null ? @classDecl.Instance : null));
}
[TypeScriptBridge ("typeCheckOverloadSignatures")]
public void TypeCheckOverloadSignatures (TypeScriptServiceBridge.TypeScript.Type @type, TypeScriptServiceBridge.TypeScript.AST @ast)
{
Instance.CallMemberFunction ("typeCheckOverloadSignatures", @type != null ? @type.Instance : null, @ast != null ? @ast.Instance : null);
}
[TypeScriptBridge ("typeCheckInterface")]
public TypeScriptServiceBridge.TypeScript.InterfaceDeclaration TypeCheckInterface (TypeScriptServiceBridge.TypeScript.InterfaceDeclaration @interfaceDecl)
{
return new TypeScriptServiceBridge.TypeScript.InterfaceDeclaration ((ObjectInstance) Instance.CallMemberFunction ("typeCheckInterface", @interfaceDecl != null ? @interfaceDecl.Instance : null));
}
[TypeScriptBridge ("typeCheckImportDecl")]
public TypeScriptServiceBridge.TypeScript.ImportDeclaration TypeCheckImportDecl (TypeScriptServiceBridge.TypeScript.ImportDeclaration @importDecl)
{
return new TypeScriptServiceBridge.TypeScript.ImportDeclaration ((ObjectInstance) Instance.CallMemberFunction ("typeCheckImportDecl", @importDecl != null ? @importDecl.Instance : null));
}
[TypeScriptBridge ("typeCheckModule")]
public TypeScriptServiceBridge.TypeScript.ModuleDeclaration TypeCheckModule (TypeScriptServiceBridge.TypeScript.ModuleDeclaration @moduleDecl)
{
return new TypeScriptServiceBridge.TypeScript.ModuleDeclaration ((ObjectInstance) Instance.CallMemberFunction ("typeCheckModule", @moduleDecl != null ? @moduleDecl.Instance : null));
}
[TypeScriptBridge ("typeCheckFor")]
public TypeScriptServiceBridge.TypeScript.ForStatement TypeCheckFor (TypeScriptServiceBridge.TypeScript.ForStatement @forStmt)
{
return new TypeScriptServiceBridge.TypeScript.ForStatement ((ObjectInstance) Instance.CallMemberFunction ("typeCheckFor", @forStmt != null ? @forStmt.Instance : null));
}
[TypeScriptBridge ("typeCheckWith")]
public TypeScriptServiceBridge.TypeScript.WithStatement TypeCheckWith (TypeScriptServiceBridge.TypeScript.WithStatement @withStmt)
{
return new TypeScriptServiceBridge.TypeScript.WithStatement ((ObjectInstance) Instance.CallMemberFunction ("typeCheckWith", @withStmt != null ? @withStmt.Instance : null));
}
[TypeScriptBridge ("typeCheckForIn")]
public TypeScriptServiceBridge.TypeScript.ForInStatement TypeCheckForIn (TypeScriptServiceBridge.TypeScript.ForInStatement @forInStmt)
{
return new TypeScriptServiceBridge.TypeScript.ForInStatement ((ObjectInstance) Instance.CallMemberFunction ("typeCheckForIn", @forInStmt != null ? @forInStmt.Instance : null));
}
[TypeScriptBridge ("typeCheckWhile")]
public TypeScriptServiceBridge.TypeScript.WhileStatement TypeCheckWhile (TypeScriptServiceBridge.TypeScript.WhileStatement @whileStmt)
{
return new TypeScriptServiceBridge.TypeScript.WhileStatement ((ObjectInstance) Instance.CallMemberFunction ("typeCheckWhile", @whileStmt != null ? @whileStmt.Instance : null));
}
[TypeScriptBridge ("typeCheckDoWhile")]
public TypeScriptServiceBridge.TypeScript.DoWhileStatement TypeCheckDoWhile (TypeScriptServiceBridge.TypeScript.DoWhileStatement @doWhileStmt)
{
return new TypeScriptServiceBridge.TypeScript.DoWhileStatement ((ObjectInstance) Instance.CallMemberFunction ("typeCheckDoWhile", @doWhileStmt != null ? @doWhileStmt.Instance : null));
}
[TypeScriptBridge ("typeCheckCondExpr")]
public void TypeCheckCondExpr (TypeScriptServiceBridge.TypeScript.AST @cond)
{
Instance.CallMemberFunction ("typeCheckCondExpr", @cond != null ? @cond.Instance : null);
}
[TypeScriptBridge ("typeCheckCompoundStmtBlock")]
public void TypeCheckCompoundStmtBlock (TypeScriptServiceBridge.TypeScript.AST @stmts, string @stmtType)
{
Instance.CallMemberFunction ("typeCheckCompoundStmtBlock", @stmts != null ? @stmts.Instance : null, @stmtType);
}
[TypeScriptBridge ("typeCheckIf")]
public TypeScriptServiceBridge.TypeScript.IfStatement TypeCheckIf (TypeScriptServiceBridge.TypeScript.IfStatement @ifStmt)
{
return new TypeScriptServiceBridge.TypeScript.IfStatement ((ObjectInstance) Instance.CallMemberFunction ("typeCheckIf", @ifStmt != null ? @ifStmt.Instance : null));
}
[TypeScriptBridge ("typeFromAccessorFuncDecl")]
public TypeScriptServiceBridge.TypeScript.Type TypeFromAccessorFuncDecl (TypeScriptServiceBridge.TypeScript.FuncDecl @funcDecl)
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("typeFromAccessorFuncDecl", @funcDecl != null ? @funcDecl.Instance : null));
}
[TypeScriptBridge ("typeCheckObjectLit")]
public void TypeCheckObjectLit (TypeScriptServiceBridge.TypeScript.UnaryExpression @objectLit)
{
Instance.CallMemberFunction ("typeCheckObjectLit", @objectLit != null ? @objectLit.Instance : null);
}
[TypeScriptBridge ("typeCheckArrayLit")]
public void TypeCheckArrayLit (TypeScriptServiceBridge.TypeScript.UnaryExpression @arrayLit)
{
Instance.CallMemberFunction ("typeCheckArrayLit", @arrayLit != null ? @arrayLit.Instance : null);
}
[TypeScriptBridge ("checkForVoidConstructor")]
public void CheckForVoidConstructor (TypeScriptServiceBridge.TypeScript.Type @type, TypeScriptServiceBridge.TypeScript.AST @ast)
{
Instance.CallMemberFunction ("checkForVoidConstructor", @type != null ? @type.Instance : null, @ast != null ? @ast.Instance : null);
}
[TypeScriptBridge ("typeCheckReturn")]
public TypeScriptServiceBridge.TypeScript.ReturnStatement TypeCheckReturn (TypeScriptServiceBridge.TypeScript.ReturnStatement @returnStmt)
{
return new TypeScriptServiceBridge.TypeScript.ReturnStatement ((ObjectInstance) Instance.CallMemberFunction ("typeCheckReturn", @returnStmt != null ? @returnStmt.Instance : null));
}
[TypeScriptBridge ("typeCheckInstOf")]
public TypeScriptServiceBridge.TypeScript.AST TypeCheckInstOf (TypeScriptServiceBridge.TypeScript.AST @ast)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("typeCheckInstOf", @ast != null ? @ast.Instance : null));
}
[TypeScriptBridge ("typeCheckCommaOperator")]
public TypeScriptServiceBridge.TypeScript.AST TypeCheckCommaOperator (TypeScriptServiceBridge.TypeScript.AST @ast)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("typeCheckCommaOperator", @ast != null ? @ast.Instance : null));
}
[TypeScriptBridge ("typeCheckLogOr")]
public TypeScriptServiceBridge.TypeScript.BinaryExpression TypeCheckLogOr (TypeScriptServiceBridge.TypeScript.BinaryExpression @binex)
{
return new TypeScriptServiceBridge.TypeScript.BinaryExpression ((ObjectInstance) Instance.CallMemberFunction ("typeCheckLogOr", @binex != null ? @binex.Instance : null));
}
[TypeScriptBridge ("typeCheckLogAnd")]
public TypeScriptServiceBridge.TypeScript.BinaryExpression TypeCheckLogAnd (TypeScriptServiceBridge.TypeScript.BinaryExpression @binex)
{
return new TypeScriptServiceBridge.TypeScript.BinaryExpression ((ObjectInstance) Instance.CallMemberFunction ("typeCheckLogAnd", @binex != null ? @binex.Instance : null));
}
[TypeScriptBridge ("tryAddCandidates")]
public void TryAddCandidates (TypeScriptServiceBridge.TypeScript.Signature @signature, ArrayInstance @actuals, ArrayInstance @exactCandidates, ArrayInstance @conversionCandidates, TypeScriptServiceBridge.TypeScript.TypeComparisonInfo @comparisonInfo)
{
Instance.CallMemberFunction ("tryAddCandidates", @signature != null ? @signature.Instance : null, @actuals, @exactCandidates, @conversionCandidates, @comparisonInfo != null ? @comparisonInfo.Instance : null);
}
[TypeScriptBridge ("resolveOverload")]
public TypeScriptServiceBridge.TypeScript.Signature ResolveOverload (TypeScriptServiceBridge.TypeScript.AST @application, TypeScriptServiceBridge.TypeScript.SignatureGroup @group)
{
return new TypeScriptServiceBridge.TypeScript.Signature ((ObjectInstance) Instance.CallMemberFunction ("resolveOverload", @application != null ? @application.Instance : null, @group != null ? @group.Instance : null));
}
[TypeScriptBridge ("typeCheckNew")]
public TypeScriptServiceBridge.TypeScript.AST TypeCheckNew (TypeScriptServiceBridge.TypeScript.AST @ast)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("typeCheckNew", @ast != null ? @ast.Instance : null));
}
[TypeScriptBridge ("preTypeCheckCallArgs")]
public void PreTypeCheckCallArgs (TypeScriptServiceBridge.TypeScript.ASTList @args)
{
Instance.CallMemberFunction ("preTypeCheckCallArgs", @args != null ? @args.Instance : null);
}
[TypeScriptBridge ("postTypeCheckCallArgs")]
public void PostTypeCheckCallArgs (TypeScriptServiceBridge.TypeScript.CallExpression @callEx)
{
Instance.CallMemberFunction ("postTypeCheckCallArgs", @callEx != null ? @callEx.Instance : null);
}
[TypeScriptBridge ("typeCheckCall")]
public TypeScriptServiceBridge.TypeScript.AST TypeCheckCall (TypeScriptServiceBridge.TypeScript.AST @ast)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("typeCheckCall", @ast != null ? @ast.Instance : null));
}
[TypeScriptBridge ("assignScopes")]
public void AssignScopes (TypeScriptServiceBridge.TypeScript.AST @ast)
{
Instance.CallMemberFunction ("assignScopes", @ast != null ? @ast.Instance : null);
}
[TypeScriptBridge ("findMemberScope")]
public TypeScriptServiceBridge.TypeScript.SymbolScope FindMemberScope (TypeScriptServiceBridge.TypeScript.EnclosingScopeContext @enclosingScopeContext, TypeScriptServiceBridge.TypeScript.ASTFlags @matchFlag)
{
return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.CallMemberFunction ("findMemberScope", @enclosingScopeContext != null ? @enclosingScopeContext.Instance : null, @matchFlag));
}
[TypeScriptBridge ("findMemberScopeAt")]
public TypeScriptServiceBridge.TypeScript.SymbolScope FindMemberScopeAt (TypeScriptServiceBridge.TypeScript.EnclosingScopeContext @enclosingScopeContext)
{
return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.CallMemberFunction ("findMemberScopeAt", @enclosingScopeContext != null ? @enclosingScopeContext.Instance : null));
}
[TypeScriptBridge ("findMemberScopeAtFullAst")]
public TypeScriptServiceBridge.TypeScript.SymbolScope FindMemberScopeAtFullAst (TypeScriptServiceBridge.TypeScript.EnclosingScopeContext @enclosingScopeContext)
{
return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.CallMemberFunction ("findMemberScopeAtFullAst", @enclosingScopeContext != null ? @enclosingScopeContext.Instance : null));
}
}
public enum Primitive
{
None = 0,
Void = 1,
Double = 2,
String = 4,
Boolean = 8,
Any = 16,
Null = 32,
Undefined = 64,
}
public class MemberName : TypeScriptObject
{
public MemberName (ObjectInstance instance) : base (instance) {}
public MemberName ()
: base (CallConstructor ("TypeScript", "MemberName"))
{
}
[TypeScriptBridge ("prefix")]
public string Prefix {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("prefix")); }
set { Instance.SetPropertyValue ("prefix", value, true); }
}
[TypeScriptBridge ("suffix")]
public string Suffix {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("suffix")); }
set { Instance.SetPropertyValue ("suffix", value, true); }
}
[TypeScriptBridge ("get_prefix")]
public string Get_prefix ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_prefix"));
}
[TypeScriptBridge ("set_prefix")]
public void Set_prefix (string @value)
{
Instance.CallMemberFunction ("set_prefix", @value);
}
[TypeScriptBridge ("get_suffix")]
public string Get_suffix ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_suffix"));
}
[TypeScriptBridge ("set_suffix")]
public void Set_suffix (string @value)
{
Instance.CallMemberFunction ("set_suffix", @value);
}
[TypeScriptBridge ("isString")]
public bool IsString ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isString"));
}
[TypeScriptBridge ("isArray")]
public bool IsArray ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isArray"));
}
[TypeScriptBridge ("toString")]
public string ToString ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("toString"));
}
[TypeScriptBridge ("memberNameToString")]
public string MemberNameToString (TypeScriptServiceBridge.TypeScript.MemberName @memberName)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("memberNameToString", @memberName != null ? @memberName.Instance : null));
}
[TypeScriptBridge ("create")]
public TypeScriptServiceBridge.TypeScript.MemberName Create (string @text)
{
return new TypeScriptServiceBridge.TypeScript.MemberName ((ObjectInstance) Instance.CallMemberFunction ("create", @text));
}
[TypeScriptBridge ("create")]
public TypeScriptServiceBridge.TypeScript.MemberName Create (TypeScriptServiceBridge.TypeScript.MemberName @entry, string @prefix, string @suffix)
{
return new TypeScriptServiceBridge.TypeScript.MemberName ((ObjectInstance) Instance.CallMemberFunction ("create", @entry != null ? @entry.Instance : null, @prefix, @suffix));
}
[TypeScriptBridge ("create")]
public TypeScriptServiceBridge.TypeScript.MemberName Create (System.Object @arg1, System.Object @arg2 = null, System.Object @arg3 = null)
{
return new TypeScriptServiceBridge.TypeScript.MemberName ((ObjectInstance) Instance.CallMemberFunction ("create", @arg1, @arg2, @arg3));
}
}
public class MemberNameString : MemberName
{
public MemberNameString (ObjectInstance instance) : base (instance) {}
public MemberNameString (string @text)
: base (CallConstructor ("TypeScript", "MemberNameString", @text))
{
}
[TypeScriptBridge ("isString")]
public bool IsString ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isString"));
}
}
public class MemberNameArray : MemberName
{
public MemberNameArray (ObjectInstance instance) : base (instance) {}
public MemberNameArray ()
: base (CallConstructor ("TypeScript", "MemberNameArray"))
{
}
[TypeScriptBridge ("delim")]
public string Delim {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("delim")); }
set { Instance.SetPropertyValue ("delim", value, true); }
}
[TypeScriptBridge ("entries")]
public ArrayInstance Entries {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("entries")); }
set { Instance.SetPropertyValue ("entries", value, true); }
}
[TypeScriptBridge ("get_delim")]
public string Get_delim ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_delim"));
}
[TypeScriptBridge ("set_delim")]
public void Set_delim (string @value)
{
Instance.CallMemberFunction ("set_delim", @value);
}
[TypeScriptBridge ("get_entries")]
public ArrayInstance Get_entries ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_entries"));
}
[TypeScriptBridge ("set_entries")]
public void Set_entries (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_entries", @value);
}
[TypeScriptBridge ("isArray")]
public bool IsArray ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isArray"));
}
[TypeScriptBridge ("add")]
public void Add (TypeScriptServiceBridge.TypeScript.MemberName @entry)
{
Instance.CallMemberFunction ("add", @entry != null ? @entry.Instance : null);
}
[TypeScriptBridge ("addAll")]
public void AddAll (ArrayInstance @entries)
{
Instance.CallMemberFunction ("addAll", @entries);
}
}
public class Type : TypeScriptObject
{
public Type (ObjectInstance instance) : base (instance) {}
public Type ()
: base (CallConstructor ("TypeScript", "Type"))
{
}
[TypeScriptBridge ("typeID")]
public double TypeID {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("typeID")); }
set { Instance.SetPropertyValue ("typeID", value, true); }
}
[TypeScriptBridge ("members")]
public TypeScriptServiceBridge.TypeScript.ScopedMembers Members {
get { return new TypeScriptServiceBridge.TypeScript.ScopedMembers ((ObjectInstance) Instance.GetPropertyValue ("members")); }
set { Instance.SetPropertyValue ("members", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("ambientMembers")]
public TypeScriptServiceBridge.TypeScript.ScopedMembers AmbientMembers {
get { return new TypeScriptServiceBridge.TypeScript.ScopedMembers ((ObjectInstance) Instance.GetPropertyValue ("ambientMembers")); }
set { Instance.SetPropertyValue ("ambientMembers", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("construct")]
public TypeScriptServiceBridge.TypeScript.SignatureGroup Construct {
get { return new TypeScriptServiceBridge.TypeScript.SignatureGroup ((ObjectInstance) Instance.GetPropertyValue ("construct")); }
set { Instance.SetPropertyValue ("construct", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("call")]
public TypeScriptServiceBridge.TypeScript.SignatureGroup Call {
get { return new TypeScriptServiceBridge.TypeScript.SignatureGroup ((ObjectInstance) Instance.GetPropertyValue ("call")); }
set { Instance.SetPropertyValue ("call", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("index")]
public TypeScriptServiceBridge.TypeScript.SignatureGroup Index {
get { return new TypeScriptServiceBridge.TypeScript.SignatureGroup ((ObjectInstance) Instance.GetPropertyValue ("index")); }
set { Instance.SetPropertyValue ("index", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("extendsList")]
public ArrayInstance ExtendsList {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("extendsList")); }
set { Instance.SetPropertyValue ("extendsList", value, true); }
}
[TypeScriptBridge ("extendsTypeLinks")]
public ArrayInstance ExtendsTypeLinks {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("extendsTypeLinks")); }
set { Instance.SetPropertyValue ("extendsTypeLinks", value, true); }
}
[TypeScriptBridge ("implementsList")]
public ArrayInstance ImplementsList {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("implementsList")); }
set { Instance.SetPropertyValue ("implementsList", value, true); }
}
[TypeScriptBridge ("implementsTypeLinks")]
public ArrayInstance ImplementsTypeLinks {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("implementsTypeLinks")); }
set { Instance.SetPropertyValue ("implementsTypeLinks", value, true); }
}
[TypeScriptBridge ("passTypeCreated")]
public double PassTypeCreated {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("passTypeCreated")); }
set { Instance.SetPropertyValue ("passTypeCreated", value, true); }
}
[TypeScriptBridge ("elementType")]
public TypeScriptServiceBridge.TypeScript.Type ElementType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("elementType")); }
set { Instance.SetPropertyValue ("elementType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("primitiveTypeClass")]
public double PrimitiveTypeClass {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("primitiveTypeClass")); }
set { Instance.SetPropertyValue ("primitiveTypeClass", value, true); }
}
[TypeScriptBridge ("constructorScope")]
public TypeScriptServiceBridge.TypeScript.SymbolScope ConstructorScope {
get { return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.GetPropertyValue ("constructorScope")); }
set { Instance.SetPropertyValue ("constructorScope", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("containedScope")]
public TypeScriptServiceBridge.TypeScript.SymbolScope ContainedScope {
get { return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.GetPropertyValue ("containedScope")); }
set { Instance.SetPropertyValue ("containedScope", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("memberScope")]
public TypeScriptServiceBridge.TypeScript.SymbolScope MemberScope {
get { return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.GetPropertyValue ("memberScope")); }
set { Instance.SetPropertyValue ("memberScope", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("arrayCache")]
public TypeScriptServiceBridge.TypeScript.ArrayCache ArrayCache {
get { return new TypeScriptServiceBridge.TypeScript.ArrayCache ((ObjectInstance) Instance.GetPropertyValue ("arrayCache")); }
set { Instance.SetPropertyValue ("arrayCache", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("typeFlags")]
public TypeScriptServiceBridge.TypeScript.TypeFlags TypeFlags {
get { return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.TypeFlags> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("typeFlags")); }
set { Instance.SetPropertyValue ("typeFlags", value, true); }
}
[TypeScriptBridge ("symbol")]
public TypeScriptServiceBridge.TypeScript.TypeSymbol Symbol {
get { return new TypeScriptServiceBridge.TypeScript.TypeSymbol ((ObjectInstance) Instance.GetPropertyValue ("symbol")); }
set { Instance.SetPropertyValue ("symbol", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("enclosingType")]
public TypeScriptServiceBridge.TypeScript.Type EnclosingType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("enclosingType")); }
set { Instance.SetPropertyValue ("enclosingType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("instanceType")]
public TypeScriptServiceBridge.TypeScript.Type InstanceType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("instanceType")); }
set { Instance.SetPropertyValue ("instanceType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_typeID")]
public double Get_typeID ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_typeID"));
}
[TypeScriptBridge ("set_typeID")]
public void Set_typeID (double @value)
{
Instance.CallMemberFunction ("set_typeID", @value);
}
[TypeScriptBridge ("get_members")]
public TypeScriptServiceBridge.TypeScript.ScopedMembers Get_members ()
{
return new TypeScriptServiceBridge.TypeScript.ScopedMembers ((ObjectInstance) Instance.CallMemberFunction ("get_members"));
}
[TypeScriptBridge ("set_members")]
public void Set_members (TypeScriptServiceBridge.TypeScript.ScopedMembers @value)
{
Instance.CallMemberFunction ("set_members", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_ambientMembers")]
public TypeScriptServiceBridge.TypeScript.ScopedMembers Get_ambientMembers ()
{
return new TypeScriptServiceBridge.TypeScript.ScopedMembers ((ObjectInstance) Instance.CallMemberFunction ("get_ambientMembers"));
}
[TypeScriptBridge ("set_ambientMembers")]
public void Set_ambientMembers (TypeScriptServiceBridge.TypeScript.ScopedMembers @value)
{
Instance.CallMemberFunction ("set_ambientMembers", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_construct")]
public TypeScriptServiceBridge.TypeScript.SignatureGroup Get_construct ()
{
return new TypeScriptServiceBridge.TypeScript.SignatureGroup ((ObjectInstance) Instance.CallMemberFunction ("get_construct"));
}
[TypeScriptBridge ("set_construct")]
public void Set_construct (TypeScriptServiceBridge.TypeScript.SignatureGroup @value)
{
Instance.CallMemberFunction ("set_construct", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_call")]
public TypeScriptServiceBridge.TypeScript.SignatureGroup Get_call ()
{
return new TypeScriptServiceBridge.TypeScript.SignatureGroup ((ObjectInstance) Instance.CallMemberFunction ("get_call"));
}
[TypeScriptBridge ("set_call")]
public void Set_call (TypeScriptServiceBridge.TypeScript.SignatureGroup @value)
{
Instance.CallMemberFunction ("set_call", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_index")]
public TypeScriptServiceBridge.TypeScript.SignatureGroup Get_index ()
{
return new TypeScriptServiceBridge.TypeScript.SignatureGroup ((ObjectInstance) Instance.CallMemberFunction ("get_index"));
}
[TypeScriptBridge ("set_index")]
public void Set_index (TypeScriptServiceBridge.TypeScript.SignatureGroup @value)
{
Instance.CallMemberFunction ("set_index", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_extendsList")]
public ArrayInstance Get_extendsList ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_extendsList"));
}
[TypeScriptBridge ("set_extendsList")]
public void Set_extendsList (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_extendsList", @value);
}
[TypeScriptBridge ("get_extendsTypeLinks")]
public ArrayInstance Get_extendsTypeLinks ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_extendsTypeLinks"));
}
[TypeScriptBridge ("set_extendsTypeLinks")]
public void Set_extendsTypeLinks (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_extendsTypeLinks", @value);
}
[TypeScriptBridge ("get_implementsList")]
public ArrayInstance Get_implementsList ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_implementsList"));
}
[TypeScriptBridge ("set_implementsList")]
public void Set_implementsList (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_implementsList", @value);
}
[TypeScriptBridge ("get_implementsTypeLinks")]
public ArrayInstance Get_implementsTypeLinks ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_implementsTypeLinks"));
}
[TypeScriptBridge ("set_implementsTypeLinks")]
public void Set_implementsTypeLinks (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_implementsTypeLinks", @value);
}
[TypeScriptBridge ("get_passTypeCreated")]
public double Get_passTypeCreated ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_passTypeCreated"));
}
[TypeScriptBridge ("set_passTypeCreated")]
public void Set_passTypeCreated (double @value)
{
Instance.CallMemberFunction ("set_passTypeCreated", @value);
}
[TypeScriptBridge ("baseClass")]
public TypeScriptServiceBridge.TypeScript.Type BaseClass ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("baseClass"));
}
[TypeScriptBridge ("get_elementType")]
public TypeScriptServiceBridge.TypeScript.Type Get_elementType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_elementType"));
}
[TypeScriptBridge ("set_elementType")]
public void Set_elementType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_elementType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("getArrayBase")]
public TypeScriptServiceBridge.TypeScript.Type GetArrayBase (TypeScriptServiceBridge.TypeScript.Type @arrInstType, TypeScriptServiceBridge.TypeScript.TypeChecker @checker)
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("getArrayBase", @arrInstType != null ? @arrInstType.Instance : null, @checker != null ? @checker.Instance : null));
}
[TypeScriptBridge ("get_primitiveTypeClass")]
public double Get_primitiveTypeClass ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_primitiveTypeClass"));
}
[TypeScriptBridge ("set_primitiveTypeClass")]
public void Set_primitiveTypeClass (double @value)
{
Instance.CallMemberFunction ("set_primitiveTypeClass", @value);
}
[TypeScriptBridge ("get_constructorScope")]
public TypeScriptServiceBridge.TypeScript.SymbolScope Get_constructorScope ()
{
return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.CallMemberFunction ("get_constructorScope"));
}
[TypeScriptBridge ("set_constructorScope")]
public void Set_constructorScope (TypeScriptServiceBridge.TypeScript.SymbolScope @value)
{
Instance.CallMemberFunction ("set_constructorScope", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_containedScope")]
public TypeScriptServiceBridge.TypeScript.SymbolScope Get_containedScope ()
{
return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.CallMemberFunction ("get_containedScope"));
}
[TypeScriptBridge ("set_containedScope")]
public void Set_containedScope (TypeScriptServiceBridge.TypeScript.SymbolScope @value)
{
Instance.CallMemberFunction ("set_containedScope", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_memberScope")]
public TypeScriptServiceBridge.TypeScript.SymbolScope Get_memberScope ()
{
return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.CallMemberFunction ("get_memberScope"));
}
[TypeScriptBridge ("set_memberScope")]
public void Set_memberScope (TypeScriptServiceBridge.TypeScript.SymbolScope @value)
{
Instance.CallMemberFunction ("set_memberScope", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_arrayCache")]
public TypeScriptServiceBridge.TypeScript.ArrayCache Get_arrayCache ()
{
return new TypeScriptServiceBridge.TypeScript.ArrayCache ((ObjectInstance) Instance.CallMemberFunction ("get_arrayCache"));
}
[TypeScriptBridge ("set_arrayCache")]
public void Set_arrayCache (TypeScriptServiceBridge.TypeScript.ArrayCache @value)
{
Instance.CallMemberFunction ("set_arrayCache", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_typeFlags")]
public TypeScriptServiceBridge.TypeScript.TypeFlags Get_typeFlags ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.TypeFlags> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_typeFlags"));
}
[TypeScriptBridge ("set_typeFlags")]
public void Set_typeFlags (TypeScriptServiceBridge.TypeScript.TypeFlags @value)
{
Instance.CallMemberFunction ("set_typeFlags", @value);
}
[TypeScriptBridge ("get_symbol")]
public TypeScriptServiceBridge.TypeScript.TypeSymbol Get_symbol ()
{
return new TypeScriptServiceBridge.TypeScript.TypeSymbol ((ObjectInstance) Instance.CallMemberFunction ("get_symbol"));
}
[TypeScriptBridge ("set_symbol")]
public void Set_symbol (TypeScriptServiceBridge.TypeScript.TypeSymbol @value)
{
Instance.CallMemberFunction ("set_symbol", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_enclosingType")]
public TypeScriptServiceBridge.TypeScript.Type Get_enclosingType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_enclosingType"));
}
[TypeScriptBridge ("set_enclosingType")]
public void Set_enclosingType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_enclosingType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_instanceType")]
public TypeScriptServiceBridge.TypeScript.Type Get_instanceType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_instanceType"));
}
[TypeScriptBridge ("set_instanceType")]
public void Set_instanceType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_instanceType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("isClass")]
public bool IsClass ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isClass"));
}
[TypeScriptBridge ("isArray")]
public bool IsArray ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isArray"));
}
[TypeScriptBridge ("isClassInstance")]
public bool IsClassInstance ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isClassInstance"));
}
[TypeScriptBridge ("getInstanceType")]
public TypeScriptServiceBridge.TypeScript.Type GetInstanceType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("getInstanceType"));
}
[TypeScriptBridge ("hasImplementation")]
public bool HasImplementation ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("hasImplementation"));
}
[TypeScriptBridge ("setHasImplementation")]
public void SetHasImplementation ()
{
Instance.CallMemberFunction ("setHasImplementation");
}
[TypeScriptBridge ("isDouble")]
public bool IsDouble ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isDouble"));
}
[TypeScriptBridge ("isString")]
public bool IsString ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isString"));
}
[TypeScriptBridge ("isBoolean")]
public bool IsBoolean ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isBoolean"));
}
[TypeScriptBridge ("isNull")]
public bool IsNull ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isNull"));
}
[TypeScriptBridge ("getTypeName")]
public string GetTypeName ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getTypeName"));
}
[TypeScriptBridge ("getScopedTypeName")]
public string GetScopedTypeName (TypeScriptServiceBridge.TypeScript.SymbolScope @scope)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getScopedTypeName", @scope != null ? @scope.Instance : null));
}
[TypeScriptBridge ("getScopedTypeNameEx")]
public TypeScriptServiceBridge.TypeScript.MemberName GetScopedTypeNameEx (TypeScriptServiceBridge.TypeScript.SymbolScope @scope)
{
return new TypeScriptServiceBridge.TypeScript.MemberName ((ObjectInstance) Instance.CallMemberFunction ("getScopedTypeNameEx", @scope != null ? @scope.Instance : null));
}
[TypeScriptBridge ("callCount")]
public double CallCount ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("callCount"));
}
[TypeScriptBridge ("getMemberTypeName")]
public string GetMemberTypeName (string @prefix, bool @topLevel, bool @isElementType, TypeScriptServiceBridge.TypeScript.SymbolScope @scope)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getMemberTypeName", @prefix, @topLevel, @isElementType, @scope != null ? @scope.Instance : null));
}
[TypeScriptBridge ("getMemberTypeNameEx")]
public TypeScriptServiceBridge.TypeScript.MemberName GetMemberTypeNameEx (string @prefix, bool @topLevel, bool @isElementType, TypeScriptServiceBridge.TypeScript.SymbolScope @scope)
{
return new TypeScriptServiceBridge.TypeScript.MemberName ((ObjectInstance) Instance.CallMemberFunction ("getMemberTypeNameEx", @prefix, @topLevel, @isElementType, @scope != null ? @scope.Instance : null));
}
[TypeScriptBridge ("checkDecl")]
public void CheckDecl (TypeScriptServiceBridge.TypeScript.TypeChecker @checker)
{
Instance.CallMemberFunction ("checkDecl", @checker != null ? @checker.Instance : null);
}
[TypeScriptBridge ("getMemberScope")]
public TypeScriptServiceBridge.TypeScript.SymbolScope GetMemberScope (TypeScriptServiceBridge.TypeScript.TypeFlow @flow)
{
return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.CallMemberFunction ("getMemberScope", @flow != null ? @flow.Instance : null));
}
[TypeScriptBridge ("isReferenceType")]
public System.Object IsReferenceType ()
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isReferenceType"));
}
[TypeScriptBridge ("specializeType")]
public TypeScriptServiceBridge.TypeScript.Type SpecializeType (TypeScriptServiceBridge.TypeScript.Type @pattern, TypeScriptServiceBridge.TypeScript.Type @replacement, TypeScriptServiceBridge.TypeScript.TypeChecker @checker, bool @membersOnly)
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("specializeType", @pattern != null ? @pattern.Instance : null, @replacement != null ? @replacement.Instance : null, @checker != null ? @checker.Instance : null, @membersOnly));
}
[TypeScriptBridge ("hasBase")]
public bool HasBase (TypeScriptServiceBridge.TypeScript.Type @baseType)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("hasBase", @baseType != null ? @baseType.Instance : null));
}
[TypeScriptBridge ("mergeOrdered")]
public TypeScriptServiceBridge.TypeScript.Type MergeOrdered (TypeScriptServiceBridge.TypeScript.Type @b, TypeScriptServiceBridge.TypeScript.TypeChecker @checker, bool @acceptVoid, TypeScriptServiceBridge.TypeScript.TypeComparisonInfo @comparisonInfo = null)
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("mergeOrdered", @b != null ? @b.Instance : null, @checker != null ? @checker.Instance : null, @acceptVoid, @comparisonInfo != null ? @comparisonInfo.Instance : null));
}
[TypeScriptBridge ("isModuleType")]
public bool IsModuleType ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isModuleType"));
}
[TypeScriptBridge ("hasMembers")]
public bool HasMembers ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("hasMembers"));
}
[TypeScriptBridge ("getAllEnclosedTypes")]
public TypeScriptServiceBridge.TypeScript.ScopedMembers GetAllEnclosedTypes ()
{
return new TypeScriptServiceBridge.TypeScript.ScopedMembers ((ObjectInstance) Instance.CallMemberFunction ("getAllEnclosedTypes"));
}
[TypeScriptBridge ("getAllAmbientEnclosedTypes")]
public TypeScriptServiceBridge.TypeScript.ScopedMembers GetAllAmbientEnclosedTypes ()
{
return new TypeScriptServiceBridge.TypeScript.ScopedMembers ((ObjectInstance) Instance.CallMemberFunction ("getAllAmbientEnclosedTypes"));
}
[TypeScriptBridge ("getPublicEnclosedTypes")]
public TypeScriptServiceBridge.TypeScript.ScopedMembers GetPublicEnclosedTypes ()
{
return new TypeScriptServiceBridge.TypeScript.ScopedMembers ((ObjectInstance) Instance.CallMemberFunction ("getPublicEnclosedTypes"));
}
[TypeScriptBridge ("getpublicAmbientEnclosedTypes")]
public TypeScriptServiceBridge.TypeScript.ScopedMembers GetpublicAmbientEnclosedTypes ()
{
return new TypeScriptServiceBridge.TypeScript.ScopedMembers ((ObjectInstance) Instance.CallMemberFunction ("getpublicAmbientEnclosedTypes"));
}
}
public interface ITypeCollection : ITypeScriptObject
{
[TypeScriptBridge ("getLength")]
double GetLength ();
[TypeScriptBridge ("setTypeAtIndex")]
void SetTypeAtIndex (double @index, TypeScriptServiceBridge.TypeScript.Type @type);
[TypeScriptBridge ("getTypeAtIndex")]
TypeScriptServiceBridge.TypeScript.Type GetTypeAtIndex (double @index);
}
public class ITypeCollection_Impl : TypeScriptObject, ITypeCollection
{
public ITypeCollection_Impl (ObjectInstance instance) : base (instance) {}
[TypeScriptBridge ("getLength")]
public double GetLength ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getLength"));
}
[TypeScriptBridge ("setTypeAtIndex")]
public void SetTypeAtIndex (double @index, TypeScriptServiceBridge.TypeScript.Type @type)
{
Instance.CallMemberFunction ("setTypeAtIndex", @index, @type != null ? @type.Instance : null);
}
[TypeScriptBridge ("getTypeAtIndex")]
public TypeScriptServiceBridge.TypeScript.Type GetTypeAtIndex (double @index)
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("getTypeAtIndex", @index));
}
}
public class ModuleType : Type
{
public ModuleType (ObjectInstance instance) : base (instance) {}
public ModuleType (TypeScriptServiceBridge.TypeScript.ScopedMembers @enclosedTypes, TypeScriptServiceBridge.TypeScript.ScopedMembers @ambientEnclosedTypes)
: base (CallConstructor ("TypeScript", "ModuleType", @enclosedTypes != null ? @enclosedTypes.Instance : null, @ambientEnclosedTypes != null ? @ambientEnclosedTypes.Instance : null))
{
}
[TypeScriptBridge ("importedModules")]
public ArrayInstance ImportedModules {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("importedModules")); }
set { Instance.SetPropertyValue ("importedModules", value, true); }
}
[TypeScriptBridge ("isModuleType")]
public bool IsModuleType ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isModuleType"));
}
[TypeScriptBridge ("hasMembers")]
public bool HasMembers ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("hasMembers"));
}
[TypeScriptBridge ("getAllEnclosedTypes")]
public TypeScriptServiceBridge.TypeScript.ScopedMembers GetAllEnclosedTypes ()
{
return new TypeScriptServiceBridge.TypeScript.ScopedMembers ((ObjectInstance) Instance.CallMemberFunction ("getAllEnclosedTypes"));
}
[TypeScriptBridge ("getAllAmbientEnclosedTypes")]
public TypeScriptServiceBridge.TypeScript.ScopedMembers GetAllAmbientEnclosedTypes ()
{
return new TypeScriptServiceBridge.TypeScript.ScopedMembers ((ObjectInstance) Instance.CallMemberFunction ("getAllAmbientEnclosedTypes"));
}
[TypeScriptBridge ("getPublicEnclosedTypes")]
public TypeScriptServiceBridge.TypeScript.ScopedMembers GetPublicEnclosedTypes ()
{
return new TypeScriptServiceBridge.TypeScript.ScopedMembers ((ObjectInstance) Instance.CallMemberFunction ("getPublicEnclosedTypes"));
}
[TypeScriptBridge ("getpublicAmbientEnclosedTypes")]
public TypeScriptServiceBridge.TypeScript.ScopedMembers GetpublicAmbientEnclosedTypes ()
{
return new TypeScriptServiceBridge.TypeScript.ScopedMembers ((ObjectInstance) Instance.CallMemberFunction ("getpublicAmbientEnclosedTypes"));
}
[TypeScriptBridge ("get_importedModules")]
public ArrayInstance Get_importedModules ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_importedModules"));
}
[TypeScriptBridge ("set_importedModules")]
public void Set_importedModules (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_importedModules", @value);
}
[TypeScriptBridge ("findDynamicModuleNameInHashTable")]
public string FindDynamicModuleNameInHashTable (TypeScriptServiceBridge.TypeScript.ModuleType @moduleType, TypeScriptServiceBridge.TypeScript.IHashTable @members, ArrayInstance @ignoreSymbols)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("findDynamicModuleNameInHashTable", @moduleType != null ? @moduleType.Instance : null, @members != null ? @members.Instance : null, @ignoreSymbols));
}
[TypeScriptBridge ("findDynamicModuleName")]
public string FindDynamicModuleName (TypeScriptServiceBridge.TypeScript.ModuleType @moduleType, string @baseName, bool @onlyPublic, ArrayInstance @ignoreSymbols)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("findDynamicModuleName", @moduleType != null ? @moduleType.Instance : null, @baseName, @onlyPublic, @ignoreSymbols));
}
}
public class TypeLink : TypeScriptObject
{
public TypeLink (ObjectInstance instance) : base (instance) {}
public TypeLink ()
: base (CallConstructor ("TypeScript", "TypeLink"))
{
}
[TypeScriptBridge ("type")]
public TypeScriptServiceBridge.TypeScript.Type Type {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("type")); }
set { Instance.SetPropertyValue ("type", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("ast")]
public TypeScriptServiceBridge.TypeScript.AST Ast {
get { return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.GetPropertyValue ("ast")); }
set { Instance.SetPropertyValue ("ast", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_type")]
public TypeScriptServiceBridge.TypeScript.Type Get_type ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_type"));
}
[TypeScriptBridge ("set_type")]
public void Set_type (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_type", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_ast")]
public TypeScriptServiceBridge.TypeScript.AST Get_ast ()
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("get_ast"));
}
[TypeScriptBridge ("set_ast")]
public void Set_ast (TypeScriptServiceBridge.TypeScript.AST @value)
{
Instance.CallMemberFunction ("set_ast", @value != null ? @value.Instance : null);
}
}
public interface IResolvedFile : ITypeScriptObject
{
[TypeScriptBridge ("content")]
string Content { get; set; }
[TypeScriptBridge ("path")]
string Path { get; set; }
[TypeScriptBridge ("get_content")]
string Get_content ();
[TypeScriptBridge ("set_content")]
void Set_content (string @value);
[TypeScriptBridge ("get_path")]
string Get_path ();
[TypeScriptBridge ("set_path")]
void Set_path (string @value);
}
public class IResolvedFile_Impl : TypeScriptObject, IResolvedFile
{
public IResolvedFile_Impl (ObjectInstance instance) : base (instance) {}
[TypeScriptBridge ("content")]
public string Content {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("content")); }
set { Instance.SetPropertyValue ("content", value, true); }
}
[TypeScriptBridge ("path")]
public string Path {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("path")); }
set { Instance.SetPropertyValue ("path", value, true); }
}
[TypeScriptBridge ("get_content")]
public string Get_content ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_content"));
}
[TypeScriptBridge ("set_content")]
public void Set_content (string @value)
{
Instance.CallMemberFunction ("set_content", @value);
}
[TypeScriptBridge ("get_path")]
public string Get_path ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_path"));
}
[TypeScriptBridge ("set_path")]
public void Set_path (string @value)
{
Instance.CallMemberFunction ("set_path", @value);
}
}
public class SourceUnit : TypeScriptObject
, IResolvedFile, ISourceText
{
public SourceUnit (ObjectInstance instance) : base (instance) {}
public SourceUnit (string @path, string @content)
: base (CallConstructor ("TypeScript", "SourceUnit", @path, @content))
{
}
[TypeScriptBridge ("path")]
public string Path {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("path")); }
set { Instance.SetPropertyValue ("path", value, true); }
}
[TypeScriptBridge ("content")]
public string Content {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("content")); }
set { Instance.SetPropertyValue ("content", value, true); }
}
[TypeScriptBridge ("referencedFiles")]
public ArrayInstance ReferencedFiles {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("referencedFiles")); }
set { Instance.SetPropertyValue ("referencedFiles", value, true); }
}
[TypeScriptBridge ("get_path")]
public string Get_path ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_path"));
}
[TypeScriptBridge ("set_path")]
public void Set_path (string @value)
{
Instance.CallMemberFunction ("set_path", @value);
}
[TypeScriptBridge ("get_content")]
public string Get_content ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_content"));
}
[TypeScriptBridge ("set_content")]
public void Set_content (string @value)
{
Instance.CallMemberFunction ("set_content", @value);
}
[TypeScriptBridge ("get_referencedFiles")]
public ArrayInstance Get_referencedFiles ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_referencedFiles"));
}
[TypeScriptBridge ("set_referencedFiles")]
public void Set_referencedFiles (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_referencedFiles", @value);
}
[TypeScriptBridge ("getText")]
public string GetText (double @start, double @end)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getText", @start, @end));
}
[TypeScriptBridge ("getLength")]
public double GetLength ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getLength"));
}
string TypeScriptServiceBridge.TypeScript.IResolvedFile.Content {
get { return (string) Content; }
set { Content = (string) value; }
}
string TypeScriptServiceBridge.TypeScript.IResolvedFile.Path {
get { return (string) Path; }
set { Path = (string) value; }
}
string TypeScriptServiceBridge.TypeScript.IResolvedFile.Get_content ()
{
return (string) Get_content ();
}
void TypeScriptServiceBridge.TypeScript.IResolvedFile.Set_content (string @value)
{
Set_content ((string) @value);
}
string TypeScriptServiceBridge.TypeScript.IResolvedFile.Get_path ()
{
return (string) Get_path ();
}
void TypeScriptServiceBridge.TypeScript.IResolvedFile.Set_path (string @value)
{
Set_path ((string) @value);
}
string TypeScriptServiceBridge.TypeScript.ISourceText.GetText (double @start, double @end)
{
return (string) GetText ((double) @start, (double) @end);
}
double TypeScriptServiceBridge.TypeScript.ISourceText.GetLength ()
{
return (double) GetLength ();
}
}
public interface IFileReference : ITypeScriptObject
{
[TypeScriptBridge ("minChar")]
double MinChar { get; set; }
[TypeScriptBridge ("limChar")]
double LimChar { get; set; }
[TypeScriptBridge ("path")]
string Path { get; set; }
[TypeScriptBridge ("isResident")]
bool IsResident { get; set; }
[TypeScriptBridge ("get_minChar")]
double Get_minChar ();
[TypeScriptBridge ("set_minChar")]
void Set_minChar (double @value);
[TypeScriptBridge ("get_limChar")]
double Get_limChar ();
[TypeScriptBridge ("set_limChar")]
void Set_limChar (double @value);
[TypeScriptBridge ("get_path")]
string Get_path ();
[TypeScriptBridge ("set_path")]
void Set_path (string @value);
[TypeScriptBridge ("get_isResident")]
bool Get_isResident ();
[TypeScriptBridge ("set_isResident")]
void Set_isResident (bool @value);
}
public class IFileReference_Impl : TypeScriptObject, IFileReference
{
public IFileReference_Impl (ObjectInstance instance) : base (instance) {}
[TypeScriptBridge ("minChar")]
public double MinChar {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("minChar")); }
set { Instance.SetPropertyValue ("minChar", value, true); }
}
[TypeScriptBridge ("limChar")]
public double LimChar {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("limChar")); }
set { Instance.SetPropertyValue ("limChar", value, true); }
}
[TypeScriptBridge ("path")]
public string Path {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("path")); }
set { Instance.SetPropertyValue ("path", value, true); }
}
[TypeScriptBridge ("isResident")]
public bool IsResident {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("isResident")); }
set { Instance.SetPropertyValue ("isResident", value, true); }
}
[TypeScriptBridge ("get_minChar")]
public double Get_minChar ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_minChar"));
}
[TypeScriptBridge ("set_minChar")]
public void Set_minChar (double @value)
{
Instance.CallMemberFunction ("set_minChar", @value);
}
[TypeScriptBridge ("get_limChar")]
public double Get_limChar ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_limChar"));
}
[TypeScriptBridge ("set_limChar")]
public void Set_limChar (double @value)
{
Instance.CallMemberFunction ("set_limChar", @value);
}
[TypeScriptBridge ("get_path")]
public string Get_path ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_path"));
}
[TypeScriptBridge ("set_path")]
public void Set_path (string @value)
{
Instance.CallMemberFunction ("set_path", @value);
}
[TypeScriptBridge ("get_isResident")]
public bool Get_isResident ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_isResident"));
}
[TypeScriptBridge ("set_isResident")]
public void Set_isResident (bool @value)
{
Instance.CallMemberFunction ("set_isResident", @value);
}
}
public interface IFileSystemObject : ITypeScriptObject
{
[TypeScriptBridge ("resolvePath")]
string ResolvePath (string @path);
[TypeScriptBridge ("readFile")]
string ReadFile (string @path);
[TypeScriptBridge ("findFile")]
TypeScriptServiceBridge.TypeScript.IResolvedFile FindFile (string @rootPath, string @partialFilePath);
[TypeScriptBridge ("dirName")]
string DirName (string @path);
}
public class IFileSystemObject_Impl : TypeScriptObject, IFileSystemObject
{
public IFileSystemObject_Impl (ObjectInstance instance) : base (instance) {}
[TypeScriptBridge ("resolvePath")]
public string ResolvePath (string @path)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("resolvePath", @path));
}
[TypeScriptBridge ("readFile")]
public string ReadFile (string @path)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("readFile", @path));
}
[TypeScriptBridge ("findFile")]
public TypeScriptServiceBridge.TypeScript.IResolvedFile FindFile (string @rootPath, string @partialFilePath)
{
return new TypeScriptServiceBridge.TypeScript.IResolvedFile_Impl ((ObjectInstance) Instance.CallMemberFunction ("findFile", @rootPath, @partialFilePath));
}
[TypeScriptBridge ("dirName")]
public string DirName (string @path)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("dirName", @path));
}
}
public class CompilationEnvironment : TypeScriptObject
{
public CompilationEnvironment (ObjectInstance instance) : base (instance) {}
public CompilationEnvironment (TypeScriptServiceBridge.TypeScript.CompilationSettings @compilationSettings, TypeScriptServiceBridge.TypeScript.IFileSystemObject @ioHost)
: base (CallConstructor ("TypeScript", "CompilationEnvironment", @compilationSettings != null ? @compilationSettings.Instance : null, @ioHost != null ? @ioHost.Instance : null))
{
}
[TypeScriptBridge ("compilationSettings")]
public TypeScriptServiceBridge.TypeScript.CompilationSettings CompilationSettings {
get { return new TypeScriptServiceBridge.TypeScript.CompilationSettings ((ObjectInstance) Instance.GetPropertyValue ("compilationSettings")); }
set { Instance.SetPropertyValue ("compilationSettings", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("ioHost")]
public TypeScriptServiceBridge.TypeScript.IFileSystemObject IoHost {
get { return new TypeScriptServiceBridge.TypeScript.IFileSystemObject_Impl ((ObjectInstance) Instance.GetPropertyValue ("ioHost")); }
set { Instance.SetPropertyValue ("ioHost", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("residentCode")]
public ArrayInstance ResidentCode {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("residentCode")); }
set { Instance.SetPropertyValue ("residentCode", value, true); }
}
[TypeScriptBridge ("code")]
public ArrayInstance Code {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("code")); }
set { Instance.SetPropertyValue ("code", value, true); }
}
[TypeScriptBridge ("get_compilationSettings")]
public TypeScriptServiceBridge.TypeScript.CompilationSettings Get_compilationSettings ()
{
return new TypeScriptServiceBridge.TypeScript.CompilationSettings ((ObjectInstance) Instance.CallMemberFunction ("get_compilationSettings"));
}
[TypeScriptBridge ("set_compilationSettings")]
public void Set_compilationSettings (TypeScriptServiceBridge.TypeScript.CompilationSettings @value)
{
Instance.CallMemberFunction ("set_compilationSettings", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_ioHost")]
public TypeScriptServiceBridge.TypeScript.IFileSystemObject Get_ioHost ()
{
return new TypeScriptServiceBridge.TypeScript.IFileSystemObject_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_ioHost"));
}
[TypeScriptBridge ("set_ioHost")]
public void Set_ioHost (TypeScriptServiceBridge.TypeScript.IFileSystemObject @value)
{
Instance.CallMemberFunction ("set_ioHost", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_residentCode")]
public ArrayInstance Get_residentCode ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_residentCode"));
}
[TypeScriptBridge ("set_residentCode")]
public void Set_residentCode (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_residentCode", @value);
}
[TypeScriptBridge ("get_code")]
public ArrayInstance Get_code ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_code"));
}
[TypeScriptBridge ("set_code")]
public void Set_code (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_code", @value);
}
}
public interface IResolutionDispatcher : ITypeScriptObject
{
[TypeScriptBridge ("postResolutionError")]
void PostResolutionError (string @errorFile, string @errorMessage, System.Object @errorObject);
[TypeScriptBridge ("postResolution")]
void PostResolution (string @path, TypeScriptServiceBridge.TypeScript.ISourceText @source);
}
public class IResolutionDispatcher_Impl : TypeScriptObject, IResolutionDispatcher
{
public IResolutionDispatcher_Impl (ObjectInstance instance) : base (instance) {}
[TypeScriptBridge ("postResolutionError")]
public void PostResolutionError (string @errorFile, string @errorMessage, System.Object @errorObject)
{
Instance.CallMemberFunction ("postResolutionError", @errorFile, @errorMessage, @errorObject);
}
[TypeScriptBridge ("postResolution")]
public void PostResolution (string @path, TypeScriptServiceBridge.TypeScript.ISourceText @source)
{
Instance.CallMemberFunction ("postResolution", @path, @source != null ? @source.Instance : null);
}
}
public interface ICodeResolver : ITypeScriptObject
{
[TypeScriptBridge ("resolveCode")]
void ResolveCode (string @referencePath, string @rootPath, bool @performSearch, TypeScriptServiceBridge.TypeScript.IResolutionDispatcher @state);
}
public class ICodeResolver_Impl : TypeScriptObject, ICodeResolver
{
public ICodeResolver_Impl (ObjectInstance instance) : base (instance) {}
[TypeScriptBridge ("resolveCode")]
public void ResolveCode (string @referencePath, string @rootPath, bool @performSearch, TypeScriptServiceBridge.TypeScript.IResolutionDispatcher @state)
{
Instance.CallMemberFunction ("resolveCode", @referencePath, @rootPath, @performSearch, @state != null ? @state.Instance : null);
}
}
public interface IResolverHost : ITypeScriptObject
{
[TypeScriptBridge ("resolveCompilationEnvironment")]
TypeScriptServiceBridge.TypeScript.CompilationEnvironment ResolveCompilationEnvironment (TypeScriptServiceBridge.TypeScript.CompilationEnvironment @preEnvironment, TypeScriptServiceBridge.TypeScript.ICodeResolver @resolver, bool @traceDependencies);
}
public class IResolverHost_Impl : TypeScriptObject, IResolverHost
{
public IResolverHost_Impl (ObjectInstance instance) : base (instance) {}
[TypeScriptBridge ("resolveCompilationEnvironment")]
public TypeScriptServiceBridge.TypeScript.CompilationEnvironment ResolveCompilationEnvironment (TypeScriptServiceBridge.TypeScript.CompilationEnvironment @preEnvironment, TypeScriptServiceBridge.TypeScript.ICodeResolver @resolver, bool @traceDependencies)
{
return new TypeScriptServiceBridge.TypeScript.CompilationEnvironment ((ObjectInstance) Instance.CallMemberFunction ("resolveCompilationEnvironment", @preEnvironment != null ? @preEnvironment.Instance : null, @resolver != null ? @resolver.Instance : null, @traceDependencies));
}
}
public class CodeResolver : TypeScriptObject
, TypeScript.ICodeResolver
{
public CodeResolver (ObjectInstance instance) : base (instance) {}
public CodeResolver (TypeScriptServiceBridge.TypeScript.CompilationEnvironment @environment)
: base (CallConstructor ("TypeScript", "CodeResolver", @environment != null ? @environment.Instance : null))
{
}
[TypeScriptBridge ("environment")]
public TypeScriptServiceBridge.TypeScript.CompilationEnvironment Environment {
get { return new TypeScriptServiceBridge.TypeScript.CompilationEnvironment ((ObjectInstance) Instance.GetPropertyValue ("environment")); }
set { Instance.SetPropertyValue ("environment", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("visited")]
public System.Object Visited {
get { return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("visited")); }
set { Instance.SetPropertyValue ("visited", value, true); }
}
[TypeScriptBridge ("get_environment")]
public TypeScriptServiceBridge.TypeScript.CompilationEnvironment Get_environment ()
{
return new TypeScriptServiceBridge.TypeScript.CompilationEnvironment ((ObjectInstance) Instance.CallMemberFunction ("get_environment"));
}
[TypeScriptBridge ("set_environment")]
public void Set_environment (TypeScriptServiceBridge.TypeScript.CompilationEnvironment @value)
{
Instance.CallMemberFunction ("set_environment", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_visited")]
public System.Object Get_visited ()
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_visited"));
}
[TypeScriptBridge ("set_visited")]
public void Set_visited (System.Object @value)
{
Instance.CallMemberFunction ("set_visited", @value);
}
[TypeScriptBridge ("resolveCode")]
public void ResolveCode (string @referencePath, string @parentPath, bool @performSearch, TypeScriptServiceBridge.TypeScript.IResolutionDispatcher @resolutionDispatcher)
{
Instance.CallMemberFunction ("resolveCode", @referencePath, @parentPath, @performSearch, @resolutionDispatcher != null ? @resolutionDispatcher.Instance : null);
}
void TypeScriptServiceBridge.TypeScript.ICodeResolver.ResolveCode (string @referencePath, string @rootPath, bool @performSearch, TypeScriptServiceBridge.TypeScript.IResolutionDispatcher @state)
{
ResolveCode ((string) @referencePath, (string) @rootPath, (bool) @performSearch, (TypeScriptServiceBridge.TypeScript.IResolutionDispatcher) @state);
}
}
public class StyleSettings : TypeScriptObject
{
public StyleSettings (ObjectInstance instance) : base (instance) {}
public StyleSettings ()
: base (CallConstructor ("TypeScript", "StyleSettings"))
{
}
[TypeScriptBridge ("bitwise")]
public bool Bitwise {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("bitwise")); }
set { Instance.SetPropertyValue ("bitwise", value, true); }
}
[TypeScriptBridge ("blockInCompoundStmt")]
public bool BlockInCompoundStmt {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("blockInCompoundStmt")); }
set { Instance.SetPropertyValue ("blockInCompoundStmt", value, true); }
}
[TypeScriptBridge ("eqeqeq")]
public bool Eqeqeq {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("eqeqeq")); }
set { Instance.SetPropertyValue ("eqeqeq", value, true); }
}
[TypeScriptBridge ("forin")]
public bool Forin {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("forin")); }
set { Instance.SetPropertyValue ("forin", value, true); }
}
[TypeScriptBridge ("emptyBlocks")]
public bool EmptyBlocks {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("emptyBlocks")); }
set { Instance.SetPropertyValue ("emptyBlocks", value, true); }
}
[TypeScriptBridge ("newMustBeUsed")]
public bool NewMustBeUsed {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("newMustBeUsed")); }
set { Instance.SetPropertyValue ("newMustBeUsed", value, true); }
}
[TypeScriptBridge ("requireSemi")]
public bool RequireSemi {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("requireSemi")); }
set { Instance.SetPropertyValue ("requireSemi", value, true); }
}
[TypeScriptBridge ("assignmentInCond")]
public bool AssignmentInCond {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("assignmentInCond")); }
set { Instance.SetPropertyValue ("assignmentInCond", value, true); }
}
[TypeScriptBridge ("eqnull")]
public bool Eqnull {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("eqnull")); }
set { Instance.SetPropertyValue ("eqnull", value, true); }
}
[TypeScriptBridge ("evalOK")]
public bool EvalOK {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("evalOK")); }
set { Instance.SetPropertyValue ("evalOK", value, true); }
}
[TypeScriptBridge ("innerScopeDeclEscape")]
public bool InnerScopeDeclEscape {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("innerScopeDeclEscape")); }
set { Instance.SetPropertyValue ("innerScopeDeclEscape", value, true); }
}
[TypeScriptBridge ("funcInLoop")]
public bool FuncInLoop {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("funcInLoop")); }
set { Instance.SetPropertyValue ("funcInLoop", value, true); }
}
[TypeScriptBridge ("reDeclareLocal")]
public bool ReDeclareLocal {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("reDeclareLocal")); }
set { Instance.SetPropertyValue ("reDeclareLocal", value, true); }
}
[TypeScriptBridge ("literalSubscript")]
public bool LiteralSubscript {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("literalSubscript")); }
set { Instance.SetPropertyValue ("literalSubscript", value, true); }
}
[TypeScriptBridge ("implicitAny")]
public bool ImplicitAny {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("implicitAny")); }
set { Instance.SetPropertyValue ("implicitAny", value, true); }
}
[TypeScriptBridge ("get_bitwise")]
public bool Get_bitwise ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_bitwise"));
}
[TypeScriptBridge ("set_bitwise")]
public void Set_bitwise (bool @value)
{
Instance.CallMemberFunction ("set_bitwise", @value);
}
[TypeScriptBridge ("get_blockInCompoundStmt")]
public bool Get_blockInCompoundStmt ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_blockInCompoundStmt"));
}
[TypeScriptBridge ("set_blockInCompoundStmt")]
public void Set_blockInCompoundStmt (bool @value)
{
Instance.CallMemberFunction ("set_blockInCompoundStmt", @value);
}
[TypeScriptBridge ("get_eqeqeq")]
public bool Get_eqeqeq ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_eqeqeq"));
}
[TypeScriptBridge ("set_eqeqeq")]
public void Set_eqeqeq (bool @value)
{
Instance.CallMemberFunction ("set_eqeqeq", @value);
}
[TypeScriptBridge ("get_forin")]
public bool Get_forin ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_forin"));
}
[TypeScriptBridge ("set_forin")]
public void Set_forin (bool @value)
{
Instance.CallMemberFunction ("set_forin", @value);
}
[TypeScriptBridge ("get_emptyBlocks")]
public bool Get_emptyBlocks ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_emptyBlocks"));
}
[TypeScriptBridge ("set_emptyBlocks")]
public void Set_emptyBlocks (bool @value)
{
Instance.CallMemberFunction ("set_emptyBlocks", @value);
}
[TypeScriptBridge ("get_newMustBeUsed")]
public bool Get_newMustBeUsed ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_newMustBeUsed"));
}
[TypeScriptBridge ("set_newMustBeUsed")]
public void Set_newMustBeUsed (bool @value)
{
Instance.CallMemberFunction ("set_newMustBeUsed", @value);
}
[TypeScriptBridge ("get_requireSemi")]
public bool Get_requireSemi ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_requireSemi"));
}
[TypeScriptBridge ("set_requireSemi")]
public void Set_requireSemi (bool @value)
{
Instance.CallMemberFunction ("set_requireSemi", @value);
}
[TypeScriptBridge ("get_assignmentInCond")]
public bool Get_assignmentInCond ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_assignmentInCond"));
}
[TypeScriptBridge ("set_assignmentInCond")]
public void Set_assignmentInCond (bool @value)
{
Instance.CallMemberFunction ("set_assignmentInCond", @value);
}
[TypeScriptBridge ("get_eqnull")]
public bool Get_eqnull ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_eqnull"));
}
[TypeScriptBridge ("set_eqnull")]
public void Set_eqnull (bool @value)
{
Instance.CallMemberFunction ("set_eqnull", @value);
}
[TypeScriptBridge ("get_evalOK")]
public bool Get_evalOK ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_evalOK"));
}
[TypeScriptBridge ("set_evalOK")]
public void Set_evalOK (bool @value)
{
Instance.CallMemberFunction ("set_evalOK", @value);
}
[TypeScriptBridge ("get_innerScopeDeclEscape")]
public bool Get_innerScopeDeclEscape ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_innerScopeDeclEscape"));
}
[TypeScriptBridge ("set_innerScopeDeclEscape")]
public void Set_innerScopeDeclEscape (bool @value)
{
Instance.CallMemberFunction ("set_innerScopeDeclEscape", @value);
}
[TypeScriptBridge ("get_funcInLoop")]
public bool Get_funcInLoop ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_funcInLoop"));
}
[TypeScriptBridge ("set_funcInLoop")]
public void Set_funcInLoop (bool @value)
{
Instance.CallMemberFunction ("set_funcInLoop", @value);
}
[TypeScriptBridge ("get_reDeclareLocal")]
public bool Get_reDeclareLocal ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_reDeclareLocal"));
}
[TypeScriptBridge ("set_reDeclareLocal")]
public void Set_reDeclareLocal (bool @value)
{
Instance.CallMemberFunction ("set_reDeclareLocal", @value);
}
[TypeScriptBridge ("get_literalSubscript")]
public bool Get_literalSubscript ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_literalSubscript"));
}
[TypeScriptBridge ("set_literalSubscript")]
public void Set_literalSubscript (bool @value)
{
Instance.CallMemberFunction ("set_literalSubscript", @value);
}
[TypeScriptBridge ("get_implicitAny")]
public bool Get_implicitAny ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_implicitAny"));
}
[TypeScriptBridge ("set_implicitAny")]
public void Set_implicitAny (bool @value)
{
Instance.CallMemberFunction ("set_implicitAny", @value);
}
[TypeScriptBridge ("setOption")]
public bool SetOption (string @opt, bool @val)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("setOption", @opt, @val));
}
[TypeScriptBridge ("parseOptions")]
public bool ParseOptions (string @str)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("parseOptions", @str));
}
}
public class CompilationSettings : TypeScriptObject
{
public CompilationSettings (ObjectInstance instance) : base (instance) {}
public CompilationSettings ()
: base (CallConstructor ("TypeScript", "CompilationSettings"))
{
}
[TypeScriptBridge ("styleSettings")]
public TypeScriptServiceBridge.TypeScript.StyleSettings StyleSettings {
get { return new TypeScriptServiceBridge.TypeScript.StyleSettings ((ObjectInstance) Instance.GetPropertyValue ("styleSettings")); }
set { Instance.SetPropertyValue ("styleSettings", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("propagateConstants")]
public bool PropagateConstants {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("propagateConstants")); }
set { Instance.SetPropertyValue ("propagateConstants", value, true); }
}
[TypeScriptBridge ("minWhitespace")]
public bool MinWhitespace {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("minWhitespace")); }
set { Instance.SetPropertyValue ("minWhitespace", value, true); }
}
[TypeScriptBridge ("parseOnly")]
public bool ParseOnly {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("parseOnly")); }
set { Instance.SetPropertyValue ("parseOnly", value, true); }
}
[TypeScriptBridge ("outputMobject")]
public bool OutputMobject {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("outputMobject")); }
set { Instance.SetPropertyValue ("outputMobject", value, true); }
}
[TypeScriptBridge ("errorRecovery")]
public bool ErrorRecovery {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("errorRecovery")); }
set { Instance.SetPropertyValue ("errorRecovery", value, true); }
}
[TypeScriptBridge ("emitComments")]
public bool EmitComments {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("emitComments")); }
set { Instance.SetPropertyValue ("emitComments", value, true); }
}
[TypeScriptBridge ("watch")]
public bool Watch {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("watch")); }
set { Instance.SetPropertyValue ("watch", value, true); }
}
[TypeScriptBridge ("exec")]
public bool Exec {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("exec")); }
set { Instance.SetPropertyValue ("exec", value, true); }
}
[TypeScriptBridge ("resolve")]
public bool Resolve {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("resolve")); }
set { Instance.SetPropertyValue ("resolve", value, true); }
}
[TypeScriptBridge ("controlFlow")]
public bool ControlFlow {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("controlFlow")); }
set { Instance.SetPropertyValue ("controlFlow", value, true); }
}
[TypeScriptBridge ("printControlFlow")]
public bool PrintControlFlow {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("printControlFlow")); }
set { Instance.SetPropertyValue ("printControlFlow", value, true); }
}
[TypeScriptBridge ("controlFlowUseDef")]
public bool ControlFlowUseDef {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("controlFlowUseDef")); }
set { Instance.SetPropertyValue ("controlFlowUseDef", value, true); }
}
[TypeScriptBridge ("errorOnWith")]
public bool ErrorOnWith {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("errorOnWith")); }
set { Instance.SetPropertyValue ("errorOnWith", value, true); }
}
[TypeScriptBridge ("preprocess")]
public bool Preprocess {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("preprocess")); }
set { Instance.SetPropertyValue ("preprocess", value, true); }
}
[TypeScriptBridge ("canCallDefinitionSignature")]
public bool CanCallDefinitionSignature {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("canCallDefinitionSignature")); }
set { Instance.SetPropertyValue ("canCallDefinitionSignature", value, true); }
}
[TypeScriptBridge ("inferPropertiesFromThisAssignment")]
public bool InferPropertiesFromThisAssignment {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("inferPropertiesFromThisAssignment")); }
set { Instance.SetPropertyValue ("inferPropertiesFromThisAssignment", value, true); }
}
[TypeScriptBridge ("useDefaultLib")]
public bool UseDefaultLib {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("useDefaultLib")); }
set { Instance.SetPropertyValue ("useDefaultLib", value, true); }
}
[TypeScriptBridge ("codeGenTarget")]
public TypeScriptServiceBridge.TypeScript.CodeGenTarget CodeGenTarget {
get { return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.CodeGenTarget> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("codeGenTarget")); }
set { Instance.SetPropertyValue ("codeGenTarget", value, true); }
}
[TypeScriptBridge ("moduleGenTarget")]
public TypeScriptServiceBridge.TypeScript.ModuleGenTarget ModuleGenTarget {
get { return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.ModuleGenTarget> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("moduleGenTarget")); }
set { Instance.SetPropertyValue ("moduleGenTarget", value, true); }
}
[TypeScriptBridge ("outputFileName")]
public string OutputFileName {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("outputFileName")); }
set { Instance.SetPropertyValue ("outputFileName", value, true); }
}
[TypeScriptBridge ("mapSourceFiles")]
public bool MapSourceFiles {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("mapSourceFiles")); }
set { Instance.SetPropertyValue ("mapSourceFiles", value, true); }
}
[TypeScriptBridge ("generateDeclarationFiles")]
public bool GenerateDeclarationFiles {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("generateDeclarationFiles")); }
set { Instance.SetPropertyValue ("generateDeclarationFiles", value, true); }
}
[TypeScriptBridge ("useCaseSensitiveFileResolution")]
public bool UseCaseSensitiveFileResolution {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("useCaseSensitiveFileResolution")); }
set { Instance.SetPropertyValue ("useCaseSensitiveFileResolution", value, true); }
}
[TypeScriptBridge ("get_styleSettings")]
public TypeScriptServiceBridge.TypeScript.StyleSettings Get_styleSettings ()
{
return new TypeScriptServiceBridge.TypeScript.StyleSettings ((ObjectInstance) Instance.CallMemberFunction ("get_styleSettings"));
}
[TypeScriptBridge ("set_styleSettings")]
public void Set_styleSettings (TypeScriptServiceBridge.TypeScript.StyleSettings @value)
{
Instance.CallMemberFunction ("set_styleSettings", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_propagateConstants")]
public bool Get_propagateConstants ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_propagateConstants"));
}
[TypeScriptBridge ("set_propagateConstants")]
public void Set_propagateConstants (bool @value)
{
Instance.CallMemberFunction ("set_propagateConstants", @value);
}
[TypeScriptBridge ("get_minWhitespace")]
public bool Get_minWhitespace ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_minWhitespace"));
}
[TypeScriptBridge ("set_minWhitespace")]
public void Set_minWhitespace (bool @value)
{
Instance.CallMemberFunction ("set_minWhitespace", @value);
}
[TypeScriptBridge ("get_parseOnly")]
public bool Get_parseOnly ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_parseOnly"));
}
[TypeScriptBridge ("set_parseOnly")]
public void Set_parseOnly (bool @value)
{
Instance.CallMemberFunction ("set_parseOnly", @value);
}
[TypeScriptBridge ("get_outputMobject")]
public bool Get_outputMobject ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_outputMobject"));
}
[TypeScriptBridge ("set_outputMobject")]
public void Set_outputMobject (bool @value)
{
Instance.CallMemberFunction ("set_outputMobject", @value);
}
[TypeScriptBridge ("get_errorRecovery")]
public bool Get_errorRecovery ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_errorRecovery"));
}
[TypeScriptBridge ("set_errorRecovery")]
public void Set_errorRecovery (bool @value)
{
Instance.CallMemberFunction ("set_errorRecovery", @value);
}
[TypeScriptBridge ("get_emitComments")]
public bool Get_emitComments ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_emitComments"));
}
[TypeScriptBridge ("set_emitComments")]
public void Set_emitComments (bool @value)
{
Instance.CallMemberFunction ("set_emitComments", @value);
}
[TypeScriptBridge ("get_watch")]
public bool Get_watch ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_watch"));
}
[TypeScriptBridge ("set_watch")]
public void Set_watch (bool @value)
{
Instance.CallMemberFunction ("set_watch", @value);
}
[TypeScriptBridge ("get_exec")]
public bool Get_exec ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_exec"));
}
[TypeScriptBridge ("set_exec")]
public void Set_exec (bool @value)
{
Instance.CallMemberFunction ("set_exec", @value);
}
[TypeScriptBridge ("get_resolve")]
public bool Get_resolve ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_resolve"));
}
[TypeScriptBridge ("set_resolve")]
public void Set_resolve (bool @value)
{
Instance.CallMemberFunction ("set_resolve", @value);
}
[TypeScriptBridge ("get_controlFlow")]
public bool Get_controlFlow ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_controlFlow"));
}
[TypeScriptBridge ("set_controlFlow")]
public void Set_controlFlow (bool @value)
{
Instance.CallMemberFunction ("set_controlFlow", @value);
}
[TypeScriptBridge ("get_printControlFlow")]
public bool Get_printControlFlow ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_printControlFlow"));
}
[TypeScriptBridge ("set_printControlFlow")]
public void Set_printControlFlow (bool @value)
{
Instance.CallMemberFunction ("set_printControlFlow", @value);
}
[TypeScriptBridge ("get_controlFlowUseDef")]
public bool Get_controlFlowUseDef ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_controlFlowUseDef"));
}
[TypeScriptBridge ("set_controlFlowUseDef")]
public void Set_controlFlowUseDef (bool @value)
{
Instance.CallMemberFunction ("set_controlFlowUseDef", @value);
}
[TypeScriptBridge ("get_errorOnWith")]
public bool Get_errorOnWith ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_errorOnWith"));
}
[TypeScriptBridge ("set_errorOnWith")]
public void Set_errorOnWith (bool @value)
{
Instance.CallMemberFunction ("set_errorOnWith", @value);
}
[TypeScriptBridge ("get_preprocess")]
public bool Get_preprocess ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_preprocess"));
}
[TypeScriptBridge ("set_preprocess")]
public void Set_preprocess (bool @value)
{
Instance.CallMemberFunction ("set_preprocess", @value);
}
[TypeScriptBridge ("get_canCallDefinitionSignature")]
public bool Get_canCallDefinitionSignature ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_canCallDefinitionSignature"));
}
[TypeScriptBridge ("set_canCallDefinitionSignature")]
public void Set_canCallDefinitionSignature (bool @value)
{
Instance.CallMemberFunction ("set_canCallDefinitionSignature", @value);
}
[TypeScriptBridge ("get_inferPropertiesFromThisAssignment")]
public bool Get_inferPropertiesFromThisAssignment ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_inferPropertiesFromThisAssignment"));
}
[TypeScriptBridge ("set_inferPropertiesFromThisAssignment")]
public void Set_inferPropertiesFromThisAssignment (bool @value)
{
Instance.CallMemberFunction ("set_inferPropertiesFromThisAssignment", @value);
}
[TypeScriptBridge ("get_useDefaultLib")]
public bool Get_useDefaultLib ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_useDefaultLib"));
}
[TypeScriptBridge ("set_useDefaultLib")]
public void Set_useDefaultLib (bool @value)
{
Instance.CallMemberFunction ("set_useDefaultLib", @value);
}
[TypeScriptBridge ("get_codeGenTarget")]
public TypeScriptServiceBridge.TypeScript.CodeGenTarget Get_codeGenTarget ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.CodeGenTarget> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_codeGenTarget"));
}
[TypeScriptBridge ("set_codeGenTarget")]
public void Set_codeGenTarget (TypeScriptServiceBridge.TypeScript.CodeGenTarget @value)
{
Instance.CallMemberFunction ("set_codeGenTarget", @value);
}
[TypeScriptBridge ("get_moduleGenTarget")]
public TypeScriptServiceBridge.TypeScript.ModuleGenTarget Get_moduleGenTarget ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.ModuleGenTarget> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_moduleGenTarget"));
}
[TypeScriptBridge ("set_moduleGenTarget")]
public void Set_moduleGenTarget (TypeScriptServiceBridge.TypeScript.ModuleGenTarget @value)
{
Instance.CallMemberFunction ("set_moduleGenTarget", @value);
}
[TypeScriptBridge ("get_outputFileName")]
public string Get_outputFileName ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_outputFileName"));
}
[TypeScriptBridge ("set_outputFileName")]
public void Set_outputFileName (string @value)
{
Instance.CallMemberFunction ("set_outputFileName", @value);
}
[TypeScriptBridge ("get_mapSourceFiles")]
public bool Get_mapSourceFiles ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_mapSourceFiles"));
}
[TypeScriptBridge ("set_mapSourceFiles")]
public void Set_mapSourceFiles (bool @value)
{
Instance.CallMemberFunction ("set_mapSourceFiles", @value);
}
[TypeScriptBridge ("get_generateDeclarationFiles")]
public bool Get_generateDeclarationFiles ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_generateDeclarationFiles"));
}
[TypeScriptBridge ("set_generateDeclarationFiles")]
public void Set_generateDeclarationFiles (bool @value)
{
Instance.CallMemberFunction ("set_generateDeclarationFiles", @value);
}
[TypeScriptBridge ("get_useCaseSensitiveFileResolution")]
public bool Get_useCaseSensitiveFileResolution ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_useCaseSensitiveFileResolution"));
}
[TypeScriptBridge ("set_useCaseSensitiveFileResolution")]
public void Set_useCaseSensitiveFileResolution (bool @value)
{
Instance.CallMemberFunction ("set_useCaseSensitiveFileResolution", @value);
}
[TypeScriptBridge ("setStyleOptions")]
public void SetStyleOptions (string @str)
{
Instance.CallMemberFunction ("setStyleOptions", @str);
}
[TypeScriptBridge ("outputOne")]
public void OutputOne (string @outFile)
{
Instance.CallMemberFunction ("outputOne", @outFile);
}
}
public interface IPreProcessedFileInfo : ITypeScriptObject
{
[TypeScriptBridge ("settings")]
TypeScriptServiceBridge.TypeScript.CompilationSettings Settings { get; set; }
[TypeScriptBridge ("referencedFiles")]
ArrayInstance ReferencedFiles { get; set; }
[TypeScriptBridge ("importedFiles")]
ArrayInstance ImportedFiles { get; set; }
[TypeScriptBridge ("isLibFile")]
bool IsLibFile { get; set; }
[TypeScriptBridge ("get_settings")]
TypeScriptServiceBridge.TypeScript.CompilationSettings Get_settings ();
[TypeScriptBridge ("set_settings")]
void Set_settings (TypeScriptServiceBridge.TypeScript.CompilationSettings @value);
[TypeScriptBridge ("get_referencedFiles")]
ArrayInstance Get_referencedFiles ();
[TypeScriptBridge ("set_referencedFiles")]
void Set_referencedFiles (ArrayInstance @value);
[TypeScriptBridge ("get_importedFiles")]
ArrayInstance Get_importedFiles ();
[TypeScriptBridge ("set_importedFiles")]
void Set_importedFiles (ArrayInstance @value);
[TypeScriptBridge ("get_isLibFile")]
bool Get_isLibFile ();
[TypeScriptBridge ("set_isLibFile")]
void Set_isLibFile (bool @value);
}
public class IPreProcessedFileInfo_Impl : TypeScriptObject, IPreProcessedFileInfo
{
public IPreProcessedFileInfo_Impl (ObjectInstance instance) : base (instance) {}
[TypeScriptBridge ("settings")]
public TypeScriptServiceBridge.TypeScript.CompilationSettings Settings {
get { return new TypeScriptServiceBridge.TypeScript.CompilationSettings ((ObjectInstance) Instance.GetPropertyValue ("settings")); }
set { Instance.SetPropertyValue ("settings", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("referencedFiles")]
public ArrayInstance ReferencedFiles {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("referencedFiles")); }
set { Instance.SetPropertyValue ("referencedFiles", value, true); }
}
[TypeScriptBridge ("importedFiles")]
public ArrayInstance ImportedFiles {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("importedFiles")); }
set { Instance.SetPropertyValue ("importedFiles", value, true); }
}
[TypeScriptBridge ("isLibFile")]
public bool IsLibFile {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("isLibFile")); }
set { Instance.SetPropertyValue ("isLibFile", value, true); }
}
[TypeScriptBridge ("get_settings")]
public TypeScriptServiceBridge.TypeScript.CompilationSettings Get_settings ()
{
return new TypeScriptServiceBridge.TypeScript.CompilationSettings ((ObjectInstance) Instance.CallMemberFunction ("get_settings"));
}
[TypeScriptBridge ("set_settings")]
public void Set_settings (TypeScriptServiceBridge.TypeScript.CompilationSettings @value)
{
Instance.CallMemberFunction ("set_settings", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_referencedFiles")]
public ArrayInstance Get_referencedFiles ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_referencedFiles"));
}
[TypeScriptBridge ("set_referencedFiles")]
public void Set_referencedFiles (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_referencedFiles", @value);
}
[TypeScriptBridge ("get_importedFiles")]
public ArrayInstance Get_importedFiles ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_importedFiles"));
}
[TypeScriptBridge ("set_importedFiles")]
public void Set_importedFiles (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_importedFiles", @value);
}
[TypeScriptBridge ("get_isLibFile")]
public bool Get_isLibFile ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_isLibFile"));
}
[TypeScriptBridge ("set_isLibFile")]
public void Set_isLibFile (bool @value)
{
Instance.CallMemberFunction ("set_isLibFile", @value);
}
}
public class IncrementalParser : TypeScriptObject
{
public IncrementalParser (ObjectInstance instance) : base (instance) {}
public IncrementalParser (TypeScriptServiceBridge.TypeScript.ILogger @logger)
: base (CallConstructor ("TypeScript", "IncrementalParser", @logger != null ? @logger.Instance : null))
{
}
[TypeScriptBridge ("logger")]
public TypeScriptServiceBridge.TypeScript.ILogger Logger {
get { return new TypeScriptServiceBridge.TypeScript.ILogger_Impl ((ObjectInstance) Instance.GetPropertyValue ("logger")); }
set { Instance.SetPropertyValue ("logger", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_logger")]
public TypeScriptServiceBridge.TypeScript.ILogger Get_logger ()
{
return new TypeScriptServiceBridge.TypeScript.ILogger_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_logger"));
}
[TypeScriptBridge ("set_logger")]
public void Set_logger (TypeScriptServiceBridge.TypeScript.ILogger @value)
{
Instance.CallMemberFunction ("set_logger", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("getEnclosingScopeContextIfSingleScopeEdit")]
public TypeScriptServiceBridge.TypeScript.EnclosingScopeContext GetEnclosingScopeContextIfSingleScopeEdit (TypeScriptServiceBridge.TypeScript.Script @previousScript, string @scriptId, TypeScriptServiceBridge.TypeScript.ISourceText @newSourceText, TypeScriptServiceBridge.TypeScript.ScriptEditRange @editRange)
{
return new TypeScriptServiceBridge.TypeScript.EnclosingScopeContext ((ObjectInstance) Instance.CallMemberFunction ("getEnclosingScopeContextIfSingleScopeEdit", @previousScript != null ? @previousScript.Instance : null, @scriptId, @newSourceText != null ? @newSourceText.Instance : null, @editRange != null ? @editRange.Instance : null));
}
[TypeScriptBridge ("attemptIncrementalUpdateUnit")]
public TypeScriptServiceBridge.TypeScript.UpdateUnitResult AttemptIncrementalUpdateUnit (TypeScriptServiceBridge.TypeScript.Script @previousScript, string @scriptId, TypeScriptServiceBridge.TypeScript.ISourceText @newSourceText, TypeScriptServiceBridge.TypeScript.ScriptEditRange @editRange)
{
return new TypeScriptServiceBridge.TypeScript.UpdateUnitResult ((ObjectInstance) Instance.CallMemberFunction ("attemptIncrementalUpdateUnit", @previousScript != null ? @previousScript.Instance : null, @scriptId, @newSourceText != null ? @newSourceText.Instance : null, @editRange != null ? @editRange.Instance : null));
}
[TypeScriptBridge ("mergeTrees")]
public void MergeTrees (TypeScriptServiceBridge.TypeScript.UpdateUnitResult @updateResult)
{
Instance.CallMemberFunction ("mergeTrees", @updateResult != null ? @updateResult.Instance : null);
}
[TypeScriptBridge ("replaceAST")]
public void ReplaceAST (TypeScriptServiceBridge.TypeScript.AST @script, TypeScriptServiceBridge.TypeScript.AST @oldAst, TypeScriptServiceBridge.TypeScript.AST @newAst)
{
Instance.CallMemberFunction ("replaceAST", @script != null ? @script.Instance : null, @oldAst != null ? @oldAst.Instance : null, @newAst != null ? @newAst.Instance : null);
}
[TypeScriptBridge ("mergeLocationInfo")]
public void MergeLocationInfo (TypeScriptServiceBridge.TypeScript.Script @script, TypeScriptServiceBridge.TypeScript.Script @partial, TypeScriptServiceBridge.TypeScript.ScriptEditRange @editRange)
{
Instance.CallMemberFunction ("mergeLocationInfo", @script != null ? @script.Instance : null, @partial != null ? @partial.Instance : null, @editRange != null ? @editRange.Instance : null);
}
[TypeScriptBridge ("applyDeltaPosition")]
public void ApplyDeltaPosition (TypeScriptServiceBridge.TypeScript.AST @ast, double @start, double @delta)
{
Instance.CallMemberFunction ("applyDeltaPosition", @ast != null ? @ast.Instance : null, @start, @delta);
}
}
public class DeclarationEmitter : TypeScriptObject
, AstWalkerWithDetailCallback.AstWalkerDetailCallback
{
public DeclarationEmitter (ObjectInstance instance) : base (instance) {}
public DeclarationEmitter (TypeScriptServiceBridge.TypeScript.TypeChecker @checker, TypeScriptServiceBridge.TypeScript.IEmitOptions @emitOptions)
: base (CallConstructor ("TypeScript", "DeclarationEmitter", @checker != null ? @checker.Instance : null, @emitOptions != null ? @emitOptions.Instance : null))
{
}
[TypeScriptBridge ("checker")]
public TypeScriptServiceBridge.TypeScript.TypeChecker Checker {
get { return new TypeScriptServiceBridge.TypeScript.TypeChecker ((ObjectInstance) Instance.GetPropertyValue ("checker")); }
set { Instance.SetPropertyValue ("checker", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("emitOptions")]
public TypeScriptServiceBridge.TypeScript.IEmitOptions EmitOptions {
get { return new TypeScriptServiceBridge.TypeScript.IEmitOptions_Impl ((ObjectInstance) Instance.GetPropertyValue ("emitOptions")); }
set { Instance.SetPropertyValue ("emitOptions", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("indenter")]
public TypeScriptServiceBridge.TypeScript.Indenter Indenter {
get { return new TypeScriptServiceBridge.TypeScript.Indenter ((ObjectInstance) Instance.GetPropertyValue ("indenter")); }
set { Instance.SetPropertyValue ("indenter", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("declarationContainerStack")]
public ArrayInstance DeclarationContainerStack {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("declarationContainerStack")); }
set { Instance.SetPropertyValue ("declarationContainerStack", value, true); }
}
[TypeScriptBridge ("isDottedModuleName")]
public ArrayInstance IsDottedModuleName {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("isDottedModuleName")); }
set { Instance.SetPropertyValue ("isDottedModuleName", value, true); }
}
[TypeScriptBridge ("ignoreCallbackAst")]
public TypeScriptServiceBridge.TypeScript.AST IgnoreCallbackAst {
get { return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.GetPropertyValue ("ignoreCallbackAst")); }
set { Instance.SetPropertyValue ("ignoreCallbackAst", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_checker")]
public TypeScriptServiceBridge.TypeScript.TypeChecker Get_checker ()
{
return new TypeScriptServiceBridge.TypeScript.TypeChecker ((ObjectInstance) Instance.CallMemberFunction ("get_checker"));
}
[TypeScriptBridge ("set_checker")]
public void Set_checker (TypeScriptServiceBridge.TypeScript.TypeChecker @value)
{
Instance.CallMemberFunction ("set_checker", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_emitOptions")]
public TypeScriptServiceBridge.TypeScript.IEmitOptions Get_emitOptions ()
{
return new TypeScriptServiceBridge.TypeScript.IEmitOptions_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_emitOptions"));
}
[TypeScriptBridge ("set_emitOptions")]
public void Set_emitOptions (TypeScriptServiceBridge.TypeScript.IEmitOptions @value)
{
Instance.CallMemberFunction ("set_emitOptions", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_indenter")]
public TypeScriptServiceBridge.TypeScript.Indenter Get_indenter ()
{
return new TypeScriptServiceBridge.TypeScript.Indenter ((ObjectInstance) Instance.CallMemberFunction ("get_indenter"));
}
[TypeScriptBridge ("set_indenter")]
public void Set_indenter (TypeScriptServiceBridge.TypeScript.Indenter @value)
{
Instance.CallMemberFunction ("set_indenter", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_declarationContainerStack")]
public ArrayInstance Get_declarationContainerStack ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_declarationContainerStack"));
}
[TypeScriptBridge ("set_declarationContainerStack")]
public void Set_declarationContainerStack (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_declarationContainerStack", @value);
}
[TypeScriptBridge ("get_isDottedModuleName")]
public ArrayInstance Get_isDottedModuleName ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_isDottedModuleName"));
}
[TypeScriptBridge ("set_isDottedModuleName")]
public void Set_isDottedModuleName (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_isDottedModuleName", @value);
}
[TypeScriptBridge ("get_ignoreCallbackAst")]
public TypeScriptServiceBridge.TypeScript.AST Get_ignoreCallbackAst ()
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("get_ignoreCallbackAst"));
}
[TypeScriptBridge ("set_ignoreCallbackAst")]
public void Set_ignoreCallbackAst (TypeScriptServiceBridge.TypeScript.AST @value)
{
Instance.CallMemberFunction ("set_ignoreCallbackAst", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("getAstDeclarationContainer")]
public TypeScriptServiceBridge.TypeScript.AST GetAstDeclarationContainer ()
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("getAstDeclarationContainer"));
}
[TypeScriptBridge ("emitDottedModuleName")]
public bool EmitDottedModuleName ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("emitDottedModuleName"));
}
[TypeScriptBridge ("setDeclarationFile")]
public void SetDeclarationFile (TypeScriptServiceBridge.ITextWriter @file)
{
Instance.CallMemberFunction ("setDeclarationFile", @file != null ? @file.Instance : null);
}
[TypeScriptBridge ("emitDeclarations")]
public void EmitDeclarations (TypeScriptServiceBridge.TypeScript.Script @script)
{
Instance.CallMemberFunction ("emitDeclarations", @script != null ? @script.Instance : null);
}
[TypeScriptBridge ("getIndentString")]
public string GetIndentString (bool @declIndent = false)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getIndentString", @declIndent));
}
[TypeScriptBridge ("emitIndent")]
public void EmitIndent ()
{
Instance.CallMemberFunction ("emitIndent");
}
[TypeScriptBridge ("canEmitSignature")]
public bool CanEmitSignature (TypeScriptServiceBridge.TypeScript.DeclFlags @declFlags, bool @canEmitGlobalAmbientDecl = true, bool @useDeclarationContainerTop = true)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("canEmitSignature", @declFlags, @canEmitGlobalAmbientDecl, @useDeclarationContainerTop));
}
[TypeScriptBridge ("canEmitPrePostAstSignature")]
public bool CanEmitPrePostAstSignature (TypeScriptServiceBridge.TypeScript.DeclFlags @declFlags, TypeScriptServiceBridge.TypeScript.AST @astWithPrePostCallback, bool @preCallback)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("canEmitPrePostAstSignature", @declFlags, @astWithPrePostCallback != null ? @astWithPrePostCallback.Instance : null, @preCallback));
}
[TypeScriptBridge ("emitDeclFlags")]
public void EmitDeclFlags (TypeScriptServiceBridge.TypeScript.DeclFlags @declFlags, string @typeString)
{
Instance.CallMemberFunction ("emitDeclFlags", @declFlags, @typeString);
}
[TypeScriptBridge ("canEmitTypeAnnotationSignature")]
public bool CanEmitTypeAnnotationSignature ([DangerousDefaultValueAttribute]TypeScriptServiceBridge.TypeScript.DeclFlags @declFlag = TypeScript.DeclFlags.None)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("canEmitTypeAnnotationSignature", @declFlag));
}
[TypeScriptBridge ("pushDeclarationContainer")]
public void PushDeclarationContainer (TypeScriptServiceBridge.TypeScript.AST @ast)
{
Instance.CallMemberFunction ("pushDeclarationContainer", @ast != null ? @ast.Instance : null);
}
[TypeScriptBridge ("popDeclarationContainer")]
public void PopDeclarationContainer (TypeScriptServiceBridge.TypeScript.AST @ast)
{
Instance.CallMemberFunction ("popDeclarationContainer", @ast != null ? @ast.Instance : null);
}
[TypeScriptBridge ("emitTypeNamesMember")]
public void EmitTypeNamesMember (TypeScriptServiceBridge.TypeScript.MemberName @memberName, bool @emitIndent = false)
{
Instance.CallMemberFunction ("emitTypeNamesMember", @memberName != null ? @memberName.Instance : null, @emitIndent);
}
[TypeScriptBridge ("emitTypeSignature")]
public void EmitTypeSignature (TypeScriptServiceBridge.TypeScript.Type @type)
{
Instance.CallMemberFunction ("emitTypeSignature", @type != null ? @type.Instance : null);
}
[TypeScriptBridge ("VarDeclCallback")]
public bool VarDeclCallback (bool @pre, TypeScriptServiceBridge.TypeScript.VarDecl @varDecl)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("VarDeclCallback", @pre, @varDecl != null ? @varDecl.Instance : null));
}
[TypeScriptBridge ("BlockCallback")]
public bool BlockCallback (bool @pre, TypeScriptServiceBridge.TypeScript.Block @block)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("BlockCallback", @pre, @block != null ? @block.Instance : null));
}
[TypeScriptBridge ("emitArgDecl")]
public void EmitArgDecl (TypeScriptServiceBridge.TypeScript.ArgDecl @argDecl, TypeScriptServiceBridge.TypeScript.FuncDecl @funcDecl)
{
Instance.CallMemberFunction ("emitArgDecl", @argDecl != null ? @argDecl.Instance : null, @funcDecl != null ? @funcDecl.Instance : null);
}
[TypeScriptBridge ("FuncDeclCallback")]
public bool FuncDeclCallback (bool @pre, TypeScriptServiceBridge.TypeScript.FuncDecl @funcDecl)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("FuncDeclCallback", @pre, @funcDecl != null ? @funcDecl.Instance : null));
}
[TypeScriptBridge ("emitBaseList")]
public void EmitBaseList (TypeScriptServiceBridge.TypeScript.ASTList @bases, string @qual)
{
Instance.CallMemberFunction ("emitBaseList", @bases != null ? @bases.Instance : null, @qual);
}
[TypeScriptBridge ("emitPropertyAccessorSignature")]
public bool EmitPropertyAccessorSignature (TypeScriptServiceBridge.TypeScript.FuncDecl @funcDecl)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("emitPropertyAccessorSignature", @funcDecl != null ? @funcDecl.Instance : null));
}
[TypeScriptBridge ("emitClassMembersFromConstructorDefinition")]
public void EmitClassMembersFromConstructorDefinition (TypeScriptServiceBridge.TypeScript.FuncDecl @funcDecl)
{
Instance.CallMemberFunction ("emitClassMembersFromConstructorDefinition", @funcDecl != null ? @funcDecl.Instance : null);
}
[TypeScriptBridge ("ClassDeclarationCallback")]
public bool ClassDeclarationCallback (bool @pre, TypeScriptServiceBridge.TypeScript.ClassDeclaration @classDecl)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("ClassDeclarationCallback", @pre, @classDecl != null ? @classDecl.Instance : null));
}
[TypeScriptBridge ("InterfaceDeclarationCallback")]
public bool InterfaceDeclarationCallback (bool @pre, TypeScriptServiceBridge.TypeScript.InterfaceDeclaration @interfaceDecl)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("InterfaceDeclarationCallback", @pre, @interfaceDecl != null ? @interfaceDecl.Instance : null));
}
[TypeScriptBridge ("ImportDeclarationCallback")]
public bool ImportDeclarationCallback (bool @pre, TypeScriptServiceBridge.TypeScript.ImportDeclaration @importDecl)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("ImportDeclarationCallback", @pre, @importDecl != null ? @importDecl.Instance : null));
}
[TypeScriptBridge ("emitEnumSignature")]
public bool EmitEnumSignature (TypeScriptServiceBridge.TypeScript.ModuleDeclaration @moduleDecl)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("emitEnumSignature", @moduleDecl != null ? @moduleDecl.Instance : null));
}
[TypeScriptBridge ("ModuleDeclarationCallback")]
public bool ModuleDeclarationCallback (bool @pre, TypeScriptServiceBridge.TypeScript.ModuleDeclaration @moduleDecl)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("ModuleDeclarationCallback", @pre, @moduleDecl != null ? @moduleDecl.Instance : null));
}
[TypeScriptBridge ("ScriptCallback")]
public bool ScriptCallback (bool @pre, TypeScriptServiceBridge.TypeScript.Script @script)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("ScriptCallback", @pre, @script != null ? @script.Instance : null));
}
[TypeScriptBridge ("DefaultCallback")]
public bool DefaultCallback (bool @pre, TypeScriptServiceBridge.TypeScript.AST @ast)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("DefaultCallback", @pre, @ast != null ? @ast.Instance : null));
}
}
public enum UpdateUnitKind
{
Unknown = 0,
NoEdits = 1,
EditsInsideSingleScope = 2,
}
public class ScriptEditRange : TypeScriptObject
{
public ScriptEditRange (ObjectInstance instance) : base (instance) {}
public ScriptEditRange (double @minChar, double @limChar, double @delta)
: base (CallConstructor ("TypeScript", "ScriptEditRange", @minChar, @limChar, @delta))
{
}
[TypeScriptBridge ("minChar")]
public double MinChar {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("minChar")); }
set { Instance.SetPropertyValue ("minChar", value, true); }
}
[TypeScriptBridge ("limChar")]
public double LimChar {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("limChar")); }
set { Instance.SetPropertyValue ("limChar", value, true); }
}
[TypeScriptBridge ("delta")]
public double Delta {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("delta")); }
set { Instance.SetPropertyValue ("delta", value, true); }
}
[TypeScriptBridge ("get_minChar")]
public double Get_minChar ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_minChar"));
}
[TypeScriptBridge ("set_minChar")]
public void Set_minChar (double @value)
{
Instance.CallMemberFunction ("set_minChar", @value);
}
[TypeScriptBridge ("get_limChar")]
public double Get_limChar ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_limChar"));
}
[TypeScriptBridge ("set_limChar")]
public void Set_limChar (double @value)
{
Instance.CallMemberFunction ("set_limChar", @value);
}
[TypeScriptBridge ("get_delta")]
public double Get_delta ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_delta"));
}
[TypeScriptBridge ("set_delta")]
public void Set_delta (double @value)
{
Instance.CallMemberFunction ("set_delta", @value);
}
[TypeScriptBridge ("unknown")]
public TypeScriptServiceBridge.TypeScript.ScriptEditRange Unknown ()
{
return new TypeScriptServiceBridge.TypeScript.ScriptEditRange ((ObjectInstance) Instance.CallMemberFunction ("unknown"));
}
[TypeScriptBridge ("isUnknown")]
public bool IsUnknown ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isUnknown"));
}
[TypeScriptBridge ("containsPosition")]
public bool ContainsPosition (double @pos)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("containsPosition", @pos));
}
[TypeScriptBridge ("toString")]
public string ToString ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("toString"));
}
}
public class UpdateUnitResult : TypeScriptObject
{
public UpdateUnitResult (ObjectInstance instance) : base (instance) {}
public UpdateUnitResult (TypeScriptServiceBridge.TypeScript.UpdateUnitKind @kind, double @unitIndex, TypeScriptServiceBridge.TypeScript.Script @script1, TypeScriptServiceBridge.TypeScript.Script @script2)
: base (CallConstructor ("TypeScript", "UpdateUnitResult", @kind, @unitIndex, @script1 != null ? @script1.Instance : null, @script2 != null ? @script2.Instance : null))
{
}
[TypeScriptBridge ("kind")]
public TypeScriptServiceBridge.TypeScript.UpdateUnitKind Kind {
get { return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.UpdateUnitKind> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("kind")); }
set { Instance.SetPropertyValue ("kind", value, true); }
}
[TypeScriptBridge ("unitIndex")]
public double UnitIndex {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("unitIndex")); }
set { Instance.SetPropertyValue ("unitIndex", value, true); }
}
[TypeScriptBridge ("script1")]
public TypeScriptServiceBridge.TypeScript.Script Script1 {
get { return new TypeScriptServiceBridge.TypeScript.Script ((ObjectInstance) Instance.GetPropertyValue ("script1")); }
set { Instance.SetPropertyValue ("script1", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("script2")]
public TypeScriptServiceBridge.TypeScript.Script Script2 {
get { return new TypeScriptServiceBridge.TypeScript.Script ((ObjectInstance) Instance.GetPropertyValue ("script2")); }
set { Instance.SetPropertyValue ("script2", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("scope1")]
public TypeScriptServiceBridge.TypeScript.AST Scope1 {
get { return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.GetPropertyValue ("scope1")); }
set { Instance.SetPropertyValue ("scope1", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("scope2")]
public TypeScriptServiceBridge.TypeScript.AST Scope2 {
get { return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.GetPropertyValue ("scope2")); }
set { Instance.SetPropertyValue ("scope2", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("editRange")]
public TypeScriptServiceBridge.TypeScript.ScriptEditRange EditRange {
get { return new TypeScriptServiceBridge.TypeScript.ScriptEditRange ((ObjectInstance) Instance.GetPropertyValue ("editRange")); }
set { Instance.SetPropertyValue ("editRange", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("parseErrors")]
public ArrayInstance ParseErrors {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("parseErrors")); }
set { Instance.SetPropertyValue ("parseErrors", value, true); }
}
[TypeScriptBridge ("get_kind")]
public TypeScriptServiceBridge.TypeScript.UpdateUnitKind Get_kind ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.UpdateUnitKind> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_kind"));
}
[TypeScriptBridge ("set_kind")]
public void Set_kind (TypeScriptServiceBridge.TypeScript.UpdateUnitKind @value)
{
Instance.CallMemberFunction ("set_kind", @value);
}
[TypeScriptBridge ("get_unitIndex")]
public double Get_unitIndex ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_unitIndex"));
}
[TypeScriptBridge ("set_unitIndex")]
public void Set_unitIndex (double @value)
{
Instance.CallMemberFunction ("set_unitIndex", @value);
}
[TypeScriptBridge ("get_script1")]
public TypeScriptServiceBridge.TypeScript.Script Get_script1 ()
{
return new TypeScriptServiceBridge.TypeScript.Script ((ObjectInstance) Instance.CallMemberFunction ("get_script1"));
}
[TypeScriptBridge ("set_script1")]
public void Set_script1 (TypeScriptServiceBridge.TypeScript.Script @value)
{
Instance.CallMemberFunction ("set_script1", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_script2")]
public TypeScriptServiceBridge.TypeScript.Script Get_script2 ()
{
return new TypeScriptServiceBridge.TypeScript.Script ((ObjectInstance) Instance.CallMemberFunction ("get_script2"));
}
[TypeScriptBridge ("set_script2")]
public void Set_script2 (TypeScriptServiceBridge.TypeScript.Script @value)
{
Instance.CallMemberFunction ("set_script2", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_scope1")]
public TypeScriptServiceBridge.TypeScript.AST Get_scope1 ()
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("get_scope1"));
}
[TypeScriptBridge ("set_scope1")]
public void Set_scope1 (TypeScriptServiceBridge.TypeScript.AST @value)
{
Instance.CallMemberFunction ("set_scope1", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_scope2")]
public TypeScriptServiceBridge.TypeScript.AST Get_scope2 ()
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("get_scope2"));
}
[TypeScriptBridge ("set_scope2")]
public void Set_scope2 (TypeScriptServiceBridge.TypeScript.AST @value)
{
Instance.CallMemberFunction ("set_scope2", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_editRange")]
public TypeScriptServiceBridge.TypeScript.ScriptEditRange Get_editRange ()
{
return new TypeScriptServiceBridge.TypeScript.ScriptEditRange ((ObjectInstance) Instance.CallMemberFunction ("get_editRange"));
}
[TypeScriptBridge ("set_editRange")]
public void Set_editRange (TypeScriptServiceBridge.TypeScript.ScriptEditRange @value)
{
Instance.CallMemberFunction ("set_editRange", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_parseErrors")]
public ArrayInstance Get_parseErrors ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_parseErrors"));
}
[TypeScriptBridge ("set_parseErrors")]
public void Set_parseErrors (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_parseErrors", @value);
}
[TypeScriptBridge ("noEdits")]
public TypeScriptServiceBridge.TypeScript.UpdateUnitResult NoEdits (double @unitIndex)
{
return new TypeScriptServiceBridge.TypeScript.UpdateUnitResult ((ObjectInstance) Instance.CallMemberFunction ("noEdits", @unitIndex));
}
[TypeScriptBridge ("unknownEdits")]
public TypeScriptServiceBridge.TypeScript.UpdateUnitResult UnknownEdits (TypeScriptServiceBridge.TypeScript.Script @script1, TypeScriptServiceBridge.TypeScript.Script @script2, ArrayInstance @parseErrors)
{
return new TypeScriptServiceBridge.TypeScript.UpdateUnitResult ((ObjectInstance) Instance.CallMemberFunction ("unknownEdits", @script1 != null ? @script1.Instance : null, @script2 != null ? @script2.Instance : null, @parseErrors));
}
[TypeScriptBridge ("singleScopeEdits")]
public TypeScriptServiceBridge.TypeScript.UpdateUnitResult SingleScopeEdits (TypeScriptServiceBridge.TypeScript.Script @script1, TypeScriptServiceBridge.TypeScript.Script @script2, TypeScriptServiceBridge.TypeScript.AST @scope1, TypeScriptServiceBridge.TypeScript.AST @scope2, TypeScriptServiceBridge.TypeScript.ScriptEditRange @editRange, ArrayInstance @parseErrors)
{
return new TypeScriptServiceBridge.TypeScript.UpdateUnitResult ((ObjectInstance) Instance.CallMemberFunction ("singleScopeEdits", @script1 != null ? @script1.Instance : null, @script2 != null ? @script2.Instance : null, @scope1 != null ? @scope1.Instance : null, @scope2 != null ? @scope2.Instance : null, @editRange != null ? @editRange.Instance : null, @parseErrors));
}
}
public class ErrorEntry : TypeScriptObject
{
public ErrorEntry (ObjectInstance instance) : base (instance) {}
public ErrorEntry (double @unitIndex, double @minChar, double @limChar, string @message)
: base (CallConstructor ("TypeScript", "ErrorEntry", @unitIndex, @minChar, @limChar, @message))
{
}
[TypeScriptBridge ("unitIndex")]
public double UnitIndex {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("unitIndex")); }
set { Instance.SetPropertyValue ("unitIndex", value, true); }
}
[TypeScriptBridge ("minChar")]
public double MinChar {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("minChar")); }
set { Instance.SetPropertyValue ("minChar", value, true); }
}
[TypeScriptBridge ("limChar")]
public double LimChar {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("limChar")); }
set { Instance.SetPropertyValue ("limChar", value, true); }
}
[TypeScriptBridge ("message")]
public string Message {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("message")); }
set { Instance.SetPropertyValue ("message", value, true); }
}
[TypeScriptBridge ("get_unitIndex")]
public double Get_unitIndex ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_unitIndex"));
}
[TypeScriptBridge ("set_unitIndex")]
public void Set_unitIndex (double @value)
{
Instance.CallMemberFunction ("set_unitIndex", @value);
}
[TypeScriptBridge ("get_minChar")]
public double Get_minChar ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_minChar"));
}
[TypeScriptBridge ("set_minChar")]
public void Set_minChar (double @value)
{
Instance.CallMemberFunction ("set_minChar", @value);
}
[TypeScriptBridge ("get_limChar")]
public double Get_limChar ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_limChar"));
}
[TypeScriptBridge ("set_limChar")]
public void Set_limChar (double @value)
{
Instance.CallMemberFunction ("set_limChar", @value);
}
[TypeScriptBridge ("get_message")]
public string Get_message ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_message"));
}
[TypeScriptBridge ("set_message")]
public void Set_message (string @value)
{
Instance.CallMemberFunction ("set_message", @value);
}
}
public class TypeScriptCompiler : TypeScriptObject
{
public TypeScriptCompiler (ObjectInstance instance) : base (instance) {}
public TypeScriptCompiler (TypeScriptServiceBridge.ITextWriter @errorOutput, [DangerousDefaultValueAttribute]TypeScriptServiceBridge.TypeScript.ILogger @logger = null, [DangerousDefaultValueAttribute]TypeScriptServiceBridge.TypeScript.CompilationSettings @settings = null)
: base (CallConstructor ("TypeScript", "TypeScriptCompiler", @errorOutput != null ? @errorOutput.Instance : null, @logger != null ? @logger.Instance : null, @settings != null ? @settings.Instance : null))
{
}
[TypeScriptBridge ("errorOutput")]
public TypeScriptServiceBridge.ITextWriter ErrorOutput {
get { return new TypeScriptServiceBridge.ITextWriter_Impl ((ObjectInstance) Instance.GetPropertyValue ("errorOutput")); }
set { Instance.SetPropertyValue ("errorOutput", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("logger")]
public TypeScriptServiceBridge.TypeScript.ILogger Logger {
get { return new TypeScriptServiceBridge.TypeScript.ILogger_Impl ((ObjectInstance) Instance.GetPropertyValue ("logger")); }
set { Instance.SetPropertyValue ("logger", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("settings")]
public TypeScriptServiceBridge.TypeScript.CompilationSettings Settings {
get { return new TypeScriptServiceBridge.TypeScript.CompilationSettings ((ObjectInstance) Instance.GetPropertyValue ("settings")); }
set { Instance.SetPropertyValue ("settings", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("parser")]
public TypeScriptServiceBridge.TypeScript.Parser Parser {
get { return new TypeScriptServiceBridge.TypeScript.Parser ((ObjectInstance) Instance.GetPropertyValue ("parser")); }
set { Instance.SetPropertyValue ("parser", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("typeChecker")]
public TypeScriptServiceBridge.TypeScript.TypeChecker TypeChecker {
get { return new TypeScriptServiceBridge.TypeScript.TypeChecker ((ObjectInstance) Instance.GetPropertyValue ("typeChecker")); }
set { Instance.SetPropertyValue ("typeChecker", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("typeFlow")]
public TypeScriptServiceBridge.TypeScript.TypeFlow TypeFlow {
get { return new TypeScriptServiceBridge.TypeScript.TypeFlow ((ObjectInstance) Instance.GetPropertyValue ("typeFlow")); }
set { Instance.SetPropertyValue ("typeFlow", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("scripts")]
public TypeScriptServiceBridge.TypeScript.ASTList Scripts {
get { return new TypeScriptServiceBridge.TypeScript.ASTList ((ObjectInstance) Instance.GetPropertyValue ("scripts")); }
set { Instance.SetPropertyValue ("scripts", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("units")]
public ArrayInstance Units {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("units")); }
set { Instance.SetPropertyValue ("units", value, true); }
}
[TypeScriptBridge ("errorReporter")]
public TypeScriptServiceBridge.TypeScript.ErrorReporter ErrorReporter {
get { return new TypeScriptServiceBridge.TypeScript.ErrorReporter ((ObjectInstance) Instance.GetPropertyValue ("errorReporter")); }
set { Instance.SetPropertyValue ("errorReporter", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("persistentTypeState")]
public TypeScriptServiceBridge.TypeScript.PersistentGlobalTypeState PersistentTypeState {
get { return new TypeScriptServiceBridge.TypeScript.PersistentGlobalTypeState ((ObjectInstance) Instance.GetPropertyValue ("persistentTypeState")); }
set { Instance.SetPropertyValue ("persistentTypeState", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("emitSettings")]
public System.Object EmitSettings {
get { return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("emitSettings")); }
set { Instance.SetPropertyValue ("emitSettings", value, true); }
}
[TypeScriptBridge ("get_errorOutput")]
public TypeScriptServiceBridge.ITextWriter Get_errorOutput ()
{
return new TypeScriptServiceBridge.ITextWriter_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_errorOutput"));
}
[TypeScriptBridge ("set_errorOutput")]
public void Set_errorOutput (TypeScriptServiceBridge.ITextWriter @value)
{
Instance.CallMemberFunction ("set_errorOutput", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_logger")]
public TypeScriptServiceBridge.TypeScript.ILogger Get_logger ()
{
return new TypeScriptServiceBridge.TypeScript.ILogger_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_logger"));
}
[TypeScriptBridge ("set_logger")]
public void Set_logger (TypeScriptServiceBridge.TypeScript.ILogger @value)
{
Instance.CallMemberFunction ("set_logger", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_settings")]
public TypeScriptServiceBridge.TypeScript.CompilationSettings Get_settings ()
{
return new TypeScriptServiceBridge.TypeScript.CompilationSettings ((ObjectInstance) Instance.CallMemberFunction ("get_settings"));
}
[TypeScriptBridge ("set_settings")]
public void Set_settings (TypeScriptServiceBridge.TypeScript.CompilationSettings @value)
{
Instance.CallMemberFunction ("set_settings", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_parser")]
public TypeScriptServiceBridge.TypeScript.Parser Get_parser ()
{
return new TypeScriptServiceBridge.TypeScript.Parser ((ObjectInstance) Instance.CallMemberFunction ("get_parser"));
}
[TypeScriptBridge ("set_parser")]
public void Set_parser (TypeScriptServiceBridge.TypeScript.Parser @value)
{
Instance.CallMemberFunction ("set_parser", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_typeChecker")]
public TypeScriptServiceBridge.TypeScript.TypeChecker Get_typeChecker ()
{
return new TypeScriptServiceBridge.TypeScript.TypeChecker ((ObjectInstance) Instance.CallMemberFunction ("get_typeChecker"));
}
[TypeScriptBridge ("set_typeChecker")]
public void Set_typeChecker (TypeScriptServiceBridge.TypeScript.TypeChecker @value)
{
Instance.CallMemberFunction ("set_typeChecker", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_typeFlow")]
public TypeScriptServiceBridge.TypeScript.TypeFlow Get_typeFlow ()
{
return new TypeScriptServiceBridge.TypeScript.TypeFlow ((ObjectInstance) Instance.CallMemberFunction ("get_typeFlow"));
}
[TypeScriptBridge ("set_typeFlow")]
public void Set_typeFlow (TypeScriptServiceBridge.TypeScript.TypeFlow @value)
{
Instance.CallMemberFunction ("set_typeFlow", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_scripts")]
public TypeScriptServiceBridge.TypeScript.ASTList Get_scripts ()
{
return new TypeScriptServiceBridge.TypeScript.ASTList ((ObjectInstance) Instance.CallMemberFunction ("get_scripts"));
}
[TypeScriptBridge ("set_scripts")]
public void Set_scripts (TypeScriptServiceBridge.TypeScript.ASTList @value)
{
Instance.CallMemberFunction ("set_scripts", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_units")]
public ArrayInstance Get_units ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_units"));
}
[TypeScriptBridge ("set_units")]
public void Set_units (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_units", @value);
}
[TypeScriptBridge ("get_errorReporter")]
public TypeScriptServiceBridge.TypeScript.ErrorReporter Get_errorReporter ()
{
return new TypeScriptServiceBridge.TypeScript.ErrorReporter ((ObjectInstance) Instance.CallMemberFunction ("get_errorReporter"));
}
[TypeScriptBridge ("set_errorReporter")]
public void Set_errorReporter (TypeScriptServiceBridge.TypeScript.ErrorReporter @value)
{
Instance.CallMemberFunction ("set_errorReporter", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_persistentTypeState")]
public TypeScriptServiceBridge.TypeScript.PersistentGlobalTypeState Get_persistentTypeState ()
{
return new TypeScriptServiceBridge.TypeScript.PersistentGlobalTypeState ((ObjectInstance) Instance.CallMemberFunction ("get_persistentTypeState"));
}
[TypeScriptBridge ("set_persistentTypeState")]
public void Set_persistentTypeState (TypeScriptServiceBridge.TypeScript.PersistentGlobalTypeState @value)
{
Instance.CallMemberFunction ("set_persistentTypeState", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_emitSettings")]
public System.Object Get_emitSettings ()
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_emitSettings"));
}
[TypeScriptBridge ("set_emitSettings")]
public void Set_emitSettings (System.Object @value)
{
Instance.CallMemberFunction ("set_emitSettings", @value);
}
[TypeScriptBridge ("initTypeChecker")]
public void InitTypeChecker (TypeScriptServiceBridge.ITextWriter @errorOutput)
{
Instance.CallMemberFunction ("initTypeChecker", @errorOutput != null ? @errorOutput.Instance : null);
}
[TypeScriptBridge ("setErrorOutput")]
public void SetErrorOutput (System.Object @outerr)
{
Instance.CallMemberFunction ("setErrorOutput", @outerr);
}
[TypeScriptBridge ("emitCommentsToOutput")]
public void EmitCommentsToOutput ()
{
Instance.CallMemberFunction ("emitCommentsToOutput");
}
[TypeScriptBridge ("updateUnit")]
public bool UpdateUnit (string @prog, string @filename, bool @setRecovery)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("updateUnit", @prog, @filename, @setRecovery));
}
[TypeScriptBridge ("updateSourceUnit")]
public bool UpdateSourceUnit (TypeScriptServiceBridge.TypeScript.ISourceText @sourceText, string @filename, bool @setRecovery)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("updateSourceUnit", @sourceText != null ? @sourceText.Instance : null, @filename, @setRecovery));
}
[TypeScriptBridge ("applyUpdateResult")]
public bool ApplyUpdateResult (TypeScriptServiceBridge.TypeScript.UpdateUnitResult @updateResult)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("applyUpdateResult", @updateResult != null ? @updateResult.Instance : null));
}
[TypeScriptBridge ("partialUpdateUnit")]
public TypeScriptServiceBridge.TypeScript.UpdateUnitResult PartialUpdateUnit (TypeScriptServiceBridge.TypeScript.ISourceText @sourceText, string @filename, bool @setRecovery)
{
return new TypeScriptServiceBridge.TypeScript.UpdateUnitResult ((ObjectInstance) Instance.CallMemberFunction ("partialUpdateUnit", @sourceText != null ? @sourceText.Instance : null, @filename, @setRecovery));
}
[TypeScriptBridge ("addUnit")]
public TypeScriptServiceBridge.TypeScript.Script AddUnit (string @prog, string @filename, bool @keepResident = false, ArrayInstance @referencedFiles = null)
{
return new TypeScriptServiceBridge.TypeScript.Script ((ObjectInstance) Instance.CallMemberFunction ("addUnit", @prog, @filename, @keepResident, @referencedFiles));
}
[TypeScriptBridge ("addSourceUnit")]
public TypeScriptServiceBridge.TypeScript.Script AddSourceUnit (TypeScriptServiceBridge.TypeScript.ISourceText @sourceText, string @filename, bool @keepResident, ArrayInstance @referencedFiles = null)
{
return new TypeScriptServiceBridge.TypeScript.Script ((ObjectInstance) Instance.CallMemberFunction ("addSourceUnit", @sourceText != null ? @sourceText.Instance : null, @filename, @keepResident, @referencedFiles));
}
[TypeScriptBridge ("parseUnit")]
public void ParseUnit (string @prog, string @filename)
{
Instance.CallMemberFunction ("parseUnit", @prog, @filename);
}
[TypeScriptBridge ("parseSourceUnit")]
public void ParseSourceUnit (TypeScriptServiceBridge.TypeScript.ISourceText @sourceText, string @filename)
{
Instance.CallMemberFunction ("parseSourceUnit", @sourceText != null ? @sourceText.Instance : null, @filename);
}
[TypeScriptBridge ("typeCheck")]
public System.Object TypeCheck ()
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("typeCheck"));
}
[TypeScriptBridge ("cleanASTTypesForReTypeCheck")]
public void CleanASTTypesForReTypeCheck (TypeScriptServiceBridge.TypeScript.AST @ast)
{
Instance.CallMemberFunction ("cleanASTTypesForReTypeCheck", @ast != null ? @ast.Instance : null);
}
[TypeScriptBridge ("cleanTypesForReTypeCheck")]
public System.Object CleanTypesForReTypeCheck ()
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("cleanTypesForReTypeCheck"));
}
[TypeScriptBridge ("attemptIncrementalTypeCheck")]
public bool AttemptIncrementalTypeCheck (TypeScriptServiceBridge.TypeScript.UpdateUnitResult @updateResult)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("attemptIncrementalTypeCheck", @updateResult != null ? @updateResult.Instance : null));
}
[TypeScriptBridge ("reTypeCheck")]
public System.Object ReTypeCheck ()
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("reTypeCheck"));
}
[TypeScriptBridge ("emitUsings")]
public void EmitUsings (TypeScriptServiceBridge.TypeScript.Emitter @emitter)
{
Instance.CallMemberFunction ("emitUsings", @emitter != null ? @emitter.Instance : null);
}
[TypeScriptBridge ("emitToOutfile")]
public void EmitToOutfile (TypeScriptServiceBridge.ITextWriter @outFile)
{
Instance.CallMemberFunction ("emitToOutfile", @outFile != null ? @outFile.Instance : null);
}
[TypeScriptBridge ("outputScriptToUTF8")]
public bool OutputScriptToUTF8 (TypeScriptServiceBridge.TypeScript.Script @script)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("outputScriptToUTF8", @script != null ? @script.Instance : null));
}
[TypeScriptBridge ("outputScriptsToUTF8")]
public bool OutputScriptsToUTF8 (ArrayInstance @scripts)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("outputScriptsToUTF8", @scripts));
}
}
public class ScopeEntry : TypeScriptObject
{
public ScopeEntry (ObjectInstance instance) : base (instance) {}
public ScopeEntry (string @name, string @type, TypeScriptServiceBridge.TypeScript.Symbol @sym)
: base (CallConstructor ("TypeScript", "ScopeEntry", @name, @type, @sym != null ? @sym.Instance : null))
{
}
[TypeScriptBridge ("name")]
public string Name {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("name")); }
set { Instance.SetPropertyValue ("name", value, true); }
}
[TypeScriptBridge ("type")]
public string Type {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("type")); }
set { Instance.SetPropertyValue ("type", value, true); }
}
[TypeScriptBridge ("sym")]
public TypeScriptServiceBridge.TypeScript.Symbol Sym {
get { return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.GetPropertyValue ("sym")); }
set { Instance.SetPropertyValue ("sym", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_name")]
public string Get_name ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_name"));
}
[TypeScriptBridge ("set_name")]
public void Set_name (string @value)
{
Instance.CallMemberFunction ("set_name", @value);
}
[TypeScriptBridge ("get_type")]
public string Get_type ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_type"));
}
[TypeScriptBridge ("set_type")]
public void Set_type (string @value)
{
Instance.CallMemberFunction ("set_type", @value);
}
[TypeScriptBridge ("get_sym")]
public TypeScriptServiceBridge.TypeScript.Symbol Get_sym ()
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("get_sym"));
}
[TypeScriptBridge ("set_sym")]
public void Set_sym (TypeScriptServiceBridge.TypeScript.Symbol @value)
{
Instance.CallMemberFunction ("set_sym", @value != null ? @value.Instance : null);
}
}
public class ScopeTraversal : TypeScriptObject
{
public ScopeTraversal (ObjectInstance instance) : base (instance) {}
public ScopeTraversal (TypeScriptServiceBridge.TypeScript.TypeScriptCompiler @compiler)
: base (CallConstructor ("TypeScript", "ScopeTraversal", @compiler != null ? @compiler.Instance : null))
{
}
[TypeScriptBridge ("compiler")]
public TypeScriptServiceBridge.TypeScript.TypeScriptCompiler Compiler {
get { return new TypeScriptServiceBridge.TypeScript.TypeScriptCompiler ((ObjectInstance) Instance.GetPropertyValue ("compiler")); }
set { Instance.SetPropertyValue ("compiler", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_compiler")]
public TypeScriptServiceBridge.TypeScript.TypeScriptCompiler Get_compiler ()
{
return new TypeScriptServiceBridge.TypeScript.TypeScriptCompiler ((ObjectInstance) Instance.CallMemberFunction ("get_compiler"));
}
[TypeScriptBridge ("set_compiler")]
public void Set_compiler (TypeScriptServiceBridge.TypeScript.TypeScriptCompiler @value)
{
Instance.CallMemberFunction ("set_compiler", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("getScope")]
public TypeScriptServiceBridge.TypeScript.SymbolScope GetScope (TypeScriptServiceBridge.TypeScript.EnclosingScopeContext @enclosingScopeContext)
{
return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.CallMemberFunction ("getScope", @enclosingScopeContext != null ? @enclosingScopeContext.Instance : null));
}
[TypeScriptBridge ("getScopeEntries")]
public ArrayInstance GetScopeEntries (TypeScriptServiceBridge.TypeScript.EnclosingScopeContext @enclosingScopeContext)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getScopeEntries", @enclosingScopeContext != null ? @enclosingScopeContext.Instance : null));
}
[TypeScriptBridge ("getTypeNamesForNames")]
public ArrayInstance GetTypeNamesForNames (TypeScriptServiceBridge.TypeScript.EnclosingScopeContext @enclosingScopeContext, ArrayInstance @allNames, TypeScriptServiceBridge.TypeScript.SymbolScope @scope)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getTypeNamesForNames", @enclosingScopeContext != null ? @enclosingScopeContext.Instance : null, @allNames, @scope != null ? @scope.Instance : null));
}
}
public class ASTSpan : TypeScriptObject
{
public ASTSpan (ObjectInstance instance) : base (instance) {}
public ASTSpan ()
: base (CallConstructor ("TypeScript", "ASTSpan"))
{
}
[TypeScriptBridge ("minChar")]
public double MinChar {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("minChar")); }
set { Instance.SetPropertyValue ("minChar", value, true); }
}
[TypeScriptBridge ("limChar")]
public double LimChar {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("limChar")); }
set { Instance.SetPropertyValue ("limChar", value, true); }
}
[TypeScriptBridge ("get_minChar")]
public double Get_minChar ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_minChar"));
}
[TypeScriptBridge ("set_minChar")]
public void Set_minChar (double @value)
{
Instance.CallMemberFunction ("set_minChar", @value);
}
[TypeScriptBridge ("get_limChar")]
public double Get_limChar ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_limChar"));
}
[TypeScriptBridge ("set_limChar")]
public void Set_limChar (double @value)
{
Instance.CallMemberFunction ("set_limChar", @value);
}
}
public class AST : ASTSpan
{
public AST (ObjectInstance instance) : base (instance) {}
public AST (TypeScriptServiceBridge.TypeScript.NodeType @nodeType)
: base (CallConstructor ("TypeScript", "AST", @nodeType))
{
}
[TypeScriptBridge ("type")]
public TypeScriptServiceBridge.TypeScript.Type Type {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("type")); }
set { Instance.SetPropertyValue ("type", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("flags")]
public TypeScriptServiceBridge.TypeScript.ASTFlags Flags {
get { return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.ASTFlags> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("flags")); }
set { Instance.SetPropertyValue ("flags", value, true); }
}
[TypeScriptBridge ("passCreated")]
public double PassCreated {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("passCreated")); }
set { Instance.SetPropertyValue ("passCreated", value, true); }
}
[TypeScriptBridge ("preComments")]
public ArrayInstance PreComments {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("preComments")); }
set { Instance.SetPropertyValue ("preComments", value, true); }
}
[TypeScriptBridge ("postComments")]
public ArrayInstance PostComments {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("postComments")); }
set { Instance.SetPropertyValue ("postComments", value, true); }
}
[TypeScriptBridge ("isParenthesized")]
public bool IsParenthesized {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("isParenthesized")); }
set { Instance.SetPropertyValue ("isParenthesized", value, true); }
}
[TypeScriptBridge ("get_type")]
public TypeScriptServiceBridge.TypeScript.Type Get_type ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_type"));
}
[TypeScriptBridge ("set_type")]
public void Set_type (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_type", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_flags")]
public TypeScriptServiceBridge.TypeScript.ASTFlags Get_flags ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.ASTFlags> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_flags"));
}
[TypeScriptBridge ("set_flags")]
public void Set_flags (TypeScriptServiceBridge.TypeScript.ASTFlags @value)
{
Instance.CallMemberFunction ("set_flags", @value);
}
[TypeScriptBridge ("get_passCreated")]
public double Get_passCreated ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_passCreated"));
}
[TypeScriptBridge ("set_passCreated")]
public void Set_passCreated (double @value)
{
Instance.CallMemberFunction ("set_passCreated", @value);
}
[TypeScriptBridge ("get_preComments")]
public ArrayInstance Get_preComments ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_preComments"));
}
[TypeScriptBridge ("set_preComments")]
public void Set_preComments (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_preComments", @value);
}
[TypeScriptBridge ("get_postComments")]
public ArrayInstance Get_postComments ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_postComments"));
}
[TypeScriptBridge ("set_postComments")]
public void Set_postComments (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_postComments", @value);
}
[TypeScriptBridge ("get_isParenthesized")]
public bool Get_isParenthesized ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_isParenthesized"));
}
[TypeScriptBridge ("set_isParenthesized")]
public void Set_isParenthesized (bool @value)
{
Instance.CallMemberFunction ("set_isParenthesized", @value);
}
[TypeScriptBridge ("isExpression")]
public bool IsExpression ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isExpression"));
}
[TypeScriptBridge ("isStatementOrExpression")]
public bool IsStatementOrExpression ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isStatementOrExpression"));
}
[TypeScriptBridge ("isCompoundStatement")]
public bool IsCompoundStatement ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isCompoundStatement"));
}
[TypeScriptBridge ("isLeaf")]
public bool IsLeaf ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isLeaf"));
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.AST TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
[TypeScriptBridge ("print")]
public void Print (TypeScriptServiceBridge.TypeScript.PrintContext @context)
{
Instance.CallMemberFunction ("print", @context != null ? @context.Instance : null);
}
[TypeScriptBridge ("printLabel")]
public System.Object PrintLabel ()
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("printLabel"));
}
[TypeScriptBridge ("addToControlFlow")]
public void AddToControlFlow (TypeScriptServiceBridge.TypeScript.ControlFlowContext @context)
{
Instance.CallMemberFunction ("addToControlFlow", @context != null ? @context.Instance : null);
}
[TypeScriptBridge ("netFreeUses")]
public void NetFreeUses (TypeScriptServiceBridge.TypeScript.Symbol @container, TypeScriptServiceBridge.TypeScript.StringHashTable @freeUses)
{
Instance.CallMemberFunction ("netFreeUses", @container != null ? @container.Instance : null, @freeUses != null ? @freeUses.Instance : null);
}
[TypeScriptBridge ("treeViewLabel")]
public System.Object TreeViewLabel ()
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("treeViewLabel"));
}
[TypeScriptBridge ("getResolvedIdentifierName")]
public string GetResolvedIdentifierName (string @name)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getResolvedIdentifierName", @name));
}
}
public class IncompleteAST : AST
{
public IncompleteAST (ObjectInstance instance) : base (instance) {}
public IncompleteAST (double @min, double @lim)
: base (CallConstructor ("TypeScript", "IncompleteAST", @min, @lim))
{
}
}
public class ASTList : AST
{
public ASTList (ObjectInstance instance) : base (instance) {}
public ASTList ()
: base (CallConstructor ("TypeScript", "ASTList"))
{
}
[TypeScriptBridge ("enclosingScope")]
public TypeScriptServiceBridge.TypeScript.SymbolScope EnclosingScope {
get { return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.GetPropertyValue ("enclosingScope")); }
set { Instance.SetPropertyValue ("enclosingScope", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("members")]
public ArrayInstance Members {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("members")); }
set { Instance.SetPropertyValue ("members", value, true); }
}
[TypeScriptBridge ("get_enclosingScope")]
public TypeScriptServiceBridge.TypeScript.SymbolScope Get_enclosingScope ()
{
return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.CallMemberFunction ("get_enclosingScope"));
}
[TypeScriptBridge ("set_enclosingScope")]
public void Set_enclosingScope (TypeScriptServiceBridge.TypeScript.SymbolScope @value)
{
Instance.CallMemberFunction ("set_enclosingScope", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_members")]
public ArrayInstance Get_members ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_members"));
}
[TypeScriptBridge ("set_members")]
public void Set_members (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_members", @value);
}
[TypeScriptBridge ("addToControlFlow")]
public void AddToControlFlow (TypeScriptServiceBridge.TypeScript.ControlFlowContext @context)
{
Instance.CallMemberFunction ("addToControlFlow", @context != null ? @context.Instance : null);
}
[TypeScriptBridge ("append")]
public TypeScriptServiceBridge.TypeScript.ASTList Append (TypeScriptServiceBridge.TypeScript.AST @ast)
{
return new TypeScriptServiceBridge.TypeScript.ASTList ((ObjectInstance) Instance.CallMemberFunction ("append", @ast != null ? @ast.Instance : null));
}
[TypeScriptBridge ("appendAll")]
public TypeScriptServiceBridge.TypeScript.ASTList AppendAll (TypeScriptServiceBridge.TypeScript.AST @ast)
{
return new TypeScriptServiceBridge.TypeScript.ASTList ((ObjectInstance) Instance.CallMemberFunction ("appendAll", @ast != null ? @ast.Instance : null));
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.ASTList TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.ASTList ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
}
public class Identifier : AST
{
public Identifier (ObjectInstance instance) : base (instance) {}
public Identifier (string @actualText, bool @hasEscapeSequence = false)
: base (CallConstructor ("TypeScript", "Identifier", @actualText, @hasEscapeSequence))
{
}
[TypeScriptBridge ("sym")]
public TypeScriptServiceBridge.TypeScript.Symbol Sym {
get { return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.GetPropertyValue ("sym")); }
set { Instance.SetPropertyValue ("sym", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("cloId")]
public double CloId {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("cloId")); }
set { Instance.SetPropertyValue ("cloId", value, true); }
}
[TypeScriptBridge ("text")]
public string Text {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("text")); }
set { Instance.SetPropertyValue ("text", value, true); }
}
[TypeScriptBridge ("get_sym")]
public TypeScriptServiceBridge.TypeScript.Symbol Get_sym ()
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("get_sym"));
}
[TypeScriptBridge ("set_sym")]
public void Set_sym (TypeScriptServiceBridge.TypeScript.Symbol @value)
{
Instance.CallMemberFunction ("set_sym", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_cloId")]
public double Get_cloId ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_cloId"));
}
[TypeScriptBridge ("set_cloId")]
public void Set_cloId (double @value)
{
Instance.CallMemberFunction ("set_cloId", @value);
}
[TypeScriptBridge ("get_text")]
public string Get_text ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_text"));
}
[TypeScriptBridge ("set_text")]
public void Set_text (string @value)
{
Instance.CallMemberFunction ("set_text", @value);
}
[TypeScriptBridge ("setText")]
public void SetText (string @actualText, bool @hasEscapeSequence = false)
{
Instance.CallMemberFunction ("setText", @actualText, @hasEscapeSequence);
}
[TypeScriptBridge ("isMissing")]
public bool IsMissing ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isMissing"));
}
[TypeScriptBridge ("isLeaf")]
public bool IsLeaf ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isLeaf"));
}
[TypeScriptBridge ("treeViewLabel")]
public string TreeViewLabel ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("treeViewLabel"));
}
[TypeScriptBridge ("printLabel")]
public string PrintLabel ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("printLabel"));
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.AST TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
[TypeScriptBridge ("fromToken")]
public TypeScriptServiceBridge.TypeScript.Identifier FromToken (TypeScriptServiceBridge.TypeScript.Token @token)
{
return new TypeScriptServiceBridge.TypeScript.Identifier ((ObjectInstance) Instance.CallMemberFunction ("fromToken", @token != null ? @token.Instance : null));
}
}
public class MissingIdentifier : Identifier
{
public MissingIdentifier (ObjectInstance instance) : base (instance) {}
public MissingIdentifier ()
: base (CallConstructor ("TypeScript", "MissingIdentifier"))
{
}
[TypeScriptBridge ("isMissing")]
public bool IsMissing ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isMissing"));
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
}
public class Label : AST
{
public Label (ObjectInstance instance) : base (instance) {}
public Label (TypeScriptServiceBridge.TypeScript.Identifier @id)
: base (CallConstructor ("TypeScript", "Label", @id != null ? @id.Instance : null))
{
}
[TypeScriptBridge ("printLabel")]
public string PrintLabel ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("printLabel"));
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.Label TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.Label ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
}
public class Expression : AST
{
public Expression (ObjectInstance instance) : base (instance) {}
public Expression (TypeScriptServiceBridge.TypeScript.NodeType @nodeType)
: base (CallConstructor ("TypeScript", "Expression", @nodeType))
{
}
[TypeScriptBridge ("isExpression")]
public bool IsExpression ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isExpression"));
}
[TypeScriptBridge ("isStatementOrExpression")]
public bool IsStatementOrExpression ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isStatementOrExpression"));
}
}
public class UnaryExpression : Expression
{
public UnaryExpression (ObjectInstance instance) : base (instance) {}
public UnaryExpression (TypeScriptServiceBridge.TypeScript.NodeType @nodeType, TypeScriptServiceBridge.TypeScript.AST @operand)
: base (CallConstructor ("TypeScript", "UnaryExpression", @nodeType, @operand != null ? @operand.Instance : null))
{
}
[TypeScriptBridge ("targetType")]
public TypeScriptServiceBridge.TypeScript.Type TargetType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("targetType")); }
set { Instance.SetPropertyValue ("targetType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("castTerm")]
public TypeScriptServiceBridge.TypeScript.AST CastTerm {
get { return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.GetPropertyValue ("castTerm")); }
set { Instance.SetPropertyValue ("castTerm", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_targetType")]
public TypeScriptServiceBridge.TypeScript.Type Get_targetType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_targetType"));
}
[TypeScriptBridge ("set_targetType")]
public void Set_targetType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_targetType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_castTerm")]
public TypeScriptServiceBridge.TypeScript.AST Get_castTerm ()
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("get_castTerm"));
}
[TypeScriptBridge ("set_castTerm")]
public void Set_castTerm (TypeScriptServiceBridge.TypeScript.AST @value)
{
Instance.CallMemberFunction ("set_castTerm", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("addToControlFlow")]
public void AddToControlFlow (TypeScriptServiceBridge.TypeScript.ControlFlowContext @context)
{
Instance.CallMemberFunction ("addToControlFlow", @context != null ? @context.Instance : null);
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.AST TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
}
public class CallExpression : Expression
{
public CallExpression (ObjectInstance instance) : base (instance) {}
public CallExpression (TypeScriptServiceBridge.TypeScript.NodeType @nodeType, TypeScriptServiceBridge.TypeScript.AST @target, TypeScriptServiceBridge.TypeScript.ASTList @arguments)
: base (CallConstructor ("TypeScript", "CallExpression", @nodeType, @target != null ? @target.Instance : null, @arguments != null ? @arguments.Instance : null))
{
}
[TypeScriptBridge ("signature")]
public TypeScriptServiceBridge.TypeScript.Signature Signature {
get { return new TypeScriptServiceBridge.TypeScript.Signature ((ObjectInstance) Instance.GetPropertyValue ("signature")); }
set { Instance.SetPropertyValue ("signature", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_signature")]
public TypeScriptServiceBridge.TypeScript.Signature Get_signature ()
{
return new TypeScriptServiceBridge.TypeScript.Signature ((ObjectInstance) Instance.CallMemberFunction ("get_signature"));
}
[TypeScriptBridge ("set_signature")]
public void Set_signature (TypeScriptServiceBridge.TypeScript.Signature @value)
{
Instance.CallMemberFunction ("set_signature", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.AST TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
}
public class BinaryExpression : Expression
{
public BinaryExpression (ObjectInstance instance) : base (instance) {}
public BinaryExpression (TypeScriptServiceBridge.TypeScript.NodeType @nodeType, TypeScriptServiceBridge.TypeScript.AST @operand1, TypeScriptServiceBridge.TypeScript.AST @operand2)
: base (CallConstructor ("TypeScript", "BinaryExpression", @nodeType, @operand1 != null ? @operand1.Instance : null, @operand2 != null ? @operand2.Instance : null))
{
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.AST TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
}
public class ConditionalExpression : Expression
{
public ConditionalExpression (ObjectInstance instance) : base (instance) {}
public ConditionalExpression (TypeScriptServiceBridge.TypeScript.AST @operand1, TypeScriptServiceBridge.TypeScript.AST @operand2, TypeScriptServiceBridge.TypeScript.AST @operand3)
: base (CallConstructor ("TypeScript", "ConditionalExpression", @operand1 != null ? @operand1.Instance : null, @operand2 != null ? @operand2.Instance : null, @operand3 != null ? @operand3.Instance : null))
{
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.ConditionalExpression TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.ConditionalExpression ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
}
public class NumberLiteral : Expression
{
public NumberLiteral (ObjectInstance instance) : base (instance) {}
public NumberLiteral (double @value, bool @hasEmptyFraction = false)
: base (CallConstructor ("TypeScript", "NumberLiteral", @value, @hasEmptyFraction))
{
}
[TypeScriptBridge ("isNegativeZero")]
public bool IsNegativeZero {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("isNegativeZero")); }
set { Instance.SetPropertyValue ("isNegativeZero", value, true); }
}
[TypeScriptBridge ("get_isNegativeZero")]
public bool Get_isNegativeZero ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_isNegativeZero"));
}
[TypeScriptBridge ("set_isNegativeZero")]
public void Set_isNegativeZero (bool @value)
{
Instance.CallMemberFunction ("set_isNegativeZero", @value);
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.NumberLiteral TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.NumberLiteral ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
[TypeScriptBridge ("treeViewLabel")]
public string TreeViewLabel ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("treeViewLabel"));
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
[TypeScriptBridge ("printLabel")]
public string PrintLabel ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("printLabel"));
}
}
public class RegexLiteral : Expression
{
public RegexLiteral (ObjectInstance instance) : base (instance) {}
public RegexLiteral (System.Object @regex)
: base (CallConstructor ("TypeScript", "RegexLiteral", @regex))
{
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.RegexLiteral TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.RegexLiteral ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
}
public class StringLiteral : Expression
{
public StringLiteral (ObjectInstance instance) : base (instance) {}
public StringLiteral (string @text)
: base (CallConstructor ("TypeScript", "StringLiteral", @text))
{
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.StringLiteral TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.StringLiteral ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
[TypeScriptBridge ("treeViewLabel")]
public string TreeViewLabel ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("treeViewLabel"));
}
[TypeScriptBridge ("printLabel")]
public string PrintLabel ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("printLabel"));
}
}
public class ModuleElement : AST
{
public ModuleElement (ObjectInstance instance) : base (instance) {}
public ModuleElement (TypeScriptServiceBridge.TypeScript.NodeType @nodeType)
: base (CallConstructor ("TypeScript", "ModuleElement", @nodeType))
{
}
}
public class ImportDeclaration : ModuleElement
{
public ImportDeclaration (ObjectInstance instance) : base (instance) {}
public ImportDeclaration (TypeScriptServiceBridge.TypeScript.Identifier @id, TypeScriptServiceBridge.TypeScript.AST @alias)
: base (CallConstructor ("TypeScript", "ImportDeclaration", @id != null ? @id.Instance : null, @alias != null ? @alias.Instance : null))
{
}
[TypeScriptBridge ("varFlags")]
public TypeScriptServiceBridge.TypeScript.VarFlags VarFlags {
get { return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.VarFlags> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("varFlags")); }
set { Instance.SetPropertyValue ("varFlags", value, true); }
}
[TypeScriptBridge ("isDynamicImport")]
public bool IsDynamicImport {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("isDynamicImport")); }
set { Instance.SetPropertyValue ("isDynamicImport", value, true); }
}
[TypeScriptBridge ("isStatementOrExpression")]
public bool IsStatementOrExpression ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isStatementOrExpression"));
}
[TypeScriptBridge ("get_varFlags")]
public TypeScriptServiceBridge.TypeScript.VarFlags Get_varFlags ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.VarFlags> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_varFlags"));
}
[TypeScriptBridge ("set_varFlags")]
public void Set_varFlags (TypeScriptServiceBridge.TypeScript.VarFlags @value)
{
Instance.CallMemberFunction ("set_varFlags", @value);
}
[TypeScriptBridge ("get_isDynamicImport")]
public bool Get_isDynamicImport ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_isDynamicImport"));
}
[TypeScriptBridge ("set_isDynamicImport")]
public void Set_isDynamicImport (bool @value)
{
Instance.CallMemberFunction ("set_isDynamicImport", @value);
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.ImportDeclaration TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.ImportDeclaration ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
[TypeScriptBridge ("getAliasName")]
public string GetAliasName ([DangerousDefaultValueAttribute]TypeScriptServiceBridge.TypeScript.AST @aliasAST = null)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getAliasName", @aliasAST != null ? @aliasAST.Instance : null));
}
[TypeScriptBridge ("firstAliasedModToString")]
public string FirstAliasedModToString ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("firstAliasedModToString"));
}
}
public class BoundDecl : AST
{
public BoundDecl (ObjectInstance instance) : base (instance) {}
public BoundDecl (TypeScriptServiceBridge.TypeScript.Identifier @id, TypeScriptServiceBridge.TypeScript.NodeType @nodeType, double @nestingLevel)
: base (CallConstructor ("TypeScript", "BoundDecl", @id != null ? @id.Instance : null, @nodeType, @nestingLevel))
{
}
[TypeScriptBridge ("init")]
public TypeScriptServiceBridge.TypeScript.AST Init {
get { return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.GetPropertyValue ("init")); }
set { Instance.SetPropertyValue ("init", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("typeExpr")]
public TypeScriptServiceBridge.TypeScript.AST TypeExpr {
get { return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.GetPropertyValue ("typeExpr")); }
set { Instance.SetPropertyValue ("typeExpr", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("varFlags")]
public TypeScriptServiceBridge.TypeScript.VarFlags VarFlags {
get { return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.VarFlags> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("varFlags")); }
set { Instance.SetPropertyValue ("varFlags", value, true); }
}
[TypeScriptBridge ("sym")]
public TypeScriptServiceBridge.TypeScript.Symbol Sym {
get { return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.GetPropertyValue ("sym")); }
set { Instance.SetPropertyValue ("sym", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_init")]
public TypeScriptServiceBridge.TypeScript.AST Get_init ()
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("get_init"));
}
[TypeScriptBridge ("set_init")]
public void Set_init (TypeScriptServiceBridge.TypeScript.AST @value)
{
Instance.CallMemberFunction ("set_init", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_typeExpr")]
public TypeScriptServiceBridge.TypeScript.AST Get_typeExpr ()
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("get_typeExpr"));
}
[TypeScriptBridge ("set_typeExpr")]
public void Set_typeExpr (TypeScriptServiceBridge.TypeScript.AST @value)
{
Instance.CallMemberFunction ("set_typeExpr", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_varFlags")]
public TypeScriptServiceBridge.TypeScript.VarFlags Get_varFlags ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.VarFlags> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_varFlags"));
}
[TypeScriptBridge ("set_varFlags")]
public void Set_varFlags (TypeScriptServiceBridge.TypeScript.VarFlags @value)
{
Instance.CallMemberFunction ("set_varFlags", @value);
}
[TypeScriptBridge ("get_sym")]
public TypeScriptServiceBridge.TypeScript.Symbol Get_sym ()
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("get_sym"));
}
[TypeScriptBridge ("set_sym")]
public void Set_sym (TypeScriptServiceBridge.TypeScript.Symbol @value)
{
Instance.CallMemberFunction ("set_sym", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("isStatementOrExpression")]
public bool IsStatementOrExpression ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isStatementOrExpression"));
}
[TypeScriptBridge ("isPrivate")]
public bool IsPrivate ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isPrivate"));
}
[TypeScriptBridge ("isPublic")]
public bool IsPublic ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isPublic"));
}
[TypeScriptBridge ("isProperty")]
public bool IsProperty ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isProperty"));
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.VarDecl TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.VarDecl ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
[TypeScriptBridge ("printLabel")]
public System.Object PrintLabel ()
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("printLabel"));
}
}
public class VarDecl : BoundDecl
{
public VarDecl (ObjectInstance instance) : base (instance) {}
public VarDecl (TypeScriptServiceBridge.TypeScript.Identifier @id, double @nest)
: base (CallConstructor ("TypeScript", "VarDecl", @id != null ? @id.Instance : null, @nest))
{
}
[TypeScriptBridge ("isAmbient")]
public bool IsAmbient ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isAmbient"));
}
[TypeScriptBridge ("isExported")]
public bool IsExported ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isExported"));
}
[TypeScriptBridge ("isStatic")]
public bool IsStatic ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isStatic"));
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
[TypeScriptBridge ("treeViewLabel")]
public string TreeViewLabel ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("treeViewLabel"));
}
}
public class ArgDecl : BoundDecl
{
public ArgDecl (ObjectInstance instance) : base (instance) {}
public ArgDecl (TypeScriptServiceBridge.TypeScript.Identifier @id)
: base (CallConstructor ("TypeScript", "ArgDecl", @id != null ? @id.Instance : null))
{
}
[TypeScriptBridge ("isOptional")]
public bool IsOptional {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("isOptional")); }
set { Instance.SetPropertyValue ("isOptional", value, true); }
}
[TypeScriptBridge ("parameterPropertySym")]
public TypeScriptServiceBridge.TypeScript.FieldSymbol ParameterPropertySym {
get { return new TypeScriptServiceBridge.TypeScript.FieldSymbol ((ObjectInstance) Instance.GetPropertyValue ("parameterPropertySym")); }
set { Instance.SetPropertyValue ("parameterPropertySym", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_isOptional")]
public bool Get_isOptional ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_isOptional"));
}
[TypeScriptBridge ("set_isOptional")]
public void Set_isOptional (bool @value)
{
Instance.CallMemberFunction ("set_isOptional", @value);
}
[TypeScriptBridge ("isOptionalArg")]
public System.Object IsOptionalArg ()
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isOptionalArg"));
}
[TypeScriptBridge ("treeViewLabel")]
public string TreeViewLabel ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("treeViewLabel"));
}
[TypeScriptBridge ("get_parameterPropertySym")]
public TypeScriptServiceBridge.TypeScript.FieldSymbol Get_parameterPropertySym ()
{
return new TypeScriptServiceBridge.TypeScript.FieldSymbol ((ObjectInstance) Instance.CallMemberFunction ("get_parameterPropertySym"));
}
[TypeScriptBridge ("set_parameterPropertySym")]
public void Set_parameterPropertySym (TypeScriptServiceBridge.TypeScript.FieldSymbol @value)
{
Instance.CallMemberFunction ("set_parameterPropertySym", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
}
public class FuncDecl : AST
{
public FuncDecl (ObjectInstance instance) : base (instance) {}
public FuncDecl (TypeScriptServiceBridge.TypeScript.Identifier @name, TypeScriptServiceBridge.TypeScript.ASTList @bod, bool @isConstructor, TypeScriptServiceBridge.TypeScript.ASTList @arguments, TypeScriptServiceBridge.TypeScript.ASTList @vars, TypeScriptServiceBridge.TypeScript.ASTList @scopes, TypeScriptServiceBridge.TypeScript.ASTList @statics, double @nodeType)
: base (CallConstructor ("TypeScript", "FuncDecl", @name != null ? @name.Instance : null, @bod != null ? @bod.Instance : null, @isConstructor, @arguments != null ? @arguments.Instance : null, @vars != null ? @vars.Instance : null, @scopes != null ? @scopes.Instance : null, @statics != null ? @statics.Instance : null, @nodeType))
{
}
[TypeScriptBridge ("hint")]
public string Hint {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("hint")); }
set { Instance.SetPropertyValue ("hint", value, true); }
}
[TypeScriptBridge ("fncFlags")]
public TypeScriptServiceBridge.TypeScript.FncFlags FncFlags {
get { return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.FncFlags> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("fncFlags")); }
set { Instance.SetPropertyValue ("fncFlags", value, true); }
}
[TypeScriptBridge ("returnTypeAnnotation")]
public TypeScriptServiceBridge.TypeScript.AST ReturnTypeAnnotation {
get { return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.GetPropertyValue ("returnTypeAnnotation")); }
set { Instance.SetPropertyValue ("returnTypeAnnotation", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("symbols")]
public TypeScriptServiceBridge.TypeScript.IHashTable Symbols {
get { return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.GetPropertyValue ("symbols")); }
set { Instance.SetPropertyValue ("symbols", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("variableArgList")]
public bool VariableArgList {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("variableArgList")); }
set { Instance.SetPropertyValue ("variableArgList", value, true); }
}
[TypeScriptBridge ("signature")]
public TypeScriptServiceBridge.TypeScript.Signature Signature {
get { return new TypeScriptServiceBridge.TypeScript.Signature ((ObjectInstance) Instance.GetPropertyValue ("signature")); }
set { Instance.SetPropertyValue ("signature", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("envids")]
public ArrayInstance Envids {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("envids")); }
set { Instance.SetPropertyValue ("envids", value, true); }
}
[TypeScriptBridge ("jumpRefs")]
public ArrayInstance JumpRefs {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("jumpRefs")); }
set { Instance.SetPropertyValue ("jumpRefs", value, true); }
}
[TypeScriptBridge ("internalNameCache")]
public string InternalNameCache {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("internalNameCache")); }
set { Instance.SetPropertyValue ("internalNameCache", value, true); }
}
[TypeScriptBridge ("tmp1Declared")]
public bool Tmp1Declared {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("tmp1Declared")); }
set { Instance.SetPropertyValue ("tmp1Declared", value, true); }
}
[TypeScriptBridge ("enclosingFnc")]
public TypeScriptServiceBridge.TypeScript.FuncDecl EnclosingFnc {
get { return new TypeScriptServiceBridge.TypeScript.FuncDecl ((ObjectInstance) Instance.GetPropertyValue ("enclosingFnc")); }
set { Instance.SetPropertyValue ("enclosingFnc", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("freeVariables")]
public ArrayInstance FreeVariables {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("freeVariables")); }
set { Instance.SetPropertyValue ("freeVariables", value, true); }
}
[TypeScriptBridge ("unitIndex")]
public double UnitIndex {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("unitIndex")); }
set { Instance.SetPropertyValue ("unitIndex", value, true); }
}
[TypeScriptBridge ("classDecl")]
public TypeScriptServiceBridge.TypeScript.NamedDeclaration ClassDecl {
get { return new TypeScriptServiceBridge.TypeScript.NamedDeclaration ((ObjectInstance) Instance.GetPropertyValue ("classDecl")); }
set { Instance.SetPropertyValue ("classDecl", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("boundToProperty")]
public TypeScriptServiceBridge.TypeScript.VarDecl BoundToProperty {
get { return new TypeScriptServiceBridge.TypeScript.VarDecl ((ObjectInstance) Instance.GetPropertyValue ("boundToProperty")); }
set { Instance.SetPropertyValue ("boundToProperty", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("isOverload")]
public bool IsOverload {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("isOverload")); }
set { Instance.SetPropertyValue ("isOverload", value, true); }
}
[TypeScriptBridge ("innerStaticFuncs")]
public ArrayInstance InnerStaticFuncs {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("innerStaticFuncs")); }
set { Instance.SetPropertyValue ("innerStaticFuncs", value, true); }
}
[TypeScriptBridge ("isTargetTypedAsMethod")]
public bool IsTargetTypedAsMethod {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("isTargetTypedAsMethod")); }
set { Instance.SetPropertyValue ("isTargetTypedAsMethod", value, true); }
}
[TypeScriptBridge ("isInlineCallLiteral")]
public bool IsInlineCallLiteral {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("isInlineCallLiteral")); }
set { Instance.SetPropertyValue ("isInlineCallLiteral", value, true); }
}
[TypeScriptBridge ("accessorSymbol")]
public TypeScriptServiceBridge.TypeScript.Symbol AccessorSymbol {
get { return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.GetPropertyValue ("accessorSymbol")); }
set { Instance.SetPropertyValue ("accessorSymbol", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("leftCurlyCount")]
public double LeftCurlyCount {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("leftCurlyCount")); }
set { Instance.SetPropertyValue ("leftCurlyCount", value, true); }
}
[TypeScriptBridge ("rightCurlyCount")]
public double RightCurlyCount {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("rightCurlyCount")); }
set { Instance.SetPropertyValue ("rightCurlyCount", value, true); }
}
[TypeScriptBridge ("returnStatementsWithExpressions")]
public ArrayInstance ReturnStatementsWithExpressions {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("returnStatementsWithExpressions")); }
set { Instance.SetPropertyValue ("returnStatementsWithExpressions", value, true); }
}
[TypeScriptBridge ("scopeType")]
public TypeScriptServiceBridge.TypeScript.Type ScopeType {
get { return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.GetPropertyValue ("scopeType")); }
set { Instance.SetPropertyValue ("scopeType", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("endingToken")]
public TypeScriptServiceBridge.TypeScript.ASTSpan EndingToken {
get { return new TypeScriptServiceBridge.TypeScript.ASTSpan ((ObjectInstance) Instance.GetPropertyValue ("endingToken")); }
set { Instance.SetPropertyValue ("endingToken", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_hint")]
public string Get_hint ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_hint"));
}
[TypeScriptBridge ("set_hint")]
public void Set_hint (string @value)
{
Instance.CallMemberFunction ("set_hint", @value);
}
[TypeScriptBridge ("get_fncFlags")]
public TypeScriptServiceBridge.TypeScript.FncFlags Get_fncFlags ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.FncFlags> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_fncFlags"));
}
[TypeScriptBridge ("set_fncFlags")]
public void Set_fncFlags (TypeScriptServiceBridge.TypeScript.FncFlags @value)
{
Instance.CallMemberFunction ("set_fncFlags", @value);
}
[TypeScriptBridge ("get_returnTypeAnnotation")]
public TypeScriptServiceBridge.TypeScript.AST Get_returnTypeAnnotation ()
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("get_returnTypeAnnotation"));
}
[TypeScriptBridge ("set_returnTypeAnnotation")]
public void Set_returnTypeAnnotation (TypeScriptServiceBridge.TypeScript.AST @value)
{
Instance.CallMemberFunction ("set_returnTypeAnnotation", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_symbols")]
public TypeScriptServiceBridge.TypeScript.IHashTable Get_symbols ()
{
return new TypeScriptServiceBridge.TypeScript.IHashTable_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_symbols"));
}
[TypeScriptBridge ("set_symbols")]
public void Set_symbols (TypeScriptServiceBridge.TypeScript.IHashTable @value)
{
Instance.CallMemberFunction ("set_symbols", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_variableArgList")]
public bool Get_variableArgList ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_variableArgList"));
}
[TypeScriptBridge ("set_variableArgList")]
public void Set_variableArgList (bool @value)
{
Instance.CallMemberFunction ("set_variableArgList", @value);
}
[TypeScriptBridge ("get_signature")]
public TypeScriptServiceBridge.TypeScript.Signature Get_signature ()
{
return new TypeScriptServiceBridge.TypeScript.Signature ((ObjectInstance) Instance.CallMemberFunction ("get_signature"));
}
[TypeScriptBridge ("set_signature")]
public void Set_signature (TypeScriptServiceBridge.TypeScript.Signature @value)
{
Instance.CallMemberFunction ("set_signature", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_envids")]
public ArrayInstance Get_envids ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_envids"));
}
[TypeScriptBridge ("set_envids")]
public void Set_envids (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_envids", @value);
}
[TypeScriptBridge ("get_jumpRefs")]
public ArrayInstance Get_jumpRefs ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_jumpRefs"));
}
[TypeScriptBridge ("set_jumpRefs")]
public void Set_jumpRefs (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_jumpRefs", @value);
}
[TypeScriptBridge ("get_internalNameCache")]
public string Get_internalNameCache ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_internalNameCache"));
}
[TypeScriptBridge ("set_internalNameCache")]
public void Set_internalNameCache (string @value)
{
Instance.CallMemberFunction ("set_internalNameCache", @value);
}
[TypeScriptBridge ("get_tmp1Declared")]
public bool Get_tmp1Declared ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_tmp1Declared"));
}
[TypeScriptBridge ("set_tmp1Declared")]
public void Set_tmp1Declared (bool @value)
{
Instance.CallMemberFunction ("set_tmp1Declared", @value);
}
[TypeScriptBridge ("get_enclosingFnc")]
public TypeScriptServiceBridge.TypeScript.FuncDecl Get_enclosingFnc ()
{
return new TypeScriptServiceBridge.TypeScript.FuncDecl ((ObjectInstance) Instance.CallMemberFunction ("get_enclosingFnc"));
}
[TypeScriptBridge ("set_enclosingFnc")]
public void Set_enclosingFnc (TypeScriptServiceBridge.TypeScript.FuncDecl @value)
{
Instance.CallMemberFunction ("set_enclosingFnc", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_freeVariables")]
public ArrayInstance Get_freeVariables ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_freeVariables"));
}
[TypeScriptBridge ("set_freeVariables")]
public void Set_freeVariables (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_freeVariables", @value);
}
[TypeScriptBridge ("get_unitIndex")]
public double Get_unitIndex ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_unitIndex"));
}
[TypeScriptBridge ("set_unitIndex")]
public void Set_unitIndex (double @value)
{
Instance.CallMemberFunction ("set_unitIndex", @value);
}
[TypeScriptBridge ("get_classDecl")]
public TypeScriptServiceBridge.TypeScript.NamedDeclaration Get_classDecl ()
{
return new TypeScriptServiceBridge.TypeScript.NamedDeclaration ((ObjectInstance) Instance.CallMemberFunction ("get_classDecl"));
}
[TypeScriptBridge ("set_classDecl")]
public void Set_classDecl (TypeScriptServiceBridge.TypeScript.NamedDeclaration @value)
{
Instance.CallMemberFunction ("set_classDecl", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_boundToProperty")]
public TypeScriptServiceBridge.TypeScript.VarDecl Get_boundToProperty ()
{
return new TypeScriptServiceBridge.TypeScript.VarDecl ((ObjectInstance) Instance.CallMemberFunction ("get_boundToProperty"));
}
[TypeScriptBridge ("set_boundToProperty")]
public void Set_boundToProperty (TypeScriptServiceBridge.TypeScript.VarDecl @value)
{
Instance.CallMemberFunction ("set_boundToProperty", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_isOverload")]
public bool Get_isOverload ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_isOverload"));
}
[TypeScriptBridge ("set_isOverload")]
public void Set_isOverload (bool @value)
{
Instance.CallMemberFunction ("set_isOverload", @value);
}
[TypeScriptBridge ("get_innerStaticFuncs")]
public ArrayInstance Get_innerStaticFuncs ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_innerStaticFuncs"));
}
[TypeScriptBridge ("set_innerStaticFuncs")]
public void Set_innerStaticFuncs (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_innerStaticFuncs", @value);
}
[TypeScriptBridge ("get_isTargetTypedAsMethod")]
public bool Get_isTargetTypedAsMethod ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_isTargetTypedAsMethod"));
}
[TypeScriptBridge ("set_isTargetTypedAsMethod")]
public void Set_isTargetTypedAsMethod (bool @value)
{
Instance.CallMemberFunction ("set_isTargetTypedAsMethod", @value);
}
[TypeScriptBridge ("get_isInlineCallLiteral")]
public bool Get_isInlineCallLiteral ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_isInlineCallLiteral"));
}
[TypeScriptBridge ("set_isInlineCallLiteral")]
public void Set_isInlineCallLiteral (bool @value)
{
Instance.CallMemberFunction ("set_isInlineCallLiteral", @value);
}
[TypeScriptBridge ("get_accessorSymbol")]
public TypeScriptServiceBridge.TypeScript.Symbol Get_accessorSymbol ()
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("get_accessorSymbol"));
}
[TypeScriptBridge ("set_accessorSymbol")]
public void Set_accessorSymbol (TypeScriptServiceBridge.TypeScript.Symbol @value)
{
Instance.CallMemberFunction ("set_accessorSymbol", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_leftCurlyCount")]
public double Get_leftCurlyCount ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_leftCurlyCount"));
}
[TypeScriptBridge ("set_leftCurlyCount")]
public void Set_leftCurlyCount (double @value)
{
Instance.CallMemberFunction ("set_leftCurlyCount", @value);
}
[TypeScriptBridge ("get_rightCurlyCount")]
public double Get_rightCurlyCount ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_rightCurlyCount"));
}
[TypeScriptBridge ("set_rightCurlyCount")]
public void Set_rightCurlyCount (double @value)
{
Instance.CallMemberFunction ("set_rightCurlyCount", @value);
}
[TypeScriptBridge ("get_returnStatementsWithExpressions")]
public ArrayInstance Get_returnStatementsWithExpressions ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_returnStatementsWithExpressions"));
}
[TypeScriptBridge ("set_returnStatementsWithExpressions")]
public void Set_returnStatementsWithExpressions (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_returnStatementsWithExpressions", @value);
}
[TypeScriptBridge ("get_scopeType")]
public TypeScriptServiceBridge.TypeScript.Type Get_scopeType ()
{
return new TypeScriptServiceBridge.TypeScript.Type ((ObjectInstance) Instance.CallMemberFunction ("get_scopeType"));
}
[TypeScriptBridge ("set_scopeType")]
public void Set_scopeType (TypeScriptServiceBridge.TypeScript.Type @value)
{
Instance.CallMemberFunction ("set_scopeType", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_endingToken")]
public TypeScriptServiceBridge.TypeScript.ASTSpan Get_endingToken ()
{
return new TypeScriptServiceBridge.TypeScript.ASTSpan ((ObjectInstance) Instance.CallMemberFunction ("get_endingToken"));
}
[TypeScriptBridge ("set_endingToken")]
public void Set_endingToken (TypeScriptServiceBridge.TypeScript.ASTSpan @value)
{
Instance.CallMemberFunction ("set_endingToken", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("internalName")]
public string InternalName ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("internalName"));
}
[TypeScriptBridge ("hasSelfReference")]
public bool HasSelfReference ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("hasSelfReference"));
}
[TypeScriptBridge ("setHasSelfReference")]
public void SetHasSelfReference ()
{
Instance.CallMemberFunction ("setHasSelfReference");
}
[TypeScriptBridge ("addCloRef")]
public double AddCloRef (TypeScriptServiceBridge.TypeScript.Identifier @id, TypeScriptServiceBridge.TypeScript.Symbol @sym)
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("addCloRef", @id != null ? @id.Instance : null, @sym != null ? @sym.Instance : null));
}
[TypeScriptBridge ("addJumpRef")]
public void AddJumpRef (TypeScriptServiceBridge.TypeScript.Symbol @sym)
{
Instance.CallMemberFunction ("addJumpRef", @sym != null ? @sym.Instance : null);
}
[TypeScriptBridge ("buildControlFlow")]
public TypeScriptServiceBridge.TypeScript.ControlFlowContext BuildControlFlow ()
{
return new TypeScriptServiceBridge.TypeScript.ControlFlowContext ((ObjectInstance) Instance.CallMemberFunction ("buildControlFlow"));
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.FuncDecl TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.FuncDecl ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
[TypeScriptBridge ("getNameText")]
public string GetNameText ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getNameText"));
}
[TypeScriptBridge ("isMethod")]
public bool IsMethod ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isMethod"));
}
[TypeScriptBridge ("isCallMember")]
public bool IsCallMember ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isCallMember"));
}
[TypeScriptBridge ("isConstructMember")]
public bool IsConstructMember ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isConstructMember"));
}
[TypeScriptBridge ("isIndexerMember")]
public bool IsIndexerMember ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isIndexerMember"));
}
[TypeScriptBridge ("isSpecialFn")]
public bool IsSpecialFn ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isSpecialFn"));
}
[TypeScriptBridge ("isAnonymousFn")]
public bool IsAnonymousFn ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isAnonymousFn"));
}
[TypeScriptBridge ("isAccessor")]
public bool IsAccessor ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isAccessor"));
}
[TypeScriptBridge ("isGetAccessor")]
public bool IsGetAccessor ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isGetAccessor"));
}
[TypeScriptBridge ("isSetAccessor")]
public bool IsSetAccessor ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isSetAccessor"));
}
[TypeScriptBridge ("isAmbient")]
public bool IsAmbient ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isAmbient"));
}
[TypeScriptBridge ("isExported")]
public bool IsExported ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isExported"));
}
[TypeScriptBridge ("isPrivate")]
public bool IsPrivate ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isPrivate"));
}
[TypeScriptBridge ("isPublic")]
public bool IsPublic ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isPublic"));
}
[TypeScriptBridge ("isStatic")]
public bool IsStatic ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isStatic"));
}
[TypeScriptBridge ("treeViewLabel")]
public string TreeViewLabel ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("treeViewLabel"));
}
[TypeScriptBridge ("ClearFlags")]
public void ClearFlags ()
{
Instance.CallMemberFunction ("ClearFlags");
}
[TypeScriptBridge ("isSignature")]
public bool IsSignature ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isSignature"));
}
[TypeScriptBridge ("hasStaticDeclarations")]
public bool HasStaticDeclarations ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("hasStaticDeclarations"));
}
}
public class LocationInfo : TypeScriptObject
{
public LocationInfo (ObjectInstance instance) : base (instance) {}
public LocationInfo (string @filename, ArrayInstance @lineMap, System.Object @unitIndex)
: base (CallConstructor ("TypeScript", "LocationInfo", @filename, @lineMap, @unitIndex))
{
}
[TypeScriptBridge ("filename")]
public string Filename {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("filename")); }
set { Instance.SetPropertyValue ("filename", value, true); }
}
[TypeScriptBridge ("lineMap")]
public ArrayInstance LineMap {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("lineMap")); }
set { Instance.SetPropertyValue ("lineMap", value, true); }
}
[TypeScriptBridge ("unitIndex")]
public System.Object UnitIndex {
get { return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("unitIndex")); }
set { Instance.SetPropertyValue ("unitIndex", value, true); }
}
[TypeScriptBridge ("get_filename")]
public string Get_filename ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_filename"));
}
[TypeScriptBridge ("set_filename")]
public void Set_filename (string @value)
{
Instance.CallMemberFunction ("set_filename", @value);
}
[TypeScriptBridge ("get_lineMap")]
public ArrayInstance Get_lineMap ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_lineMap"));
}
[TypeScriptBridge ("set_lineMap")]
public void Set_lineMap (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_lineMap", @value);
}
[TypeScriptBridge ("get_unitIndex")]
public System.Object Get_unitIndex ()
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_unitIndex"));
}
[TypeScriptBridge ("set_unitIndex")]
public void Set_unitIndex (System.Object @value)
{
Instance.CallMemberFunction ("set_unitIndex", @value);
}
}
public class Script : FuncDecl
{
public Script (ObjectInstance instance) : base (instance) {}
public Script (TypeScriptServiceBridge.TypeScript.ASTList @vars, TypeScriptServiceBridge.TypeScript.ASTList @scopes)
: base (CallConstructor ("TypeScript", "Script", @vars != null ? @vars.Instance : null, @scopes != null ? @scopes.Instance : null))
{
}
[TypeScriptBridge ("locationInfo")]
public TypeScriptServiceBridge.TypeScript.LocationInfo LocationInfo {
get { return new TypeScriptServiceBridge.TypeScript.LocationInfo ((ObjectInstance) Instance.GetPropertyValue ("locationInfo")); }
set { Instance.SetPropertyValue ("locationInfo", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("referencedFiles")]
public ArrayInstance ReferencedFiles {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("referencedFiles")); }
set { Instance.SetPropertyValue ("referencedFiles", value, true); }
}
[TypeScriptBridge ("requiresGlobal")]
public bool RequiresGlobal {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("requiresGlobal")); }
set { Instance.SetPropertyValue ("requiresGlobal", value, true); }
}
[TypeScriptBridge ("requiresInherits")]
public bool RequiresInherits {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("requiresInherits")); }
set { Instance.SetPropertyValue ("requiresInherits", value, true); }
}
[TypeScriptBridge ("isResident")]
public bool IsResident {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("isResident")); }
set { Instance.SetPropertyValue ("isResident", value, true); }
}
[TypeScriptBridge ("isDeclareFile")]
public bool IsDeclareFile {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("isDeclareFile")); }
set { Instance.SetPropertyValue ("isDeclareFile", value, true); }
}
[TypeScriptBridge ("hasBeenTypeChecked")]
public bool HasBeenTypeChecked {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("hasBeenTypeChecked")); }
set { Instance.SetPropertyValue ("hasBeenTypeChecked", value, true); }
}
[TypeScriptBridge ("topLevelMod")]
public TypeScriptServiceBridge.TypeScript.ModuleDeclaration TopLevelMod {
get { return new TypeScriptServiceBridge.TypeScript.ModuleDeclaration ((ObjectInstance) Instance.GetPropertyValue ("topLevelMod")); }
set { Instance.SetPropertyValue ("topLevelMod", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("leftCurlyCount")]
public double LeftCurlyCount {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("leftCurlyCount")); }
set { Instance.SetPropertyValue ("leftCurlyCount", value, true); }
}
[TypeScriptBridge ("rightCurlyCount")]
public double RightCurlyCount {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("rightCurlyCount")); }
set { Instance.SetPropertyValue ("rightCurlyCount", value, true); }
}
[TypeScriptBridge ("vars")]
public TypeScriptServiceBridge.TypeScript.ASTList Vars {
get { return new TypeScriptServiceBridge.TypeScript.ASTList ((ObjectInstance) Instance.GetPropertyValue ("vars")); }
set { Instance.SetPropertyValue ("vars", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("scopes")]
public TypeScriptServiceBridge.TypeScript.ASTList Scopes {
get { return new TypeScriptServiceBridge.TypeScript.ASTList ((ObjectInstance) Instance.GetPropertyValue ("scopes")); }
set { Instance.SetPropertyValue ("scopes", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("containsUnicodeChar")]
public bool ContainsUnicodeChar {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("containsUnicodeChar")); }
set { Instance.SetPropertyValue ("containsUnicodeChar", value, true); }
}
[TypeScriptBridge ("containsUnicodeCharInComment")]
public bool ContainsUnicodeCharInComment {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("containsUnicodeCharInComment")); }
set { Instance.SetPropertyValue ("containsUnicodeCharInComment", value, true); }
}
[TypeScriptBridge ("get_locationInfo")]
public TypeScriptServiceBridge.TypeScript.LocationInfo Get_locationInfo ()
{
return new TypeScriptServiceBridge.TypeScript.LocationInfo ((ObjectInstance) Instance.CallMemberFunction ("get_locationInfo"));
}
[TypeScriptBridge ("set_locationInfo")]
public void Set_locationInfo (TypeScriptServiceBridge.TypeScript.LocationInfo @value)
{
Instance.CallMemberFunction ("set_locationInfo", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_referencedFiles")]
public ArrayInstance Get_referencedFiles ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_referencedFiles"));
}
[TypeScriptBridge ("set_referencedFiles")]
public void Set_referencedFiles (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_referencedFiles", @value);
}
[TypeScriptBridge ("get_requiresGlobal")]
public bool Get_requiresGlobal ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_requiresGlobal"));
}
[TypeScriptBridge ("set_requiresGlobal")]
public void Set_requiresGlobal (bool @value)
{
Instance.CallMemberFunction ("set_requiresGlobal", @value);
}
[TypeScriptBridge ("get_requiresInherits")]
public bool Get_requiresInherits ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_requiresInherits"));
}
[TypeScriptBridge ("set_requiresInherits")]
public void Set_requiresInherits (bool @value)
{
Instance.CallMemberFunction ("set_requiresInherits", @value);
}
[TypeScriptBridge ("get_isResident")]
public bool Get_isResident ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_isResident"));
}
[TypeScriptBridge ("set_isResident")]
public void Set_isResident (bool @value)
{
Instance.CallMemberFunction ("set_isResident", @value);
}
[TypeScriptBridge ("get_isDeclareFile")]
public bool Get_isDeclareFile ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_isDeclareFile"));
}
[TypeScriptBridge ("set_isDeclareFile")]
public void Set_isDeclareFile (bool @value)
{
Instance.CallMemberFunction ("set_isDeclareFile", @value);
}
[TypeScriptBridge ("get_hasBeenTypeChecked")]
public bool Get_hasBeenTypeChecked ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_hasBeenTypeChecked"));
}
[TypeScriptBridge ("set_hasBeenTypeChecked")]
public void Set_hasBeenTypeChecked (bool @value)
{
Instance.CallMemberFunction ("set_hasBeenTypeChecked", @value);
}
[TypeScriptBridge ("get_topLevelMod")]
public TypeScriptServiceBridge.TypeScript.ModuleDeclaration Get_topLevelMod ()
{
return new TypeScriptServiceBridge.TypeScript.ModuleDeclaration ((ObjectInstance) Instance.CallMemberFunction ("get_topLevelMod"));
}
[TypeScriptBridge ("set_topLevelMod")]
public void Set_topLevelMod (TypeScriptServiceBridge.TypeScript.ModuleDeclaration @value)
{
Instance.CallMemberFunction ("set_topLevelMod", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_leftCurlyCount")]
public double Get_leftCurlyCount ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_leftCurlyCount"));
}
[TypeScriptBridge ("set_leftCurlyCount")]
public void Set_leftCurlyCount (double @value)
{
Instance.CallMemberFunction ("set_leftCurlyCount", @value);
}
[TypeScriptBridge ("get_rightCurlyCount")]
public double Get_rightCurlyCount ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_rightCurlyCount"));
}
[TypeScriptBridge ("set_rightCurlyCount")]
public void Set_rightCurlyCount (double @value)
{
Instance.CallMemberFunction ("set_rightCurlyCount", @value);
}
[TypeScriptBridge ("get_vars")]
public TypeScriptServiceBridge.TypeScript.ASTList Get_vars ()
{
return new TypeScriptServiceBridge.TypeScript.ASTList ((ObjectInstance) Instance.CallMemberFunction ("get_vars"));
}
[TypeScriptBridge ("set_vars")]
public void Set_vars (TypeScriptServiceBridge.TypeScript.ASTList @value)
{
Instance.CallMemberFunction ("set_vars", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_scopes")]
public TypeScriptServiceBridge.TypeScript.ASTList Get_scopes ()
{
return new TypeScriptServiceBridge.TypeScript.ASTList ((ObjectInstance) Instance.CallMemberFunction ("get_scopes"));
}
[TypeScriptBridge ("set_scopes")]
public void Set_scopes (TypeScriptServiceBridge.TypeScript.ASTList @value)
{
Instance.CallMemberFunction ("set_scopes", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_containsUnicodeChar")]
public bool Get_containsUnicodeChar ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_containsUnicodeChar"));
}
[TypeScriptBridge ("set_containsUnicodeChar")]
public void Set_containsUnicodeChar (bool @value)
{
Instance.CallMemberFunction ("set_containsUnicodeChar", @value);
}
[TypeScriptBridge ("get_containsUnicodeCharInComment")]
public bool Get_containsUnicodeCharInComment ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_containsUnicodeCharInComment"));
}
[TypeScriptBridge ("set_containsUnicodeCharInComment")]
public void Set_containsUnicodeCharInComment (bool @value)
{
Instance.CallMemberFunction ("set_containsUnicodeCharInComment", @value);
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.Script TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.Script ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
[TypeScriptBridge ("treeViewLabel")]
public string TreeViewLabel ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("treeViewLabel"));
}
[TypeScriptBridge ("emitRequired")]
public bool EmitRequired ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("emitRequired"));
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
}
public class NamedDeclaration : ModuleElement
{
public NamedDeclaration (ObjectInstance instance) : base (instance) {}
public NamedDeclaration (TypeScriptServiceBridge.TypeScript.NodeType @nodeType, TypeScriptServiceBridge.TypeScript.Identifier @name, TypeScriptServiceBridge.TypeScript.ASTList @members)
: base (CallConstructor ("TypeScript", "NamedDeclaration", @nodeType, @name != null ? @name.Instance : null, @members != null ? @members.Instance : null))
{
}
[TypeScriptBridge ("leftCurlyCount")]
public double LeftCurlyCount {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("leftCurlyCount")); }
set { Instance.SetPropertyValue ("leftCurlyCount", value, true); }
}
[TypeScriptBridge ("rightCurlyCount")]
public double RightCurlyCount {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("rightCurlyCount")); }
set { Instance.SetPropertyValue ("rightCurlyCount", value, true); }
}
[TypeScriptBridge ("get_leftCurlyCount")]
public double Get_leftCurlyCount ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_leftCurlyCount"));
}
[TypeScriptBridge ("set_leftCurlyCount")]
public void Set_leftCurlyCount (double @value)
{
Instance.CallMemberFunction ("set_leftCurlyCount", @value);
}
[TypeScriptBridge ("get_rightCurlyCount")]
public double Get_rightCurlyCount ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_rightCurlyCount"));
}
[TypeScriptBridge ("set_rightCurlyCount")]
public void Set_rightCurlyCount (double @value)
{
Instance.CallMemberFunction ("set_rightCurlyCount", @value);
}
}
public class ModuleDeclaration : NamedDeclaration
{
public ModuleDeclaration (ObjectInstance instance) : base (instance) {}
public ModuleDeclaration (TypeScriptServiceBridge.TypeScript.Identifier @name, TypeScriptServiceBridge.TypeScript.ASTList @members, TypeScriptServiceBridge.TypeScript.ASTList @vars, TypeScriptServiceBridge.TypeScript.ASTList @scopes, TypeScriptServiceBridge.TypeScript.ASTSpan @endingToken)
: base (CallConstructor ("TypeScript", "ModuleDeclaration", @name != null ? @name.Instance : null, @members != null ? @members.Instance : null, @vars != null ? @vars.Instance : null, @scopes != null ? @scopes.Instance : null, @endingToken != null ? @endingToken.Instance : null))
{
}
[TypeScriptBridge ("modFlags")]
public TypeScriptServiceBridge.TypeScript.ModuleFlags ModFlags {
get { return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.ModuleFlags> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("modFlags")); }
set { Instance.SetPropertyValue ("modFlags", value, true); }
}
[TypeScriptBridge ("mod")]
public TypeScriptServiceBridge.TypeScript.ModuleType Mod {
get { return new TypeScriptServiceBridge.TypeScript.ModuleType ((ObjectInstance) Instance.GetPropertyValue ("mod")); }
set { Instance.SetPropertyValue ("mod", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("prettyName")]
public string PrettyName {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("prettyName")); }
set { Instance.SetPropertyValue ("prettyName", value, true); }
}
[TypeScriptBridge ("amdDependencies")]
public ArrayInstance AmdDependencies {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("amdDependencies")); }
set { Instance.SetPropertyValue ("amdDependencies", value, true); }
}
[TypeScriptBridge ("vars")]
public TypeScriptServiceBridge.TypeScript.ASTList Vars {
get { return new TypeScriptServiceBridge.TypeScript.ASTList ((ObjectInstance) Instance.GetPropertyValue ("vars")); }
set { Instance.SetPropertyValue ("vars", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("scopes")]
public TypeScriptServiceBridge.TypeScript.ASTList Scopes {
get { return new TypeScriptServiceBridge.TypeScript.ASTList ((ObjectInstance) Instance.GetPropertyValue ("scopes")); }
set { Instance.SetPropertyValue ("scopes", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("containsUnicodeChar")]
public bool ContainsUnicodeChar {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("containsUnicodeChar")); }
set { Instance.SetPropertyValue ("containsUnicodeChar", value, true); }
}
[TypeScriptBridge ("containsUnicodeCharInComment")]
public bool ContainsUnicodeCharInComment {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("containsUnicodeCharInComment")); }
set { Instance.SetPropertyValue ("containsUnicodeCharInComment", value, true); }
}
[TypeScriptBridge ("get_modFlags")]
public TypeScriptServiceBridge.TypeScript.ModuleFlags Get_modFlags ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.ModuleFlags> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_modFlags"));
}
[TypeScriptBridge ("set_modFlags")]
public void Set_modFlags (TypeScriptServiceBridge.TypeScript.ModuleFlags @value)
{
Instance.CallMemberFunction ("set_modFlags", @value);
}
[TypeScriptBridge ("get_mod")]
public TypeScriptServiceBridge.TypeScript.ModuleType Get_mod ()
{
return new TypeScriptServiceBridge.TypeScript.ModuleType ((ObjectInstance) Instance.CallMemberFunction ("get_mod"));
}
[TypeScriptBridge ("set_mod")]
public void Set_mod (TypeScriptServiceBridge.TypeScript.ModuleType @value)
{
Instance.CallMemberFunction ("set_mod", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_prettyName")]
public string Get_prettyName ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_prettyName"));
}
[TypeScriptBridge ("set_prettyName")]
public void Set_prettyName (string @value)
{
Instance.CallMemberFunction ("set_prettyName", @value);
}
[TypeScriptBridge ("get_amdDependencies")]
public ArrayInstance Get_amdDependencies ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_amdDependencies"));
}
[TypeScriptBridge ("set_amdDependencies")]
public void Set_amdDependencies (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_amdDependencies", @value);
}
[TypeScriptBridge ("get_vars")]
public TypeScriptServiceBridge.TypeScript.ASTList Get_vars ()
{
return new TypeScriptServiceBridge.TypeScript.ASTList ((ObjectInstance) Instance.CallMemberFunction ("get_vars"));
}
[TypeScriptBridge ("set_vars")]
public void Set_vars (TypeScriptServiceBridge.TypeScript.ASTList @value)
{
Instance.CallMemberFunction ("set_vars", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_scopes")]
public TypeScriptServiceBridge.TypeScript.ASTList Get_scopes ()
{
return new TypeScriptServiceBridge.TypeScript.ASTList ((ObjectInstance) Instance.CallMemberFunction ("get_scopes"));
}
[TypeScriptBridge ("set_scopes")]
public void Set_scopes (TypeScriptServiceBridge.TypeScript.ASTList @value)
{
Instance.CallMemberFunction ("set_scopes", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_containsUnicodeChar")]
public bool Get_containsUnicodeChar ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_containsUnicodeChar"));
}
[TypeScriptBridge ("set_containsUnicodeChar")]
public void Set_containsUnicodeChar (bool @value)
{
Instance.CallMemberFunction ("set_containsUnicodeChar", @value);
}
[TypeScriptBridge ("get_containsUnicodeCharInComment")]
public bool Get_containsUnicodeCharInComment ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_containsUnicodeCharInComment"));
}
[TypeScriptBridge ("set_containsUnicodeCharInComment")]
public void Set_containsUnicodeCharInComment (bool @value)
{
Instance.CallMemberFunction ("set_containsUnicodeCharInComment", @value);
}
[TypeScriptBridge ("isExported")]
public bool IsExported ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isExported"));
}
[TypeScriptBridge ("isAmbient")]
public bool IsAmbient ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isAmbient"));
}
[TypeScriptBridge ("isEnum")]
public bool IsEnum ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isEnum"));
}
[TypeScriptBridge ("recordNonInterface")]
public void RecordNonInterface ()
{
Instance.CallMemberFunction ("recordNonInterface");
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.ModuleDeclaration TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.ModuleDeclaration ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
}
public class TypeDeclaration : NamedDeclaration
{
public TypeDeclaration (ObjectInstance instance) : base (instance) {}
public TypeDeclaration (TypeScriptServiceBridge.TypeScript.NodeType @nodeType, TypeScriptServiceBridge.TypeScript.Identifier @name, TypeScriptServiceBridge.TypeScript.ASTList @extendsList, TypeScriptServiceBridge.TypeScript.ASTList @implementsList, TypeScriptServiceBridge.TypeScript.ASTList @members)
: base (CallConstructor ("TypeScript", "TypeDeclaration", @nodeType, @name != null ? @name.Instance : null, @extendsList != null ? @extendsList.Instance : null, @implementsList != null ? @implementsList.Instance : null, @members != null ? @members.Instance : null))
{
}
[TypeScriptBridge ("varFlags")]
public TypeScriptServiceBridge.TypeScript.VarFlags VarFlags {
get { return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.VarFlags> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("varFlags")); }
set { Instance.SetPropertyValue ("varFlags", value, true); }
}
[TypeScriptBridge ("get_varFlags")]
public TypeScriptServiceBridge.TypeScript.VarFlags Get_varFlags ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.VarFlags> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_varFlags"));
}
[TypeScriptBridge ("set_varFlags")]
public void Set_varFlags (TypeScriptServiceBridge.TypeScript.VarFlags @value)
{
Instance.CallMemberFunction ("set_varFlags", @value);
}
[TypeScriptBridge ("isExported")]
public bool IsExported ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isExported"));
}
[TypeScriptBridge ("isAmbient")]
public bool IsAmbient ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isAmbient"));
}
}
public class ClassDeclaration : TypeDeclaration
{
public ClassDeclaration (ObjectInstance instance) : base (instance) {}
public ClassDeclaration (TypeScriptServiceBridge.TypeScript.Identifier @name, TypeScriptServiceBridge.TypeScript.ASTList @members, TypeScriptServiceBridge.TypeScript.ASTList @extendsList, TypeScriptServiceBridge.TypeScript.ASTList @implementsList)
: base (CallConstructor ("TypeScript", "ClassDeclaration", @name != null ? @name.Instance : null, @members != null ? @members.Instance : null, @extendsList != null ? @extendsList.Instance : null, @implementsList != null ? @implementsList.Instance : null))
{
}
[TypeScriptBridge ("knownMemberNames")]
public System.Object KnownMemberNames {
get { return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("knownMemberNames")); }
set { Instance.SetPropertyValue ("knownMemberNames", value, true); }
}
[TypeScriptBridge ("constructorDecl")]
public TypeScriptServiceBridge.TypeScript.FuncDecl ConstructorDecl {
get { return new TypeScriptServiceBridge.TypeScript.FuncDecl ((ObjectInstance) Instance.GetPropertyValue ("constructorDecl")); }
set { Instance.SetPropertyValue ("constructorDecl", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("constructorNestingLevel")]
public double ConstructorNestingLevel {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("constructorNestingLevel")); }
set { Instance.SetPropertyValue ("constructorNestingLevel", value, true); }
}
[TypeScriptBridge ("endingToken")]
public TypeScriptServiceBridge.TypeScript.ASTSpan EndingToken {
get { return new TypeScriptServiceBridge.TypeScript.ASTSpan ((ObjectInstance) Instance.GetPropertyValue ("endingToken")); }
set { Instance.SetPropertyValue ("endingToken", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_knownMemberNames")]
public System.Object Get_knownMemberNames ()
{
return TypeConverter.ConvertTo<System.Object> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_knownMemberNames"));
}
[TypeScriptBridge ("set_knownMemberNames")]
public void Set_knownMemberNames (System.Object @value)
{
Instance.CallMemberFunction ("set_knownMemberNames", @value);
}
[TypeScriptBridge ("get_constructorDecl")]
public TypeScriptServiceBridge.TypeScript.FuncDecl Get_constructorDecl ()
{
return new TypeScriptServiceBridge.TypeScript.FuncDecl ((ObjectInstance) Instance.CallMemberFunction ("get_constructorDecl"));
}
[TypeScriptBridge ("set_constructorDecl")]
public void Set_constructorDecl (TypeScriptServiceBridge.TypeScript.FuncDecl @value)
{
Instance.CallMemberFunction ("set_constructorDecl", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_constructorNestingLevel")]
public double Get_constructorNestingLevel ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_constructorNestingLevel"));
}
[TypeScriptBridge ("set_constructorNestingLevel")]
public void Set_constructorNestingLevel (double @value)
{
Instance.CallMemberFunction ("set_constructorNestingLevel", @value);
}
[TypeScriptBridge ("get_endingToken")]
public TypeScriptServiceBridge.TypeScript.ASTSpan Get_endingToken ()
{
return new TypeScriptServiceBridge.TypeScript.ASTSpan ((ObjectInstance) Instance.CallMemberFunction ("get_endingToken"));
}
[TypeScriptBridge ("set_endingToken")]
public void Set_endingToken (TypeScriptServiceBridge.TypeScript.ASTSpan @value)
{
Instance.CallMemberFunction ("set_endingToken", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.ClassDeclaration TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.ClassDeclaration ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
}
public class InterfaceDeclaration : TypeDeclaration
{
public InterfaceDeclaration (ObjectInstance instance) : base (instance) {}
public InterfaceDeclaration (TypeScriptServiceBridge.TypeScript.Identifier @name, TypeScriptServiceBridge.TypeScript.ASTList @members, TypeScriptServiceBridge.TypeScript.ASTList @extendsList, TypeScriptServiceBridge.TypeScript.ASTList @implementsList)
: base (CallConstructor ("TypeScript", "InterfaceDeclaration", @name != null ? @name.Instance : null, @members != null ? @members.Instance : null, @extendsList != null ? @extendsList.Instance : null, @implementsList != null ? @implementsList.Instance : null))
{
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.InterfaceDeclaration TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.InterfaceDeclaration ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
}
public class Statement : ModuleElement
{
public Statement (ObjectInstance instance) : base (instance) {}
public Statement (TypeScriptServiceBridge.TypeScript.NodeType @nodeType)
: base (CallConstructor ("TypeScript", "Statement", @nodeType))
{
}
[TypeScriptBridge ("isLoop")]
public bool IsLoop ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isLoop"));
}
[TypeScriptBridge ("isStatementOrExpression")]
public bool IsStatementOrExpression ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isStatementOrExpression"));
}
[TypeScriptBridge ("isCompoundStatement")]
public bool IsCompoundStatement ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isCompoundStatement"));
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.Statement TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.Statement ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
}
public class LabeledStatement : Statement
{
public LabeledStatement (ObjectInstance instance) : base (instance) {}
public LabeledStatement (TypeScriptServiceBridge.TypeScript.ASTList @labels, TypeScriptServiceBridge.TypeScript.AST @stmt)
: base (CallConstructor ("TypeScript", "LabeledStatement", @labels != null ? @labels.Instance : null, @stmt != null ? @stmt.Instance : null))
{
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.LabeledStatement TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.LabeledStatement ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
[TypeScriptBridge ("addToControlFlow")]
public void AddToControlFlow (TypeScriptServiceBridge.TypeScript.ControlFlowContext @context)
{
Instance.CallMemberFunction ("addToControlFlow", @context != null ? @context.Instance : null);
}
}
public class Block : Statement
{
public Block (ObjectInstance instance) : base (instance) {}
public Block (TypeScriptServiceBridge.TypeScript.ASTList @statements, bool @isStatementBlock)
: base (CallConstructor ("TypeScript", "Block", @statements != null ? @statements.Instance : null, @isStatementBlock))
{
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
[TypeScriptBridge ("addToControlFlow")]
public void AddToControlFlow (TypeScriptServiceBridge.TypeScript.ControlFlowContext @context)
{
Instance.CallMemberFunction ("addToControlFlow", @context != null ? @context.Instance : null);
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.Block TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.Block ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
}
public class Jump : Statement
{
public Jump (ObjectInstance instance) : base (instance) {}
public Jump (TypeScriptServiceBridge.TypeScript.NodeType @nodeType)
: base (CallConstructor ("TypeScript", "Jump", @nodeType))
{
}
[TypeScriptBridge ("target")]
public string Target {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("target")); }
set { Instance.SetPropertyValue ("target", value, true); }
}
[TypeScriptBridge ("resolvedTarget")]
public TypeScriptServiceBridge.TypeScript.Statement ResolvedTarget {
get { return new TypeScriptServiceBridge.TypeScript.Statement ((ObjectInstance) Instance.GetPropertyValue ("resolvedTarget")); }
set { Instance.SetPropertyValue ("resolvedTarget", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_target")]
public string Get_target ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_target"));
}
[TypeScriptBridge ("set_target")]
public void Set_target (string @value)
{
Instance.CallMemberFunction ("set_target", @value);
}
[TypeScriptBridge ("hasExplicitTarget")]
public string HasExplicitTarget ()
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("hasExplicitTarget"));
}
[TypeScriptBridge ("get_resolvedTarget")]
public TypeScriptServiceBridge.TypeScript.Statement Get_resolvedTarget ()
{
return new TypeScriptServiceBridge.TypeScript.Statement ((ObjectInstance) Instance.CallMemberFunction ("get_resolvedTarget"));
}
[TypeScriptBridge ("set_resolvedTarget")]
public void Set_resolvedTarget (TypeScriptServiceBridge.TypeScript.Statement @value)
{
Instance.CallMemberFunction ("set_resolvedTarget", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("setResolvedTarget")]
public bool SetResolvedTarget (TypeScriptServiceBridge.TypeScript.Parser @parser, TypeScriptServiceBridge.TypeScript.Statement @stmt)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("setResolvedTarget", @parser != null ? @parser.Instance : null, @stmt != null ? @stmt.Instance : null));
}
[TypeScriptBridge ("addToControlFlow")]
public void AddToControlFlow (TypeScriptServiceBridge.TypeScript.ControlFlowContext @context)
{
Instance.CallMemberFunction ("addToControlFlow", @context != null ? @context.Instance : null);
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
}
public class WhileStatement : Statement
{
public WhileStatement (ObjectInstance instance) : base (instance) {}
public WhileStatement (TypeScriptServiceBridge.TypeScript.AST @cond)
: base (CallConstructor ("TypeScript", "WhileStatement", @cond != null ? @cond.Instance : null))
{
}
[TypeScriptBridge ("body")]
public TypeScriptServiceBridge.TypeScript.AST Body {
get { return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.GetPropertyValue ("body")); }
set { Instance.SetPropertyValue ("body", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_body")]
public TypeScriptServiceBridge.TypeScript.AST Get_body ()
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("get_body"));
}
[TypeScriptBridge ("set_body")]
public void Set_body (TypeScriptServiceBridge.TypeScript.AST @value)
{
Instance.CallMemberFunction ("set_body", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("isLoop")]
public bool IsLoop ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isLoop"));
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.WhileStatement TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.WhileStatement ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
[TypeScriptBridge ("addToControlFlow")]
public void AddToControlFlow (TypeScriptServiceBridge.TypeScript.ControlFlowContext @context)
{
Instance.CallMemberFunction ("addToControlFlow", @context != null ? @context.Instance : null);
}
}
public class DoWhileStatement : Statement
{
public DoWhileStatement (ObjectInstance instance) : base (instance) {}
public DoWhileStatement ()
: base (CallConstructor ("TypeScript", "DoWhileStatement"))
{
}
[TypeScriptBridge ("body")]
public TypeScriptServiceBridge.TypeScript.AST Body {
get { return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.GetPropertyValue ("body")); }
set { Instance.SetPropertyValue ("body", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("whileAST")]
public TypeScriptServiceBridge.TypeScript.AST WhileAST {
get { return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.GetPropertyValue ("whileAST")); }
set { Instance.SetPropertyValue ("whileAST", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("cond")]
public TypeScriptServiceBridge.TypeScript.AST Cond {
get { return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.GetPropertyValue ("cond")); }
set { Instance.SetPropertyValue ("cond", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_body")]
public TypeScriptServiceBridge.TypeScript.AST Get_body ()
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("get_body"));
}
[TypeScriptBridge ("set_body")]
public void Set_body (TypeScriptServiceBridge.TypeScript.AST @value)
{
Instance.CallMemberFunction ("set_body", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_whileAST")]
public TypeScriptServiceBridge.TypeScript.AST Get_whileAST ()
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("get_whileAST"));
}
[TypeScriptBridge ("set_whileAST")]
public void Set_whileAST (TypeScriptServiceBridge.TypeScript.AST @value)
{
Instance.CallMemberFunction ("set_whileAST", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_cond")]
public TypeScriptServiceBridge.TypeScript.AST Get_cond ()
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("get_cond"));
}
[TypeScriptBridge ("set_cond")]
public void Set_cond (TypeScriptServiceBridge.TypeScript.AST @value)
{
Instance.CallMemberFunction ("set_cond", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("isLoop")]
public bool IsLoop ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isLoop"));
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.DoWhileStatement TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.DoWhileStatement ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
[TypeScriptBridge ("addToControlFlow")]
public void AddToControlFlow (TypeScriptServiceBridge.TypeScript.ControlFlowContext @context)
{
Instance.CallMemberFunction ("addToControlFlow", @context != null ? @context.Instance : null);
}
}
public class IfStatement : Statement
{
public IfStatement (ObjectInstance instance) : base (instance) {}
public IfStatement (TypeScriptServiceBridge.TypeScript.AST @cond)
: base (CallConstructor ("TypeScript", "IfStatement", @cond != null ? @cond.Instance : null))
{
}
[TypeScriptBridge ("thenBod")]
public TypeScriptServiceBridge.TypeScript.AST ThenBod {
get { return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.GetPropertyValue ("thenBod")); }
set { Instance.SetPropertyValue ("thenBod", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("elseBod")]
public TypeScriptServiceBridge.TypeScript.AST ElseBod {
get { return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.GetPropertyValue ("elseBod")); }
set { Instance.SetPropertyValue ("elseBod", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("statement")]
public TypeScriptServiceBridge.TypeScript.ASTSpan Statement {
get { return new TypeScriptServiceBridge.TypeScript.ASTSpan ((ObjectInstance) Instance.GetPropertyValue ("statement")); }
set { Instance.SetPropertyValue ("statement", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_thenBod")]
public TypeScriptServiceBridge.TypeScript.AST Get_thenBod ()
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("get_thenBod"));
}
[TypeScriptBridge ("set_thenBod")]
public void Set_thenBod (TypeScriptServiceBridge.TypeScript.AST @value)
{
Instance.CallMemberFunction ("set_thenBod", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_elseBod")]
public TypeScriptServiceBridge.TypeScript.AST Get_elseBod ()
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("get_elseBod"));
}
[TypeScriptBridge ("set_elseBod")]
public void Set_elseBod (TypeScriptServiceBridge.TypeScript.AST @value)
{
Instance.CallMemberFunction ("set_elseBod", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_statement")]
public TypeScriptServiceBridge.TypeScript.ASTSpan Get_statement ()
{
return new TypeScriptServiceBridge.TypeScript.ASTSpan ((ObjectInstance) Instance.CallMemberFunction ("get_statement"));
}
[TypeScriptBridge ("set_statement")]
public void Set_statement (TypeScriptServiceBridge.TypeScript.ASTSpan @value)
{
Instance.CallMemberFunction ("set_statement", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("isCompoundStatement")]
public bool IsCompoundStatement ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isCompoundStatement"));
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.IfStatement TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.IfStatement ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
[TypeScriptBridge ("addToControlFlow")]
public void AddToControlFlow (TypeScriptServiceBridge.TypeScript.ControlFlowContext @context)
{
Instance.CallMemberFunction ("addToControlFlow", @context != null ? @context.Instance : null);
}
}
public class ReturnStatement : Statement
{
public ReturnStatement (ObjectInstance instance) : base (instance) {}
public ReturnStatement ()
: base (CallConstructor ("TypeScript", "ReturnStatement"))
{
}
[TypeScriptBridge ("returnExpression")]
public TypeScriptServiceBridge.TypeScript.AST ReturnExpression {
get { return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.GetPropertyValue ("returnExpression")); }
set { Instance.SetPropertyValue ("returnExpression", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_returnExpression")]
public TypeScriptServiceBridge.TypeScript.AST Get_returnExpression ()
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("get_returnExpression"));
}
[TypeScriptBridge ("set_returnExpression")]
public void Set_returnExpression (TypeScriptServiceBridge.TypeScript.AST @value)
{
Instance.CallMemberFunction ("set_returnExpression", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
[TypeScriptBridge ("addToControlFlow")]
public void AddToControlFlow (TypeScriptServiceBridge.TypeScript.ControlFlowContext @context)
{
Instance.CallMemberFunction ("addToControlFlow", @context != null ? @context.Instance : null);
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.ReturnStatement TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.ReturnStatement ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
}
public class EndCode : AST
{
public EndCode (ObjectInstance instance) : base (instance) {}
public EndCode ()
: base (CallConstructor ("TypeScript", "EndCode"))
{
}
}
public class ForInStatement : Statement
{
public ForInStatement (ObjectInstance instance) : base (instance) {}
public ForInStatement (TypeScriptServiceBridge.TypeScript.AST @lval, TypeScriptServiceBridge.TypeScript.AST @obj)
: base (CallConstructor ("TypeScript", "ForInStatement", @lval != null ? @lval.Instance : null, @obj != null ? @obj.Instance : null))
{
}
[TypeScriptBridge ("statement")]
public TypeScriptServiceBridge.TypeScript.ASTSpan Statement {
get { return new TypeScriptServiceBridge.TypeScript.ASTSpan ((ObjectInstance) Instance.GetPropertyValue ("statement")); }
set { Instance.SetPropertyValue ("statement", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("body")]
public TypeScriptServiceBridge.TypeScript.AST Body {
get { return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.GetPropertyValue ("body")); }
set { Instance.SetPropertyValue ("body", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_statement")]
public TypeScriptServiceBridge.TypeScript.ASTSpan Get_statement ()
{
return new TypeScriptServiceBridge.TypeScript.ASTSpan ((ObjectInstance) Instance.CallMemberFunction ("get_statement"));
}
[TypeScriptBridge ("set_statement")]
public void Set_statement (TypeScriptServiceBridge.TypeScript.ASTSpan @value)
{
Instance.CallMemberFunction ("set_statement", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_body")]
public TypeScriptServiceBridge.TypeScript.AST Get_body ()
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("get_body"));
}
[TypeScriptBridge ("set_body")]
public void Set_body (TypeScriptServiceBridge.TypeScript.AST @value)
{
Instance.CallMemberFunction ("set_body", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("isLoop")]
public bool IsLoop ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isLoop"));
}
[TypeScriptBridge ("isFiltered")]
public bool IsFiltered ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isFiltered"));
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.ForInStatement TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.ForInStatement ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
[TypeScriptBridge ("addToControlFlow")]
public void AddToControlFlow (TypeScriptServiceBridge.TypeScript.ControlFlowContext @context)
{
Instance.CallMemberFunction ("addToControlFlow", @context != null ? @context.Instance : null);
}
}
public class ForStatement : Statement
{
public ForStatement (ObjectInstance instance) : base (instance) {}
public ForStatement (TypeScriptServiceBridge.TypeScript.AST @init)
: base (CallConstructor ("TypeScript", "ForStatement", @init != null ? @init.Instance : null))
{
}
[TypeScriptBridge ("cond")]
public TypeScriptServiceBridge.TypeScript.AST Cond {
get { return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.GetPropertyValue ("cond")); }
set { Instance.SetPropertyValue ("cond", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("body")]
public TypeScriptServiceBridge.TypeScript.AST Body {
get { return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.GetPropertyValue ("body")); }
set { Instance.SetPropertyValue ("body", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("incr")]
public TypeScriptServiceBridge.TypeScript.AST Incr {
get { return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.GetPropertyValue ("incr")); }
set { Instance.SetPropertyValue ("incr", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_cond")]
public TypeScriptServiceBridge.TypeScript.AST Get_cond ()
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("get_cond"));
}
[TypeScriptBridge ("set_cond")]
public void Set_cond (TypeScriptServiceBridge.TypeScript.AST @value)
{
Instance.CallMemberFunction ("set_cond", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_body")]
public TypeScriptServiceBridge.TypeScript.AST Get_body ()
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("get_body"));
}
[TypeScriptBridge ("set_body")]
public void Set_body (TypeScriptServiceBridge.TypeScript.AST @value)
{
Instance.CallMemberFunction ("set_body", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_incr")]
public TypeScriptServiceBridge.TypeScript.AST Get_incr ()
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("get_incr"));
}
[TypeScriptBridge ("set_incr")]
public void Set_incr (TypeScriptServiceBridge.TypeScript.AST @value)
{
Instance.CallMemberFunction ("set_incr", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("isLoop")]
public bool IsLoop ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isLoop"));
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.ForStatement TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.ForStatement ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
[TypeScriptBridge ("addToControlFlow")]
public void AddToControlFlow (TypeScriptServiceBridge.TypeScript.ControlFlowContext @context)
{
Instance.CallMemberFunction ("addToControlFlow", @context != null ? @context.Instance : null);
}
}
public class WithStatement : Statement
{
public WithStatement (ObjectInstance instance) : base (instance) {}
public WithStatement (TypeScriptServiceBridge.TypeScript.AST @expr)
: base (CallConstructor ("TypeScript", "WithStatement", @expr != null ? @expr.Instance : null))
{
}
[TypeScriptBridge ("body")]
public TypeScriptServiceBridge.TypeScript.AST Body {
get { return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.GetPropertyValue ("body")); }
set { Instance.SetPropertyValue ("body", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("withSym")]
public TypeScriptServiceBridge.TypeScript.WithSymbol WithSym {
get { return new TypeScriptServiceBridge.TypeScript.WithSymbol ((ObjectInstance) Instance.GetPropertyValue ("withSym")); }
set { Instance.SetPropertyValue ("withSym", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_body")]
public TypeScriptServiceBridge.TypeScript.AST Get_body ()
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("get_body"));
}
[TypeScriptBridge ("set_body")]
public void Set_body (TypeScriptServiceBridge.TypeScript.AST @value)
{
Instance.CallMemberFunction ("set_body", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("isCompoundStatement")]
public bool IsCompoundStatement ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isCompoundStatement"));
}
[TypeScriptBridge ("get_withSym")]
public TypeScriptServiceBridge.TypeScript.WithSymbol Get_withSym ()
{
return new TypeScriptServiceBridge.TypeScript.WithSymbol ((ObjectInstance) Instance.CallMemberFunction ("get_withSym"));
}
[TypeScriptBridge ("set_withSym")]
public void Set_withSym (TypeScriptServiceBridge.TypeScript.WithSymbol @value)
{
Instance.CallMemberFunction ("set_withSym", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.WithStatement TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.WithStatement ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
}
public class SwitchStatement : Statement
{
public SwitchStatement (ObjectInstance instance) : base (instance) {}
public SwitchStatement (TypeScriptServiceBridge.TypeScript.AST @val)
: base (CallConstructor ("TypeScript", "SwitchStatement", @val != null ? @val.Instance : null))
{
}
[TypeScriptBridge ("caseList")]
public TypeScriptServiceBridge.TypeScript.ASTList CaseList {
get { return new TypeScriptServiceBridge.TypeScript.ASTList ((ObjectInstance) Instance.GetPropertyValue ("caseList")); }
set { Instance.SetPropertyValue ("caseList", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("defaultCase")]
public TypeScriptServiceBridge.TypeScript.CaseStatement DefaultCase {
get { return new TypeScriptServiceBridge.TypeScript.CaseStatement ((ObjectInstance) Instance.GetPropertyValue ("defaultCase")); }
set { Instance.SetPropertyValue ("defaultCase", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("statement")]
public TypeScriptServiceBridge.TypeScript.ASTSpan Statement {
get { return new TypeScriptServiceBridge.TypeScript.ASTSpan ((ObjectInstance) Instance.GetPropertyValue ("statement")); }
set { Instance.SetPropertyValue ("statement", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_caseList")]
public TypeScriptServiceBridge.TypeScript.ASTList Get_caseList ()
{
return new TypeScriptServiceBridge.TypeScript.ASTList ((ObjectInstance) Instance.CallMemberFunction ("get_caseList"));
}
[TypeScriptBridge ("set_caseList")]
public void Set_caseList (TypeScriptServiceBridge.TypeScript.ASTList @value)
{
Instance.CallMemberFunction ("set_caseList", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_defaultCase")]
public TypeScriptServiceBridge.TypeScript.CaseStatement Get_defaultCase ()
{
return new TypeScriptServiceBridge.TypeScript.CaseStatement ((ObjectInstance) Instance.CallMemberFunction ("get_defaultCase"));
}
[TypeScriptBridge ("set_defaultCase")]
public void Set_defaultCase (TypeScriptServiceBridge.TypeScript.CaseStatement @value)
{
Instance.CallMemberFunction ("set_defaultCase", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_statement")]
public TypeScriptServiceBridge.TypeScript.ASTSpan Get_statement ()
{
return new TypeScriptServiceBridge.TypeScript.ASTSpan ((ObjectInstance) Instance.CallMemberFunction ("get_statement"));
}
[TypeScriptBridge ("set_statement")]
public void Set_statement (TypeScriptServiceBridge.TypeScript.ASTSpan @value)
{
Instance.CallMemberFunction ("set_statement", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("isCompoundStatement")]
public bool IsCompoundStatement ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isCompoundStatement"));
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.SwitchStatement TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.SwitchStatement ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
[TypeScriptBridge ("addToControlFlow")]
public void AddToControlFlow (TypeScriptServiceBridge.TypeScript.ControlFlowContext @context)
{
Instance.CallMemberFunction ("addToControlFlow", @context != null ? @context.Instance : null);
}
}
public class CaseStatement : Statement
{
public CaseStatement (ObjectInstance instance) : base (instance) {}
public CaseStatement ()
: base (CallConstructor ("TypeScript", "CaseStatement"))
{
}
[TypeScriptBridge ("expr")]
public TypeScriptServiceBridge.TypeScript.AST Expr {
get { return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.GetPropertyValue ("expr")); }
set { Instance.SetPropertyValue ("expr", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("body")]
public TypeScriptServiceBridge.TypeScript.ASTList Body {
get { return new TypeScriptServiceBridge.TypeScript.ASTList ((ObjectInstance) Instance.GetPropertyValue ("body")); }
set { Instance.SetPropertyValue ("body", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_expr")]
public TypeScriptServiceBridge.TypeScript.AST Get_expr ()
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("get_expr"));
}
[TypeScriptBridge ("set_expr")]
public void Set_expr (TypeScriptServiceBridge.TypeScript.AST @value)
{
Instance.CallMemberFunction ("set_expr", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_body")]
public TypeScriptServiceBridge.TypeScript.ASTList Get_body ()
{
return new TypeScriptServiceBridge.TypeScript.ASTList ((ObjectInstance) Instance.CallMemberFunction ("get_body"));
}
[TypeScriptBridge ("set_body")]
public void Set_body (TypeScriptServiceBridge.TypeScript.ASTList @value)
{
Instance.CallMemberFunction ("set_body", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.CaseStatement TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.CaseStatement ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
[TypeScriptBridge ("addToControlFlow")]
public void AddToControlFlow (TypeScriptServiceBridge.TypeScript.ControlFlowContext @context)
{
Instance.CallMemberFunction ("addToControlFlow", @context != null ? @context.Instance : null);
}
}
public class TypeReference : AST
{
public TypeReference (ObjectInstance instance) : base (instance) {}
public TypeReference (TypeScriptServiceBridge.TypeScript.AST @term, double @arrayCount)
: base (CallConstructor ("TypeScript", "TypeReference", @term != null ? @term.Instance : null, @arrayCount))
{
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.TypeReference TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.TypeReference ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
}
public class TryFinally : Statement
{
public TryFinally (ObjectInstance instance) : base (instance) {}
public TryFinally (TypeScriptServiceBridge.TypeScript.AST @tryNode, TypeScriptServiceBridge.TypeScript.Finally @finallyNode)
: base (CallConstructor ("TypeScript", "TryFinally", @tryNode != null ? @tryNode.Instance : null, @finallyNode != null ? @finallyNode.Instance : null))
{
}
[TypeScriptBridge ("isCompoundStatement")]
public bool IsCompoundStatement ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isCompoundStatement"));
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.TryFinally TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.TryFinally ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
[TypeScriptBridge ("addToControlFlow")]
public void AddToControlFlow (TypeScriptServiceBridge.TypeScript.ControlFlowContext @context)
{
Instance.CallMemberFunction ("addToControlFlow", @context != null ? @context.Instance : null);
}
}
public class TryCatch : Statement
{
public TryCatch (ObjectInstance instance) : base (instance) {}
public TryCatch (TypeScriptServiceBridge.TypeScript.Try @tryNode, TypeScriptServiceBridge.TypeScript.Catch @catchNode)
: base (CallConstructor ("TypeScript", "TryCatch", @tryNode != null ? @tryNode.Instance : null, @catchNode != null ? @catchNode.Instance : null))
{
}
[TypeScriptBridge ("isCompoundStatement")]
public bool IsCompoundStatement ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("isCompoundStatement"));
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
[TypeScriptBridge ("addToControlFlow")]
public void AddToControlFlow (TypeScriptServiceBridge.TypeScript.ControlFlowContext @context)
{
Instance.CallMemberFunction ("addToControlFlow", @context != null ? @context.Instance : null);
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.TryCatch TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.TryCatch ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
}
public class Try : Statement
{
public Try (ObjectInstance instance) : base (instance) {}
public Try (TypeScriptServiceBridge.TypeScript.AST @body)
: base (CallConstructor ("TypeScript", "Try", @body != null ? @body.Instance : null))
{
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.Try TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.Try ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
[TypeScriptBridge ("addToControlFlow")]
public void AddToControlFlow (TypeScriptServiceBridge.TypeScript.ControlFlowContext @context)
{
Instance.CallMemberFunction ("addToControlFlow", @context != null ? @context.Instance : null);
}
}
public class Catch : Statement
{
public Catch (ObjectInstance instance) : base (instance) {}
public Catch (TypeScriptServiceBridge.TypeScript.VarDecl @param, TypeScriptServiceBridge.TypeScript.AST @body)
: base (CallConstructor ("TypeScript", "Catch", @param != null ? @param.Instance : null, @body != null ? @body.Instance : null))
{
}
[TypeScriptBridge ("statement")]
public TypeScriptServiceBridge.TypeScript.ASTSpan Statement {
get { return new TypeScriptServiceBridge.TypeScript.ASTSpan ((ObjectInstance) Instance.GetPropertyValue ("statement")); }
set { Instance.SetPropertyValue ("statement", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("containedScope")]
public TypeScriptServiceBridge.TypeScript.SymbolScope ContainedScope {
get { return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.GetPropertyValue ("containedScope")); }
set { Instance.SetPropertyValue ("containedScope", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_statement")]
public TypeScriptServiceBridge.TypeScript.ASTSpan Get_statement ()
{
return new TypeScriptServiceBridge.TypeScript.ASTSpan ((ObjectInstance) Instance.CallMemberFunction ("get_statement"));
}
[TypeScriptBridge ("set_statement")]
public void Set_statement (TypeScriptServiceBridge.TypeScript.ASTSpan @value)
{
Instance.CallMemberFunction ("set_statement", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_containedScope")]
public TypeScriptServiceBridge.TypeScript.SymbolScope Get_containedScope ()
{
return new TypeScriptServiceBridge.TypeScript.SymbolScope ((ObjectInstance) Instance.CallMemberFunction ("get_containedScope"));
}
[TypeScriptBridge ("set_containedScope")]
public void Set_containedScope (TypeScriptServiceBridge.TypeScript.SymbolScope @value)
{
Instance.CallMemberFunction ("set_containedScope", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
[TypeScriptBridge ("addToControlFlow")]
public void AddToControlFlow (TypeScriptServiceBridge.TypeScript.ControlFlowContext @context)
{
Instance.CallMemberFunction ("addToControlFlow", @context != null ? @context.Instance : null);
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.Catch TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.Catch ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
}
public class Finally : Statement
{
public Finally (ObjectInstance instance) : base (instance) {}
public Finally (TypeScriptServiceBridge.TypeScript.AST @body)
: base (CallConstructor ("TypeScript", "Finally", @body != null ? @body.Instance : null))
{
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
[TypeScriptBridge ("addToControlFlow")]
public void AddToControlFlow (TypeScriptServiceBridge.TypeScript.ControlFlowContext @context)
{
Instance.CallMemberFunction ("addToControlFlow", @context != null ? @context.Instance : null);
}
[TypeScriptBridge ("typeCheck")]
public TypeScriptServiceBridge.TypeScript.Finally TypeCheck (TypeScriptServiceBridge.TypeScript.TypeFlow @typeFlow)
{
return new TypeScriptServiceBridge.TypeScript.Finally ((ObjectInstance) Instance.CallMemberFunction ("typeCheck", @typeFlow != null ? @typeFlow.Instance : null));
}
}
public class Comment : AST
{
public Comment (ObjectInstance instance) : base (instance) {}
public Comment (string @content, bool @isBlockComment, System.Object @endsLine)
: base (CallConstructor ("TypeScript", "Comment", @content, @isBlockComment, @endsLine))
{
}
[TypeScriptBridge ("text")]
public ArrayInstance Text {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("text")); }
set { Instance.SetPropertyValue ("text", value, true); }
}
[TypeScriptBridge ("get_text")]
public ArrayInstance Get_text ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_text"));
}
[TypeScriptBridge ("set_text")]
public void Set_text (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_text", @value);
}
[TypeScriptBridge ("getText")]
public ArrayInstance GetText ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getText"));
}
}
public class DebuggerStatement : Statement
{
public DebuggerStatement (ObjectInstance instance) : base (instance) {}
public DebuggerStatement ()
: base (CallConstructor ("TypeScript", "DebuggerStatement"))
{
}
[TypeScriptBridge ("emit")]
public void Emit (TypeScriptServiceBridge.TypeScript.Emitter @emitter, TypeScriptServiceBridge.TypeScript.TokenID @tokenId, bool @startLine)
{
Instance.CallMemberFunction ("emit", @emitter != null ? @emitter.Instance : null, @tokenId, @startLine);
}
}
}
namespace TypeScriptServiceBridge.TypeScript.AstWalkerWithDetailCallback
{
public interface AstWalkerDetailCallback : ITypeScriptObject
{
}
public class AstWalkerDetailCallback_Impl : TypeScriptObject, AstWalkerDetailCallback
{
public AstWalkerDetailCallback_Impl (ObjectInstance instance) : base (instance) {}
}
}
namespace TypeScriptServiceBridge.Tools
{
public interface IWalkContext : ITypeScriptObject
{
[TypeScriptBridge ("goChildren")]
bool GoChildren { get; set; }
[TypeScriptBridge ("goNextSibling")]
bool GoNextSibling { get; set; }
[TypeScriptBridge ("reverseSiblings")]
bool ReverseSiblings { get; set; }
[TypeScriptBridge ("get_goChildren")]
bool Get_goChildren ();
[TypeScriptBridge ("set_goChildren")]
void Set_goChildren (bool @value);
[TypeScriptBridge ("get_goNextSibling")]
bool Get_goNextSibling ();
[TypeScriptBridge ("set_goNextSibling")]
void Set_goNextSibling (bool @value);
[TypeScriptBridge ("get_reverseSiblings")]
bool Get_reverseSiblings ();
[TypeScriptBridge ("set_reverseSiblings")]
void Set_reverseSiblings (bool @value);
}
public class IWalkContext_Impl : TypeScriptObject, IWalkContext
{
public IWalkContext_Impl (ObjectInstance instance) : base (instance) {}
[TypeScriptBridge ("goChildren")]
public bool GoChildren {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("goChildren")); }
set { Instance.SetPropertyValue ("goChildren", value, true); }
}
[TypeScriptBridge ("goNextSibling")]
public bool GoNextSibling {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("goNextSibling")); }
set { Instance.SetPropertyValue ("goNextSibling", value, true); }
}
[TypeScriptBridge ("reverseSiblings")]
public bool ReverseSiblings {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("reverseSiblings")); }
set { Instance.SetPropertyValue ("reverseSiblings", value, true); }
}
[TypeScriptBridge ("get_goChildren")]
public bool Get_goChildren ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_goChildren"));
}
[TypeScriptBridge ("set_goChildren")]
public void Set_goChildren (bool @value)
{
Instance.CallMemberFunction ("set_goChildren", @value);
}
[TypeScriptBridge ("get_goNextSibling")]
public bool Get_goNextSibling ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_goNextSibling"));
}
[TypeScriptBridge ("set_goNextSibling")]
public void Set_goNextSibling (bool @value)
{
Instance.CallMemberFunction ("set_goNextSibling", @value);
}
[TypeScriptBridge ("get_reverseSiblings")]
public bool Get_reverseSiblings ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_reverseSiblings"));
}
[TypeScriptBridge ("set_reverseSiblings")]
public void Set_reverseSiblings (bool @value)
{
Instance.CallMemberFunction ("set_reverseSiblings", @value);
}
}
public class BaseWalkContext : TypeScriptObject
, IWalkContext
{
public BaseWalkContext (ObjectInstance instance) : base (instance) {}
public BaseWalkContext ()
: base (CallConstructor ("Tools", "BaseWalkContext"))
{
}
[TypeScriptBridge ("goChildren")]
public bool GoChildren {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("goChildren")); }
set { Instance.SetPropertyValue ("goChildren", value, true); }
}
[TypeScriptBridge ("goNextSibling")]
public bool GoNextSibling {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("goNextSibling")); }
set { Instance.SetPropertyValue ("goNextSibling", value, true); }
}
[TypeScriptBridge ("reverseSiblings")]
public bool ReverseSiblings {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("reverseSiblings")); }
set { Instance.SetPropertyValue ("reverseSiblings", value, true); }
}
[TypeScriptBridge ("get_goChildren")]
public bool Get_goChildren ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_goChildren"));
}
[TypeScriptBridge ("set_goChildren")]
public void Set_goChildren (bool @value)
{
Instance.CallMemberFunction ("set_goChildren", @value);
}
[TypeScriptBridge ("get_goNextSibling")]
public bool Get_goNextSibling ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_goNextSibling"));
}
[TypeScriptBridge ("set_goNextSibling")]
public void Set_goNextSibling (bool @value)
{
Instance.CallMemberFunction ("set_goNextSibling", @value);
}
[TypeScriptBridge ("get_reverseSiblings")]
public bool Get_reverseSiblings ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_reverseSiblings"));
}
[TypeScriptBridge ("set_reverseSiblings")]
public void Set_reverseSiblings (bool @value)
{
Instance.CallMemberFunction ("set_reverseSiblings", @value);
}
bool TypeScriptServiceBridge.Tools.IWalkContext.GoChildren {
get { return (bool) GoChildren; }
set { GoChildren = (bool) value; }
}
bool TypeScriptServiceBridge.Tools.IWalkContext.GoNextSibling {
get { return (bool) GoNextSibling; }
set { GoNextSibling = (bool) value; }
}
bool TypeScriptServiceBridge.Tools.IWalkContext.ReverseSiblings {
get { return (bool) ReverseSiblings; }
set { ReverseSiblings = (bool) value; }
}
bool TypeScriptServiceBridge.Tools.IWalkContext.Get_goChildren ()
{
return (bool) Get_goChildren ();
}
void TypeScriptServiceBridge.Tools.IWalkContext.Set_goChildren (bool @value)
{
Set_goChildren ((bool) @value);
}
bool TypeScriptServiceBridge.Tools.IWalkContext.Get_goNextSibling ()
{
return (bool) Get_goNextSibling ();
}
void TypeScriptServiceBridge.Tools.IWalkContext.Set_goNextSibling (bool @value)
{
Set_goNextSibling ((bool) @value);
}
bool TypeScriptServiceBridge.Tools.IWalkContext.Get_reverseSiblings ()
{
return (bool) Get_reverseSiblings ();
}
void TypeScriptServiceBridge.Tools.IWalkContext.Set_reverseSiblings (bool @value)
{
Set_reverseSiblings ((bool) @value);
}
}
}
namespace TypeScriptServiceBridge.Services
{
public class Classifier : TypeScriptObject
{
public Classifier (ObjectInstance instance) : base (instance) {}
public Classifier (TypeScriptServiceBridge.Services.IClassifierHost @host)
: base (CallConstructor ("Services", "Classifier", @host != null ? @host.Instance : null))
{
}
[TypeScriptBridge ("host")]
public TypeScriptServiceBridge.Services.IClassifierHost Host {
get { return new TypeScriptServiceBridge.Services.IClassifierHost_Impl ((ObjectInstance) Instance.GetPropertyValue ("host")); }
set { Instance.SetPropertyValue ("host", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_host")]
public TypeScriptServiceBridge.Services.IClassifierHost Get_host ()
{
return new TypeScriptServiceBridge.Services.IClassifierHost_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_host"));
}
[TypeScriptBridge ("set_host")]
public void Set_host (TypeScriptServiceBridge.Services.IClassifierHost @value)
{
Instance.CallMemberFunction ("set_host", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("getClassificationsForLine")]
public TypeScriptServiceBridge.Services.ClassificationResult GetClassificationsForLine (string @text, TypeScriptServiceBridge.TypeScript.LexState @lexState)
{
return new TypeScriptServiceBridge.Services.ClassificationResult ((ObjectInstance) Instance.CallMemberFunction ("getClassificationsForLine", @text, @lexState));
}
}
public interface IClassifierHost : ITypeScriptObject
{
}
public class IClassifierHost_Impl : TypeScriptObject, IClassifierHost
{
public IClassifierHost_Impl (ObjectInstance instance) : base (instance) {}
}
public class ClassificationResult : TypeScriptObject
{
public ClassificationResult (ObjectInstance instance) : base (instance) {}
public ClassificationResult ()
: base (CallConstructor ("Services", "ClassificationResult"))
{
}
[TypeScriptBridge ("initialState")]
public TypeScriptServiceBridge.TypeScript.LexState InitialState {
get { return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.LexState> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("initialState")); }
set { Instance.SetPropertyValue ("initialState", value, true); }
}
[TypeScriptBridge ("finalLexState")]
public TypeScriptServiceBridge.TypeScript.LexState FinalLexState {
get { return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.LexState> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("finalLexState")); }
set { Instance.SetPropertyValue ("finalLexState", value, true); }
}
[TypeScriptBridge ("entries")]
public ArrayInstance Entries {
get { return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("entries")); }
set { Instance.SetPropertyValue ("entries", value, true); }
}
[TypeScriptBridge ("get_initialState")]
public TypeScriptServiceBridge.TypeScript.LexState Get_initialState ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.LexState> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_initialState"));
}
[TypeScriptBridge ("set_initialState")]
public void Set_initialState (TypeScriptServiceBridge.TypeScript.LexState @value)
{
Instance.CallMemberFunction ("set_initialState", @value);
}
[TypeScriptBridge ("get_finalLexState")]
public TypeScriptServiceBridge.TypeScript.LexState Get_finalLexState ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.LexState> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_finalLexState"));
}
[TypeScriptBridge ("set_finalLexState")]
public void Set_finalLexState (TypeScriptServiceBridge.TypeScript.LexState @value)
{
Instance.CallMemberFunction ("set_finalLexState", @value);
}
[TypeScriptBridge ("get_entries")]
public ArrayInstance Get_entries ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_entries"));
}
[TypeScriptBridge ("set_entries")]
public void Set_entries (ArrayInstance @value)
{
Instance.CallMemberFunction ("set_entries", @value);
}
}
public class ClassificationInfo : TypeScriptObject
{
public ClassificationInfo (ObjectInstance instance) : base (instance) {}
public ClassificationInfo (double @length, TypeScriptServiceBridge.TypeScript.TokenClass @classification)
: base (CallConstructor ("Services", "ClassificationInfo", @length, @classification))
{
}
[TypeScriptBridge ("length")]
public double Length {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("length")); }
set { Instance.SetPropertyValue ("length", value, true); }
}
[TypeScriptBridge ("classification")]
public TypeScriptServiceBridge.TypeScript.TokenClass Classification {
get { return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.TokenClass> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("classification")); }
set { Instance.SetPropertyValue ("classification", value, true); }
}
[TypeScriptBridge ("get_length")]
public double Get_length ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_length"));
}
[TypeScriptBridge ("set_length")]
public void Set_length (double @value)
{
Instance.CallMemberFunction ("set_length", @value);
}
[TypeScriptBridge ("get_classification")]
public TypeScriptServiceBridge.TypeScript.TokenClass Get_classification ()
{
return TypeConverter.ConvertTo<TypeScriptServiceBridge.TypeScript.TokenClass> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_classification"));
}
[TypeScriptBridge ("set_classification")]
public void Set_classification (TypeScriptServiceBridge.TypeScript.TokenClass @value)
{
Instance.CallMemberFunction ("set_classification", @value);
}
}
public interface ILanguageService : ITypeScriptObject
{
[TypeScriptBridge ("host")]
TypeScriptServiceBridge.Services.ILanguageServiceHost Host { get; set; }
[TypeScriptBridge ("get_host")]
TypeScriptServiceBridge.Services.ILanguageServiceHost Get_host ();
[TypeScriptBridge ("set_host")]
void Set_host (TypeScriptServiceBridge.Services.ILanguageServiceHost @value);
[TypeScriptBridge ("refresh")]
void Refresh ();
[TypeScriptBridge ("logAST")]
void LogAST (string @fileName);
[TypeScriptBridge ("logSyntaxAST")]
void LogSyntaxAST (string @fileName);
[TypeScriptBridge ("getErrors")]
ArrayInstance GetErrors (double @maxCount);
[TypeScriptBridge ("getScriptAST")]
TypeScriptServiceBridge.TypeScript.Script GetScriptAST (string @fileName);
[TypeScriptBridge ("getScriptErrors")]
ArrayInstance GetScriptErrors (string @fileName, double @maxCount);
[TypeScriptBridge ("getCompletionsAtPosition")]
TypeScriptServiceBridge.Services.CompletionInfo GetCompletionsAtPosition (string @fileName, double @pos, bool @isMemberCompletion);
[TypeScriptBridge ("getTypeAtPosition")]
TypeScriptServiceBridge.Services.TypeInfo GetTypeAtPosition (string @fileName, double @pos);
[TypeScriptBridge ("getNameOrDottedNameSpan")]
TypeScriptServiceBridge.Services.SpanInfo GetNameOrDottedNameSpan (string @fileName, double @startPos, double @endPos);
[TypeScriptBridge ("getBreakpointStatementAtPosition")]
TypeScriptServiceBridge.Services.SpanInfo GetBreakpointStatementAtPosition (string @fileName, double @pos);
[TypeScriptBridge ("getSignatureAtPosition")]
TypeScriptServiceBridge.Services.SignatureInfo GetSignatureAtPosition (string @fileName, double @pos);
[TypeScriptBridge ("getDefinitionAtPosition")]
TypeScriptServiceBridge.Services.DefinitionInfo GetDefinitionAtPosition (string @fileName, double @pos);
[TypeScriptBridge ("getReferencesAtPosition")]
ArrayInstance GetReferencesAtPosition (string @fileName, double @pos);
[TypeScriptBridge ("getOccurrencesAtPosition")]
ArrayInstance GetOccurrencesAtPosition (string @fileName, double @pos);
[TypeScriptBridge ("getImplementorsAtPosition")]
ArrayInstance GetImplementorsAtPosition (string @fileName, double @pos);
[TypeScriptBridge ("getNavigateToItems")]
ArrayInstance GetNavigateToItems (string @searchValue);
[TypeScriptBridge ("getScriptLexicalStructure")]
ArrayInstance GetScriptLexicalStructure (string @fileName);
[TypeScriptBridge ("getOutliningRegions")]
ArrayInstance GetOutliningRegions (string @fileName);
[TypeScriptBridge ("getScriptSyntaxAST")]
TypeScriptServiceBridge.Services.ScriptSyntaxAST GetScriptSyntaxAST (string @fileName);
[TypeScriptBridge ("getFormattingEditsForRange")]
ArrayInstance GetFormattingEditsForRange (string @fileName, double @minChar, double @limChar, TypeScriptServiceBridge.Services.FormatCodeOptions @options);
[TypeScriptBridge ("getFormattingEditsAfterKeystroke")]
ArrayInstance GetFormattingEditsAfterKeystroke (string @fileName, double @position, string @key, TypeScriptServiceBridge.Services.FormatCodeOptions @options);
[TypeScriptBridge ("getBraceMatchingAtPosition")]
ArrayInstance GetBraceMatchingAtPosition (string @fileName, double @position);
[TypeScriptBridge ("getSmartIndentAtLineNumber")]
double GetSmartIndentAtLineNumber (string @fileName, double @lineNumber, TypeScriptServiceBridge.Services.EditorOptions @options);
[TypeScriptBridge ("getAstPathToPosition")]
TypeScriptServiceBridge.TypeScript.AstPath GetAstPathToPosition (TypeScriptServiceBridge.TypeScript.AST @script, double @pos, TypeScriptServiceBridge.TypeScript.GetAstPathOptions @options);
[TypeScriptBridge ("getIdentifierPathToPosition")]
TypeScriptServiceBridge.TypeScript.AstPath GetIdentifierPathToPosition (TypeScriptServiceBridge.TypeScript.AST @script, double @pos);
[TypeScriptBridge ("getSymbolAtPosition")]
TypeScriptServiceBridge.TypeScript.Symbol GetSymbolAtPosition (TypeScriptServiceBridge.TypeScript.AST @script, double @pos);
[TypeScriptBridge ("getSymbolTree")]
TypeScriptServiceBridge.Services.ISymbolTree GetSymbolTree ();
}
public class ILanguageService_Impl : TypeScriptObject, ILanguageService
{
public ILanguageService_Impl (ObjectInstance instance) : base (instance) {}
[TypeScriptBridge ("host")]
public TypeScriptServiceBridge.Services.ILanguageServiceHost Host {
get { return new TypeScriptServiceBridge.Services.ILanguageServiceHost_Impl ((ObjectInstance) Instance.GetPropertyValue ("host")); }
set { Instance.SetPropertyValue ("host", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("get_host")]
public TypeScriptServiceBridge.Services.ILanguageServiceHost Get_host ()
{
return new TypeScriptServiceBridge.Services.ILanguageServiceHost_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_host"));
}
[TypeScriptBridge ("set_host")]
public void Set_host (TypeScriptServiceBridge.Services.ILanguageServiceHost @value)
{
Instance.CallMemberFunction ("set_host", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("refresh")]
public void Refresh ()
{
Instance.CallMemberFunction ("refresh");
}
[TypeScriptBridge ("logAST")]
public void LogAST (string @fileName)
{
Instance.CallMemberFunction ("logAST", @fileName);
}
[TypeScriptBridge ("logSyntaxAST")]
public void LogSyntaxAST (string @fileName)
{
Instance.CallMemberFunction ("logSyntaxAST", @fileName);
}
[TypeScriptBridge ("getErrors")]
public ArrayInstance GetErrors (double @maxCount)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getErrors", @maxCount));
}
[TypeScriptBridge ("getScriptAST")]
public TypeScriptServiceBridge.TypeScript.Script GetScriptAST (string @fileName)
{
return new TypeScriptServiceBridge.TypeScript.Script ((ObjectInstance) Instance.CallMemberFunction ("getScriptAST", @fileName));
}
[TypeScriptBridge ("getScriptErrors")]
public ArrayInstance GetScriptErrors (string @fileName, double @maxCount)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getScriptErrors", @fileName, @maxCount));
}
[TypeScriptBridge ("getCompletionsAtPosition")]
public TypeScriptServiceBridge.Services.CompletionInfo GetCompletionsAtPosition (string @fileName, double @pos, bool @isMemberCompletion)
{
return new TypeScriptServiceBridge.Services.CompletionInfo ((ObjectInstance) Instance.CallMemberFunction ("getCompletionsAtPosition", @fileName, @pos, @isMemberCompletion));
}
[TypeScriptBridge ("getTypeAtPosition")]
public TypeScriptServiceBridge.Services.TypeInfo GetTypeAtPosition (string @fileName, double @pos)
{
return new TypeScriptServiceBridge.Services.TypeInfo ((ObjectInstance) Instance.CallMemberFunction ("getTypeAtPosition", @fileName, @pos));
}
[TypeScriptBridge ("getNameOrDottedNameSpan")]
public TypeScriptServiceBridge.Services.SpanInfo GetNameOrDottedNameSpan (string @fileName, double @startPos, double @endPos)
{
return new TypeScriptServiceBridge.Services.SpanInfo ((ObjectInstance) Instance.CallMemberFunction ("getNameOrDottedNameSpan", @fileName, @startPos, @endPos));
}
[TypeScriptBridge ("getBreakpointStatementAtPosition")]
public TypeScriptServiceBridge.Services.SpanInfo GetBreakpointStatementAtPosition (string @fileName, double @pos)
{
return new TypeScriptServiceBridge.Services.SpanInfo ((ObjectInstance) Instance.CallMemberFunction ("getBreakpointStatementAtPosition", @fileName, @pos));
}
[TypeScriptBridge ("getSignatureAtPosition")]
public TypeScriptServiceBridge.Services.SignatureInfo GetSignatureAtPosition (string @fileName, double @pos)
{
return new TypeScriptServiceBridge.Services.SignatureInfo ((ObjectInstance) Instance.CallMemberFunction ("getSignatureAtPosition", @fileName, @pos));
}
[TypeScriptBridge ("getDefinitionAtPosition")]
public TypeScriptServiceBridge.Services.DefinitionInfo GetDefinitionAtPosition (string @fileName, double @pos)
{
return new TypeScriptServiceBridge.Services.DefinitionInfo ((ObjectInstance) Instance.CallMemberFunction ("getDefinitionAtPosition", @fileName, @pos));
}
[TypeScriptBridge ("getReferencesAtPosition")]
public ArrayInstance GetReferencesAtPosition (string @fileName, double @pos)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getReferencesAtPosition", @fileName, @pos));
}
[TypeScriptBridge ("getOccurrencesAtPosition")]
public ArrayInstance GetOccurrencesAtPosition (string @fileName, double @pos)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getOccurrencesAtPosition", @fileName, @pos));
}
[TypeScriptBridge ("getImplementorsAtPosition")]
public ArrayInstance GetImplementorsAtPosition (string @fileName, double @pos)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getImplementorsAtPosition", @fileName, @pos));
}
[TypeScriptBridge ("getNavigateToItems")]
public ArrayInstance GetNavigateToItems (string @searchValue)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getNavigateToItems", @searchValue));
}
[TypeScriptBridge ("getScriptLexicalStructure")]
public ArrayInstance GetScriptLexicalStructure (string @fileName)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getScriptLexicalStructure", @fileName));
}
[TypeScriptBridge ("getOutliningRegions")]
public ArrayInstance GetOutliningRegions (string @fileName)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getOutliningRegions", @fileName));
}
[TypeScriptBridge ("getScriptSyntaxAST")]
public TypeScriptServiceBridge.Services.ScriptSyntaxAST GetScriptSyntaxAST (string @fileName)
{
return new TypeScriptServiceBridge.Services.ScriptSyntaxAST ((ObjectInstance) Instance.CallMemberFunction ("getScriptSyntaxAST", @fileName));
}
[TypeScriptBridge ("getFormattingEditsForRange")]
public ArrayInstance GetFormattingEditsForRange (string @fileName, double @minChar, double @limChar, TypeScriptServiceBridge.Services.FormatCodeOptions @options)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getFormattingEditsForRange", @fileName, @minChar, @limChar, @options != null ? @options.Instance : null));
}
[TypeScriptBridge ("getFormattingEditsAfterKeystroke")]
public ArrayInstance GetFormattingEditsAfterKeystroke (string @fileName, double @position, string @key, TypeScriptServiceBridge.Services.FormatCodeOptions @options)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getFormattingEditsAfterKeystroke", @fileName, @position, @key, @options != null ? @options.Instance : null));
}
[TypeScriptBridge ("getBraceMatchingAtPosition")]
public ArrayInstance GetBraceMatchingAtPosition (string @fileName, double @position)
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getBraceMatchingAtPosition", @fileName, @position));
}
[TypeScriptBridge ("getSmartIndentAtLineNumber")]
public double GetSmartIndentAtLineNumber (string @fileName, double @lineNumber, TypeScriptServiceBridge.Services.EditorOptions @options)
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getSmartIndentAtLineNumber", @fileName, @lineNumber, @options != null ? @options.Instance : null));
}
[TypeScriptBridge ("getAstPathToPosition")]
public TypeScriptServiceBridge.TypeScript.AstPath GetAstPathToPosition (TypeScriptServiceBridge.TypeScript.AST @script, double @pos, TypeScriptServiceBridge.TypeScript.GetAstPathOptions @options)
{
return new TypeScriptServiceBridge.TypeScript.AstPath ((ObjectInstance) Instance.CallMemberFunction ("getAstPathToPosition", @script != null ? @script.Instance : null, @pos, @options));
}
[TypeScriptBridge ("getIdentifierPathToPosition")]
public TypeScriptServiceBridge.TypeScript.AstPath GetIdentifierPathToPosition (TypeScriptServiceBridge.TypeScript.AST @script, double @pos)
{
return new TypeScriptServiceBridge.TypeScript.AstPath ((ObjectInstance) Instance.CallMemberFunction ("getIdentifierPathToPosition", @script != null ? @script.Instance : null, @pos));
}
[TypeScriptBridge ("getSymbolAtPosition")]
public TypeScriptServiceBridge.TypeScript.Symbol GetSymbolAtPosition (TypeScriptServiceBridge.TypeScript.AST @script, double @pos)
{
return new TypeScriptServiceBridge.TypeScript.Symbol ((ObjectInstance) Instance.CallMemberFunction ("getSymbolAtPosition", @script != null ? @script.Instance : null, @pos));
}
[TypeScriptBridge ("getSymbolTree")]
public TypeScriptServiceBridge.Services.ISymbolTree GetSymbolTree ()
{
return new TypeScriptServiceBridge.Services.ISymbolTree_Impl ((ObjectInstance) Instance.CallMemberFunction ("getSymbolTree"));
}
}
public interface ILanguageServiceHost : ITypeScriptObject
{
[TypeScriptBridge ("getCompilationSettings")]
TypeScriptServiceBridge.TypeScript.CompilationSettings GetCompilationSettings ();
[TypeScriptBridge ("getScriptCount")]
double GetScriptCount ();
[TypeScriptBridge ("getScriptId")]
string GetScriptId (double @scriptIndex);
[TypeScriptBridge ("getScriptSourceText")]
string GetScriptSourceText (double @scriptIndex, double @start, double @end);
[TypeScriptBridge ("getScriptSourceLength")]
double GetScriptSourceLength (double @scriptIndex);
[TypeScriptBridge ("getScriptIsResident")]
bool GetScriptIsResident (double @scriptIndex);
[TypeScriptBridge ("getScriptVersion")]
double GetScriptVersion (double @scriptIndex);
[TypeScriptBridge ("getScriptEditRangeSinceVersion")]
TypeScriptServiceBridge.TypeScript.ScriptEditRange GetScriptEditRangeSinceVersion (double @scriptIndex, double @scriptVersion);
}
public class ILanguageServiceHost_Impl : TypeScriptObject, ILanguageServiceHost
{
public ILanguageServiceHost_Impl (ObjectInstance instance) : base (instance) {}
[TypeScriptBridge ("getCompilationSettings")]
public TypeScriptServiceBridge.TypeScript.CompilationSettings GetCompilationSettings ()
{
return new TypeScriptServiceBridge.TypeScript.CompilationSettings ((ObjectInstance) Instance.CallMemberFunction ("getCompilationSettings"));
}
[TypeScriptBridge ("getScriptCount")]
public double GetScriptCount ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getScriptCount"));
}
[TypeScriptBridge ("getScriptId")]
public string GetScriptId (double @scriptIndex)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getScriptId", @scriptIndex));
}
[TypeScriptBridge ("getScriptSourceText")]
public string GetScriptSourceText (double @scriptIndex, double @start, double @end)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getScriptSourceText", @scriptIndex, @start, @end));
}
[TypeScriptBridge ("getScriptSourceLength")]
public double GetScriptSourceLength (double @scriptIndex)
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getScriptSourceLength", @scriptIndex));
}
[TypeScriptBridge ("getScriptIsResident")]
public bool GetScriptIsResident (double @scriptIndex)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getScriptIsResident", @scriptIndex));
}
[TypeScriptBridge ("getScriptVersion")]
public double GetScriptVersion (double @scriptIndex)
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getScriptVersion", @scriptIndex));
}
[TypeScriptBridge ("getScriptEditRangeSinceVersion")]
public TypeScriptServiceBridge.TypeScript.ScriptEditRange GetScriptEditRangeSinceVersion (double @scriptIndex, double @scriptVersion)
{
return new TypeScriptServiceBridge.TypeScript.ScriptEditRange ((ObjectInstance) Instance.CallMemberFunction ("getScriptEditRangeSinceVersion", @scriptIndex, @scriptVersion));
}
}
public class SourceTextAdapter : TypeScriptObject
, TypeScript.ISourceText
{
public SourceTextAdapter (ObjectInstance instance) : base (instance) {}
public SourceTextAdapter (TypeScriptServiceBridge.Services.ILanguageServiceHost @host, double @scriptIndex)
: base (CallConstructor ("Services", "SourceTextAdapter", @host != null ? @host.Instance : null, @scriptIndex))
{
}
[TypeScriptBridge ("host")]
public TypeScriptServiceBridge.Services.ILanguageServiceHost Host {
get { return new TypeScriptServiceBridge.Services.ILanguageServiceHost_Impl ((ObjectInstance) Instance.GetPropertyValue ("host")); }
set { Instance.SetPropertyValue ("host", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("scriptIndex")]
public double ScriptIndex {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("scriptIndex")); }
set { Instance.SetPropertyValue ("scriptIndex", value, true); }
}
[TypeScriptBridge ("get_host")]
public TypeScriptServiceBridge.Services.ILanguageServiceHost Get_host ()
{
return new TypeScriptServiceBridge.Services.ILanguageServiceHost_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_host"));
}
[TypeScriptBridge ("set_host")]
public void Set_host (TypeScriptServiceBridge.Services.ILanguageServiceHost @value)
{
Instance.CallMemberFunction ("set_host", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_scriptIndex")]
public double Get_scriptIndex ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_scriptIndex"));
}
[TypeScriptBridge ("set_scriptIndex")]
public void Set_scriptIndex (double @value)
{
Instance.CallMemberFunction ("set_scriptIndex", @value);
}
[TypeScriptBridge ("getText")]
public string GetText (double @start, double @end)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getText", @start, @end));
}
[TypeScriptBridge ("getLength")]
public double GetLength ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getLength"));
}
string TypeScriptServiceBridge.TypeScript.ISourceText.GetText (double @start, double @end)
{
return (string) GetText ((double) @start, (double) @end);
}
double TypeScriptServiceBridge.TypeScript.ISourceText.GetLength ()
{
return (double) GetLength ();
}
}
public class CachedSourceTextAdapter : TypeScriptObject
, TypeScript.ISourceText
{
public CachedSourceTextAdapter (ObjectInstance instance) : base (instance) {}
public CachedSourceTextAdapter (TypeScriptServiceBridge.Services.ILanguageServiceHost @host, double @scriptIndex)
: base (CallConstructor ("Services", "CachedSourceTextAdapter", @host != null ? @host.Instance : null, @scriptIndex))
{
}
[TypeScriptBridge ("getText")]
public string GetText (double @start, double @end)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getText", @start, @end));
}
[TypeScriptBridge ("getLength")]
public double GetLength ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getLength"));
}
string TypeScriptServiceBridge.TypeScript.ISourceText.GetText (double @start, double @end)
{
return (string) GetText ((double) @start, (double) @end);
}
double TypeScriptServiceBridge.TypeScript.ISourceText.GetLength ()
{
return (double) GetLength ();
}
}
public class SourceTextRange : TypeScriptObject
, TypeScript.ISourceText
{
public SourceTextRange (ObjectInstance instance) : base (instance) {}
public SourceTextRange (TypeScriptServiceBridge.TypeScript.ISourceText @sourceText, double @minChar, double @limChar)
: base (CallConstructor ("Services", "SourceTextRange", @sourceText != null ? @sourceText.Instance : null, @minChar, @limChar))
{
}
[TypeScriptBridge ("sourceText")]
public TypeScriptServiceBridge.TypeScript.ISourceText SourceText {
get { return new TypeScriptServiceBridge.TypeScript.ISourceText_Impl ((ObjectInstance) Instance.GetPropertyValue ("sourceText")); }
set { Instance.SetPropertyValue ("sourceText", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("minChar")]
public double MinChar {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("minChar")); }
set { Instance.SetPropertyValue ("minChar", value, true); }
}
[TypeScriptBridge ("limChar")]
public double LimChar {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("limChar")); }
set { Instance.SetPropertyValue ("limChar", value, true); }
}
[TypeScriptBridge ("get_sourceText")]
public TypeScriptServiceBridge.TypeScript.ISourceText Get_sourceText ()
{
return new TypeScriptServiceBridge.TypeScript.ISourceText_Impl ((ObjectInstance) Instance.CallMemberFunction ("get_sourceText"));
}
[TypeScriptBridge ("set_sourceText")]
public void Set_sourceText (TypeScriptServiceBridge.TypeScript.ISourceText @value)
{
Instance.CallMemberFunction ("set_sourceText", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_minChar")]
public double Get_minChar ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_minChar"));
}
[TypeScriptBridge ("set_minChar")]
public void Set_minChar (double @value)
{
Instance.CallMemberFunction ("set_minChar", @value);
}
[TypeScriptBridge ("get_limChar")]
public double Get_limChar ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_limChar"));
}
[TypeScriptBridge ("set_limChar")]
public void Set_limChar (double @value)
{
Instance.CallMemberFunction ("set_limChar", @value);
}
[TypeScriptBridge ("getText")]
public string GetText (double @start, double @end)
{
return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getText", @start, @end));
}
[TypeScriptBridge ("getLength")]
public double GetLength ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getLength"));
}
string TypeScriptServiceBridge.TypeScript.ISourceText.GetText (double @start, double @end)
{
return (string) GetText ((double) @start, (double) @end);
}
double TypeScriptServiceBridge.TypeScript.ISourceText.GetLength ()
{
return (double) GetLength ();
}
}
public class ReferenceEntry : TypeScriptObject
{
public ReferenceEntry (ObjectInstance instance) : base (instance) {}
public ReferenceEntry (double @unitIndex, TypeScriptServiceBridge.TypeScript.AST @ast, bool @isWriteAccess)
: base (CallConstructor ("Services", "ReferenceEntry", @unitIndex, @ast != null ? @ast.Instance : null, @isWriteAccess))
{
}
[TypeScriptBridge ("unitIndex")]
public double UnitIndex {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("unitIndex")); }
set { Instance.SetPropertyValue ("unitIndex", value, true); }
}
[TypeScriptBridge ("ast")]
public TypeScriptServiceBridge.TypeScript.AST Ast {
get { return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.GetPropertyValue ("ast")); }
set { Instance.SetPropertyValue ("ast", value != null ? value.Instance : null, true); }
}
[TypeScriptBridge ("isWriteAccess")]
public bool IsWriteAccess {
get { return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("isWriteAccess")); }
set { Instance.SetPropertyValue ("isWriteAccess", value, true); }
}
[TypeScriptBridge ("get_unitIndex")]
public double Get_unitIndex ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_unitIndex"));
}
[TypeScriptBridge ("set_unitIndex")]
public void Set_unitIndex (double @value)
{
Instance.CallMemberFunction ("set_unitIndex", @value);
}
[TypeScriptBridge ("get_ast")]
public TypeScriptServiceBridge.TypeScript.AST Get_ast ()
{
return new TypeScriptServiceBridge.TypeScript.AST ((ObjectInstance) Instance.CallMemberFunction ("get_ast"));
}
[TypeScriptBridge ("set_ast")]
public void Set_ast (TypeScriptServiceBridge.TypeScript.AST @value)
{
Instance.CallMemberFunction ("set_ast", @value != null ? @value.Instance : null);
}
[TypeScriptBridge ("get_isWriteAccess")]
public bool Get_isWriteAccess ()
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("get_isWriteAccess"));
}
[TypeScriptBridge ("set_isWriteAccess")]
public void Set_isWriteAccess (bool @value)
{
Instance.CallMemberFunction ("set_isWriteAccess", @value);
}
[TypeScriptBridge ("getHashCode")]
public double GetHashCode ()
{
return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getHashCode"));
}
[TypeScriptBridge ("equals")]
public bool Equals (TypeScriptServiceBridge.Services.ReferenceEntry @other)
{
return TypeConverter.ConvertTo<bool> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("equals", @other != null ? @other.Instance : null));
}
}
public class ReferenceEntrySet : TypeScriptObject
{
public ReferenceEntrySet (ObjectInstance instance) : base (instance) {}
public ReferenceEntrySet ()
: base (CallConstructor ("Services", "ReferenceEntrySet"))
{
}
[TypeScriptBridge ("getEntries")]
public ArrayInstance GetEntries ()
{
return TypeConverter.ConvertTo<ArrayInstance> (JurassicTypeHosting.Engine, Instance.CallMemberFunction ("getEntries"));
}
[TypeScriptBridge ("addAst")]
public void AddAst (double @unitIndex, TypeScriptServiceBridge.TypeScript.AST @ast, bool @isWriteAccess)
{
Instance.CallMemberFunction ("addAst", @unitIndex, @ast != null ? @ast.Instance : null, @isWriteAccess);
}
[TypeScriptBridge ("addSymbol")]
public void AddSymbol (TypeScriptServiceBridge.TypeScript.Symbol @sym)
{
Instance.CallMemberFunction ("addSymbol", @sym != null ? @sym.Instance : null);
}
}
public class NavigateToItem : TypeScriptObject
{
public NavigateToItem (ObjectInstance instance) : base (instance) {}
public NavigateToItem ()
: base (CallConstructor ("Services", "NavigateToItem"))
{
}
[TypeScriptBridge ("name")]
public string Name {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("name")); }
set { Instance.SetPropertyValue ("name", value, true); }
}
[TypeScriptBridge ("kind")]
public string Kind {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("kind")); }
set { Instance.SetPropertyValue ("kind", value, true); }
}
[TypeScriptBridge ("kindModifiers")]
public string KindModifiers {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("kindModifiers")); }
set { Instance.SetPropertyValue ("kindModifiers", value, true); }
}
[TypeScriptBridge ("matchKind")]
public string MatchKind {
get { return TypeConverter.ConvertTo<string> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("matchKind")); }
set { Instance.SetPropertyValue ("matchKind", value, true); }
}
[TypeScriptBridge ("unitIndex")]
public double UnitIndex {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engine, Instance.GetPropertyValue ("unitIndex")); }
set { Instance.SetPropertyValue ("unitIndex", value, true); }
}
[TypeScriptBridge ("minChar")]
public double MinChar {
get { return TypeConverter.ConvertTo<double> (JurassicTypeHosting.Engin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment