Changeset b0d9ff7 for src/Parser/ParseNode.h
- Timestamp:
- Sep 1, 2022, 1:27:52 PM (2 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
- Children:
- 12df6fe
- Parents:
- def751f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/ParseNode.h
rdef751f rb0d9ff7 184 184 NameExpr * build_varref( const std::string * name ); 185 185 QualifiedNameExpr * build_qualified_expr( const DeclarationNode * decl_node, const NameExpr * name ); 186 QualifiedNameExpr * build_qualified_expr( const EnumDecl * decl, const NameExpr * name ); 186 187 DimensionExpr * build_dimensionref( const std::string * name ); 187 188 … … 236 237 static DeclarationNode * newFunction( const std::string * name, DeclarationNode * ret, DeclarationNode * param, StatementNode * body ); 237 238 static DeclarationNode * newAggregate( AggregateDecl::Aggregate kind, const std::string * name, ExpressionNode * actuals, DeclarationNode * fields, bool body ); 238 static DeclarationNode * newEnum( const std::string * name, DeclarationNode * constants, bool body, DeclarationNode * base = nullptr );239 static DeclarationNode * newEnum( const std::string * name, DeclarationNode * constants, bool body, bool typed, DeclarationNode * base = nullptr ); 239 240 static DeclarationNode * newEnumConstant( const std::string * name, ExpressionNode * constant ); 240 241 static DeclarationNode * newEnumValueGeneric( const std::string * name, InitializerNode * init );
Note: See TracChangeset
for help on using the changeset viewer.