MicroModelicaCCompiler  4.5.3
ast_builder.hpp File Reference
#include <string>
#include "ast_types.hpp"
Include dependency graph for ast_builder.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define toStr(it)   (*it)
 

Functions

AST_ArgumentList newAST_ArgumentList ()
 
AST_Argument newAST_Argument_Modification (AST_String, AST_Modification)
 
AST_Argument newAST_Redeclaration (AST_Boolean, AST_Boolean, AST_Argument)
 
AST_Argument newAST_ShortClass (AST_ClassPrefix, AST_String, AST_ShortClassExp)
 
AST_ShortClassExp newAST_ShortClassExp (AST_TypePrefix, AST_String, AST_ExpressionList, AST_ArgumentList)
 
AST_ShortClassExp newAST_ShortClassExp_Enum (AST_StringList)
 
AST_Argument AST_ArgumentSet (AST_Boolean, AST_Boolean, AST_Argument)
 
AST_Argument newAST_ElementModification (AST_String, AST_Modification)
 
AST_Argument AST_ArgumentSetReplaceable (AST_Argument)
 
AST_Comment newAST_Comment (AST_String, AST_ArgumentList)
 
AST_String newAST_String (AST_String)
 
AST_String newAST_StringNull ()
 
AST_String newAST_String (string s)
 
AST_String newAST_String (char *s)
 
AST_String newAST_String (const char *s)
 
AST_String newAST_DotString (AST_String)
 
AST_String AST_StringDotAppend (AST_String, AST_String)
 
AST_StringList newAST_StringList ()
 
AST_String copyAST_String (AST_String)
 
AST_Class newAST_Class (AST_String, AST_Composition)
 
AST_Class newAST_Class (AST_String)
 
AST_Class newAST_ClassEnumeration (AST_String, AST_StringList)
 
AST_Class newAST_ClassDerivation (AST_String, AST_String, AST_StringList)
 
AST_Class newAST_ClassExtends (AST_String, AST_Composition)
 
AST_Class newAST_ClassModification (AST_String, AST_TypePrefix, AST_String, AST_ExpressionList, AST_ArgumentList)
 
AST_ClassList newAST_ClassList ()
 
AST_Class AST_Class_SetFinal (AST_Class, AST_Boolean)
 
AST_Class AST_Class_SetPrefixEncapsulated (AST_Class, AST_ClassPrefix, AST_Boolean)
 
AST_ClassPrefix AST_ClassPrefix_AddPartial (AST_Boolean, AST_ClassPrefix)
 
AST_ClassPrefix AST_ClassPrefix_Class ()
 
AST_ClassPrefix AST_ClassPrefix_Model ()
 
AST_ClassPrefix AST_ClassPrefix_Record (AST_Boolean)
 
AST_ClassPrefix AST_ClassPrefix_Block ()
 
AST_ClassPrefix AST_ClassPrefix_Connector (AST_Boolean)
 
AST_ClassPrefix AST_ClassPrefix_Type ()
 
AST_ClassPrefix AST_ClassPrefix_Package ()
 
AST_ClassPrefix AST_ClassPrefix_Function (AST_ClassPrefix)
 
AST_ClassPrefix AST_ClassPrefix_Operator ()
 
AST_ClassPrefix AST_ClassPrefix_None ()
 
AST_ClassPrefix AST_ClassPrefix_Pure (AST_Boolean)
 
AST_ClassPrefix AST_ClassPrefix_Impure (AST_Boolean)
 
AST_Composition newAST_Composition ()
 
AST_Composition newAST_Composition (AST_ElementList)
 
AST_Composition newAST_Composition (AST_ElementList el, AST_CompositionElementList cl)
 
AST_Composition newAST_Composition (AST_CompositionElementList cl)
 
AST_Composition AST_Composition_SetExternalAnnotation (AST_Composition c, AST_External_Function_Call ext, AST_ArgumentList annot)
 
AST_CompositionEqsAlgs newAST_NullCompositionEquations ()
 
AST_CompositionEqsAlgs newAST_CompositionInitialEquations (AST_EquationList)
 
AST_CompositionEqsAlgs newAST_CompositionEquations (AST_EquationList)
 
AST_CompositionEqsAlgs newAST_CompositionInitialAlgorithms (AST_StatementList)
 
AST_CompositionEqsAlgs newAST_CompositionAlgorithms (AST_StatementList)
 
AST_Element_Component newAST_Element_Component (AST_DeclarationList cl, AST_String type, AST_TypePrefix, AST_ExpressionList)
 
AST_Element_ComponentList newAST_Element_ComponentList (AST_DeclarationList)
 
AST_Element_ComponentList newAST_Element_ComponentList ()
 
AST_ElementList newAST_ElementList ()
 
AST_Element_ImportClause newAST_ImportClause (AST_String)
 
AST_Element AST_ImportToElement (AST_Element_ImportClause i)
 
