mirror of
https://github.com/github/codeql.git
synced 2026-04-22 23:35:14 +02:00
docs: further review comments
This commit is contained in:
@@ -21,16 +21,16 @@ Agenda
|
||||
|
||||
.. resume slides
|
||||
|
||||
AST classes
|
||||
===========
|
||||
AST CodeQL classes
|
||||
==================
|
||||
|
||||
Important AST classes include:
|
||||
Important AST CodeQL classes include:
|
||||
|
||||
- ``Expr``: expressions such as assignments, variable references, function calls, ...
|
||||
- ``Stmt``: statements such as conditionals, loops, try statements, ...
|
||||
- ``DeclarationEntry``: places where functions, variables or types are declared and/or defined
|
||||
|
||||
These three (and all other AST classes) are subclasses of ``Element``.
|
||||
These three (and all other AST CodeQL classes) are subclasses of ``Element``.
|
||||
|
||||
Symbol table
|
||||
============
|
||||
@@ -64,7 +64,7 @@ Working with functions
|
||||
|
||||
Functions are represented by the Function class. Each declaration or definition of a function is represented by a ``FunctionDeclarationEntry``.
|
||||
|
||||
Calls to functions are modeled by class ``Call`` and its subclasses:
|
||||
Calls to functions are modeled by CodeQL class ``Call`` and its subclasses:
|
||||
|
||||
- ``Call.getTarget()`` gets the declared target of the call; undefined for calls through function pointers
|
||||
- ``Function.getACallToThisFunction()`` gets a call to this function
|
||||
|
||||
Reference in New Issue
Block a user