Module Simula

Class HiddenSpecification

java.lang.Object
simula.compiler.syntaxClass.SyntaxClass
simula.compiler.syntaxClass.HiddenSpecification
All Implemented Interfaces:
Externalizable, Serializable

public final class HiddenSpecification extends SyntaxClass implements Externalizable
Hidden Specification.
 Syntax: 
     protection-specification
         = hidden identifier-list
         | protected identifier-list
         | hidden protected identifier-list
         | protected hidden identifier-list
 
Link to GitHub: Source File.
Author:
Øystein Myhre Andersen
See Also:
  • Field Details

    • identifier

      public String identifier
      The hidden identifier.
    • definedIn

      ClassDeclaration definedIn
      The class in which this HiddenSpecification occur.
    • protectedBy

      private ProtectedSpecification protectedBy
      The ProtectedSpecification set during doChecking
  • Constructor Details

    • HiddenSpecification

      public HiddenSpecification(ClassDeclaration definedIn, String identifier)
      Create a new HiddenSpecification.
      Parameters:
      definedIn - the class where Hidden is specified
      identifier - the hidden identifier
    • HiddenSpecification

      public HiddenSpecification()
      Default constructor used by Externalization.
  • Method Details