AST_Element AST_Element_ComponentToElement (AST_Element_Component c)
 
AST_Element AST_ExtendsToElement (AST_Element_ExtendsClause e)
 
AST_Element_ExtendsClause newAST_Element_ExtendsClause (AST_String)
 
AST_Element newAST_Element_ClassWrapper (AST_Class)
 
AST_CompositionElementList newAST_CompositionElementList ()
 
AST_Declaration newAST_Declaration (AST_String, AST_ExpressionList, AST_Modification)
 
AST_Declaration AST_Declaration_AddCondComment (AST_Declaration, AST_Expression, AST_Comment)
 
AST_DeclarationList newAST_DeclarationList (AST_Declaration)
 
AST_CompositionElement newAST_CompositionElement (AST_CompositionEqsAlgs)
 
AST_CompositionElement newAST_CompositionElement (AST_ElementList)
 
AST_EquationList newAST_EquationList ()
 
AST_Equation newAST_Equation_Equality (AST_Expression, AST_Expression, AST_Comment)
 
AST_Equation newAST_Equation_Connect (AST_Expression_ComponentReference, AST_Expression_ComponentReference)
 
AST_Equation newAST_Equation_If (AST_Expression e, AST_EquationList eql, AST_Equation_ElseList, AST_EquationList)
 
AST_Equation newAST_Equation_For (AST_ForIndexList, AST_EquationList eql)
 
AST_Equation newAST_Equation_When (AST_Expression, AST_EquationList, AST_Equation_ElseList, AST_Comment)
 
AST_Equation newAST_Equation_Call (AST_Expression)
 
AST_ForIndex newAST_ForIndex (AST_String, AST_Expression)
 
AST_ForIndexList newAST_ForIndexList ()
 
AST_Equation_ElseList newAST_Equation_ElseList ()
 
AST_Equation_Else newAST_Equation_Else (AST_Expression, AST_EquationList)
 
AST_ExpressionList newAST_ExpressionList (AST_Expression)
 
AST_ExpressionList newAST_ExpressionList ()
 
AST_ExpressionListList newAST_ExpressionListList ()
 
AST_Expression newAST_Expression_Integer (AST_Integer i)
 
AST_Expression newAST_Expression_Real (AST_Real r)
 
AST_Expression newAST_Expression_String (AST_String s)
 
AST_Expression newAST_Expression_Boolean (AST_Boolean b)
 
AST_Expression newAST_Expression_Derivative (AST_ExpressionList el)
 
AST_Expression_ComponentReference newAST_Expression_ComponentReference ()
 
AST_Expression_ComponentReference AST_Expression_ComponentReference_Add (AST_Expression_ComponentReference, AST_String, AST_ExpressionList)
 
AST_Expression_ComponentReference AST_Expression_ComponentReference_AddDot (AST_Expression_ComponentReference, AST_String, AST_ExpressionList)
 
AST_Expression newAST_Expression_ComponentReferenceExp (AST_String)
 
AST_Expression newAST_Expression_ComponentReferenceExp (AST_String s, AST_String s2)
 
AST_Expression newAST_Expression_ComponentReferenceExpDot (AST_String s, AST_String s2)
 
AST_Expression AST_Expression_ComponentReferenceExpAddDot (AST_Expression_ComponentReference, AST_String, AST_String, AST_ExpressionList)
 
AST_Expression AST_Expression_ComponentReferenceExpAdd (AST_Expression_ComponentReference, AST_String, AST_String, AST_ExpressionList)
 
AST_Expression newAST_Expression_BinOp (AST_Expression, AST_Expression, BinOpType)
 
AST_Expression newAST_Expression_UnaryMinus (AST_Expression)
 
AST_Expression newAST_Expression_If (AST_Expression, AST_Expression, AST_ExpressionList, AST_Expression)
 
AST_Expression newAST_Expression_Null ()
 
AST_Expression newAST_Expression_Colon ()
 
AST_Expression newAST_Expression_End ()
 
AST_Expression newAST_Expression_Call (AST_String, AST_String, AST_ExpressionList)
 
AST_Expression newAST_Expression_Call (AST_String name, AST_String rest, AST_ExpressionList args, AST_ExpressionList output_args)
 
AST_Expression newAST_Expression_DotCall (AST_String, AST_String, AST_ExpressionList)
 
AST_Expression newAST_Expression_BooleanNot (AST_Expression)
 
AST_Expression newAST_Expression_ElseIf (AST_Expression, AST_Expression)
 
AST_Expression newAST_Expression_NamedArgument (AST_String, AST_Expression)
 
AST_Expression newAST_Expression_FunctionCallArgs (AST_ExpressionList)
 
AST_Expression newAST_Expression_Function (AST_String, AST_ExpressionList)
 
AST_Expression newAST_Expression_OutputExpressions (AST_ExpressionList)
 
AST_Expression newAST_Expression_Range (AST_Expression, AST_Expression)
 
