Changes in src/Parser/ParseNode.h [312029a:033ff37]
- File:
-
- 1 edited
-
src/Parser/ParseNode.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/ParseNode.h
r312029a r033ff37 10 10 // Created On : Sat May 16 13:28:16 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Dec 11 07:40:07201913 // Update Count : 8 8212 // Last Modified On : Thu Jul 25 22:17:10 2019 13 // Update Count : 876 14 14 // 15 15 … … 29 29 #include "Common/utility.h" // for maybeClone, maybeBuild 30 30 #include "Parser/LinkageSpec.h" // for Spec 31 #include "SynTree/Declaration.h" // for Aggregate32 31 #include "SynTree/Expression.h" // for Expression, ConstantExpr (ptr only) 33 32 #include "SynTree/Label.h" // for Label … … 185 184 186 185 Expression * build_cast( DeclarationNode * decl_node, ExpressionNode * expr_node ); 187 Expression * build_keyword_cast( AggregateDecl::Aggregatetarget, ExpressionNode * expr_node );186 Expression * build_keyword_cast( KeywordCastExpr::Target target, ExpressionNode * expr_node ); 188 187 Expression * build_virtual_cast( DeclarationNode * decl_node, ExpressionNode * expr_node ); 189 188 Expression * build_fieldSel( ExpressionNode * expr_node, Expression * member ); … … 218 217 enum Length { Short, Long, LongLong, NoLength }; 219 218 static const char * lengthNames[]; 219 enum Aggregate { Struct, Union, Exception, Trait, Coroutine, Monitor, Thread, NoAggregate }; 220 static const char * aggregateNames[]; 220 221 enum TypeClass { Otype, Dtype, Ftype, Ttype, NoTypeClass }; 221 222 static const char * typeClassNames[]; … … 236 237 static DeclarationNode * newQualifiedType( DeclarationNode *, DeclarationNode * ); 237 238 static DeclarationNode * newFunction( const std::string * name, DeclarationNode * ret, DeclarationNode * param, StatementNode * body ); 238 static DeclarationNode * newAggregate( Aggregate Decl::Aggregatekind, const std::string * name, ExpressionNode * actuals, DeclarationNode * fields, bool body );239 static DeclarationNode * newAggregate( Aggregate kind, const std::string * name, ExpressionNode * actuals, DeclarationNode * fields, bool body ); 239 240 static DeclarationNode * newEnum( const std::string * name, DeclarationNode * constants, bool body ); 240 241 static DeclarationNode * newEnumConstant( const std::string * name, ExpressionNode * constant );
Note:
See TracChangeset
for help on using the changeset viewer.