示例#1
0
 public ParserState(ParserState other)
 {
     rds = other.rds;
     ris = other.ris;
     CharacterAttributes = new CharacterAttributes(other.CharacterAttributes);
     ParagraphAttributes = new ParagraphAttributes(other.ParagraphAttributes);
     SectionAttributes = new SectionAttributes(other.SectionAttributes);
     DocumentAttributes = new DocumentAttributes(other.DocumentAttributes);
 }
示例#2
0
 public ParserState()
 {
     CharacterAttributes = new CharacterAttributes();
     ParagraphAttributes = new ParagraphAttributes();
     SectionAttributes = new SectionAttributes();
     DocumentAttributes = new DocumentAttributes();
     rds = DestinationState.Normal;
     ris = ParserInternalState.Normal;
 }