Class MableAstFactory


  • public class MableAstFactory
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      MableAstFactory()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.intocps.maestro.ast.node.AArrayStateDesignator newAArayStateDesignator​(org.intocps.maestro.ast.node.PStateDesignator target, org.intocps.maestro.ast.node.PExp exp)  
      static org.intocps.maestro.ast.node.AArrayIndexExp newAArrayIndexExp​(org.intocps.maestro.ast.node.PExp array, java.util.List<? extends org.intocps.maestro.ast.node.PExp> values)  
      static org.intocps.maestro.ast.node.AArrayInitializer newAArrayInitializer​(java.util.List<? extends org.intocps.maestro.ast.node.PExp> args)  
      static org.intocps.maestro.ast.node.AArrayType newAArrayType​(org.intocps.maestro.ast.node.PType arrayType)  
      static org.intocps.maestro.ast.node.AAssigmentStm newAAssignmentStm​(org.intocps.maestro.ast.node.PStateDesignator target, org.intocps.maestro.ast.node.PExp exp)  
      static org.intocps.maestro.ast.node.ABlockStm newABlockStm​(java.util.List<? extends org.intocps.maestro.ast.node.PStm> statements)  
      static org.intocps.maestro.ast.node.ABlockStm newABlockStm​(org.intocps.maestro.ast.node.PStm... statements)  
      static org.intocps.maestro.ast.node.ABooleanPrimitiveType newABoleanPrimitiveType()  
      static org.intocps.maestro.ast.node.ABoolLiteralExp newABoolLiteralExp​(java.lang.Boolean value)  
      static org.intocps.maestro.ast.node.ACallExp newACallExp​(LexIdentifier identifier, java.util.List<? extends org.intocps.maestro.ast.node.PExp> args_)  
      static org.intocps.maestro.ast.node.ACallExp newACallExp​(LexToken expand, LexIdentifier identifier, java.util.List<? extends org.intocps.maestro.ast.node.PExp> args_)  
      static org.intocps.maestro.ast.node.ACallExp newACallExp​(LexToken expand, org.intocps.maestro.ast.node.PExp object, LexIdentifier identifier, java.util.List<? extends org.intocps.maestro.ast.node.PExp> args_)  
      static org.intocps.maestro.ast.node.ACallExp newACallExp​(org.intocps.maestro.ast.node.PExp object, LexIdentifier identifier, java.util.List<? extends org.intocps.maestro.ast.node.PExp> args_)  
      static org.intocps.maestro.ast.node.AExpInitializer newAExpInitializer​(org.intocps.maestro.ast.node.PExp exp)  
      static org.intocps.maestro.ast.node.AFieldExp newAFieldExp​(org.intocps.maestro.ast.node.PExp root, LexIdentifier field)  
      static org.intocps.maestro.ast.node.AFormalParameter newAFormalParameter​(org.intocps.maestro.ast.node.PType type, LexIdentifier name)  
      static AFunctionDeclaration newAFunctionDeclaration​(LexIdentifier name, java.util.List<? extends org.intocps.maestro.ast.node.AFormalParameter> arguments, org.intocps.maestro.ast.node.PType returnType)  
      static LexIdentifier newAIdentifier​(java.lang.String identifier)  
      static org.intocps.maestro.ast.node.AIdentifierExp newAIdentifierExp​(java.lang.String name)  
      static org.intocps.maestro.ast.node.AIdentifierExp newAIdentifierExp​(LexIdentifier name)  
      static org.intocps.maestro.ast.node.AIdentifierStateDesignator newAIdentifierStateDesignator​(LexIdentifier name)  
      static org.intocps.maestro.ast.node.AInstanceMappingStm newAInstanceMappingStm​(LexIdentifier mablName, java.lang.String envName)  
      static org.intocps.maestro.ast.node.AIntLiteralExp newAIntLiteralExp​(java.lang.Integer value)  
      static org.intocps.maestro.ast.node.AIntNumericPrimitiveType newAIntNumericPrimitiveType()  
      static ALessBinaryExp newALessBinaryExp​(org.intocps.maestro.ast.node.PExp left, org.intocps.maestro.ast.node.PExp right)  
      static ALessEqualBinaryExp newALessEqualBinaryExp​(org.intocps.maestro.ast.node.PExp left, org.intocps.maestro.ast.node.PExp right)  
      static org.intocps.maestro.ast.node.ALoadExp newALoadExp​(java.net.URI uri)  
      static org.intocps.maestro.ast.node.ALoadExp newALoadExp​(java.util.List<? extends org.intocps.maestro.ast.node.PExp> args)  
      static org.intocps.maestro.ast.node.ALocalVariableStm newALocalVariableStm​(AVariableDeclaration aVariableDeclaration)  
      static org.intocps.maestro.ast.node.AModuleType newAModuleType​(LexIdentifier name)  
      static org.intocps.maestro.ast.node.ANameType newANameType​(java.lang.String name)  
      static org.intocps.maestro.ast.node.ANameType newANameType​(LexIdentifier name)  
      static AAndBinaryExp newAnd​(org.intocps.maestro.ast.node.PExp left, org.intocps.maestro.ast.node.PExp right)  
      static org.intocps.maestro.ast.node.ARealLiteralExp newARealLiteralExp​(java.lang.Double value)  
      static org.intocps.maestro.ast.node.ARealNumericPrimitiveType newARealNumericPrimitiveType()  
      static org.intocps.maestro.ast.node.ARefExp newARefExp​(LexIdentifier name)  
      static org.intocps.maestro.ast.node.ARefExp newARefExp​(org.intocps.maestro.ast.node.PExp expression)  
      static org.intocps.maestro.ast.node.ASimulationSpecificationCompilationUnit newASimulationSpecificationCompilationUnit​(java.util.List<? extends LexIdentifier> imports, org.intocps.maestro.ast.node.PStm body)  
      static org.intocps.maestro.ast.node.AStringLiteralExp newAStringLiteralExp​(java.lang.String value)  
      static org.intocps.maestro.ast.node.AStringPrimitiveType newAStringPrimitiveType()  
      static org.intocps.maestro.ast.node.AUIntLiteralExp newAUIntLiteralExp​(java.lang.Long value)  
      static org.intocps.maestro.ast.node.AUIntNumericPrimitiveType newAUIntNumericPrimitiveType()  
      static org.intocps.maestro.ast.node.AUnknownType newAUnknownType()  
      static AVariableDeclaration newAVariableDeclaration​(LexIdentifier name, org.intocps.maestro.ast.node.PType type)  
      static AVariableDeclaration newAVariableDeclaration​(LexIdentifier name, org.intocps.maestro.ast.node.PType type, int size, org.intocps.maestro.ast.node.PInitializer initializer_)  
      static AVariableDeclaration newAVariableDeclaration​(LexIdentifier name, org.intocps.maestro.ast.node.PType type, org.intocps.maestro.ast.node.PExp size, org.intocps.maestro.ast.node.PInitializer initializer_)  
      static AVariableDeclaration newAVariableDeclaration​(LexIdentifier name, org.intocps.maestro.ast.node.PType type, org.intocps.maestro.ast.node.PInitializer initializer_)  
      static AVariableDeclaration newAVariableDeclaration​(LexIdentifier name, org.intocps.maestro.ast.node.PType type, org.intocps.maestro.ast.node.PInitializer initializer_, java.util.List<org.intocps.maestro.ast.node.PExp> size)  
      static org.intocps.maestro.ast.node.AVoidType newAVoidType()  
      static org.intocps.maestro.ast.node.ABooleanPrimitiveType newBoleanType()  
      static org.intocps.maestro.ast.node.ABreakStm newBreak()  
      static AEqualBinaryExp newEqual​(org.intocps.maestro.ast.node.PExp left, org.intocps.maestro.ast.node.PExp right)  
      static LexToken newExpandToken()  
      static org.intocps.maestro.ast.node.AExpressionStm newExpressionStm​(org.intocps.maestro.ast.node.PExp exp)  
      static org.intocps.maestro.ast.node.AIfStm newIf​(org.intocps.maestro.ast.node.PExp test, org.intocps.maestro.ast.node.PStm thenStm, org.intocps.maestro.ast.node.PStm elseStm)  
      static org.intocps.maestro.ast.node.AIntNumericPrimitiveType newIntType()  
      static AMinusBinaryExp newMinusExp​(org.intocps.maestro.ast.node.PExp left, org.intocps.maestro.ast.node.PExp right)  
      static ANotUnaryExp newNot​(org.intocps.maestro.ast.node.PExp exp)  
      static ANotEqualBinaryExp newNotEqual​(org.intocps.maestro.ast.node.PExp left, org.intocps.maestro.ast.node.PExp right)  
      static org.intocps.maestro.ast.node.ANullExp newNullExp()  
      static org.intocps.maestro.ast.node.ANullType newNullType()  
      static AOrBinaryExp newOr​(org.intocps.maestro.ast.node.PExp left, org.intocps.maestro.ast.node.PExp right)  
      static org.intocps.maestro.ast.node.AParExp newPar​(org.intocps.maestro.ast.node.PExp exp)  
      static APlusBinaryExp newPlusExp​(org.intocps.maestro.ast.node.PExp left, org.intocps.maestro.ast.node.PExp right)  
      static org.intocps.maestro.ast.node.ARealNumericPrimitiveType newRealType()  
      static org.intocps.maestro.ast.node.AStringPrimitiveType newStringType()  
      static org.intocps.maestro.ast.node.AUIntNumericPrimitiveType newUIntType()  
      static org.intocps.maestro.ast.node.AUnloadExp newUnloadExp​(java.util.List<? extends org.intocps.maestro.ast.node.PExp> args)  
      static org.intocps.maestro.ast.node.AWhileStm newWhile​(org.intocps.maestro.ast.node.PExp test, org.intocps.maestro.ast.node.PStm body)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MableAstFactory

        public MableAstFactory()
    • Method Detail

      • newAUIntNumericPrimitiveType

        public static org.intocps.maestro.ast.node.AUIntNumericPrimitiveType newAUIntNumericPrimitiveType()
      • newARefExp

        public static org.intocps.maestro.ast.node.ARefExp newARefExp​(org.intocps.maestro.ast.node.PExp expression)
      • newARefExp

        public static org.intocps.maestro.ast.node.ARefExp newARefExp​(LexIdentifier name)
      • newAModuleType

        public static org.intocps.maestro.ast.node.AModuleType newAModuleType​(LexIdentifier name)
      • newAIdentifierExp

        public static org.intocps.maestro.ast.node.AIdentifierExp newAIdentifierExp​(LexIdentifier name)
      • newAInstanceMappingStm

        public static org.intocps.maestro.ast.node.AInstanceMappingStm newAInstanceMappingStm​(LexIdentifier mablName,
                                                                                              java.lang.String envName)
      • newAIdentifierExp

        public static org.intocps.maestro.ast.node.AIdentifierExp newAIdentifierExp​(java.lang.String name)
      • newAVariableDeclaration

        public static AVariableDeclaration newAVariableDeclaration​(LexIdentifier name,
                                                                   org.intocps.maestro.ast.node.PType type,
                                                                   org.intocps.maestro.ast.node.PInitializer initializer_)
      • newAVariableDeclaration

        public static AVariableDeclaration newAVariableDeclaration​(LexIdentifier name,
                                                                   org.intocps.maestro.ast.node.PType type,
                                                                   int size,
                                                                   org.intocps.maestro.ast.node.PInitializer initializer_)
      • newAVariableDeclaration

        public static AVariableDeclaration newAVariableDeclaration​(LexIdentifier name,
                                                                   org.intocps.maestro.ast.node.PType type,
                                                                   org.intocps.maestro.ast.node.PExp size,
                                                                   org.intocps.maestro.ast.node.PInitializer initializer_)
      • newNullExp

        public static org.intocps.maestro.ast.node.ANullExp newNullExp()
      • newASimulationSpecificationCompilationUnit

        public static org.intocps.maestro.ast.node.ASimulationSpecificationCompilationUnit newASimulationSpecificationCompilationUnit​(java.util.List<? extends LexIdentifier> imports,
                                                                                                                                      org.intocps.maestro.ast.node.PStm body)
      • newWhile

        public static org.intocps.maestro.ast.node.AWhileStm newWhile​(org.intocps.maestro.ast.node.PExp test,
                                                                      org.intocps.maestro.ast.node.PStm body)
      • newIf

        public static org.intocps.maestro.ast.node.AIfStm newIf​(org.intocps.maestro.ast.node.PExp test,
                                                                org.intocps.maestro.ast.node.PStm thenStm,
                                                                org.intocps.maestro.ast.node.PStm elseStm)
      • newALessBinaryExp

        public static ALessBinaryExp newALessBinaryExp​(org.intocps.maestro.ast.node.PExp left,
                                                       org.intocps.maestro.ast.node.PExp right)
      • newALessEqualBinaryExp

        public static ALessEqualBinaryExp newALessEqualBinaryExp​(org.intocps.maestro.ast.node.PExp left,
                                                                 org.intocps.maestro.ast.node.PExp right)
      • newNot

        public static ANotUnaryExp newNot​(org.intocps.maestro.ast.node.PExp exp)
      • newEqual

        public static AEqualBinaryExp newEqual​(org.intocps.maestro.ast.node.PExp left,
                                               org.intocps.maestro.ast.node.PExp right)
      • newNotEqual

        public static ANotEqualBinaryExp newNotEqual​(org.intocps.maestro.ast.node.PExp left,
                                                     org.intocps.maestro.ast.node.PExp right)
      • newAVariableDeclaration

        public static AVariableDeclaration newAVariableDeclaration​(LexIdentifier name,
                                                                   org.intocps.maestro.ast.node.PType type,
                                                                   org.intocps.maestro.ast.node.PInitializer initializer_,
                                                                   java.util.List<org.intocps.maestro.ast.node.PExp> size)
      • newANameType

        public static org.intocps.maestro.ast.node.ANameType newANameType​(LexIdentifier name)
      • newANameType

        public static org.intocps.maestro.ast.node.ANameType newANameType​(java.lang.String name)
      • newALoadExp

        public static org.intocps.maestro.ast.node.ALoadExp newALoadExp​(java.net.URI uri)
      • newUnloadExp

        public static org.intocps.maestro.ast.node.AUnloadExp newUnloadExp​(java.util.List<? extends org.intocps.maestro.ast.node.PExp> args)
      • newExpressionStm

        public static org.intocps.maestro.ast.node.AExpressionStm newExpressionStm​(org.intocps.maestro.ast.node.PExp exp)
      • newALoadExp

        public static org.intocps.maestro.ast.node.ALoadExp newALoadExp​(java.util.List<? extends org.intocps.maestro.ast.node.PExp> args)
      • newACallExp

        public static org.intocps.maestro.ast.node.ACallExp newACallExp​(LexIdentifier identifier,
                                                                        java.util.List<? extends org.intocps.maestro.ast.node.PExp> args_)
      • newExpandToken

        public static LexToken newExpandToken()
      • newACallExp

        public static org.intocps.maestro.ast.node.ACallExp newACallExp​(LexToken expand,
                                                                        LexIdentifier identifier,
                                                                        java.util.List<? extends org.intocps.maestro.ast.node.PExp> args_)
      • newACallExp

        public static org.intocps.maestro.ast.node.ACallExp newACallExp​(LexToken expand,
                                                                        org.intocps.maestro.ast.node.PExp object,
                                                                        LexIdentifier identifier,
                                                                        java.util.List<? extends org.intocps.maestro.ast.node.PExp> args_)
      • newACallExp

        public static org.intocps.maestro.ast.node.ACallExp newACallExp​(org.intocps.maestro.ast.node.PExp object,
                                                                        LexIdentifier identifier,
                                                                        java.util.List<? extends org.intocps.maestro.ast.node.PExp> args_)
      • newAExpInitializer

        public static org.intocps.maestro.ast.node.AExpInitializer newAExpInitializer​(org.intocps.maestro.ast.node.PExp exp)
      • newAFieldExp

        public static org.intocps.maestro.ast.node.AFieldExp newAFieldExp​(org.intocps.maestro.ast.node.PExp root,
                                                                          LexIdentifier field)
      • newALocalVariableStm

        public static org.intocps.maestro.ast.node.ALocalVariableStm newALocalVariableStm​(AVariableDeclaration aVariableDeclaration)
      • newABlockStm

        public static org.intocps.maestro.ast.node.ABlockStm newABlockStm​(java.util.List<? extends org.intocps.maestro.ast.node.PStm> statements)
      • newABlockStm

        public static org.intocps.maestro.ast.node.ABlockStm newABlockStm​(org.intocps.maestro.ast.node.PStm... statements)
      • newAFunctionDeclaration

        public static AFunctionDeclaration newAFunctionDeclaration​(LexIdentifier name,
                                                                   java.util.List<? extends org.intocps.maestro.ast.node.AFormalParameter> arguments,
                                                                   org.intocps.maestro.ast.node.PType returnType)
      • newAFormalParameter

        public static org.intocps.maestro.ast.node.AFormalParameter newAFormalParameter​(org.intocps.maestro.ast.node.PType type,
                                                                                        LexIdentifier name)
      • newAUIntLiteralExp

        public static org.intocps.maestro.ast.node.AUIntLiteralExp newAUIntLiteralExp​(java.lang.Long value)
      • newAArrayInitializer

        public static org.intocps.maestro.ast.node.AArrayInitializer newAArrayInitializer​(java.util.List<? extends org.intocps.maestro.ast.node.PExp> args)
      • newABoolLiteralExp

        public static org.intocps.maestro.ast.node.ABoolLiteralExp newABoolLiteralExp​(java.lang.Boolean value)
      • newARealLiteralExp

        public static org.intocps.maestro.ast.node.ARealLiteralExp newARealLiteralExp​(java.lang.Double value)
      • newAIntLiteralExp

        public static org.intocps.maestro.ast.node.AIntLiteralExp newAIntLiteralExp​(java.lang.Integer value)
      • newAStringLiteralExp

        public static org.intocps.maestro.ast.node.AStringLiteralExp newAStringLiteralExp​(java.lang.String value)
      • newAAssignmentStm

        public static org.intocps.maestro.ast.node.AAssigmentStm newAAssignmentStm​(org.intocps.maestro.ast.node.PStateDesignator target,
                                                                                   org.intocps.maestro.ast.node.PExp exp)
      • newABoleanPrimitiveType

        public static org.intocps.maestro.ast.node.ABooleanPrimitiveType newABoleanPrimitiveType()
      • newBoleanType

        public static org.intocps.maestro.ast.node.ABooleanPrimitiveType newBoleanType()
      • newAVoidType

        public static org.intocps.maestro.ast.node.AVoidType newAVoidType()
      • newARealNumericPrimitiveType

        public static org.intocps.maestro.ast.node.ARealNumericPrimitiveType newARealNumericPrimitiveType()
      • newRealType

        public static org.intocps.maestro.ast.node.ARealNumericPrimitiveType newRealType()
      • newAStringPrimitiveType

        public static org.intocps.maestro.ast.node.AStringPrimitiveType newAStringPrimitiveType()
      • newStringType

        public static org.intocps.maestro.ast.node.AStringPrimitiveType newStringType()
      • newAIntNumericPrimitiveType

        public static org.intocps.maestro.ast.node.AIntNumericPrimitiveType newAIntNumericPrimitiveType()
      • newIntType

        public static org.intocps.maestro.ast.node.AIntNumericPrimitiveType newIntType()
      • newUIntType

        public static org.intocps.maestro.ast.node.AUIntNumericPrimitiveType newUIntType()
      • newPar

        public static org.intocps.maestro.ast.node.AParExp newPar​(org.intocps.maestro.ast.node.PExp exp)
      • newOr

        public static AOrBinaryExp newOr​(org.intocps.maestro.ast.node.PExp left,
                                         org.intocps.maestro.ast.node.PExp right)
      • newAnd

        public static AAndBinaryExp newAnd​(org.intocps.maestro.ast.node.PExp left,
                                           org.intocps.maestro.ast.node.PExp right)
      • newAArrayType

        public static org.intocps.maestro.ast.node.AArrayType newAArrayType​(org.intocps.maestro.ast.node.PType arrayType)
      • newAArayStateDesignator

        public static org.intocps.maestro.ast.node.AArrayStateDesignator newAArayStateDesignator​(org.intocps.maestro.ast.node.PStateDesignator target,
                                                                                                 org.intocps.maestro.ast.node.PExp exp)
      • newAIdentifierStateDesignator

        public static org.intocps.maestro.ast.node.AIdentifierStateDesignator newAIdentifierStateDesignator​(LexIdentifier name)
      • newAArrayIndexExp

        public static org.intocps.maestro.ast.node.AArrayIndexExp newAArrayIndexExp​(org.intocps.maestro.ast.node.PExp array,
                                                                                    java.util.List<? extends org.intocps.maestro.ast.node.PExp> values)
      • newAIdentifier

        public static LexIdentifier newAIdentifier​(java.lang.String identifier)
      • newMinusExp

        public static AMinusBinaryExp newMinusExp​(org.intocps.maestro.ast.node.PExp left,
                                                  org.intocps.maestro.ast.node.PExp right)
      • newPlusExp

        public static APlusBinaryExp newPlusExp​(org.intocps.maestro.ast.node.PExp left,
                                                org.intocps.maestro.ast.node.PExp right)
      • newBreak

        public static org.intocps.maestro.ast.node.ABreakStm newBreak()
      • newAUnknownType

        public static org.intocps.maestro.ast.node.AUnknownType newAUnknownType()
      • newNullType

        public static org.intocps.maestro.ast.node.ANullType newNullType()