Export (0) Print
Expand All
Expand Minimize

Microsoft.JScript Namespace

The Microsoft.JScript namespace contains classes that support compilation and code generation using the JScript language.

  Class Description
Public class ActivationObject Infrastructure. Represents an object that is taking part in a scope hierarchy. This class contains methods for resolving scope and for getting member information. It belongs to the compilation and run-time state category.
Public class ActiveXObjectConstructor Infrastructure. Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category.
Public class ArgumentsObject Infrastructure. Represents the information that is used to call a function. This includes the function, the caller, the arguments, and information about the stack frame. This class belongs to the objects and functions category.
Public class ArrayConstructor Infrastructure. Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category.
Public class ArrayLiteral Infrastructure. This class is used by the JScript parser to represent an array literal.
Public class ArrayObject Infrastructure. Represents an array object. This class belongs to the built-in object model category.
Public class ArrayPrototype Infrastructure. Provides static methods and properties for ArrayObject objects. All methods of this class are called by passing in a reference to the object that is requesting access to the method. This class belongs to the built-in object model category.
Public class ArrayWrapper Infrastructure. Wraps an array to create a JScript ArrayObject. This class wraps either a .NET Framework Array object or a JScript ArrayObject object.
Public class AssemblyCustomAttributeList Infrastructure. This class is used by the JScript parser to store the attributes that are assigned to an assembly.
Public class AST Infrastructure. Represents the abstract syntax tree that is used to parse JScript code.
Public class ASTList Infrastructure. Maintains a list of AST elements. This class belongs to the abstract syntax tree category.
Public class BinaryOp Infrastructure. Represents the base class for classes that perform operations on two operands, such as Plus, Equality, and Relational. This class belongs to the abstract syntax tree category.
Public class Binding Infrastructure. Represents a reference to a class member, callable expression, or variable name. This class attempts to resolve the reference to the correct value at compile time.
Public class BitwiseBinary Infrastructure. Performs bitwise binary operations. This class belongs to the abstract syntax tree category.
Public class Block Infrastructure. Represents a block in JScript. This class is used mainly by the JSParser to create Block objects when it parses code. This class belongs to the abstract syntax tree category.
Public class BlockScope Infrastructure. Represents the scope of a block of code that is taking part in a scope hierarchy and that can be pushed onto the global scope stack. For example, this class can represent the scope of a try block.
Public class BooleanConstructor Infrastructure. Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category.
Public class BooleanObject Infrastructure. Represents a Boolean object. This class belongs to the built-in object model category.
Public class BooleanPrototype Infrastructure. Provides static methods and properties for BooleanObject objects. All methods of this class are called by passing in a reference to the object that is requesting access to the method. This class belongs to the built-in object model category.
Public class BreakOutOfFinally Infrastructure. Represents the exception state when code execution breaks out of a finally block.
Public class Closure Infrastructure. Represents a closure function. This class belongs to the objects and functions category.
Public class CmdLineException Infrastructure. Represents errors that occur when you run the command-line compiler jsc.exe.
Public class CmdLineOptionParser Infrastructure. Determines whether options that are specified to the command-line compiler jsc.exe are correctly formed, and reads the arguments if any are included.
Public class COMCharStream Infrastructure. Represents a stream that sends its data to an IMessageReceiver. The data is stored in a buffer until the data is flushed or the stream is closed.
Public class COMFieldInfo Infrastructure. Enables JScript to communicate with an external COM field. This class is used by an external COM implementation to expose its objects to JScript because JScript needs a managed MemberInfo in order to bind to an external object.
Public class COMMethodInfo Infrastructure. Enables JScript to communicate with an external COM method. This class is used by an external COM implementation to expose its objects to JScript because JScript needs a managed MemberInfo in order to bind to an external object.
Public class COMPropertyInfo Infrastructure. Enables JScript to communicate with an external COM property. This class is used by an external COM implementation to expose its objects to JScript because JScript needs a managed MemberInfo in order to bind to an external object.
Public class Context Infrastructure. Represents JScript source code. This class belongs to the compilation and run-time state category.
Public class ContinueOutOfFinally Infrastructure. Represents the exception state when code execution continues out of a finally block.
Public class Convert Infrastructure. Converts data from one type to another. This is a utility class.
Public class DateConstructor Infrastructure. Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category.
Public class DateObject Infrastructure. Represents a date object. This class belongs to the built-in object model category.
Public class DatePrototype Infrastructure. Provides static methods and properties for DateObject objects. All methods of this class are called by passing in a reference to the object that is requesting access to the method. This class belongs to the built-in object model category.
Public class DebugBreak Infrastructure. This class is used by the JScript parser to represent a breakpoint in a debugger.
Public class DebugConvert Infrastructure. Converts data from one type to another. Includes methods that convert values to String objects so that they can be displayed by the debugger.
Public class DocumentContext Infrastructure. Represents a source code file that is written in the JScript language.
Public class DynamicFieldInfo Infrastructure. Represents field information. This class is used to return fields of expando classes and script arrays to the debugger.
Public class Empty Infrastructure. Represents the value of a variable that has not been instantiated.
Public class EndOfFile Infrastructure. This class is used by the JScript parser to represent reaching the end of a file as an exception. Code can throw this error to stop the parser.
Public class EnumeratorConstructor Infrastructure. Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category.
Public class EnumeratorObject Infrastructure. Represents an enumerator object. This class belongs to the built-in object model category.
Public class EnumeratorPrototype Infrastructure. Provides static methods and properties for EnumeratorObject objects. All methods of this class are called by passing in a reference to the object that is requesting access to the method. This class belongs to the built-in object model category.
Public class Equality Infrastructure. Performs comparison operations. This class belongs to the abstract syntax tree category.
Public class ErrorConstructor Infrastructure. Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category.
Public class ErrorObject Infrastructure. Represents an error object. This class belongs to the built-in object model category.
Public class ErrorPrototype Infrastructure. Provides static methods and properties for ErrorObject objects. All methods of this class are called by passing in a reference to the object that is requesting access to the method. This class belongs to the built-in object model category.
Public class Eval Infrastructure. Evaluates JScript code. This class belongs to the abstract syntax tree category.
Public class EvalErrorObject Infrastructure. Represents an error that occurs when the eval method is used. For more information, see eval Method (Visual Studio - JScript).
Public class Expando Infrastructure. Indicates that a class or method is an expando class or method.
Public class FieldAccessor Infrastructure. Represents a field accessor.
Public class ForIn Infrastructure. Represents the JScript for...in statement. This class belongs to the abstract syntax tree category.
Public class FunctionConstructor Infrastructure. Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category.
Public class FunctionDeclaration Infrastructure. Represents a function declaration. This class belongs to the abstract syntax tree category.
Public class FunctionExpression Infrastructure. Represents a function object. This class belongs to the abstract syntax tree category.
Public class FunctionObject Infrastructure. Represents a function object.
Public class FunctionPrototype Infrastructure. Provides static methods and properties for FunctionObject objects. All methods of this class are called by passing in a reference to the object that is requesting access to the method. This class belongs to the built-in object model category.
Public class FunctionWrapper Infrastructure. Binds the members of a function to an object.
Public class GlobalObject Infrastructure. Stores constants, data type information, utility functions, and references to prototype-based objects. This class belongs to the built-in object model category.
Public class Globals Infrastructure. Stores references to all globally available types and manages the stack. This class belongs to the compilation and run-time state category.
Public class GlobalScope Infrastructure. Represents the global scope.
Public class Hide Infrastructure. Indicates that a method or field hides a method or field in a base class.
Public class Import Infrastructure. Imports namespaces for use in code. This class belongs to the abstract syntax tree category.
Public class In Infrastructure. Determines whether an object is contained in another object. This class belongs to the abstract syntax tree category.
Public class Instanceof Infrastructure. Determines whether an object can be coerced to the type of another object. This class belongs to the abstract syntax tree category.
Public class JSAuthor Infrastructure. Provides services for authoring JScript code in an editor.
Public class JSConstructor Infrastructure. Wraps a FunctionObject.
Public class JScriptCodeProvider Infrastructure. Provides access to instances of the JScript code generator and code compiler.
Public class JScriptException Infrastructure. The exception that is thrown by JScript to notify a common language runtime (CLR) host or program that an error occurred. A JScriptException usually takes a JSError enumeration value.
Public class JSField Infrastructure. Supports all fields in JScript. This is the base class for all fields that are defined by JScript. This class belongs to the name binding category.
Public class JSFieldInfo Infrastructure. Wraps a FieldInfo object.
Public class JSFunctionAttribute Infrastructure. Used with JSFunctionAttributeEnum to annotate the calling conventions of methods and constructors that are generated by the JScript compiler.
Public class JSLocalField Infrastructure. Represents a local variable.
Public class JSMethod Infrastructure. Represents a JScript method. This class belongs to the name binding category.
Public class JSMethodInfo Infrastructure. Wraps a MethodInfo object.
Public class JSObject Infrastructure. Represents an object in JScript. This class belongs to the objects and functions category.
Public class JSParser Infrastructure. Parses JScript code. This class belongs to the scanning and parsing category. For more information about scanning and parsing, see Create a Language Compiler for the .NET Framework.
Public class JSPrototypeObject Infrastructure. Adds a constructor function property to a JSObject for early binding purposes. This class belongs to the objects and functions category.
Public class JSScanner Infrastructure. Scans JScript code searching for individual units of code, or tokens. This class belongs to the scanning and parsing category. For more information about scanning and parsing, see Create a Language Compiler for the .NET Framework.
Public class JSVariableField Infrastructure. Supports variable fields in JScript. This is the base class for parameters, local variables, global variables, and class members.
Public class LateBinding Infrastructure. Represents a reference to a class member, callable expression, or variable name. This class attempts to resolve the reference to the correct value at run time.
Public class LenientArrayPrototype Infrastructure. Stores objects that represent the static methods of the ArrayPrototype class. The LenientArrayPrototype class belongs to the built-in object model category.
Public class LenientBooleanPrototype Infrastructure. Stores objects that represent the static methods of the BooleanPrototype class. The LenientBooleanPrototype class belongs to the built-in object model category.
Public class LenientDateConstructor Infrastructure. Stores objects that represent the static methods of the DateConstructor class. The LenientDateConstructor class belongs to the built-in object model category.
Public class LenientDatePrototype Infrastructure. Stores objects that represent the static methods of the DatePrototype class. The LenientDatePrototype class belongs to the built-in object model category.
Public class LenientEnumeratorPrototype Infrastructure. Stores objects that represent the static methods of the EnumeratorPrototype class. The LenientEnumeratorPrototype class belongs to the built-in object model category.
Public class LenientErrorPrototype Infrastructure. Stores objects that represent the static methods of the ErrorPrototype class. The LenientErrorPrototype class belongs to the built-in object model category.
Public class LenientFunctionPrototype Infrastructure. Stores objects that represent the static methods of the FunctionPrototype class. The LenientFunctionPrototype class belongs to the built-in object model category.
Public class LenientGlobalObject Infrastructure. Stores constructor function objects, data type information, and objects that represent the static methods of the GlobalObject class. The LenientGlobalObject class belongs to the built-in object model category.
Public class LenientMathObject Infrastructure. Stores objects that represent the static methods of the MathObject class. The LenientMathObject class belongs to the built-in object model category.
Public class LenientNumberPrototype Infrastructure. Stores objects that represent the static methods of the NumberPrototype class. The LenientNumberPrototype class belongs to the built-in object model category.
Public class LenientObjectPrototype Infrastructure. Stores objects that represent the static methods of the ObjectPrototype class. The LenientObjectPrototype class belongs to the built-in object model category.
Public class LenientRegExpPrototype Infrastructure. Stores objects that represent the static methods of the RegExpPrototype class. The LenientRegExpPrototype class belongs to the built-in object model category.
Public class LenientStringConstructor Infrastructure. Stores objects that represent the static methods of the StringConstructor class. The LenientStringConstructor class belongs to the built-in object model category.
Public class LenientStringPrototype Infrastructure. Stores objects that represent the static methods of the StringPrototype class. The LenientStringPrototype class belongs to the built-in object model category.
Public class LenientVBArrayPrototype Infrastructure. Stores objects that represent the static methods of the VBArrayPrototype class. The LenientVBArrayPrototype class belongs to the built-in object model category.
Public class MathObject Infrastructure. Provides constants and static methods for trigonometric functions, logarithmic functions, and other common mathematical functions. This class belongs to the built-in object model category.
Public class MemberInfoList Infrastructure. Maintains a list of MemberInfo elements.
Public class MethodInvoker Infrastructure. Represents the invoker for a particular method. Used by the JSMethodInfo class to invoke methods.
Public class Missing Infrastructure. Represents the value of a variable that has been instantiated but that has not yet had its value set.
Public class Namespace Infrastructure. Represents a namespace.
Public class NoContextException Infrastructure. The exception that is thrown when there is no code Context associated with a JScriptException.
Public class NotRecommended Infrastructure. Indicates that a method or field is not recommended.
Public class NumberConstructor Infrastructure. Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category.
Public class NumberObject Infrastructure. Represents a number object. This class belongs to the built-in object model category.
Public class NumberPrototype Infrastructure. Provides static methods and properties for NumberObject objects. All methods of this class are called by passing in a reference to the object that is requesting access to the method. This class belongs to the built-in object model category.
Public class NumericBinary Infrastructure. Performs binary operations on numeric operands. This class belongs to the abstract syntax tree category.
Public class NumericUnary Infrastructure. Performs unary operations on numeric operands. This class belongs to the abstract syntax tree category.
Public class ObjectConstructor Infrastructure. Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category.
Public class ObjectPrototype Infrastructure. Provides static methods and properties for JSObject objects. All methods of this class are called by passing in a reference to the object that is requesting access to the method. This class belongs to the built-in object model category.
Public class Override Infrastructure. Indicates that a method or field overrides a method or field in a base class.
Public class Package Infrastructure. Creates packages of JScript code for use by other code. This class belongs to the abstract syntax tree category.
Public class ParserException Infrastructure. This class is used by the JScript parser to represent parser exceptions.
Public class Plus Infrastructure. Performs addition and concatenation operations. This class belongs to the abstract syntax tree category.
Public class PostOrPrefixOperator Infrastructure. Performs increment and decrement operations that correspond to the prefix and postfix syntax. This class belongs to the abstract syntax tree category.
Public class RangeErrorObject Infrastructure. Represents a range error. For example, a range error can occur when you use an incorrect index to access an array element.
Public class ReferenceAttribute Infrastructure. Represents a reference to an assembly.
Public class ReferenceErrorObject Infrastructure. Represents a reference error. For example, a reference error can occur when you reference an undeclared variable.
Public class RegExpConstructor Infrastructure. Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category.
Public class RegExpMatch Infrastructure. Represents the results from a regular expression match. This class belongs to the built-in object model category.
Public class RegExpObject Infrastructure. Represents a regular expression object. This class belongs to the built-in object model category.
Public class RegExpPrototype Infrastructure. Provides static methods and properties for RegExpObject objects. All methods of this class are called by passing in a reference to the object that is requesting access to the method. This class belongs to the built-in object model category.
Public class Relational Infrastructure. Performs relational comparison operations. This class belongs to the abstract syntax tree category.
Public class ReturnOutOfFinally Infrastructure. Represents the exception state when code execution returns out of a finally block.
Public class Runtime Infrastructure. Provides utility functions.
Public class ScriptBlock Infrastructure. Represents a block of JScript code. This class belongs to the abstract syntax tree category.
Public class ScriptFunction Infrastructure. Represents a prototype-based object that is defined by a constructor function. Most of the constructor function classes, such as DateConstructor, NumberConstructor, StringConstructor, and ObjectConstructor, inherit from this class. This class belongs to the objects and functions category.
Public class ScriptObject Infrastructure. Supports all JScript classes. This is the ultimate base class of all JScript classes. This class belongs to the objects and functions category.
Public class ScriptStream Infrastructure. Represents a stream of data. This class sends its data to either a COMCharStream or a Console stream.
Public class SimpleHashtable Infrastructure. A hash table for the internal storage of items.
Public class StackFrame Infrastructure. Represents a stack frame for executing code. This class contains methods for resolving scope. It belongs to the compilation and run-time state category.
Public class StrictEquality Infrastructure. Performs comparison operations. This class belongs to the abstract syntax tree category.
Public class StringConstructor Infrastructure. Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category.
Public class StringObject Infrastructure. Represents a string object. This class belongs to the built-in object model category.
Public class StringPrototype Infrastructure. Provides static methods and properties for StringObject objects. All methods of this class are called by passing in a reference to the object that is requesting access to the method. This class belongs to the built-in object model category.
Public class SuperTypeMembersSorter Infrastructure. Stores members from base classes and interfaces.
Public class SyntaxErrorObject Infrastructure. Represents a syntax error. For example, a syntax error can occur when you omit a semicolon.
Public class Throw Infrastructure. Throws an exception. This class belongs to the abstract syntax tree category.
Public class Try Infrastructure. Identifies blocks of code to run in error handling scopes. This class belongs to the abstract syntax tree category.
Public class TypedArray Infrastructure. Represents a reflectable reference to the Array class. This class stores the element type of a typed array, but this class does not store data.
Public class TypeErrorObject Infrastructure. Represents a type error. For example, a type error can occur when you pass an object of one type to a method that expects an object of another type.
Public class Typeof Infrastructure. Determines the data types of objects. This class belongs to the abstract syntax tree category.
Public class TypeReflector Infrastructure. Provides an implementation of GetMember that is faster than GetMember.
Public class UnaryOp Infrastructure. Represents the base class for classes that perform operations on single operands, such as Typeof and PostOrPrefixOperator. This class belongs to the abstract syntax tree category.
Public class URIErrorObject Infrastructure. Represents a Uniform Resource Identifier (URI) error. For example, a URI error can occur when you try to encode or decode a URI.
Public class VBArrayConstructor Infrastructure. Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category.
Public class VBArrayObject Infrastructure. Represents a VBArray object. This class belongs to the built-in object model category.
Public class VBArrayPrototype Infrastructure. Provides static methods and properties for VBArrayObject objects. All methods of this class are called by passing in a reference to the object that is requesting access to the method. This class belongs to the built-in object model category.
Public class VsaItem Infrastructure. Represents items added to the .NET script engine. This includes code items, reference items, and global items.
Public class VsaItems Infrastructure. Represents a collection of IVsaItem objects that can be addressed either by name or by index.
Public class With Infrastructure. Represents the with statement. This class belongs to the abstract syntax tree category.

  Interface Description
