Changes in src/Parser/ParseNode.h [62e5546:2298f728]
- File:
-
- 1 edited
-
src/Parser/ParseNode.h (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/ParseNode.h
r62e5546 r2298f728 10 10 // Created On : Sat May 16 13:28:16 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon Oct 3 18:03:08201613 // Update Count : 63 612 // Last Modified On : Sat Sep 24 11:12:04 2016 13 // Update Count : 633 14 14 // 15 15 … … 109 109 ExpressionNode * set_extension( bool exten ) { extension = exten; return this; } 110 110 111 v irtual void print( std::ostream &os, int indent = 0 ) const override{}111 void print( std::ostream &os, int indent = 0 ) const {} 112 112 void printOneLine( std::ostream &os, int indent = 0 ) const {} 113 113 … … 187 187 //############################################################################## 188 188 189 structTypeData;189 class TypeData; 190 190 191 191 class DeclarationNode : public ParseNode { … … 198 198 enum Signedness { Signed, Unsigned, NoSignedness }; 199 199 enum Length { Short, Long, LongLong, NoLength }; 200 enum Aggregate { Struct, Union, Trait , NoAggregate};201 enum TypeClass { Otype, Dtype, Ftype , NoTypeClass};200 enum Aggregate { Struct, Union, Trait }; 201 enum TypeClass { Otype, Dtype, Ftype }; 202 202 enum BuiltinType { Valist }; 203 203 … … 271 271 } 272 272 273 v irtual void print( std::ostream &os, int indent = 0 ) const override;274 v irtual void printList( std::ostream &os, int indent = 0 ) const override;273 void print( std::ostream &os, int indent = 0 ) const; 274 void printList( std::ostream &os, int indent = 0 ) const; 275 275 276 276 Declaration * build() const; … … 287 287 public: 288 288 struct Variable_t { 289 //const std::string * name;289 const std::string * name; 290 290 DeclarationNode::TypeClass tyClass; 291 291 DeclarationNode * assertions; … … 294 294 295 295 struct Attr_t { 296 //const std::string * name;296 const std::string * name; 297 297 ExpressionNode * expr; 298 298 DeclarationNode * type; … … 345 345 virtual StatementNode * append_last_case( StatementNode * ); 346 346 347 virtual void print( std::ostream &os, int indent = 0 ) const override{}348 virtual void printList( std::ostream &os, int indent = 0 ) const override{}347 virtual void print( std::ostream &os, int indent = 0 ) {} 348 virtual void printList( std::ostream &os, int indent = 0 ) {} 349 349 private: 350 350 std::unique_ptr<Statement> stmt;
Note:
See TracChangeset
for help on using the changeset viewer.