Exemplo n.º 1
0
        public void visit(IClassConstantDefinitionNode value)
        {
            string s = value.GetType().Name + ".";
            prepare_string_node(value.name, s + "name");            
            
            prepare_up_link_node(value.comperehensive_type.name.ToString(), s + "comperehensive_type", value.comperehensive_type);

            myTreeNode from = treeView.SelectedNode.Nodes[1] as myTreeNode;
            myTreeNode to = table_subnodes[value.comperehensive_type] as myTreeNode;
            table_for_up_links.Add(from, to);


            prepare_node(value.constant_value, s + "constant_value");
            prepare_string_node(value.field_access_level.ToString(), s + "field_access_level");
            prepare_string_node(value.polymorphic_state.ToString(), s + "polymorphic_state");
            prepare_node(value.type, s + "type");                        
        }
Exemplo n.º 2
0
        public void visit(IClassConstantDefinitionNode value)
        {

            throw new System.NotSupportedException(value.GetType().ToString());
        }