Methods
fix(document) → {Object}
Fix ID in a clang document
Parameters:
Name | Type | Description |
---|---|---|
document |
Object | a clang document |
- Source:
Returns:
a fixed document
- Type
- Object
scan(document, pass) → {Object}
Scan (depth first search) nodes in a clang document and fix ID
Parameters:
Name | Type | Description |
---|---|---|
document |
Object | a clang document |
pass |
integer | pass number (0=enumerate all nodes, 1=fix nodes IDs) |
- Source:
Returns:
a new document
- Type
- Object