AST_Expression newAST_Expression_Brace (AST_ExpressionList)
 
AST_Expression newAST_BracketExpList (AST_ExpressionListList)
 
AST_External_Function_Call newAST_ExternalCall ()
 
AST_External_Function_Call newAST_ExternalCall (AST_String lang, AST_Expression_ComponentReference cr, AST_Expression args, AST_ArgumentList annot)
 
AST_Modification newAST_Modification_Class (AST_ArgumentList, AST_Expression)
 
AST_Modification newAST_Modification_Equal (AST_Expression)
 
AST_Modification newAST_Modification_Assign (AST_Expression)
 
AST_Modification newAST_ModificationNull ()
 
AST_Statement newAST_Statement_Break ()
 
AST_Statement newAST_Statement_Return ()
 
AST_Statement newAST_Statement_While (AST_Expression, AST_StatementList)
 
AST_Statement newAST_Statement_When (AST_Expression, AST_StatementList, AST_Statement_ElseList, AST_Comment)
 
AST_Statement newAST_Statement_For (AST_ForIndexList, AST_StatementList)
 
AST_Statement newAST_Statement_If (AST_Expression, AST_StatementList, AST_Statement_ElseList, AST_StatementList)
 
AST_Statement newAST_Statement_Assign (AST_Expression_ComponentReference, AST_Expression)
 
AST_Statement newAST_Statement_OutputAssign (AST_ExpressionList, AST_Expression_ComponentReference, AST_ExpressionList)
 
AST_StatementList newAST_StatementList ()
 
AST_Statement_Else newAST_Statement_Else (AST_Expression, AST_StatementList)
 
AST_Statement_ElseList newAST_Statement_ElseList ()
 
AST_StoredDefinition newAST_StoredDefinition (AST_ClassList, AST_String)
 
AST_TypePrefix newAST_TypePrefix ()
 
AST_TypePrefix newAST_TypePrefix (AST_TypePrefix)
 
AST_TypePrefix AST_TypePrefixAdd (AST_TypePrefix, AST_TypePrefix)
 

Macro Definition Documentation

◆ toStr

#define toStr (   it)    (*it)

Definition at line 53 of file ast_builder.hpp.

Function Documentation

◆ AST_ArgumentSet()

AST_Argument AST_ArgumentSet ( AST_Boolean  ,
AST_Boolean  ,
AST_Argument   
)

Definition at line 140 of file ast_builder.cpp.

◆ AST_ArgumentSetReplaceable()

AST_Argument AST_ArgumentSetReplaceable ( AST_Argument  )

Definition at line 499 of file ast_builder.cpp.

◆ AST_Class_SetFinal()

AST_Class AST_Class_SetFinal ( AST_Class  ,
AST_Boolean   
)

Definition at line 422 of file ast_builder.cpp.

◆ AST_Class_SetPrefixEncapsulated()

AST_Class AST_Class_SetPrefixEncapsulated ( AST_Class  ,
AST_ClassPrefix  ,
AST_Boolean   
)

Definition at line 430 of file ast_builder.cpp.

◆ AST_ClassPrefix_AddPartial()

AST_ClassPrefix AST_ClassPrefix_AddPartial ( AST_Boolean  ,
AST_ClassPrefix   
)

Definition at line 406 of file ast_builder.cpp.

References CP_PARTIAL.

◆ AST_ClassPrefix_Block()

AST_ClassPrefix AST_ClassPrefix_Block ( )

Definition at line 370 of file ast_builder.cpp.

References CP_BLOCK.

◆ AST_ClassPrefix_Class()

AST_ClassPrefix AST_ClassPrefix_Class ( )

Definition at line 358 of file ast_builder.cpp.

References CP_CLASS.

◆ AST_ClassPrefix_Connector()

AST_ClassPrefix AST_ClassPrefix_Connector ( AST_Boolean  )

Definition at line 372 of file ast_builder.cpp.

References CP_CONNECTOR, and CP_EXPANDABLE.

◆ AST_ClassPrefix_Function()

AST_ClassPrefix AST_ClassPrefix_Function ( AST_ClassPrefix  )

Definition at line 384 of file ast_builder.cpp.

References CP_FUNCTION.

◆ AST_ClassPrefix_Impure()

AST_ClassPrefix AST_ClassPrefix_Impure ( AST_Boolean  )

Definition at line 388 of file ast_builder.cpp.

References CP_IMPURE, and CP_OPERATOR.

◆ AST_ClassPrefix_Model()

AST_ClassPrefix AST_ClassPrefix_Model ( )

Definition at line 360 of file ast_builder.cpp.

References CP_MODEL.

◆ AST_ClassPrefix_None()

AST_ClassPrefix AST_ClassPrefix_None ( )

Definition at line 404 of file ast_builder.cpp.

◆ AST_ClassPrefix_Operator()

