mirror of
https://github.com/github/codeql.git
synced 2026-05-08 15:11:36 +02:00
patch upper-case acronyms to be PascalCase
This commit is contained in:
@@ -14,7 +14,7 @@ class Scope extends @scope {
|
||||
Scope getAnInnerScope() { result.getOuterScope() = this }
|
||||
|
||||
/** Gets the program element this scope is associated with, if any. */
|
||||
ASTNode getScopeElement() { scopenodes(result, this) }
|
||||
AstNode getScopeElement() { scopenodes(result, this) }
|
||||
|
||||
/** Gets the location of the program element this scope is associated with, if any. */
|
||||
Location getLocation() { result = this.getScopeElement().getLocation() }
|
||||
@@ -32,7 +32,7 @@ class Scope extends @scope {
|
||||
/**
|
||||
* A program element that induces a scope.
|
||||
*/
|
||||
class ScopeElement extends ASTNode {
|
||||
class ScopeElement extends AstNode {
|
||||
Scope s;
|
||||
|
||||
ScopeElement() { this = s.getScopeElement() }
|
||||
@@ -581,7 +581,7 @@ class ObjectPattern extends DestructuringPattern, @object_pattern {
|
||||
* }
|
||||
* ```
|
||||
*/
|
||||
class PropertyPattern extends @property, ASTNode {
|
||||
class PropertyPattern extends @property, AstNode {
|
||||
PropertyPattern() {
|
||||
// filter out ordinary properties
|
||||
exists(ObjectPattern obj | properties(this, obj, _, _, _))
|
||||
|
||||
Reference in New Issue
Block a user