Package org.variantsync.boosting.parsing
Class CAST
java.lang.Object
org.variantsync.boosting.parsing.AbstractAST
org.variantsync.boosting.parsing.LineAST
org.variantsync.boosting.parsing.CAST
- All Implemented Interfaces:
Serializable
Represents a Syntax Tree (CAST) for C source code files.
This class extends LineAST and provides functionality specific to C source
code files.
The supported file types for this CAST are ".c" and ".h".
- See Also:
-
Field Summary
Fields inherited from class org.variantsync.boosting.parsing.AbstractAST
astNodes, root
-
Constructor Summary
ConstructorsConstructorDescriptionCAST()
Constructs a new CAST object with default file types ".c" and ".h".Constructs a new CAST object with the specified root file and default file types ".c" and ".h".CAST
(ASTNode root, CustomHashSet<ASTNode> astNodes) Constructs a new CAST object with the specified root node and AST nodes, and default file types ".c" and ".h". -
Method Summary
Methods inherited from class org.variantsync.boosting.parsing.LineAST
visitFileContent
Methods inherited from class org.variantsync.boosting.parsing.AbstractAST
collectAstNodes, getAstNodes, getRoot
-
Constructor Details
-
CAST
public CAST()Constructs a new CAST object with default file types ".c" and ".h". -
CAST
Constructs a new CAST object with the specified root file and default file types ".c" and ".h".- Parameters:
rootFile
- The root file for the CAST.
-
CAST
Constructs a new CAST object with the specified root node and AST nodes, and default file types ".c" and ".h".- Parameters:
root
- The root node for the CAST.astNodes
- The set of AST nodes for the CAST.
-