AgoraIO-Extensions / AgoraIO-Extensions/terra

Proposal: UpdateNodeTypeParser

未关闭
#1 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
2
派生
1
PR 合并指标
30 天内没有已合并 PR

描述

The `UpdateNodeTypeParser` does the following things:
- Change the return type of the functions
- Change the parameters' type of the functions

Configuration like below:
```yaml
UpdateNodeTypeParser:
methods: # The key maybe call `functions`?
- name: agora::rtc::IRtcEngine::joinChannel
return_type: # The `return_type`'s keys match the `SimpleType` objects' keys
name: void
source: void
kind: value_t
is_const: true
is_builtin_type: true

parameters:
- name: channelId
type: # The `type`'s keys match the `SimpleType` objects' keys
name: int
source: int
kind: value_t
is_const: true
is_builtin_type: true
```

Maybe feature in the future
- Change the name of the parameters

```yaml
UpdateNodeTypeParser:
methods: # The key maybe call `functions`?
- name: agora::rtc::IRtcEngine::joinChannel
parameters:
- name: channelId
rename: intChannelId
```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。