Example #1
0
        public ExecuteMethodBodyVisitor(CSharpSourceLoweringContext context)
        {
            if (context == null)
            {
                throw new ArgumentNullException(nameof(context));
            }

            _context        = context;
            _paddingBuilder = new RazevolutionPaddingBuilder(context.Host);
        }
Example #2
0
 public UsingDirectiveVisitor(ISet <string> addedImports, CSharpSourceLoweringContext context)
 {
     _context      = context;
     _addedImports = addedImports;
 }
Example #3
0
 public TagHelperFieldDeclarationVisitor(CSharpSourceLoweringContext context)
 {
     _context        = context;
     _usedTagHelpers = new HashSet <string>(StringComparer.Ordinal);
 }
 public FunctionsDirectiveVisitor(CSharpSourceLoweringContext context)
 {
     _context = context;
 }