Class FunctionSymbolTOP

java.lang.Object
de.monticore.symbols.basicsymbols._symboltable.FunctionSymbolTOP
All Implemented Interfaces:
ICommonBasicSymbolsSymbol, de.monticore.symboltable.IScopeSpanningSymbol, de.monticore.symboltable.ISymbol
Direct Known Subclasses:
FunctionSymbol

public abstract class FunctionSymbolTOP extends Object implements ICommonBasicSymbolsSymbol, de.monticore.symboltable.IScopeSpanningSymbol
  • Field Details

    • name

      protected String name
    • enclosingScope

      protected IBasicSymbolsScope enclosingScope
    • astNode

      protected Optional<ASTFunction> astNode
    • accessModifier

      protected de.monticore.symboltable.modifiers.AccessModifier accessModifier
    • stereoinfo

      protected Map<de.monticore.symboltable.stereotypes.IStereotypeReference,Optional<de.monticore.values.MCValue>> stereoinfo
    • fullName

      protected String fullName
    • packageName

      protected String packageName
    • isElliptic

      protected boolean isElliptic
    • type

      protected SymTypeExpression type
    • spannedScope

      protected IBasicSymbolsScope spannedScope
  • Constructor Details

    • FunctionSymbolTOP

      public FunctionSymbolTOP(String name)
  • Method Details

    • isIsElliptic

      public boolean isIsElliptic()
    • setIsElliptic

      public void setIsElliptic(boolean isElliptic)
    • getType

      public SymTypeExpression getType()
    • setType

      public void setType(SymTypeExpression type)
    • getName

      public String getName()
      Specified by:
      getName in interface de.monticore.symboltable.ISymbol
    • setName

      public void setName(String name)
    • getEnclosingScope

      public IBasicSymbolsScope getEnclosingScope()
      Specified by:
      getEnclosingScope in interface ICommonBasicSymbolsSymbol
      Specified by:
      getEnclosingScope in interface de.monticore.symboltable.ISymbol
    • setEnclosingScope

      public void setEnclosingScope(IBasicSymbolsScope enclosingScope)
      Specified by:
      setEnclosingScope in interface ICommonBasicSymbolsSymbol
    • getAstNode

      public ASTFunction getAstNode()
      Specified by:
      getAstNode in interface de.monticore.symboltable.ISymbol
    • isPresentAstNode

      public boolean isPresentAstNode()
      Specified by:
      isPresentAstNode in interface de.monticore.symboltable.ISymbol
    • setAstNode

      public void setAstNode(ASTFunction astNode)
    • setAstNodeAbsent

      public void setAstNodeAbsent()
    • getAccessModifier

      public de.monticore.symboltable.modifiers.AccessModifier getAccessModifier()
      Specified by:
      getAccessModifier in interface de.monticore.symboltable.ISymbol
    • setAccessModifier

      public void setAccessModifier(de.monticore.symboltable.modifiers.AccessModifier accessModifier)
      Specified by:
      setAccessModifier in interface de.monticore.symboltable.ISymbol
    • getStereoinfo

      public Map<de.monticore.symboltable.stereotypes.IStereotypeReference,Optional<de.monticore.values.MCValue>> getStereoinfo()
      Specified by:
      getStereoinfo in interface de.monticore.symboltable.ISymbol
    • setStereoinfo

      public void setStereoinfo(Map<de.monticore.symboltable.stereotypes.IStereotypeReference,Optional<de.monticore.values.MCValue>> stereoinfo)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getThis

      protected FunctionSymbol getThis()
    • setFullName

      public void setFullName(String fullName)
    • getFullName

      public String getFullName()
      Specified by:
      getFullName in interface de.monticore.symboltable.ISymbol
    • setPackageName

      public void setPackageName(String packageName)
    • getPackageName

      public String getPackageName()
      Specified by:
      getPackageName in interface de.monticore.symboltable.ISymbol
    • accept

      public void accept(BasicSymbolsTraverser visitor)
      Specified by:
      accept in interface ICommonBasicSymbolsSymbol
    • accept

      public void accept(MCBasicsTraverser visitor)
    • accept

      public void accept(de.monticore.visitor.ITraverser visitor)
      Specified by:
      accept in interface de.monticore.symboltable.ISymbol
    • determinePackageName

      protected String determinePackageName()
    • determineFullName

      protected String determineFullName()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getSpannedScope

      public IBasicSymbolsScope getSpannedScope()
      Specified by:
      getSpannedScope in interface de.monticore.symboltable.IScopeSpanningSymbol
    • setSpannedScope

      public void setSpannedScope(IBasicSymbolsScope scope)