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

AstGenerator() private method

private AstGenerator ( RubyContext context, RubyCompilerOptions options, System.Linq.Expressions document, IronRuby.Builtins.RubyEncoding encoding, bool printInteractiveResult ) : System
context RubyContext
options RubyCompilerOptions
document System.Linq.Expressions
encoding IronRuby.Builtins.RubyEncoding
printInteractiveResult bool
return System
        internal AstGenerator(RubyContext/*!*/ context, RubyCompilerOptions/*!*/ options, MSA.SymbolDocumentInfo document, RubyEncoding/*!*/ encoding,
            bool printInteractiveResult) {

            Assert.NotNull(context, options, encoding);
            _context = context;
            _compilerOptions = options;
            _debugMode = context.DomainManager.Configuration.DebugMode;
            _traceEnabled = context.RubyOptions.EnableTracing;
            _document = document;
            _sequencePointClearance = (document != null) ? Ast.ClearDebugInfo(document) : null;
            _encoding = encoding;
            _profiler = context.RubyOptions.Profile ? Profiler.Instance : null;
            _savingToDisk = context.RubyOptions.SavePath != null;
            _printInteractiveResult = printInteractiveResult;
#if SILVERLIGHT
            _debugCompiler = false;
#else
            _debugCompiler = Snippets.Shared.SaveSnippets;
#endif
        }