Class ASTSIUnitPrimitive

java.lang.Object
de.monticore.ast.ASTCNode
de.monticore.siunit.siunits._ast.ASTSIUnitPrimitive
All Implemented Interfaces:
de.monticore.ast.ASTNode, ASTSIUnitsNode, Cloneable

public class ASTSIUnitPrimitive extends de.monticore.ast.ASTCNode implements ASTSIUnitsNode
  • Field Details

  • Constructor Details

    • ASTSIUnitPrimitive

      protected ASTSIUnitPrimitive()
  • Method Details

    • deepEquals

      public boolean deepEquals(Object o)
      Specified by:
      deepEquals in interface de.monticore.ast.ASTNode
    • deepEquals

      public boolean deepEquals(Object o, boolean forceSameOrder)
      Specified by:
      deepEquals in interface de.monticore.ast.ASTNode
    • deepEqualsWithComments

      public boolean deepEqualsWithComments(Object o)
      Specified by:
      deepEqualsWithComments in interface de.monticore.ast.ASTNode
    • deepEqualsWithComments

      public boolean deepEqualsWithComments(Object o, boolean forceSameOrder)
      Specified by:
      deepEqualsWithComments in interface de.monticore.ast.ASTNode
    • equalAttributes

      public boolean equalAttributes(Object o)
      Specified by:
      equalAttributes in interface de.monticore.ast.ASTNode
    • equalsWithComments

      public boolean equalsWithComments(Object o)
      Specified by:
      equalsWithComments in interface de.monticore.ast.ASTNode
    • deepClone

      public ASTSIUnitPrimitive deepClone()
      Specified by:
      deepClone in interface de.monticore.ast.ASTNode
      Specified by:
      deepClone in class de.monticore.ast.ASTCNode
    • deepClone

      public ASTSIUnitPrimitive deepClone(ASTSIUnitPrimitive result)
    • getSIUnitWithPrefix

      public ASTSIUnitWithPrefix getSIUnitWithPrefix()
    • isPresentSIUnitWithPrefix

      public boolean isPresentSIUnitWithPrefix()
    • getSIUnitWithoutPrefix

      public ASTSIUnitWithoutPrefix getSIUnitWithoutPrefix()
    • isPresentSIUnitWithoutPrefix

      public boolean isPresentSIUnitWithoutPrefix()
    • getSIUnitDimensionless

      public ASTSIUnitDimensionless getSIUnitDimensionless()
    • isPresentSIUnitDimensionless

      public boolean isPresentSIUnitDimensionless()
    • getCelsiusFahrenheit

      public ASTCelsiusFahrenheit getCelsiusFahrenheit()
    • isPresentCelsiusFahrenheit

      public boolean isPresentCelsiusFahrenheit()
    • getSIUnitKindGroupWithExponent

      public ASTSIUnitKindGroupWithExponent getSIUnitKindGroupWithExponent()
    • isPresentSIUnitKindGroupWithExponent

      public boolean isPresentSIUnitKindGroupWithExponent()
    • setSIUnitWithPrefix

      public void setSIUnitWithPrefix(ASTSIUnitWithPrefix sIUnitWithPrefix)
    • setSIUnitWithPrefixAbsent

      public void setSIUnitWithPrefixAbsent()
    • setSIUnitWithoutPrefix

      public void setSIUnitWithoutPrefix(ASTSIUnitWithoutPrefix sIUnitWithoutPrefix)
    • setSIUnitWithoutPrefixAbsent

      public void setSIUnitWithoutPrefixAbsent()
    • setSIUnitDimensionless

      public void setSIUnitDimensionless(ASTSIUnitDimensionless sIUnitDimensionless)
    • setSIUnitDimensionlessAbsent

      public void setSIUnitDimensionlessAbsent()
    • setCelsiusFahrenheit

      public void setCelsiusFahrenheit(ASTCelsiusFahrenheit celsiusFahrenheit)
    • setCelsiusFahrenheitAbsent

      public void setCelsiusFahrenheitAbsent()
    • setSIUnitKindGroupWithExponent

      public void setSIUnitKindGroupWithExponent(ASTSIUnitKindGroupWithExponent sIUnitKindGroupWithExponent)
    • setSIUnitKindGroupWithExponentAbsent

      public void setSIUnitKindGroupWithExponentAbsent()
    • accept

      public void accept(SIUnitsTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Specified by:
      accept in interface ASTSIUnitsNode
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(MCCommonLiteralsTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(MCBasicsTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(MCLiteralsBasisTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(de.monticore.visitor.ITraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Specified by:
      accept in interface de.monticore.ast.ASTNode
      Parameters:
      visitor - the visitor to dispatch to
    • _construct

      protected ASTSIUnitPrimitive _construct()
    • getEnclosingScope

      public ISIUnitsScope getEnclosingScope()
      Specified by:
      getEnclosingScope in interface de.monticore.ast.ASTNode
    • setEnclosingScope

      public void setEnclosingScope(ISIUnitsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCCommonLiteralsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCBasicsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCLiteralsBasisScope enclosingScope)