IronRuby.Compiler.Ast.SingletonDefinition.SingletonDefinition C# (CSharp) Method

SingletonDefinition() public method

public SingletonDefinition ( LexicalScope definedScope, Expression singleton, Body body, Microsoft.Scripting.SourceSpan location ) : Microsoft.Scripting
definedScope LexicalScope
singleton Expression
body Body
location Microsoft.Scripting.SourceSpan
return Microsoft.Scripting
        public SingletonDefinition(LexicalScope/*!*/ definedScope, Expression/*!*/ singleton, Body/*!*/ body, SourceSpan location)
            : base(definedScope, body, location) {
            ContractUtils.RequiresNotNull(singleton, "singleton");

            _singleton = singleton;
        }