gramfuzz/gramfuzz/fields.py
def build(self, pre=None, shortest=False):
        """Build the STAR field.

        :param list pre: The prerequisites list
        :param bool shortest: Whether or not the shortest reference-chain (most minimal) version of the field should be generated.
        """
        if pre is None:
            pre = []

        if shortest:
            raise errors.OptGram
        elif rand.maybe():
            return super(STAR, self).build(pre, shortest=shortest)
        else:
            raise errors.OptGram
def build(self, pre=None, shortest=False):
        if pre is None:
            pre = []

        if shortest:
            raise errors.OptGram
        elif rand.maybe():
            return super(STAR, self).build(pre, shortest=shortest)
        else:
            raise errors.OptGram
def build ( self , pre = None , shortest = False ) : if pre is None : pre = [ ] if shortest : raise errors . OptGram elif rand . maybe ( ) : return super ( STAR , self ) . build ( pre , shortest = shortest ) else : raise errors . OptGram
Build the STAR field.

        :param list pre: The prerequisites list
        :param bool shortest: Whether or not the shortest reference-chain (most minimal) version of the field should be generated.
Build the STAR field .