[Retracted] Automatic Grading for Complex Multifile Programs
Table 3
AST data map.
Key
Description
Index
Used for indexing of visiting and traversing process sequences while using ASTVisitor
Node
Visited syntax node
Parent node
Node parent to indicate its parent
Child node
Node child to indicate its child by node parser
Flag
Indicating node type
(i). Root (node does not have parent and has child or its entry, and it also can indicate starting of program function)
(ii). Parent (node has parent and child)
(iii). Child (node has parent only, or its leaf node)
Syntax classifier
Indicating syntax to distinguish whether its user defined syntax or standard programming language syntax; it can be distinguished by comparing standard programming language syntax data provided and learned in database
Process
Indicating process entry (starting process) and exit number of node