예제 #1
0
 public void visit(ICommonNestedInFunctionFunctionNode value)
 {
     string s = value.GetType().Name + ".";
     prepare_string_node(value.name, s + "name");
     prepare_collection(value.constants, s + "constants", "constants", value.constants.Length);
     //value.function
     prepare_node(value.function_code, s + "function_code");
     prepare_collection(value.functions_nodes, s + "function_nodes", "function_nodes", value.functions_nodes.Length);
     prepare_string_node(value.node_kind.ToString(), s + "node_kind");
     prepare_string_node(value.node_location_kind.ToString(), s + "node_location_kind");
     prepare_collection(value.parameters, s + "parametrs", "parametrs", value.parameters.Length);
     prepare_node(value.return_value_type, s + "return_value_type");
     //prepare_node(value.return_variable, s + "return_variable");
     prepare_string_node(value.SpecialFunctionKind.ToString(), s + "SpecialFunctionKind");
     prepare_collection(value.var_definition_nodes, s + "var_definition_nodes", "var_definition_nodes", value.var_definition_nodes.Length);
 }
예제 #2
0
 public void visit(ICommonNestedInFunctionFunctionNode value)
 {
     throw new System.NotSupportedException(value.GetType().ToString());
 }