AST_ClassPrefix AST_ClassPrefix_Operator ( )

Definition at line 386 of file ast_builder.cpp.

References CP_OPERATOR.

◆ AST_ClassPrefix_Package()

AST_ClassPrefix AST_ClassPrefix_Package ( )

Definition at line 382 of file ast_builder.cpp.

References CP_PACKAGE.

◆ AST_ClassPrefix_Pure()

AST_ClassPrefix AST_ClassPrefix_Pure ( AST_Boolean  )

Definition at line 396 of file ast_builder.cpp.

References CP_OPERATOR, and CP_PURE.

◆ AST_ClassPrefix_Record()

AST_ClassPrefix AST_ClassPrefix_Record ( AST_Boolean  )

Definition at line 362 of file ast_builder.cpp.

References CP_OPERATOR, and CP_RECORD.

◆ AST_ClassPrefix_Type()

AST_ClassPrefix AST_ClassPrefix_Type ( )

Definition at line 380 of file ast_builder.cpp.

References CP_TYPE.

◆ AST_Composition_SetExternalAnnotation()

AST_Composition AST_Composition_SetExternalAnnotation ( AST_Composition  c,
AST_External_Function_Call  ext,
AST_ArgumentList  annot 
)

Definition at line 662 of file ast_builder.cpp.

◆ AST_Declaration_AddCondComment()

AST_Declaration AST_Declaration_AddCondComment ( AST_Declaration  ,
AST_Expression  ,
AST_Comment   
)

Definition at line 640 of file ast_builder.cpp.

◆ AST_Element_ComponentToElement()

AST_Element AST_Element_ComponentToElement ( AST_Element_Component  c)

Definition at line 124 of file ast_builder.cpp.

◆ AST_Expression_ComponentReference_Add()

AST_Expression_ComponentReference AST_Expression_ComponentReference_Add ( AST_Expression_ComponentReference  ,
AST_String  ,
AST_ExpressionList   
)

Definition at line 236 of file ast_builder.cpp.

References AST_SanitizeString().

Referenced by AST_Expression_ComponentReferenceExpAdd(), and MicroModelica::Util::ConvertToGiNaC::getSymbol().

Here is the call graph for this function:

◆ AST_Expression_ComponentReference_AddDot()

AST_Expression_ComponentReference AST_Expression_ComponentReference_AddDot ( AST_Expression_ComponentReference  ,
AST_String  ,
AST_ExpressionList   
)

Definition at line 228 of file ast_builder.cpp.

Referenced by AST_Expression_ComponentReferenceExpAddDot().

◆ AST_Expression_ComponentReferenceExpAdd()

AST_Expression AST_Expression_ComponentReferenceExpAdd ( AST_Expression_ComponentReference  ,
AST_String  ,
AST_String  ,
AST_ExpressionList   
)

Definition at line 449 of file ast_builder.cpp.

References AST_Expression_ComponentReference_Add().

Here is the call graph for this function:

◆ AST_Expression_ComponentReferenceExpAddDot()

AST_Expression AST_Expression_ComponentReferenceExpAddDot ( AST_Expression_ComponentReference  ,
AST_String  ,
AST_String  ,
AST_ExpressionList   
)

Definition at line 439 of file ast_builder.cpp.

References AST_Expression_ComponentReference_AddDot().

Here is the call graph for this function:

◆ AST_ExtendsToElement()

AST_Element AST_ExtendsToElement ( AST_Element_ExtendsClause  e)

Definition at line 113 of file ast_builder.cpp.

◆ AST_ImportToElement()

AST_Element AST_ImportToElement ( AST_Element_ImportClause  i)

Definition at line 111 of file ast_builder.cpp.

◆ AST_StringDotAppend()

AST_String AST_StringDotAppend ( AST_String  ,
AST_String   
)

Definition at line 84 of file ast_builder.cpp.

References AST_SanitizeString().

Here is the call graph for this function:

◆ AST_TypePrefixAdd()

AST_TypePrefix AST_TypePrefixAdd ( AST_TypePrefix  ,
AST_TypePrefix   
)

Definition at line 263 of file ast_builder.cpp.

◆ copyAST_String()

AST_String copyAST_String ( AST_String  )

Definition at line 70 of file ast_builder.cpp.

References AST_SanitizeString().

Here is the call graph for this function:

◆ newAST_Argument_Modification()

AST_Argument newAST_Argument_Modification ( AST_String  ,
AST_Modification   
)

Definition at line 495 of file ast_builder.cpp.

◆ newAST_ArgumentList()

AST_ArgumentList newAST_ArgumentList ( )

Definition at line 493 of file ast_builder.cpp.

◆ newAST_BracketExpList()

AST_Expression newAST_BracketExpList ( AST_ExpressionListList  )

Definition at line 526 of file ast_builder.cpp.

References AST_ListAppend(), current_element, EXPRANGE, and newAST_ExpressionList().

