private void LoadColumn()
{
Token titleToken = m_serializer.ReadTextToken(this);
if (titleToken != null)
{
Title = titleToken.Text;
titleToken.Type = TokenType.Name;
}
else
{
m_serializer.Warn("The column directive expects two arguments, a title and an expression.", this);
}
Token exprToken = m_serializer.ReadTextToken(this);
if (exprToken != null)
{
Expression = exprToken.Text;
}
else
{
m_serializer.Warn("The column directive expects two arguments, a title and an expression.", this);
}
Token lineBreak = m_serializer.ReadLineBreakToken(this);
if (lineBreak == null)
{
m_serializer.Warn("The column directive expects no more than two arguments, a title and an expression.", this);
}
}