コード例 #1
0
        internal FormMacroExplorer(GMacMacro macro)
        {
            InitializeComponent();

            SelectedMacro = new AstMacro(macro);

            AstDescription = new GMacAstDescription();

            textBoxMacroName.Text = macro.SymbolAccessName;

            ResetMacroParameters();
        }
コード例 #2
0
ファイル: GMacAst.cs プロジェクト: phreed/GMac
        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());
        }