Beispiel #1
0
 protected override void OnParsed(FinalParseStates states)
 {
     m_writer.Write(Preparer.m_commandText, m_lastIndex, Preparer.m_commandText.Length - m_lastIndex);
     if ((states & FinalParseStates.NeedsNewline) == FinalParseStates.NeedsNewline)
     {
         m_writer.Write((byte)'\n');
     }
     if ((states & FinalParseStates.NeedsSemicolon) == FinalParseStates.NeedsSemicolon)
     {
         m_writer.Write((byte)';');
     }
     IsComplete = (states & FinalParseStates.Complete) == FinalParseStates.Complete;
 }
Beispiel #2
0
 protected virtual void OnParsed(FinalParseStates states)
 {
 }