MicroModelicaCCompiler  4.5.3
ast_builder.hpp
Go to the documentation of this file.
1 /*****************************************************************************
2 
3  This file is part of QSS Solver.
4 
5  QSS Solver is free software: you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation, either version 3 of the License, or
8  (at your option) any later version.
9 
10  QSS Solver is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with QSS Solver. If not, see <http://www.gnu.org/licenses/>.
17 
18  ******************************************************************************/
19 
20 #pragma once
21 
22 #include <string>
23 
24 #include "ast_types.hpp"
25 
26 /* Constructors */
27 AST_ArgumentList newAST_ArgumentList();
28 
29 AST_Argument newAST_Argument_Modification(AST_String, AST_Modification);
30 AST_Argument newAST_Redeclaration(AST_Boolean, AST_Boolean, AST_Argument);
31 AST_Argument newAST_ShortClass(AST_ClassPrefix, AST_String, AST_ShortClassExp);
32 
33 AST_ShortClassExp newAST_ShortClassExp(AST_TypePrefix, AST_String, AST_ExpressionList, AST_ArgumentList);
34 AST_ShortClassExp newAST_ShortClassExp_Enum(AST_StringList);
35 
36 AST_Argument AST_ArgumentSet(AST_Boolean, AST_Boolean, AST_Argument);
37 AST_Argument newAST_ElementModification(AST_String, AST_Modification);
38 AST_Argument AST_ArgumentSetReplaceable(AST_Argument);
39 
40 AST_Comment newAST_Comment(AST_String, AST_ArgumentList);
41 
42 /* Strings */
45 AST_String newAST_String(string s);
46 AST_String newAST_String(char* s);
47 AST_String newAST_String(const char* s);
51 AST_StringList newAST_StringList();
53 #define toStr(it) (*it)
54 
55 /* Classes */
56 AST_Class newAST_Class(AST_String, AST_Composition);
57 AST_Class newAST_Class(AST_String);
58 AST_Class newAST_ClassEnumeration(AST_String, AST_StringList);
59 AST_Class newAST_ClassDerivation(AST_String, AST_String, AST_StringList);
60 AST_Class newAST_ClassExtends(AST_String, AST_Composition);
61 AST_Class newAST_ClassModification(AST_String, AST_TypePrefix, AST_String, AST_ExpressionList, AST_ArgumentList);
62 AST_ClassList newAST_ClassList();
63 AST_Class newAST_Class(AST_String s);
64 AST_Class AST_Class_SetFinal(AST_Class, AST_Boolean);
66 
67 /* Classes Prefixes */
81 
82 /* Compositions */
83 AST_Composition newAST_Composition();
84 AST_Composition newAST_Composition(AST_ElementList);
85 AST_Composition newAST_Composition(AST_ElementList el, AST_CompositionElementList cl);
86 AST_Composition newAST_Composition(AST_CompositionElementList cl);
87 AST_Composition AST_Composition_SetExternalAnnotation(AST_Composition c, AST_External_Function_Call ext, AST_ArgumentList annot);
88 AST_CompositionEqsAlgs newAST_NullCompositionEquations();
89 AST_CompositionEqsAlgs newAST_CompositionInitialEquations(AST_EquationList);
90 AST_CompositionEqsAlgs newAST_CompositionEquations(AST_EquationList);
91 AST_CompositionEqsAlgs newAST_CompositionInitialAlgorithms(AST_StatementList);
92 AST_CompositionEqsAlgs newAST_CompositionAlgorithms(AST_StatementList);
93 
94 /* Components and elements */
95 AST_Element_Component newAST_Element_Component(AST_DeclarationList cl, AST_String type, AST_TypePrefix, AST_ExpressionList);
96 AST_Element_ComponentList newAST_Element_ComponentList(AST_DeclarationList);
97 AST_Element_ComponentList newAST_Element_ComponentList();
98 AST_ElementList newAST_ElementList();
99 AST_Element_ImportClause newAST_ImportClause(AST_String);
100 AST_Element AST_ImportToElement(AST_Element_ImportClause i);
101 AST_Element AST_Element_ComponentToElement(AST_Element_Component c);
102 AST_Element AST_ExtendsToElement(AST_Element_ExtendsClause e);
103 AST_Element_ExtendsClause newAST_Element_ExtendsClause(AST_String);
104 AST_Element newAST_Element_ClassWrapper(AST_Class);
105 AST_CompositionElementList newAST_CompositionElementList();
106 AST_Declaration newAST_Declaration(AST_String, AST_ExpressionList, AST_Modification);
107 AST_Declaration AST_Declaration_AddCondComment(AST_Declaration, AST_Expression, AST_Comment);
108 AST_DeclarationList newAST_DeclarationList(AST_Declaration);
109 AST_CompositionElement newAST_CompositionElement(AST_CompositionEqsAlgs);
110 AST_CompositionElement newAST_CompositionElement(AST_ElementList);
111 
112 /* Equations */
113 AST_EquationList newAST_EquationList();
114 AST_Equation newAST_Equation_Equality(AST_Expression, AST_Expression, AST_Comment);
115 AST_Equation newAST_Equation_Connect(AST_Expression_ComponentReference, AST_Expression_ComponentReference);
116 AST_Equation newAST_Equation_If(AST_Expression e, AST_EquationList eql, AST_Equation_ElseList, AST_EquationList);
117 AST_Equation newAST_Equation_For(AST_ForIndexList, AST_EquationList eql);
118 AST_Equation newAST_Equation_When(AST_Expression, AST_EquationList, AST_Equation_ElseList, AST_Comment);
119 AST_Equation newAST_Equation_Call(AST_Expression);
120 AST_ForIndex newAST_ForIndex(AST_String, AST_Expression);
121 AST_ForIndexList newAST_ForIndexList();
122 AST_Equation_ElseList newAST_Equation_ElseList();
123 AST_Equation_Else newAST_Equation_Else(AST_Expression, AST_EquationList);
124 
125 /* Expressions */
126 AST_ExpressionList newAST_ExpressionList(AST_Expression);
127 AST_ExpressionList newAST_ExpressionList();
128 AST_ExpressionListList newAST_ExpressionListList();
129 AST_Expression newAST_Expression_Integer(AST_Integer i);
130 AST_Expression newAST_Expression_Real(AST_Real r);
131 AST_Expression newAST_Expression_String(AST_String s);
132 AST_Expression newAST_Expression_Boolean(AST_Boolean b);
133 AST_Expression newAST_Expression_Derivative(AST_ExpressionList el);
134 AST_Expression_ComponentReference newAST_Expression_ComponentReference();
135 AST_Expression_ComponentReference AST_Expression_ComponentReference_Add(AST_Expression_ComponentReference, AST_String, AST_ExpressionList);
136 AST_Expression_ComponentReference AST_Expression_ComponentReference_AddDot(AST_Expression_ComponentReference, AST_String,
137  AST_ExpressionList);
141 AST_Expression AST_Expression_ComponentReferenceExpAddDot(AST_Expression_ComponentReference, AST_String, AST_String, AST_ExpressionList);
142 AST_Expression AST_Expression_ComponentReferenceExpAdd(AST_Expression_ComponentReference, AST_String, AST_String, AST_ExpressionList);
143 AST_Expression newAST_Expression_BinOp(AST_Expression, AST_Expression, BinOpType);
144 AST_Expression newAST_Expression_UnaryMinus(AST_Expression);
145 AST_Expression newAST_Expression_If(AST_Expression, AST_Expression, AST_ExpressionList, AST_Expression);
146 AST_Expression newAST_Expression_Null();
147 AST_Expression newAST_Expression_Colon();
148 AST_Expression newAST_Expression_End();
149 AST_Expression newAST_Expression_Call(AST_String, AST_String, AST_ExpressionList);
150 AST_Expression newAST_Expression_Call(AST_String name, AST_String rest, AST_ExpressionList args, AST_ExpressionList output_args);
151 AST_Expression newAST_Expression_DotCall(AST_String, AST_String, AST_ExpressionList);
152 AST_Expression newAST_Expression_BooleanNot(AST_Expression);
153 AST_Expression newAST_Expression_ElseIf(AST_Expression, AST_Expression);
154 AST_Expression newAST_Expression_NamedArgument(AST_String, AST_Expression);
155 AST_Expression newAST_Expression_FunctionCallArgs(AST_ExpressionList);
156 AST_Expression newAST_Expression_Function(AST_String, AST_ExpressionList);
157 AST_Expression newAST_Expression_OutputExpressions(AST_ExpressionList);
158 AST_Expression newAST_Expression_Range(AST_Expression, AST_Expression);
159 AST_Expression newAST_Expression_Brace(AST_ExpressionList);
160 AST_Expression newAST_BracketExpList(AST_ExpressionListList);
161 
162 /* External funciton call */
163 AST_External_Function_Call newAST_ExternalCall();
164 AST_External_Function_Call newAST_ExternalCall(AST_String lang, AST_Expression_ComponentReference cr, AST_Expression args,
165  AST_ArgumentList annot);
166 
167 /* Modification */
168 AST_Modification newAST_Modification_Class(AST_ArgumentList, AST_Expression);
169 AST_Modification newAST_Modification_Equal(AST_Expression);
170 AST_Modification newAST_Modification_Assign(AST_Expression);
171 AST_Modification newAST_ModificationNull();
172 
173 /* Statements */
174 AST_Statement newAST_Statement_Break();
175 AST_Statement newAST_Statement_Return();
176 AST_Statement newAST_Statement_While(AST_Expression, AST_StatementList);
177 AST_Statement newAST_Statement_When(AST_Expression, AST_StatementList, AST_Statement_ElseList, AST_Comment);
178 AST_Statement newAST_Statement_For(AST_ForIndexList, AST_StatementList);
179 AST_Statement newAST_Statement_If(AST_Expression, AST_StatementList, AST_Statement_ElseList, AST_StatementList);
180 AST_Statement newAST_Statement_Assign(AST_Expression_ComponentReference, AST_Expression);
181 AST_Statement newAST_Statement_OutputAssign(AST_ExpressionList, AST_Expression_ComponentReference, AST_ExpressionList);
182 AST_StatementList newAST_StatementList();
183 AST_Statement_Else newAST_Statement_Else(AST_Expression, AST_StatementList);
184 AST_Statement_ElseList newAST_Statement_ElseList();
185 
186 AST_StoredDefinition newAST_StoredDefinition(AST_ClassList, AST_String);
187 
newAST_Expression_Colon
AST_Expression newAST_Expression_Colon()
Definition: ast_builder.cpp:345
newAST_ClassList
AST_ClassList newAST_ClassList()
Definition: ast_builder.cpp:99
AST_ClassPrefix_Type
AST_ClassPrefix AST_ClassPrefix_Type()
Definition: ast_builder.cpp:380
newAST_Class
AST_Class newAST_Class(AST_String, AST_Composition)
Definition: ast_builder.cpp:178
newAST_StringNull
AST_String newAST_StringNull()
Definition: ast_builder.cpp:97
AST_ExtendsToElement
AST_Element AST_ExtendsToElement(AST_Element_ExtendsClause e)
Definition: ast_builder.cpp:113
newAST_CompositionEquations
AST_CompositionEqsAlgs newAST_CompositionEquations(AST_EquationList)
Definition: ast_builder.cpp:579
newAST_CompositionElement
AST_CompositionElement newAST_CompositionElement(AST_CompositionEqsAlgs)
Definition: ast_builder.cpp:612
newAST_Argument_Modification
AST_Argument newAST_Argument_Modification(AST_String, AST_Modification)
Definition: ast_builder.cpp:495
AST_ArgumentSet
AST_Argument AST_ArgumentSet(AST_Boolean, AST_Boolean, AST_Argument)
Definition: ast_builder.cpp:140
newAST_CompositionElementList
AST_CompositionElementList newAST_CompositionElementList()
Definition: ast_builder.cpp:126
AST_Class_SetFinal
AST_Class AST_Class_SetFinal(AST_Class, AST_Boolean)
Definition: ast_builder.cpp:422
newAST_Equation_Else
AST_Equation_Else newAST_Equation_Else(AST_Expression, AST_EquationList)
Definition: ast_builder.cpp:479
AST_Expression_ComponentReferenceExpAddDot
AST_Expression AST_Expression_ComponentReferenceExpAddDot(AST_Expression_ComponentReference, AST_String, AST_String, AST_ExpressionList)
Definition: ast_builder.cpp:439
AST_ClassPrefix_Pure
AST_ClassPrefix AST_ClassPrefix_Pure(AST_Boolean)
Definition: ast_builder.cpp:396
AST_Integer
int AST_Integer
Definition: ast_types.hpp:47
newAST_Modification_Assign
AST_Modification newAST_Modification_Assign(AST_Expression)
Definition: ast_builder.cpp:503
newAST_CompositionAlgorithms
AST_CompositionEqsAlgs newAST_CompositionAlgorithms(AST_StatementList)
Definition: ast_builder.cpp:583
newAST_Equation_When
AST_Equation newAST_Equation_When(AST_Expression, AST_EquationList, AST_Equation_ElseList, AST_Comment)
Definition: ast_builder.cpp:572
newAST_Expression_Integer
AST_Expression newAST_Expression_Integer(AST_Integer i)
Definition: ast_builder.cpp:130
newAST_String
AST_String newAST_String(AST_String)
Definition: ast_builder.cpp:63
newAST_StoredDefinition
AST_StoredDefinition newAST_StoredDefinition(AST_ClassList, AST_String)
Definition: ast_builder.cpp:46
newAST_ClassEnumeration
AST_Class newAST_ClassEnumeration(AST_String, AST_StringList)
Definition: ast_builder.cpp:620
newAST_Expression_ComponentReference
AST_Expression_ComponentReference newAST_Expression_ComponentReference()
Definition: ast_builder.cpp:222
AST_StringDotAppend
AST_String AST_StringDotAppend(AST_String, AST_String)
Definition: ast_builder.cpp:84
newAST_Composition
AST_Composition newAST_Composition()
Definition: ast_builder.cpp:101
newAST_Expression_DotCall
AST_Expression newAST_Expression_DotCall(AST_String, AST_String, AST_ExpressionList)
Definition: ast_builder.cpp:321
newAST_ClassModification
AST_Class newAST_ClassModification(AST_String, AST_TypePrefix, AST_String, AST_ExpressionList, AST_ArgumentList)
Definition: ast_builder.cpp:632
newAST_StatementList
AST_StatementList newAST_StatementList()
Definition: ast_builder.cpp:481
newAST_Modification_Class
AST_Modification newAST_Modification_Class(AST_ArgumentList, AST_Expression)
Definition: ast_builder.cpp:610
AST_Real
double AST_Real
Definition: ast_types.hpp:48
newAST_Expression_BinOp
AST_Expression newAST_Expression_BinOp(AST_Expression, AST_Expression, BinOpType)
Definition: ast_builder.cpp:265
newAST_Expression_BooleanNot
AST_Expression newAST_Expression_BooleanNot(AST_Expression)
Definition: ast_builder.cpp:347
newAST_Expression_Range
AST_Expression newAST_Expression_Range(AST_Expression, AST_Expression)
Definition: ast_builder.cpp:505
newAST_Declaration
AST_Declaration newAST_Declaration(AST_String, AST_ExpressionList, AST_Modification)
Definition: ast_builder.cpp:187
AST_Element_ComponentToElement
AST_Element AST_Element_ComponentToElement(AST_Element_Component c)
Definition: ast_builder.cpp:124
AST_ClassPrefix_Model
AST_ClassPrefix AST_ClassPrefix_Model()
Definition: ast_builder.cpp:360
newAST_ArgumentList
AST_ArgumentList newAST_ArgumentList()
Definition: ast_builder.cpp:493
AST_ClassPrefix_None
AST_ClassPrefix AST_ClassPrefix_None()
Definition: ast_builder.cpp:404
newAST_Expression_Derivative
AST_Expression newAST_Expression_Derivative(AST_ExpressionList el)
Definition: ast_builder.cpp:174
newAST_Expression_ComponentReferenceExp
AST_Expression newAST_Expression_ComponentReferenceExp(AST_String)
Definition: ast_builder.cpp:198
newAST_ShortClass
AST_Argument newAST_ShortClass(AST_ClassPrefix, AST_String, AST_ShortClassExp)
Definition: ast_builder.cpp:602
AST_String
string * AST_String
Definition: ast_types.hpp:46
newAST_Statement_ElseList
AST_Statement_ElseList newAST_Statement_ElseList()
Definition: ast_builder.cpp:489
newAST_Element_ExtendsClause
AST_Element_ExtendsClause newAST_Element_ExtendsClause(AST_String)
Definition: ast_builder.cpp:115
newAST_Expression_If
AST_Expression newAST_Expression_If(AST_Expression, AST_Expression, AST_ExpressionList, AST_Expression)
Definition: ast_builder.cpp:305
newAST_ForIndex
AST_ForIndex newAST_ForIndex(AST_String, AST_Expression)
Definition: ast_builder.cpp:416
newAST_Expression_String
AST_Expression newAST_Expression_String(AST_String s)
Definition: ast_builder.cpp:165
newAST_ClassExtends
AST_Class newAST_ClassExtends(AST_String, AST_Composition)
Definition: ast_builder.cpp:614
newAST_Statement_Else
AST_Statement_Else newAST_Statement_Else(AST_Expression, AST_StatementList)
Definition: ast_builder.cpp:545
newAST_Element_ComponentList
AST_Element_ComponentList newAST_Element_ComponentList(AST_DeclarationList)
newAST_StringList
AST_StringList newAST_StringList()
Definition: ast_builder.cpp:315
AST_ClassPrefix
int AST_ClassPrefix
Definition: ast_types.hpp:51
AST_ClassPrefix_AddPartial
AST_ClassPrefix AST_ClassPrefix_AddPartial(AST_Boolean, AST_ClassPrefix)
Definition: ast_builder.cpp:406
newAST_Expression_Call
AST_Expression newAST_Expression_Call(AST_String, AST_String, AST_ExpressionList)
Definition: ast_builder.cpp:331
newAST_Statement_OutputAssign
AST_Statement newAST_Statement_OutputAssign(AST_ExpressionList, AST_Expression_ComponentReference, AST_ExpressionList)
Definition: ast_builder.cpp:562
newAST_Expression_ComponentReferenceExpDot
AST_Expression newAST_Expression_ComponentReferenceExpDot(AST_String s, AST_String s2)
Definition: ast_builder.cpp:214
newAST_Expression_FunctionCallArgs
AST_Expression newAST_Expression_FunctionCallArgs(AST_ExpressionList)
Definition: ast_builder.cpp:465
AST_TypePrefixAdd
AST_TypePrefix AST_TypePrefixAdd(AST_TypePrefix, AST_TypePrefix)
Definition: ast_builder.cpp:263
newAST_Comment
AST_Comment newAST_Comment(AST_String, AST_ArgumentList)
Definition: ast_builder.cpp:646
newAST_Expression_NamedArgument
AST_Expression newAST_Expression_NamedArgument(AST_String, AST_Expression)
Definition: ast_builder.cpp:459
newAST_ShortClassExp_Enum
AST_ShortClassExp newAST_ShortClassExp_Enum(AST_StringList)
Definition: ast_builder.cpp:590
newAST_Statement_When
AST_Statement newAST_Statement_When(AST_Expression, AST_StatementList, AST_Statement_ElseList, AST_Comment)
Definition: ast_builder.cpp:557
newAST_ModificationNull
AST_Modification newAST_ModificationNull()
Definition: ast_builder.cpp:487
newAST_ImportClause
AST_Element_ImportClause newAST_ImportClause(AST_String)
Definition: ast_builder.cpp:128
newAST_DeclarationList
AST_DeclarationList newAST_DeclarationList(AST_Declaration)
Definition: ast_builder.cpp:194
AST_Boolean
bool AST_Boolean
Definition: ast_types.hpp:45
AST_ClassPrefix_Block
AST_ClassPrefix AST_ClassPrefix_Block()
Definition: ast_builder.cpp:370
AST_Expression_ComponentReference_Add
AST_Expression_ComponentReference AST_Expression_ComponentReference_Add(AST_Expression_ComponentReference, AST_String, AST_ExpressionList)
Definition: ast_builder.cpp:236
AST_Class_SetPrefixEncapsulated
AST_Class AST_Class_SetPrefixEncapsulated(AST_Class, AST_ClassPrefix, AST_Boolean)
Definition: ast_builder.cpp:430
AST_TypePrefix
int AST_TypePrefix
Definition: ast_types.hpp:50
newAST_Equation_ElseList
AST_Equation_ElseList newAST_Equation_ElseList()
Definition: ast_builder.cpp:491
newAST_ExternalCall
AST_External_Function_Call newAST_ExternalCall()
Definition: ast_builder.cpp:654
newAST_Expression_End
AST_Expression newAST_Expression_End()
Definition: ast_builder.cpp:317
AST_ClassPrefix_Impure
AST_ClassPrefix AST_ClassPrefix_Impure(AST_Boolean)
Definition: ast_builder.cpp:388
newAST_DotString
AST_String newAST_DotString(AST_String)
Definition: ast_builder.cpp:76
newAST_Statement_Return
AST_Statement newAST_Statement_Return()
Definition: ast_builder.cpp:485
newAST_CompositionInitialAlgorithms
AST_CompositionEqsAlgs newAST_CompositionInitialAlgorithms(AST_StatementList)
Definition: ast_builder.cpp:581
newAST_NullCompositionEquations
AST_CompositionEqsAlgs newAST_NullCompositionEquations()
Definition: ast_builder.cpp:638
AST_ClassPrefix_Function
AST_ClassPrefix AST_ClassPrefix_Function(AST_ClassPrefix)
Definition: ast_builder.cpp:384
newAST_ForIndexList
AST_ForIndexList newAST_ForIndexList()
Definition: ast_builder.cpp:418
newAST_TypePrefix
AST_TypePrefix newAST_TypePrefix()
Definition: ast_builder.cpp:259
newAST_Equation_Equality
AST_Equation newAST_Equation_Equality(AST_Expression, AST_Expression, AST_Comment)
Definition: ast_builder.cpp:153
newAST_Modification_Equal
AST_Modification newAST_Modification_Equal(AST_Expression)
Definition: ast_builder.cpp:501
newAST_Equation_Call
AST_Equation newAST_Equation_Call(AST_Expression)
Definition: ast_builder.cpp:349
AST_Composition_SetExternalAnnotation
AST_Composition AST_Composition_SetExternalAnnotation(AST_Composition c, AST_External_Function_Call ext, AST_ArgumentList annot)
Definition: ast_builder.cpp:662
newAST_Expression_OutputExpressions
AST_Expression newAST_Expression_OutputExpressions(AST_ExpressionList)
Definition: ast_builder.cpp:522
newAST_Statement_Assign
AST_Statement newAST_Statement_Assign(AST_Expression_ComponentReference, AST_Expression)
Definition: ast_builder.cpp:567
newAST_Expression_Brace
AST_Expression newAST_Expression_Brace(AST_ExpressionList)
Definition: ast_builder.cpp:524
AST_Declaration_AddCondComment
AST_Declaration AST_Declaration_AddCondComment(AST_Declaration, AST_Expression, AST_Comment)
Definition: ast_builder.cpp:640
newAST_Element_Component
AST_Element_Component newAST_Element_Component(AST_DeclarationList cl, AST_String type, AST_TypePrefix, AST_ExpressionList)
Definition: ast_builder.cpp:180
AST_ClassPrefix_Package
AST_ClassPrefix AST_ClassPrefix_Package()
Definition: ast_builder.cpp:382
newAST_Equation_If
AST_Equation newAST_Equation_If(AST_Expression e, AST_EquationList eql, AST_Equation_ElseList, AST_EquationList)
Definition: ast_builder.cpp:310
AST_ArgumentSetReplaceable
AST_Argument AST_ArgumentSetReplaceable(AST_Argument)
Definition: ast_builder.cpp:499
newAST_ElementModification
AST_Argument newAST_ElementModification(AST_String, AST_Modification)
Definition: ast_builder.cpp:608
newAST_Statement_If
AST_Statement newAST_Statement_If(AST_Expression, AST_StatementList, AST_Statement_ElseList, AST_StatementList)
Definition: ast_builder.cpp:547
newAST_Expression_Function
AST_Expression newAST_Expression_Function(AST_String, AST_ExpressionList)
Definition: ast_builder.cpp:471
newAST_Expression_UnaryMinus
AST_Expression newAST_Expression_UnaryMinus(AST_Expression)
Definition: ast_builder.cpp:294
newAST_Equation_Connect
AST_Equation newAST_Equation_Connect(AST_Expression_ComponentReference, AST_Expression_ComponentReference)
Definition: ast_builder.cpp:158
ast_types.hpp
AST_ImportToElement
AST_Element AST_ImportToElement(AST_Element_ImportClause i)
Definition: ast_builder.cpp:111
newAST_Statement_Break
AST_Statement newAST_Statement_Break()
Definition: ast_builder.cpp:483
AST_ClassPrefix_Class
AST_ClassPrefix AST_ClassPrefix_Class()
Definition: ast_builder.cpp:358
AST_ClassPrefix_Record
AST_ClassPrefix AST_ClassPrefix_Record(AST_Boolean)
Definition: ast_builder.cpp:362
newAST_Expression_Boolean
AST_Expression newAST_Expression_Boolean(AST_Boolean b)
Definition: ast_builder.cpp:172
copyAST_String
AST_String copyAST_String(AST_String)
Definition: ast_builder.cpp:70
BinOpType
BinOpType
Definition: ast_types.hpp:137
newAST_EquationList
AST_EquationList newAST_EquationList()
Definition: ast_builder.cpp:151
newAST_Expression_Null
AST_Expression newAST_Expression_Null()
Definition: ast_builder.cpp:319
newAST_ExpressionListList
AST_ExpressionListList newAST_ExpressionListList()
Definition: ast_builder.cpp:497
newAST_Equation_For
AST_Equation newAST_Equation_For(AST_ForIndexList, AST_EquationList eql)
Definition: ast_builder.cpp:420
AST_Expression_ComponentReferenceExpAdd
AST_Expression AST_Expression_ComponentReferenceExpAdd(AST_Expression_ComponentReference, AST_String, AST_String, AST_ExpressionList)
Definition: ast_builder.cpp:449
newAST_ElementList
AST_ElementList newAST_ElementList()
Definition: ast_builder.cpp:109
newAST_Expression_Real
AST_Expression newAST_Expression_Real(AST_Real r)
Definition: ast_builder.cpp:163
AST_ClassPrefix_Connector
AST_ClassPrefix AST_ClassPrefix_Connector(AST_Boolean)
Definition: ast_builder.cpp:372
newAST_BracketExpList
AST_Expression newAST_BracketExpList(AST_ExpressionListList)
Definition: ast_builder.cpp:526
newAST_CompositionInitialEquations
AST_CompositionEqsAlgs newAST_CompositionInitialEquations(AST_EquationList)
Definition: ast_builder.cpp:577
newAST_ShortClassExp
AST_ShortClassExp newAST_ShortClassExp(AST_TypePrefix, AST_String, AST_ExpressionList, AST_ArgumentList)
Definition: ast_builder.cpp:585
newAST_Redeclaration
AST_Argument newAST_Redeclaration(AST_Boolean, AST_Boolean, AST_Argument)
Definition: ast_builder.cpp:596
newAST_ExpressionList
AST_ExpressionList newAST_ExpressionList(AST_Expression)
Definition: ast_builder.cpp:132
newAST_Statement_While
AST_Statement newAST_Statement_While(AST_Expression, AST_StatementList)
Definition: ast_builder.cpp:555
newAST_ClassDerivation
AST_Class newAST_ClassDerivation(AST_String, AST_String, AST_StringList)
Definition: ast_builder.cpp:626
AST_Expression_ComponentReference_AddDot
AST_Expression_ComponentReference AST_Expression_ComponentReference_AddDot(AST_Expression_ComponentReference, AST_String, AST_ExpressionList)
Definition: ast_builder.cpp:228
newAST_Expression_ElseIf
AST_Expression newAST_Expression_ElseIf(AST_Expression, AST_Expression)
Definition: ast_builder.cpp:543
newAST_Statement_For
AST_Statement newAST_Statement_For(AST_ForIndexList, AST_StatementList)
Definition: ast_builder.cpp:553
newAST_Element_ClassWrapper
AST_Element newAST_Element_ClassWrapper(AST_Class)
Definition: ast_builder.cpp:122
AST_ClassPrefix_Operator
AST_ClassPrefix AST_ClassPrefix_Operator()
Definition: ast_builder.cpp:386