Here is the call graph for this function:

◆ newAST_Class() [1/2]

AST_Class newAST_Class ( AST_String  )

Definition at line 176 of file ast_builder.cpp.

References newAST_Class(), and newAST_Composition().

Referenced by newAST_Class().

Here is the call graph for this function:

◆ newAST_Class() [2/2]

AST_Class newAST_Class ( AST_String  ,
AST_Composition   
)

Definition at line 178 of file ast_builder.cpp.

◆ newAST_ClassDerivation()

AST_Class newAST_ClassDerivation ( AST_String  ,
AST_String  ,
AST_StringList   
)

Definition at line 626 of file ast_builder.cpp.

◆ newAST_ClassEnumeration()

AST_Class newAST_ClassEnumeration ( AST_String  ,
AST_StringList   
)

Definition at line 620 of file ast_builder.cpp.

◆ newAST_ClassExtends()

AST_Class newAST_ClassExtends ( AST_String  ,
AST_Composition   
)

Definition at line 614 of file ast_builder.cpp.

◆ newAST_ClassList()

AST_ClassList newAST_ClassList ( )

Definition at line 99 of file ast_builder.cpp.

Referenced by AST_Class_::AST_Class_().

◆ newAST_ClassModification()

AST_Class newAST_ClassModification ( AST_String  ,
AST_TypePrefix  ,
AST_String  ,
AST_ExpressionList  ,
AST_ArgumentList   
)

Definition at line 632 of file ast_builder.cpp.

◆ newAST_Comment()

AST_Comment newAST_Comment ( AST_String  ,
AST_ArgumentList   
)

Definition at line 646 of file ast_builder.cpp.

◆ newAST_Composition() [1/4]

AST_Composition newAST_Composition ( )

Definition at line 101 of file ast_builder.cpp.

References newAST_CompositionElementList(), and newAST_ElementList().

Referenced by newAST_Class().

Here is the call graph for this function:

◆ newAST_Composition() [2/4]

AST_Composition newAST_Composition ( AST_CompositionElementList  cl)

Definition at line 107 of file ast_builder.cpp.

References newAST_ElementList().

Here is the call graph for this function:

◆ newAST_Composition() [3/4]

AST_Composition newAST_Composition ( AST_ElementList  el,
AST_CompositionElementList  cl 
)

Definition at line 105 of file ast_builder.cpp.

◆ newAST_Composition() [4/4]

AST_Composition newAST_Composition ( AST_ElementList  )

Definition at line 103 of file ast_builder.cpp.

References newAST_CompositionElementList().

Here is the call graph for this function:

◆ newAST_CompositionAlgorithms()

AST_CompositionEqsAlgs newAST_CompositionAlgorithms ( AST_StatementList  )

Definition at line 583 of file ast_builder.cpp.

◆ newAST_CompositionElement() [1/2]

AST_CompositionElement newAST_CompositionElement ( AST_CompositionEqsAlgs  )

Definition at line 612 of file ast_builder.cpp.

◆ newAST_CompositionElement() [2/2]

AST_CompositionElement newAST_CompositionElement ( AST_ElementList  )

Definition at line 196 of file ast_builder.cpp.

◆ newAST_CompositionElementList()

AST_CompositionElementList newAST_CompositionElementList ( )

Definition at line 126 of file ast_builder.cpp.

Referenced by newAST_Composition().

◆ newAST_CompositionEquations()

AST_CompositionEqsAlgs newAST_CompositionEquations ( AST_EquationList  )

Definition at line 579 of file ast_builder.cpp.

◆ newAST_CompositionInitialAlgorithms()

AST_CompositionEqsAlgs newAST_CompositionInitialAlgorithms ( AST_StatementList  )

Definition at line 581 of file ast_builder.cpp.

◆ newAST_CompositionInitialEquations()

AST_CompositionEqsAlgs newAST_CompositionInitialEquations ( AST_EquationList  )

Definition at line 577 of file ast_builder.cpp.

◆ newAST_Declaration()

AST_Declaration newAST_Declaration ( AST_String  ,
AST_ExpressionList  ,
AST_Modification   
)

Definition at line 187 of file ast_builder.cpp.

References AST_SanitizeString().

Here is the call graph for this function:

◆ newAST_DeclarationList()

AST_DeclarationList newAST_DeclarationList ( AST_Declaration  )

Definition at line 194 of file ast_builder.cpp.

References newAST_SimpleList().

Here is the call graph for this function:

◆ newAST_DotString()

AST_String newAST_DotString ( AST_String  )

Definition at line 76 of file ast_builder.cpp.

References AST_SanitizeString().

Here is the call graph for this function:

◆ newAST_Element_ClassWrapper()

AST_Element newAST_Element_ClassWrapper ( AST_Class  )

Definition at line 122 of file ast_builder.cpp.

◆ newAST_Element_Component()

