mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
move indices comment into plain comment
This commit is contained in:
@@ -857,10 +857,11 @@ class TupleTypeExpr extends @tupletypeexpr, TypeExpr {
|
||||
/**
|
||||
* Gets the name of the `n`th tuple member, starting at 0.
|
||||
* Only has a result if the tuple members are named.
|
||||
*
|
||||
* Type element names are at indices -1, -2, -3, ...
|
||||
*/
|
||||
Identifier getElementName(int n) { result = getChild(-(n + 1)) and n >= 0 }
|
||||
Identifier getElementName(int n) {
|
||||
// Type element names are at indices -1, -2, -3, ...
|
||||
result = getChild(-(n + 1)) and n >= 0
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user