Package jminusminus

Class CompilationUnitContext

java.lang.Object
jminusminus.Context
jminusminus.CompilationUnitContext

class CompilationUnitContext extends Context
The compilation unit context is always the outermost context and is where imported types and locally defined types (classes) are declared.
  • Constructor Details

    • CompilationUnitContext

      public CompilationUnitContext()
      Constructs a new compilation unit context.
  • Method Details

    • toJSON

      public void toJSON(JSONElement json)
      Adds information pertaining to this context to the given JSON element.
      Overrides:
      toJSON in class Context
      Parameters:
      json - JSON element.