@@ -235,18 +235,15 @@ predicate localExprFlow(CfgNodes::ExprCfgNode e1, CfgNodes::ExprCfgNode e2) {
235235 localFlow ( exprNode ( e1 ) , exprNode ( e2 ) )
236236}
237237
238- /** A reference contained in an object, or the `noContent()` value . */
239- class OptionalContent extends TOptionalContent {
238+ /** A reference contained in an object. */
239+ class Content extends TContent {
240240 /** Gets a textual representation of this content. */
241241 string toString ( ) { none ( ) }
242242
243243 /** Gets the location of this content. */
244244 Location getLocation ( ) { none ( ) }
245245}
246246
247- /** A reference contained in an object. */
248- class Content extends OptionalContent , TContent { }
249-
250247/** Provides different sub classes of `Content`. */
251248module Content {
252249 /** An element in a collection, for example an element in an array or in a hash. */
@@ -337,14 +334,6 @@ module Content {
337334
338335 /** Gets `AttributeNameContent` of the given name. */
339336 AttributeNameContent getAttributeName ( string name ) { result .getName ( ) = name }
340-
341- /** A value representing no content. */
342- class NoContent extends OptionalContent , TNoContent {
343- override string toString ( ) { result = "noContent()" }
344- }
345-
346- /** Gets the `noContent()` value. */
347- NoContent noContent ( ) { any ( ) }
348337}
349338
350339class OptionalContentSet extends TOptionalContentSet {
0 commit comments