void Paragraph_ElementComplete(SymbianParserLib.BaseStructures.ParserElementBase aElement) { if (ParagraphComplete != null) { ParagraphComplete(aElement); } }
protected ParserElementBase(string aName, ParserElementBase aParent, object aTag) { iName = aName; iParent = aParent; iTag = aTag; // Default behaviour is to disable the item when it is complete DisableWhenComplete = true; }
public string GetCurrentLine() { string line = string.Empty; // ParserElementBase element = this; while (line == string.Empty && element != null) { line = element.CurrentLine; element = element.Parent; } // return(line); }
private static ValueStore GetValueStore(ParserElementBase aElement) { ValueStore ret = null; // if (aElement is ParserElementBaseWithValueStore) { ParserElementBaseWithValueStore element = (ParserElementBaseWithValueStore)aElement; if (element.iValueStore != null) { ret = element.iValueStore; } else if (element.Parent != null) { ret = GetValueStore(element.Parent); } } // return(ret); }
protected ParserElementBase(ParserElementBase aParent) : this(string.Empty, aParent, null) { }