CodeQL library for Ruby
codeql/ruby-all 0.8.15-dev (changelog, source)
Search

Module GeneratedCode

Provides classes for detecting generated code.

Import path

import codeql.ruby.filters.GeneratedCode

Predicates

isGeneratedCode

Holds if file looks like it contains generated code.

Classes

DontModifyMarkerComment

A comment warning against modifications.

GeneratedCodeComment

A comment line that indicates generated code.

GeneratedCodeFile

A source file that contains generated code.

GeneratedCommentFile

A file continuing comments suggesting it contains generated code.

GenericGeneratedCodeComment

A generic comment line that suggests that the file is generated.