Stanse  -1
Public Member Functions | List of all members
cz.muni.stanse.cparser.CUnit Class Reference
Inheritance diagram for cz.muni.stanse.cparser.CUnit:
Inheritance graph
[legend]
Collaboration diagram for cz.muni.stanse.cparser.CUnit:
Collaboration graph
[legend]

Public Member Functions

 CUnit (List< String > args)
 
void parse () throws ParserException
 
synchronized void drop ()
 
- Public Member Functions inherited from cz.muni.stanse.codestructures.Unit
 Unit (File file, InputStream stream)
 
 Unit (File file) throws IOException
 
String getName ()
 
synchronized void drop ()
 
abstract void parse () throws ParserException
 
Map< String, String > getAliases ()
 

Additional Inherited Members

- Protected Member Functions inherited from cz.muni.stanse.codestructures.Unit
 Unit ()
 
Document getXMLDocument ()
 
List< CFGHandlegetCFGHandles ()
 
CFG getCFG (String functionName)
 
- Protected Attributes inherited from cz.muni.stanse.codestructures.Unit
File fileName
 
InputStream stream
 
Document xmlDocument
 
List< CFGHandleCFGHs = null
 
List< CFGCFGs = null
 
boolean available = false
 
Map< String, String > aliases = null
 

Detailed Description

Holds all the code-related data for C compilation units (files).

Currently based on the ANTLR parser, working in three steps.

  1. parse C and create an AST (GNUCa.g)
  2. parse AST and generate an XML representation of the AST (XMLEmitter.g)
  3. parse AST and generate its CFG, with pointers to the relevant XML nodes (CFGEmitter.g)

Constructor & Destructor Documentation

cz.muni.stanse.cparser.CUnit.CUnit ( List< String >  args)
inline

Constructor with flags parameter

Parameters
jobEntrystring in format TODO

Member Function Documentation

synchronized void cz.muni.stanse.cparser.CUnit.drop ( )
inline
void cz.muni.stanse.cparser.CUnit.parse ( ) throws ParserException
inline

The documentation for this class was generated from the following file: