Version 7.0
Copyright © 2021 Lowell D. Thomas
APG
… an ABNF Parser Generator
Functions
rule-dependencies.c File Reference

For each rule, R, determines the list of other rules R references in its syntax tree. More...

#include "./api.h"
#include "./apip.h"
#include "./attributes.h"
Include dependency graph for rule-dependencies.c:

Go to the source code of this file.

Functions

void vRuleDependencies (attrs_ctx *spAtt)
 Compute each rule's dependencies on the other rules, and possibly on itself if the rule is recursive. More...
 

Detailed Description

For each rule, R, determines the list of other rules R references in its syntax tree.

Additionally, for each rule, R, determines the list of rules that refer back to R in their respective syntax trees.

Definition in file rule-dependencies.c.

Function Documentation

◆ vRuleDependencies()

void vRuleDependencies ( attrs_ctx *  spAtt)

Compute each rule's dependencies on the other rules, and possibly on itself if the rule is recursive.

Parameters
spAttPointer to the attribute context.

Definition at line 58 of file rule-dependencies.c.

APG Version 7.0 is licensed under the 2-Clause BSD License,
an Open Source Initiative Approved License.