File tree Expand file tree Collapse file tree
ruby/ql/lib/codeql/ruby/ast/internal
shared/namebinding/codeql/namebinding
unified/ql/lib/codeql/unified/internal Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -170,8 +170,6 @@ private module Input implements LocalNameBindingInputSig<Location> {
170170 class SiblingShadowingDecl extends AstNode {
171171 SiblingShadowingDecl ( ) { none ( ) }
172172
173- AstNode getLhs ( ) { none ( ) }
174-
175173 AstNode getRhs ( ) { none ( ) }
176174
177175 AstNode getElse ( ) { none ( ) }
Original file line number Diff line number Diff line change @@ -82,9 +82,6 @@ signature module LocalNameBindingInputSig<LocationSig Location> {
8282 * ```
8383 */
8484 class SiblingShadowingDecl extends AstNode {
85- /** Gets the left-hand side of this declaration. */
86- AstNode getLhs ( ) ;
87-
8885 /**
8986 * Gets the right-hand side of this declaration.
9087 *
Original file line number Diff line number Diff line change @@ -91,9 +91,6 @@ private module LocalNameBindingInput implements LocalNameBindingInputSig<Locatio
9191 }
9292
9393 abstract class SiblingShadowingDecl extends AstNode {
94- /** Gets the left-hand side of this declaration. */
95- abstract AstNode getLhs ( ) ;
96-
9794 /**
9895 * Gets the right-hand side of this declaration.
9996 *
@@ -113,25 +110,19 @@ private module LocalNameBindingInput implements LocalNameBindingInputSig<Locatio
113110
114111 private class LocalVariableDeclarationSiblingShadowingDecl extends SiblingShadowingDecl instanceof LocalVariableDeclaration
115112 {
116- override AstNode getLhs ( ) { result = LocalVariableDeclaration .super .getPattern ( ) }
117-
118113 override AstNode getRhs ( ) { result = LocalVariableDeclaration .super .getValue ( ) }
119114
120115 override AstNode getElse ( ) { none ( ) }
121116 }
122117
123118 private class PatternGuardExprSiblingShadowingDecl extends SiblingShadowingDecl instanceof PatternGuardExpr
124119 {
125- override AstNode getLhs ( ) { result = PatternGuardExpr .super .getPattern ( ) }
126-
127120 override AstNode getRhs ( ) { result = PatternGuardExpr .super .getValue ( ) }
128121
129122 override AstNode getElse ( ) { none ( ) }
130123 }
131124
132125 private class GuardIfStmtSiblingShadowingDecl extends SiblingShadowingDecl instanceof GuardIfStmt {
133- override AstNode getLhs ( ) { result = GuardIfStmt .super .getCondition ( ) }
134-
135126 override AstNode getRhs ( ) { none ( ) }
136127
137128 override AstNode getElse ( ) { result = GuardIfStmt .super .getElse ( ) }
You can’t perform that action at this time.
0 commit comments