public CharacterAttributes(CharacterAttributes other)
 {
     foreach (CharacterAttributeType attrType in CharacterAttributeType.Values)
     {
         _attrMap[attrType] = other.Get(attrType);
     }
 }
예제 #2
0
파일: ParserState.cs 프로젝트: kehh/biolink
        public CharacterAttributes(CharacterAttributes other)
        {
            foreach (CharacterAttributeType attrType in CharacterAttributeType.Values) {
                _attrMap[attrType] = other.Get(attrType);

            }
        }
 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);
 }
 public ParserState()
 {
     CharacterAttributes = new CharacterAttributes();
     ParagraphAttributes = new ParagraphAttributes();
     SectionAttributes   = new SectionAttributes();
     DocumentAttributes  = new DocumentAttributes();
     rds = DestinationState.Normal;
     ris = ParserInternalState.Normal;
 }
예제 #5
0
파일: ParserState.cs 프로젝트: kehh/biolink
 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);
 }
예제 #6
0
파일: ParserState.cs 프로젝트: kehh/biolink
 public ParserState()
 {
     CharacterAttributes = new CharacterAttributes();
     ParagraphAttributes = new ParagraphAttributes();
     SectionAttributes = new SectionAttributes();
     DocumentAttributes = new DocumentAttributes();
     rds = DestinationState.Normal;
     ris = ParserInternalState.Normal;
 }