Class ActorCount

    • Constructor Detail

      • ActorCount

        public ActorCount()
    • Method Detail

      • visit

        public void visit​(Step step)
        Checks how many actors are there in a step For each occurrence gets actor's name and increments occurrence time
        Specified by:
        visit in interface Visitor
        Parameters:
        step - Step which will be analysed
        See Also:
        Step.accept(Visitor)
      • stripKeywords

        public String stripKeywords​(String original)
        Strips keywords from the beginning of a given string.

        Supported keywords are IF, ELSE, FOR EACH.

        Parameters:
        original -
        Returns:
        stripped text from step