Class SpecificationTranslator

    • Field Detail

      • prestateExpressionSignature

        private RawSignature prestateExpressionSignature
        The RawSignature for a prestate (guard) expression method.
      • prestateExpressionDeclaration

        private final String prestateExpressionDeclaration
        The parameter part of a method declaration string, with parentheses, for a prestate (guard) expression method.
      • poststateExpressionSignature

        private RawSignature poststateExpressionSignature
        The RawSignature for a poststate (property) expression method.
      • poststateExpressionDeclarations

        private final String poststateExpressionDeclarations
        The parameter declaration string, with parentheses, for a poststate (property) expression method.
      • replacementMap

        private final Map<String,​String> replacementMap
        The map of expression identifiers to dummy variables.
    • Constructor Detail

      • SpecificationTranslator

        private SpecificationTranslator​(RawSignature prestateExpressionSignature,
                                        String prestateExpressionDeclaration,
                                        RawSignature poststateExpressionSignature,
                                        String poststateExpressionDeclaration,
                                        Map<String,​String> replacementMap,
                                        SequenceCompiler compiler)
        Creates a SpecificationTranslator object in the given package with the signature strings and variable replacementMap.
        Parameters:
        prestateExpressionSignature - the RawSignature for a prestate expression method
        prestateExpressionDeclaration - the parameter declaration string, with parentheses, for a prestate expression method
        poststateExpressionSignature - the RawSignature for a poststate expression method
        poststateExpressionDeclaration - the parameter declaration string, with parentheses, for a poststate expression method
        replacementMap - the map of expression identifiers to dummy variables
        compiler - the SequenceCompiler for creating expression methods