public override void ExitDatatable([NotNull] SBP.DatatableContext context)
 {
     m_currentDatatable.SetElementPropertyBlock(m_lastElementPropertyBlock);
     m_lastElementPropertyBlock = null;
     m_currentDatatable.ParseSource();
     m_lastDatatable = m_currentDatatable;
     if (m_file != null)
     {
         m_file.AddDatatable(m_currentDatatable);
     }
     m_currentDatatable = null;
 }
 public override void ExitDatatableName([NotNull] SBP.DatatableNameContext context)
 {
     m_currentDatatable = new FileDatatable(m_file, m_fileElementModifier, m_elementStart.Line, null, m_currentNamespace, context.GetText());
 }
 public override void EnterDatatable([NotNull] SBP.DatatableContext context)
 {
     m_elementStart             = context.Start;
     m_currentDatatable         = null;
     m_lastElementPropertyBlock = null;
 }