Home | History | Annotate | Download | only in Antlr3.Runtime

Lines Matching refs:info

67      *  knows its state (such as current input symbol and line info) that
69 * is computed and stored at exception time. From this info, you can
105 * unexpected char doesn't carry the line info.
117 * imaginary nodes w/o line/col info. We now search backwards looking
118 * for most recent token with line/col info, but notify getErrorHeader()
119 * that info is approximate.
186 protected RecognitionException(SerializationInfo info, StreamingContext context)
187 : base(info, context)
189 if (info == null)
190 throw new ArgumentNullException("info");
192 _index = info.GetInt32("Index");
193 _c = info.GetInt32("C");
194 _line = info.GetInt32("Line");
195 _charPositionInLine = info.GetInt32("CharPositionInLine");
196 _approximateLineInfo = info.GetBoolean("ApproximateLineInfo");
316 public override void GetObjectData(SerializationInfo info, StreamingContext context)
318 if (info == null)
319 throw new ArgumentNullException("info");
321 base.GetObjectData(info, context);
322 info.AddValue("Index", _index);
323 info.AddValue("C", _c);
324 info.AddValue("Line", _line);
325 info.AddValue("CharPositionInLine", _charPositionInLine);
326 info.AddValue("ApproximateLineInfo", _approximateLineInfo);
354 // imaginary node; no line/pos info; scan backwards
362 // we found the most recent real line / pos info