Rhino.Context.SetGeneratingSource C# (CSharp) Method

SetGeneratingSource() public method

Specify whether or not source information should be generated.
Specify whether or not source information should be generated.

Without source information, evaluating the "toString" method on JavaScript functions produces only "[native code]" for the body of the function. Note that code generated without source is not fully ECMA conformant.

public SetGeneratingSource ( bool generatingSource ) : void
generatingSource bool
return void
		public void SetGeneratingSource(bool generatingSource)
		{
			if (@sealed)
			{
				OnSealedMutation();
			}
			this.generatingSource = generatingSource;
		}
Context