Class ASTLabelBuilder

java.lang.Object
de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
de.monticore.statements.mclowlevelstatements._ast.ASTLabelBuilder

public class ASTLabelBuilder extends de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
  • Field Details

  • Constructor Details

    • ASTLabelBuilder

      public ASTLabelBuilder()
  • Method Details

    • build

      public ASTLabel build()
    • isValid

      public boolean isValid()
    • getName

      public String getName()
    • getMCStatement

      public ASTMCStatement getMCStatement()
    • setName

      public ASTLabelBuilder setName(String name)
    • setMCStatement

      public ASTLabelBuilder setMCStatement(ASTMCStatement mCStatement)
    • set_SourcePositionEnd

      public ASTLabelBuilder set_SourcePositionEnd(de.se_rwth.commons.SourcePosition end)
      Overrides:
      set_SourcePositionEnd in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • set_SourcePositionEndAbsent

      public ASTLabelBuilder set_SourcePositionEndAbsent()
      Overrides:
      set_SourcePositionEndAbsent in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • set_SourcePositionStart

      public ASTLabelBuilder set_SourcePositionStart(de.se_rwth.commons.SourcePosition start)
      Overrides:
      set_SourcePositionStart in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • set_SourcePositionStartAbsent

      public ASTLabelBuilder set_SourcePositionStartAbsent()
      Overrides:
      set_SourcePositionStartAbsent in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • clear_PreComments

      public ASTLabelBuilder clear_PreComments()
      Overrides:
      clear_PreComments in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • add_PreComment

      public ASTLabelBuilder add_PreComment(de.monticore.ast.Comment precomment)
      Overrides:
      add_PreComment in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • add_PreComment

      public ASTLabelBuilder add_PreComment(int index, de.monticore.ast.Comment precomment)
      Overrides:
      add_PreComment in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • addAll_PreComments

      public ASTLabelBuilder addAll_PreComments(Collection<de.monticore.ast.Comment> precomments)
      Overrides:
      addAll_PreComments in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • addAll_PreComments

      public ASTLabelBuilder addAll_PreComments(int index, Collection<de.monticore.ast.Comment> precomments)
      Overrides:
      addAll_PreComments in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • remove_PreComment

      public ASTLabelBuilder remove_PreComment(Object element)
      Overrides:
      remove_PreComment in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • remove_PreComment

      public ASTLabelBuilder remove_PreComment(int index)
      Overrides:
      remove_PreComment in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • removeAll_PreComments

      public ASTLabelBuilder removeAll_PreComments(Collection<?> element)
      Overrides:
      removeAll_PreComments in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • retainAll_PreComments

      public ASTLabelBuilder retainAll_PreComments(Collection<?> element)
      Overrides:
      retainAll_PreComments in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • removeIf_PreComment

      public ASTLabelBuilder removeIf_PreComment(Predicate<? super de.monticore.ast.Comment> filter)
      Overrides:
      removeIf_PreComment in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • forEach_PreComments

      public ASTLabelBuilder forEach_PreComments(Consumer<? super de.monticore.ast.Comment> action)
      Overrides:
      forEach_PreComments in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • replaceAll_PreComments

      public ASTLabelBuilder replaceAll_PreComments(UnaryOperator<de.monticore.ast.Comment> operator)
      Overrides:
      replaceAll_PreComments in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • sort_PreComments

      public ASTLabelBuilder sort_PreComments(Comparator<? super de.monticore.ast.Comment> comparator)
      Overrides:
      sort_PreComments in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • set_PreCommentList

      public ASTLabelBuilder set_PreCommentList(List<de.monticore.ast.Comment> preComments)
      Overrides:
      set_PreCommentList in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • set_PreComment

      public ASTLabelBuilder set_PreComment(int index, de.monticore.ast.Comment precomment)
      Overrides:
      set_PreComment in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • clear_PostComments

      public ASTLabelBuilder clear_PostComments()
      Overrides:
      clear_PostComments in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • add_PostComment

      public ASTLabelBuilder add_PostComment(de.monticore.ast.Comment postcomment)
      Overrides:
      add_PostComment in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • add_PostComment

      public ASTLabelBuilder add_PostComment(int index, de.monticore.ast.Comment postcomment)
      Overrides:
      add_PostComment in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • addAll_PostComments

      public ASTLabelBuilder addAll_PostComments(Collection<de.monticore.ast.Comment> postcomments)
      Overrides:
      addAll_PostComments in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • addAll_PostComments

      public ASTLabelBuilder addAll_PostComments(int index, Collection<de.monticore.ast.Comment> postcomments)
      Overrides:
      addAll_PostComments in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • remove_PostComment

      public ASTLabelBuilder remove_PostComment(Object element)
      Overrides:
      remove_PostComment in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • remove_PostComment

      public ASTLabelBuilder remove_PostComment(int index)
      Overrides:
      remove_PostComment in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • removeAll_PostComments

      public ASTLabelBuilder removeAll_PostComments(Collection<?> element)
      Overrides:
      removeAll_PostComments in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • retainAll_PostComments

      public ASTLabelBuilder retainAll_PostComments(Collection<?> element)
      Overrides:
      retainAll_PostComments in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • removeIf_PostComment

      public ASTLabelBuilder removeIf_PostComment(Predicate<? super de.monticore.ast.Comment> filter)
      Overrides:
      removeIf_PostComment in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • forEach_PostComments

      public ASTLabelBuilder forEach_PostComments(Consumer<? super de.monticore.ast.Comment> action)
      Overrides:
      forEach_PostComments in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • replaceAll_PostComments

      public ASTLabelBuilder replaceAll_PostComments(UnaryOperator<de.monticore.ast.Comment> operator)
      Overrides:
      replaceAll_PostComments in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • sort_PostComments

      public ASTLabelBuilder sort_PostComments(Comparator<? super de.monticore.ast.Comment> comparator)
      Overrides:
      sort_PostComments in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • set_PostCommentList

      public ASTLabelBuilder set_PostCommentList(List<de.monticore.ast.Comment> postComments)
      Overrides:
      set_PostCommentList in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • set_PostComment

      public ASTLabelBuilder set_PostComment(int index, de.monticore.ast.Comment postcomment)
      Overrides:
      set_PostComment in class de.monticore.ast.ASTNodeBuilder<ASTLabelBuilder>
    • uncheckedBuild

      public ASTLabel uncheckedBuild()