コード例 #1
0
        public string Fallback(IAstObject item, RuntimeBinderException excException)
        {
            if (ReferenceEquals(item, null))
                return "Null GMacAST Node!";

            return "Unhandled Node Object: " + item;
        }
コード例 #2
0
        public TreeNode Fallback(IAstObject item, RuntimeBinderException excException)
        {
            if (ReferenceEquals(item, null))
            {
                return(new TreeNode("Null Node!"));
            }

            return(new TreeNode("Unhandled Node Object"));
        }
コード例 #3
0
 public virtual void Fallback(IAstObject objItem, RuntimeBinderException excException)
 {
 }
コード例 #4
0
ファイル: FormAstExplorer.cs プロジェクト: phreed/GMac
 private void FillOutputBox(IAstObject item)
 {
     textBoxOutput.Text = item.AcceptVisitor(_astDescriptionVisitor);
 }