예제 #1
0
        protected DecoratingTokenWriter(TokenWriter innerWriter)
        {
            if(innerWriter == null)
                throw new ArgumentNullException("innerWriter");

            inner_writer = innerWriter;
        }
        public ExpressoOutputWalker(TextWriter textWriter, ExpressoFormattingOptions policy)
        {
            if(textWriter == null)
                throw new ArgumentNullException("textWriter");

            if(policy == null)
                throw new ArgumentNullException("policy");

            writer = textWriter;
            this.policy = policy;
        }
 public InsertRequiredSpacesDecorator(TokenWriter writer)
     : base(writer)
 {
 }