1/* 2 * Copyright (c) 2024 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16// Autogenerated file -- DO NOT EDIT! 17 18% Es2pandaLibApi::ast_nodes&.each do |ast_node| 19% if ast_node != "AstNode" && ast_node != "TypeNode" 20 Is<%= ast_node %>, 21% end 22% end 23 24% Es2pandaLibApi::scopes&.each do |scope| 25% if scope != "Scope" 26 ScopeIs<%= scope %>, 27% end 28% end 29 30% Es2pandaLibApi::ast_types&.each do |type| 31% if type != "Type" 32 TypeIs<%= type %>, 33% end 34% end 35 36% Es2pandaLibApi::ast_variables&.each do |variable| 37% if variable[1] != "Variable" 38 VariableIs<%= variable[1] %>, 39% end 40% end 41 42 AstNodeName, 43 44% Es2pandaLibApi::classes&.each do |namespaceName, namespaceClasses| 45% namespaceClasses&.each do |className, classData| 46% classData.class_constructors&.each_with_index do |constructor, index| 47 Create<%= className + constructor["overload"] %>, 48% if classData.updater_allowed() 49 Update<%= className + constructor["overload"] %>, 50% end 51% end 52 53% classData.class_methods&.each_with_index do |method_info, index| 54 <%= className + method_info["overload_name"] %>, 55% end 56% end 57% end 58 59% Es2pandaLibApi::structs&.each do |structName, structData| 60% structData.struct_getters&.each_with_index do |method_info, index| 61 <%= structName + method_info["name"] %>, 62% end 63% end 64