Public interface COMMemberInfo Infrastructure. Defines methods that enable JScript to communicate with an external COM member. This interface is used by an external COM implementation to expose its objects to JScript because JScript requires a managed MemberInfo to bind to an external object.
Public interface IActivationObject Infrastructure. Defines methods for resolving scope. This interface is implemented by all objects that take part in a scope hierarchy.
Public interface IAuthorServices Infrastructure. Defines services for authoring JScript code in an editor.
Public interface IColorizeText Infrastructure. Defines services for colorizing text when JScript code is being authored in an editor.
Public interface IDebugConvert Infrastructure. Defines a set of utility methods that convert data from one type to another. Includes methods that convert values to String objects so that they can be displayed by the debugger.
Public interface IDebugConvert2 Infrastructure. Defines utility methods that convert data from one type to another. Includes methods that convert values to String objects so that they can be displayed by the debugger.
Public interface IDebuggerObject Infrastructure. Defines methods that provide information about debugger objects. This interface is implemented by all IReflect objects that are implemented by the debugger. Currently, this interface serves only to flag these objects as such to the scripting engine.
Public interface IDebugScriptScope Infrastructure. Defines methods that set the this value that is associated with the global scope. Used by the VsaEngine.
Public interface IDebugType Infrastructure. Defines methods that provide information about debugger objects. This interface is implemented by debugger objects that represent a type in the debugger target.
Public interface IDebugVsaScriptCodeItem Infrastructure. Defines methods that evaluate expressions and parse strings. This interface is typically implemented by an object that represents a code block, and it is typically called by a debugger. This interface provides extra functionality that is needed by an IActiveScript host.
Public interface IDefineEvent Infrastructure. Defines extra functionality that is needed by an active script host.
Public interface IEngine2 Infrastructure. Defines extra functionality that is needed by an IActiveScript host. Implemented by the VsaEngine engine.
Public interface IErrorHandler Infrastructure. Defines methods to handle errors that occur when code is being parsed.
Public interface IMessageReceiver Infrastructure. Defines methods that receive output from a scripting engine. This interface acts as a callback object to capture output that would otherwise go to the console.
Public interface IMethodsCompletionInfo Infrastructure. This is a marker interface and has no methods.
Public interface INeedEngine Infrastructure. Defines methods that get and set references to the scripting engine.
Public interface IObjectCompletionInfo Infrastructure. This is a marker interface and has no methods.
Public interface IParseText Infrastructure. Defines methods for parsing text when JScript code is being authored in an editor.
Public interface IRedirectOutput Infrastructure. Defines methods that capture output that would otherwise go to the console. This interface is implemented by the VsaEngine.
Public interface ISite2 Infrastructure. Defines methods that are used by the VsaEngine for name resolution. Provides extra functionality that is needed by an IActiveScript host.
Public interface ITokenColorInfo Infrastructure. Defines properties for coloring specific units of code.
Public interface ITokenEnumerator Infrastructure. Defines methods for iterating over a collection of ITokenColorInfo objects.
Public interface IVsaFullErrorInfo Infrastructure. Defines properties to obtain information about errors. This interface provides extra functionality that is needed by an IActiveScript host.
Public interface IVsaScriptCodeItem Infrastructure. Defines extra functionality that is needed by an IActiveScript host.
Public interface IVsaScriptScope Infrastructure. Defines methods for resolving scope. The global scope object of the VsaEngine implements this interface.
Public interface IWrappedMember Infrastructure. Defines methods for accessing the object that a member is defined on.
Public interface MemberInfoInitializer Infrastructure. Defines methods that an external COM object must implement. This interface is used by an external COM implementation to expose its objects to JScript because JScript needs a managed MemberInfo to bind to an external object. This interface is implemented by COMFieldInfo, COMMethodInfo, and COMPropertyInfo.

  Enumeration Description
