void ParagraphComplete(SymbianParserLib.BaseStructures.ParserElementBase aElement) { ParserParagraph para = (ParserParagraph)aElement; // ParserField fAddress = para[0][0]; ParserField fFileName = para[1][0]; ParserField fRunAddress = para[2][0]; // uint address = fAddress.AsUint; string fName = fFileName.AsString; uint runAddress = fRunAddress.AsUint; // CodeSegEntry entry = new CodeSegEntry(CrashDebugger, address, fName); entry.RunAddress = runAddress; CrashDebugger.CodeSegs.Add(entry); // Remove completed entry, add a new one ParserEngine.Remove(para); PrepareEntryParser(); }
void CommandParser_ParagraphComplete(SymbianParserLib.BaseStructures.ParserElementBase aElement) { TState state = (TState)aElement.Tag; State.State nextState = StateFactory.Create(state, this); // if (iStateObject != null) { iStateObject.Finalise(); iStateObject = null; } // if (nextState == null) { throw new ArgumentException("Invalid state: " + state); } // iStateObject = nextState; iCurrentState = state; // #if DEBUG System.Diagnostics.Debug.WriteLine("SWITCHING STATE: => " + iStateObject.GetType().ToString()); #endif }
void ProcessChunksComplete_ElementHandler(SymbianParserLib.BaseStructures.ParserElementBase aElement) { PrepareEntryParser(); }
void HeaderLine_ElementComplete(SymbianParserLib.BaseStructures.ParserElementBase aElement) { PrepareEntryParser(); }
void ContainerCountInfoComplete(SymbianParserLib.BaseStructures.ParserElementBase aElement) { }
void NewElementDetected(SymbianParserLib.BaseStructures.ParserElementBase aElement) { CreateEntryParser(); }
void PC_Register_ElementComplete(SymbianParserLib.BaseStructures.ParserElementBase aElement) { PrepareEntryParser(); }