Autodesk / Autodesk/AutomaticComponentToolkit
Handle reserved function names in binding and implementation languages
- 主要言語
- Go
- スター
- 53
- フォーク
- 26
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Different languages define specific methods on classes per default, e.g. C# defines ToString, GetType and GetHashCode.
When components define methods with these names in one of their classes, this can lead to problems.
Solution:
in the binding (or implementation section) of the component, define overrides for these resreved names or keywords
e.g.
```xml
```
This would basically replace each occurrence of "GetType" in the C#-binding by "GetObjectType".
コントリビューションガイド
調査の方向性
まず、コンポーネントのバインディングと実装のセクションを処理し、言語固有の名前を生成するコードを見つけます。現在、GetType のような C# メソッドがどのように出力されているかを確認し、提案されている予約名の置換がどのように表現され、適用されるかを判断します。バインディングで置換を宣言でき、生成された C# の出現箇所が他の言語を変更せずにその置換を使用すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp, go
- 領域
- tooling
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100