Public enumeration CmdLineError Infrastructure. Specifies errors that occur when you run the command-line compiler jsc.exe. This enumeration is used to create CmdLineException objects.
Public enumeration ErrorType Infrastructure. Specifies the JScript error types.
Public enumeration JSBuiltin Infrastructure. Specifies the built-in JScript functions. These functions correspond to the static methods of the intrinsic JScript objects. The members of this enumeration are used to create JSFunctionAttribute objects.
Public enumeration JSError Infrastructure. Specifies the JScript error messages. This class belongs to the compilation and run-time state category.
Public enumeration JSFunctionAttributeEnum Infrastructure. Specifies the calling conventions of functions that are generated by the JScript compiler. Used with the JSFunctionAttribute custom attribute.
Public enumeration JSToken Infrastructure. Specifies the individual units of code, or tokens, that make up the JScript language.
Public enumeration SourceState Infrastructure. Specifies the state of source code text. This class is used together with other classes that provide information to color JScript code in an editor.
Public enumeration TokenColor Infrastructure. Specifies the colors that individual units of code should have when text is being colorized in an editor. The members of this enumeration are used by the Color property of ITokenColorInfo objects.
Public enumeration VSAITEMTYPE2 Infrastructure. Extends the VsaItemType enumeration. Provides extra functionality that is needed by an IActiveScript host.
Show:
© 2014 Microsoft