1 #ifndef MARKDOWNTOKEN_H
2 #define MARKDOWNTOKEN_H
48 TokenType type()
const;
49 void setType(TokenType t);
52 void setPosition(
int pos) { m_position = pos; }
55 void setLength(
int len);
57 int openingLength()
const;
58 void setOpeningLenth(
int len);
60 int closingLength()
const;
61 void setClosingLength(
int len);
64 return m_position < t.position();
68 return m_position > t.position();
79 #endif // MARKDOWNTOKEN_H