Class MableAstFactory

java.lang.Object
org.intocps.maestro.ast.MableAstFactory

public class MableAstFactory extends Object
  • Constructor Details

    • MableAstFactory

      public MableAstFactory()
  • Method Details

    • 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, String envName)
    • newAFMUMappingStm

      public static org.intocps.maestro.ast.node.AFmuMappingStm newAFMUMappingStm(LexIdentifier mablName, String envName)
    • newAIdentifierExp

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

      public static AVariableDeclaration newAVariableDeclaration(LexIdentifier name, org.intocps.maestro.ast.node.PType type)
    • 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(boolean external, 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_)
    • newAVariableDeclarationMultiDimensionalArray

      public static AVariableDeclaration newAVariableDeclarationMultiDimensionalArray(LexIdentifier name, org.intocps.maestro.ast.node.PType type, List<Integer> shape)
    • 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(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)
    • newTry

      public static org.intocps.maestro.ast.node.ATryStm newTry(ABasicBlockStm bodyStm, ABasicBlockStm finallyStm)
    • newLexIdentifier

      public static LexIdentifier newLexIdentifier(String identifier)
    • newALessBinaryExp

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

      public static AGreaterBinaryExp newAGreaterBinaryExp(org.intocps.maestro.ast.node.PExp left, org.intocps.maestro.ast.node.PExp right)
    • newAGreaterEqualBinaryExp

      public static AGreaterEqualBinaryExp newAGreaterEqualBinaryExp(org.intocps.maestro.ast.node.PExp left, org.intocps.maestro.ast.node.PExp right)
    • newAEqualBinaryExp

      public static AEqualBinaryExp newAEqualBinaryExp(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_, 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(String name)
    • newALoadExp

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

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

      public static org.intocps.maestro.ast.node.AUnloadExp newUnloadExp(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(List<? extends org.intocps.maestro.ast.node.PExp> args)
    • newACallExp

      public static org.intocps.maestro.ast.node.ACallExp newACallExp(LexIdentifier identifier, 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, 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, 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, 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 ABasicBlockStm newABlockStm(List<? extends org.intocps.maestro.ast.node.PStm> statements)
    • newABlockStm

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

      public static AFunctionDeclaration newAFunctionDeclaration(LexIdentifier name, 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(Long value)
    • newAArrayInitializer

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

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

      public static org.intocps.maestro.ast.node.ARealLiteralExp newARealLiteralExp(Double value)
    • newAFloatLiteralExp

      public static org.intocps.maestro.ast.node.AFloatLiteralExp newAFloatLiteralExp(Float value)
    • newAIntLiteralExp

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

      public static org.intocps.maestro.ast.node.AStringLiteralExp newAStringLiteralExp(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)
    • newAParExp

      public static org.intocps.maestro.ast.node.PExp newAParExp(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()
    • newAFloatNumericPrimitiveType

      public static org.intocps.maestro.ast.node.AFloatNumericPrimitiveType newAFloatNumericPrimitiveType()
    • 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(String name)
    • 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, List<? extends org.intocps.maestro.ast.node.PExp> values)
    • newAIdentifier

      public static LexIdentifier newAIdentifier(String identifier)
    • newDivideExp

      public static ADivideBinaryExp newDivideExp(org.intocps.maestro.ast.node.PExp left, org.intocps.maestro.ast.node.PExp right)
    • newMultiplyExp

      public static AMultiplyBinaryExp newMultiplyExp(org.intocps.maestro.ast.node.PExp left, org.intocps.maestro.ast.node.PExp right)
    • 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)
    • newError

      public static org.intocps.maestro.ast.node.AErrorStm newError(org.intocps.maestro.ast.node.PExp exp)
    • 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()