public static void NoMemberAllowed(this Errors errors, ISourced sourced, string context) { errors.Help.Add( sourced.Source.Span, ErrNo.Err008, $"no member allowed in ``{context}´´"); }
public static void NoFieldAllowed(this Errors errors, ISourced sourced, string context) { errors.Help.Add( sourced.Source.Span, ErrNo.Err006, $"no field allowed in ``{context}´´"); }
public static void NoBehaviourAllowed(this Errors errors, ISourced sourced, string context) { errors.Help.Add( sourced.Source.Span, ErrNo.Err007, $"no behaviour allowed in ``{context}´´"); }
private void ShowSource(TreeIter iter) { ISourced sourced = (ISourced)store.GetValue(iter, VALUE_OBJECT); Source source = sourced.Source; if ((source != null) && (SourceSelected != null)) { SourceSelected(source, false); } }