AST_Element_Component newAST_Element_Component ( AST_DeclarationList  cl,
AST_String  type,
AST_TypePrefix  ,
AST_ExpressionList   
)

Definition at line 180 of file ast_builder.cpp.

◆ newAST_Element_ComponentList() [1/2]

AST_Element_ComponentList newAST_Element_ComponentList ( )

Definition at line 257 of file ast_builder.cpp.

Referenced by AST_Class_::AST_Class_().

◆ newAST_Element_ComponentList() [2/2]

AST_Element_ComponentList newAST_Element_ComponentList ( AST_DeclarationList  )

◆ newAST_Element_ExtendsClause()

AST_Element_ExtendsClause newAST_Element_ExtendsClause ( AST_String  )

Definition at line 115 of file ast_builder.cpp.

◆ newAST_ElementList()

AST_ElementList newAST_ElementList ( )

Definition at line 109 of file ast_builder.cpp.

Referenced by newAST_Composition().

◆ newAST_ElementModification()

AST_Argument newAST_ElementModification ( AST_String  ,
AST_Modification   
)

Definition at line 608 of file ast_builder.cpp.

◆ newAST_Equation_Call()

AST_Equation newAST_Equation_Call ( AST_Expression  )

Definition at line 349 of file ast_builder.cpp.

References EXPCALL.

◆ newAST_Equation_Connect()

AST_Equation newAST_Equation_Connect ( AST_Expression_ComponentReference  ,
AST_Expression_ComponentReference   
)

Definition at line 158 of file ast_builder.cpp.

◆ newAST_Equation_Else()

AST_Equation_Else newAST_Equation_Else ( AST_Expression  ,
AST_EquationList   
)

Definition at line 479 of file ast_builder.cpp.

◆ newAST_Equation_ElseList()

AST_Equation_ElseList newAST_Equation_ElseList ( )

Definition at line 491 of file ast_builder.cpp.

◆ newAST_Equation_Equality()

AST_Equation newAST_Equation_Equality ( AST_Expression  ,
AST_Expression  ,
AST_Comment   
)

Definition at line 153 of file ast_builder.cpp.

◆ newAST_Equation_For()

AST_Equation newAST_Equation_For ( AST_ForIndexList  ,
AST_EquationList  eql 
)

◆ newAST_Equation_If()

AST_Equation newAST_Equation_If ( AST_Expression  e,
AST_EquationList  eql,
AST_Equation_ElseList  ,
AST_EquationList   
)

Definition at line 310 of file ast_builder.cpp.

◆ newAST_Equation_When()

AST_Equation newAST_Equation_When ( AST_Expression  ,
AST_EquationList  ,
AST_Equation_ElseList  ,
AST_Comment   
)

Definition at line 572 of file ast_builder.cpp.

◆ newAST_EquationList()

AST_EquationList newAST_EquationList ( )

Definition at line 151 of file ast_builder.cpp.

◆ newAST_Expression_BinOp()

AST_Expression newAST_Expression_BinOp ( AST_Expression  ,
AST_Expression  ,
BinOpType   
)

◆ newAST_Expression_Boolean()

AST_Expression newAST_Expression_Boolean ( AST_Boolean  b)

Definition at line 172 of file ast_builder.cpp.

◆ newAST_Expression_BooleanNot()

AST_Expression newAST_Expression_BooleanNot ( AST_Expression  )

◆ newAST_Expression_Brace()

AST_Expression newAST_Expression_Brace ( AST_ExpressionList  )

Definition at line 524 of file ast_builder.cpp.

◆ newAST_Expression_Call() [1/2]

AST_Expression newAST_Expression_Call ( AST_String  name,
AST_String  rest,
AST_ExpressionList  args,
AST_ExpressionList  output_args 
)

Definition at line 340 of file ast_builder.cpp.

◆ newAST_Expression_Call() [2/2]

AST_Expression newAST_Expression_Call ( AST_String  ,
AST_String  ,
AST_ExpressionList   
)

◆ newAST_Expression_Colon()

AST_Expression newAST_Expression_Colon ( )

Definition at line 345 of file ast_builder.cpp.

◆ newAST_Expression_ComponentReference()

AST_Expression_ComponentReference newAST_Expression_ComponentReference ( )

◆ newAST_Expression_ComponentReferenceExp() [1/2]

AST_Expression newAST_Expression_ComponentReferenceExp ( AST_String  s,
AST_String  s2 
)

Definition at line 205 of file ast_builder.cpp.

References newAST_Expression_ComponentReferenceExp().

Here is the call graph for this function:

◆ newAST_Expression_ComponentReferenceExp() [2/2]

AST_Expression newAST_Expression_ComponentReferenceExp ( AST_String  )

◆ newAST_Expression_ComponentReferenceExpDot()

AST_Expression newAST_Expression_ComponentReferenceExpDot ( AST_String  s,
AST_String  s2 
)

Definition at line 214 of file ast_builder.cpp.

