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 |className, classData| 45% classData.class_constructors&.each_with_index do |constructor, index| 46 Create<%= className + "#{index}" %>, 47% if classData.updater_allowed() 48 Update<%= className + "#{index}" %>, 49% end 50% end 51 52% classData.class_methods&.each_with_index do |method_info, index| 53 <%= className + method_info["overload_name"] %>, 54% end 55% end 56