public void Fallback(IIronyAstObject objItem, RuntimeBinderException excException) { if (ReferenceEquals(objItem, null)) { Log.Append("<Unrecognized null object"); } else { Log.Append("<Unrecognized object " + objItem + ">"); } }
//public abstract ILanguageValue GetTypeInitializedValue(ILanguageType lang_type); //public abstract ILanguageValue CreateInitializedValue(TypePrimitive lang_type); public virtual string Describe(IIronyAstObject astItem) { if (ReferenceEquals(astItem, null)) { return("<null ast item>"); } _astDescription.Log.Clear(); astItem.AcceptVisitor(_astDescription); return(_astDescription.Log.ToString()); }
public override string Describe(IIronyAstObject astItem) { if (ReferenceEquals(astItem, null)) { return("<null ast item>"); } var astDescr = new GMacAstDescription(); astDescr.Log.Clear(); astItem.AcceptVisitor(astDescr); return(astDescr.Log.ToString()); }
public TreeNode Fallback(IIronyAstObject objItem, RuntimeBinderException excException) { return(new TreeNode("Unrecognized Node!")); }
public static TreeNode Convert(IIronyAstObject item) { var converter = new GMacAstToTreeViewNodes(); return(item.AcceptVisitor(converter)); }
/// <summary> /// The parent GMac DSL of this GMac symbol /// </summary> /// <param name="dslObject"></param> /// <returns></returns> internal static GMacAst GMacRootAst(this IIronyAstObject dslObject) { return((GMacAst)dslObject.RootAst); }
public void Fallback(IIronyAstObject objItem, RuntimeBinderException excException) { }
public void Fallback(IIronyAstObject objItem, RuntimeBinderException excException) { throw new NotImplementedException(); }