References newAST_Expression_ComponentReferenceExp().

Here is the call graph for this function:

◆ newAST_Expression_Derivative()

AST_Expression newAST_Expression_Derivative ( AST_ExpressionList  el)

Definition at line 174 of file ast_builder.cpp.

◆ newAST_Expression_DotCall()

AST_Expression newAST_Expression_DotCall ( AST_String  ,
AST_String  ,
AST_ExpressionList   
)

Definition at line 321 of file ast_builder.cpp.

◆ newAST_Expression_ElseIf()

AST_Expression newAST_Expression_ElseIf ( AST_Expression  ,
AST_Expression   
)

Definition at line 543 of file ast_builder.cpp.

◆ newAST_Expression_End()

AST_Expression newAST_Expression_End ( )

Definition at line 317 of file ast_builder.cpp.

◆ newAST_Expression_Function()

AST_Expression newAST_Expression_Function ( AST_String  ,
AST_ExpressionList   
)

Definition at line 471 of file ast_builder.cpp.

◆ newAST_Expression_FunctionCallArgs()

AST_Expression newAST_Expression_FunctionCallArgs ( AST_ExpressionList  )

Definition at line 465 of file ast_builder.cpp.

◆ newAST_Expression_If()

AST_Expression newAST_Expression_If ( AST_Expression  ,
AST_Expression  ,
AST_ExpressionList  ,
AST_Expression   
)

◆ newAST_Expression_Integer()

AST_Expression newAST_Expression_Integer ( AST_Integer  i)

Definition at line 130 of file ast_builder.cpp.

Referenced by MicroModelica::Util::ConvertToExpression::convert().

◆ newAST_Expression_NamedArgument()

AST_Expression newAST_Expression_NamedArgument ( AST_String  ,
AST_Expression   
)

Definition at line 459 of file ast_builder.cpp.

◆ newAST_Expression_Null()

AST_Expression newAST_Expression_Null ( )

Definition at line 319 of file ast_builder.cpp.

◆ newAST_Expression_OutputExpressions()

AST_Expression newAST_Expression_OutputExpressions ( AST_ExpressionList  )

◆ newAST_Expression_Range()

AST_Expression newAST_Expression_Range ( AST_Expression  ,
AST_Expression   
)

Definition at line 505 of file ast_builder.cpp.

References AST_ListAppend(), EXPRANGE, and newAST_ExpressionList().

Here is the call graph for this function:

◆ newAST_Expression_Real()

AST_Expression newAST_Expression_Real ( AST_Real  r)

◆ newAST_Expression_String()

AST_Expression newAST_Expression_String ( AST_String  s)

Definition at line 165 of file ast_builder.cpp.

References AST_SanitizeString().

Here is the call graph for this function:

◆ newAST_Expression_UnaryMinus()

◆ newAST_ExpressionList() [1/2]

AST_ExpressionList newAST_ExpressionList ( )

Definition at line 134 of file ast_builder.cpp.

◆ newAST_ExpressionList() [2/2]

◆ newAST_ExpressionListList()

AST_ExpressionListList newAST_ExpressionListList ( )

Definition at line 497 of file ast_builder.cpp.

◆ newAST_ExternalCall() [1/2]

AST_External_Function_Call newAST_ExternalCall ( )

Definition at line 654 of file ast_builder.cpp.

◆ newAST_ExternalCall() [2/2]

AST_External_Function_Call newAST_ExternalCall ( AST_String  lang,
AST_Expression_ComponentReference  cr,
AST_Expression  args,
AST_ArgumentList  annot 
)

Definition at line 656 of file ast_builder.cpp.

◆ newAST_ForIndex()

AST_ForIndex newAST_ForIndex ( AST_String  ,
AST_Expression   
)

Definition at line 416 of file ast_builder.cpp.

◆ newAST_ForIndexList()

AST_ForIndexList newAST_ForIndexList ( )

Definition at line 418 of file ast_builder.cpp.

◆ newAST_ImportClause()

AST_Element_ImportClause newAST_ImportClause ( AST_String  )

Definition at line 128 of file ast_builder.cpp.

◆ newAST_Modification_Assign()

AST_Modification newAST_Modification_Assign ( AST_Expression  )

Definition at line 503 of file ast_builder.cpp.

◆ newAST_Modification_Class()

AST_Modification newAST_Modification_Class ( AST_ArgumentList  ,
AST_Expression   
)

Definition at line 610 of file ast_builder.cpp.

◆ newAST_Modification_Equal()

AST_Modification newAST_Modification_Equal ( AST_Expression  )

Definition at line 501 of file ast_builder.cpp.

◆ newAST_ModificationNull()

AST_Modification newAST_ModificationNull ( )

Definition at line 487 of file ast_builder.cpp.

◆ newAST_NullCompositionEquations()

AST_CompositionEqsAlgs newAST_NullCompositionEquations ( )

