docs: further review comments

This commit is contained in:
james
2019-11-06 12:37:20 +00:00
parent 8d02a740dd
commit 24615f2bdb
7 changed files with 27 additions and 27 deletions

View File

@@ -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