Definition at line 638 of file ast_builder.cpp.

◆ newAST_Redeclaration()

AST_Argument newAST_Redeclaration ( AST_Boolean  ,
AST_Boolean  ,
AST_Argument   
)

Definition at line 596 of file ast_builder.cpp.

◆ newAST_ShortClass()

AST_Argument newAST_ShortClass ( AST_ClassPrefix  ,
AST_String  ,
AST_ShortClassExp   
)

Definition at line 602 of file ast_builder.cpp.

◆ newAST_ShortClassExp()

AST_ShortClassExp newAST_ShortClassExp ( AST_TypePrefix  ,
AST_String  ,
AST_ExpressionList  ,
AST_ArgumentList   
)

Definition at line 585 of file ast_builder.cpp.

◆ newAST_ShortClassExp_Enum()

AST_ShortClassExp newAST_ShortClassExp_Enum ( AST_StringList  )

Definition at line 590 of file ast_builder.cpp.

◆ newAST_Statement_Assign()

AST_Statement newAST_Statement_Assign ( AST_Expression_ComponentReference  ,
AST_Expression   
)

Definition at line 567 of file ast_builder.cpp.

◆ newAST_Statement_Break()

AST_Statement newAST_Statement_Break ( )

Definition at line 483 of file ast_builder.cpp.

◆ newAST_Statement_Else()

AST_Statement_Else newAST_Statement_Else ( AST_Expression  ,
AST_StatementList   
)

Definition at line 545 of file ast_builder.cpp.

◆ newAST_Statement_ElseList()

AST_Statement_ElseList newAST_Statement_ElseList ( )

Definition at line 489 of file ast_builder.cpp.

◆ newAST_Statement_For()

AST_Statement newAST_Statement_For ( AST_ForIndexList  ,
AST_StatementList   
)

Definition at line 553 of file ast_builder.cpp.

◆ newAST_Statement_If()

AST_Statement newAST_Statement_If ( AST_Expression  ,
AST_StatementList  ,
AST_Statement_ElseList  ,
AST_StatementList   
)

Definition at line 547 of file ast_builder.cpp.

◆ newAST_Statement_OutputAssign()

AST_Statement newAST_Statement_OutputAssign ( AST_ExpressionList  ,
AST_Expression_ComponentReference  ,
AST_ExpressionList   
)

Definition at line 562 of file ast_builder.cpp.

◆ newAST_Statement_Return()

AST_Statement newAST_Statement_Return ( )

Definition at line 485 of file ast_builder.cpp.

◆ newAST_Statement_When()

AST_Statement newAST_Statement_When ( AST_Expression  ,
AST_StatementList  ,
AST_Statement_ElseList  ,
AST_Comment   
)

Definition at line 557 of file ast_builder.cpp.

◆ newAST_Statement_While()

AST_Statement newAST_Statement_While ( AST_Expression  ,
AST_StatementList   
)

Definition at line 555 of file ast_builder.cpp.

◆ newAST_StatementList()

AST_StatementList newAST_StatementList ( )

Definition at line 481 of file ast_builder.cpp.

◆ newAST_StoredDefinition()

AST_StoredDefinition newAST_StoredDefinition ( AST_ClassList  ,
AST_String   
)

Definition at line 46 of file ast_builder.cpp.

◆ newAST_String() [1/4]

AST_String newAST_String ( AST_String  )

Definition at line 63 of file ast_builder.cpp.

References AST_SanitizeString().

Here is the call graph for this function:

◆ newAST_String() [2/4]

AST_String newAST_String ( char *  s)

Definition at line 59 of file ast_builder.cpp.

References AST_SanitizeString().

Here is the call graph for this function:

◆ newAST_String() [3/4]

AST_String newAST_String ( const char *  s)

Definition at line 61 of file ast_builder.cpp.

References AST_SanitizeString().

Here is the call graph for this function:

◆ newAST_String() [4/4]

AST_String newAST_String ( string  s)

Definition at line 57 of file ast_builder.cpp.

References AST_SanitizeString().

Referenced by MicroModelica::Util::ConvertToGiNaC::getSymbol(), and AST_Imports::visit().

Here is the call graph for this function:

◆ newAST_StringList()

AST_StringList newAST_StringList ( )

Definition at line 315 of file ast_builder.cpp.

Referenced by AST_Class_::AST_Class_(), and AST_Imports::AST_Imports().

◆ newAST_StringNull()

AST_String newAST_StringNull ( )

Definition at line 97 of file ast_builder.cpp.

Referenced by AST_Expression_Traverse::apply().

◆ newAST_TypePrefix() [1/2]

AST_TypePrefix newAST_TypePrefix ( )

Definition at line 259 of file ast_builder.cpp.

◆ newAST_TypePrefix() [2/2]

AST_TypePrefix newAST_TypePrefix ( AST_TypePrefix  )

Definition at line 261 of file ast_builder.cpp.