1.0 Generated by Doxygen 1.5.5

6.15 MiniCompiler::ErrorClassReference . ...... 6.14.2.64 bool MiniCompiler::CreateAST::isHeaderFunc (const Symbol & symb) const. [inline, private]. Check if ...
32MB taille 9 téléchargements 235 vues
Cubs 1.0 Generated by Doxygen 1.5.5 Sat Feb 21 16:40:31 2009

Contents 1

2

3

4

5

6

Namespace Index

1

1.1

1

Namespace List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Class Index

3

2.1

3

Class Hierarchy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Class Index

5

3.1

5

Class List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

File Index

7

4.1

7

File List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Namespace Documentation

11

5.1

MiniCompiler Namespace Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

11

5.2

MiniCompiler::anonymous_namespace{ASMGeneratorVisitor.cc} Namespace Reference .

20

5.3

MiniCompiler::AST Namespace Reference . . . . . . . . . . . . . . . . . . . . . . . . .

21

5.4

MiniCompiler::AST::Operator Namespace Reference . . . . . . . . . . . . . . . . . . . .

22

5.5

MiniCompiler::AST::Type Namespace Reference . . . . . . . . . . . . . . . . . . . . . .

23

5.6

MiniCompiler::Exec Namespace Reference . . . . . . . . . . . . . . . . . . . . . . . . .

24

5.7

MiniCompiler::NodeName Namespace Reference . . . . . . . . . . . . . . . . . . . . . .

25

5.8

MiniCompiler::NodeName::Option Namespace Reference . . . . . . . . . . . . . . . . .

28

5.9

Traits Namespace Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

29

Class Documentation

31

6.1

MiniCompiler::ASMGeneratorVisitor Class Reference . . . . . . . . . . . . . . . . . . .

31

6.2

MiniCompiler::BaseVisitor< ConstifyTrait > Class Template Reference . . . . . . . . . .

52

6.3

MiniCompiler::Binder Class Reference . . . . . . . . . . . . . . . . . . . . . . . . . . .

64

6.4

MiniCompiler::BinderVisitor Class Reference . . . . . . . . . . . . . . . . . . . . . . . .

68

6.5

MiniCompiler::BindingPrinterVisitor Class Reference . . . . . . . . . . . . . . . . . . . .

83

6.6

MiniCompiler::Compiler Class Reference . . . . . . . . . . . . . . . . . . . . . . . . . . 100

ii

CONTENTS 6.7

MiniCompiler::Configuration Class Reference . . . . . . . . . . . . . . . . . . . . . . . . 121

6.8

Traits::Const< T > Struct Template Reference . . . . . . . . . . . . . . . . . . . . . . . 123

6.9

Traits::Constify< T > Struct Template Reference . . . . . . . . . . . . . . . . . . . . . . 124

6.10 Traits::Traits::Constify< const T & > Struct Template Reference . . . . . . . . . . . . . . 125 6.11 Traits::Traits::Constify< const T > Struct Template Reference . . . . . . . . . . . . . . . 126 6.12 Traits::Traits::Constify< T & > Struct Template Reference . . . . . . . . . . . . . . . . . 127 6.13 MiniCompiler::ConvertToCppVisitor Class Reference . . . . . . . . . . . . . . . . . . . . 128 6.14 MiniCompiler::CreateAST Class Reference . . . . . . . . . . . . . . . . . . . . . . . . . 145 6.15 MiniCompiler::Error Class Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198 6.16 MiniCompiler::ErrorHandler Class Reference . . . . . . . . . . . . . . . . . . . . . . . . 201 6.17 MiniCompiler::Execution Class Reference . . . . . . . . . . . . . . . . . . . . . . . . . . 204 6.18 MiniCompiler::ExecutionVisitor Class Reference . . . . . . . . . . . . . . . . . . . . . . 209 6.19 MiniCompiler::GenerateAST Class Reference . . . . . . . . . . . . . . . . . . . . . . . . 231 6.20 MiniCompiler::GenerateDotASTVisitor Class Reference . . . . . . . . . . . . . . . . . . 245 6.21 Traits::Identity< T > Struct Template Reference . . . . . . . . . . . . . . . . . . . . . . 265 6.22 Traits::isPointer< T > Struct Template Reference . . . . . . . . . . . . . . . . . . . . . . 266 6.23 Traits::Traits::isPointer< T ∗ > Struct Template Reference . . . . . . . . . . . . . . . . . 267 6.24 Traits::isReference< T > Struct Template Reference . . . . . . . . . . . . . . . . . . . . 268 6.25 Traits::Traits::isReference< T & > Struct Template Reference . . . . . . . . . . . . . . . 269 6.26 MiniCompiler::IVisitable Class Reference . . . . . . . . . . . . . . . . . . . . . . . . . . 270 6.27 MiniCompiler::IVisitor< ConstifyTrait > Class Template Reference . . . . . . . . . . . . 272 6.28 MiniCompiler::Lexer Class Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281 6.29 MiniCompiler::AST::Node Class Reference . . . . . . . . . . . . . . . . . . . . . . . . . 291 6.30 MiniCompiler::AST::NodeAffect Class Reference . . . . . . . . . . . . . . . . . . . . . . 294 6.31 MiniCompiler::AST::NodeArgument Class Reference . . . . . . . . . . . . . . . . . . . . 300 6.32 MiniCompiler::AST::NodeArguments Class Reference . . . . . . . . . . . . . . . . . . . 306 6.33 MiniCompiler::AST::NodeBoolean Class Reference . . . . . . . . . . . . . . . . . . . . . 312 6.34 MiniCompiler::AST::NodeCallFunc Class Reference . . . . . . . . . . . . . . . . . . . . 316 6.35 MiniCompiler::AST::NodeCompoundInstr Class Reference . . . . . . . . . . . . . . . . . 323 6.36 MiniCompiler::AST::NodeDeclaration Class Reference . . . . . . . . . . . . . . . . . . . 328 6.37 MiniCompiler::AST::NodeDeclarationBody Class Reference . . . . . . . . . . . . . . . . 333 6.38 MiniCompiler::AST::NodeDeclarations Class Reference . . . . . . . . . . . . . . . . . . 339 6.39 MiniCompiler::AST::NodeExit Class Reference . . . . . . . . . . . . . . . . . . . . . . . 344 6.40 MiniCompiler::AST::NodeExpression Class Reference . . . . . . . . . . . . . . . . . . . 349 6.41 MiniCompiler::AST::NodeExpressions Class Reference . . . . . . . . . . . . . . . . . . . 353 6.42 MiniCompiler::AST::NodeFactor Class Reference . . . . . . . . . . . . . . . . . . . . . . 359 Generated on Sat Feb 21 16:40:31 2009 for Cubs by Doxygen

CONTENTS

iii

6.43 MiniCompiler::AST::NodeFunction Class Reference . . . . . . . . . . . . . . . . . . . . 367 6.44 MiniCompiler::AST::NodeFunctions Class Reference . . . . . . . . . . . . . . . . . . . . 375 6.45 MiniCompiler::AST::NodeHeaderFunc Class Reference . . . . . . . . . . . . . . . . . . . 381 6.46 MiniCompiler::AST::NodeId Class Reference . . . . . . . . . . . . . . . . . . . . . . . . 388 6.47 MiniCompiler::AST::NodeIdFunc Class Reference . . . . . . . . . . . . . . . . . . . . . 394 6.48 MiniCompiler::AST::NodeIds Class Reference . . . . . . . . . . . . . . . . . . . . . . . 400 6.49 MiniCompiler::AST::NodeIf Class Reference . . . . . . . . . . . . . . . . . . . . . . . . 405 6.50 MiniCompiler::AST::NodeInstr Class Reference . . . . . . . . . . . . . . . . . . . . . . . 411 6.51 MiniCompiler::AST::NodeInstrs Class Reference . . . . . . . . . . . . . . . . . . . . . . 422 6.52 MiniCompiler::AST::NodeNumber Class Reference . . . . . . . . . . . . . . . . . . . . . 427 6.53 MiniCompiler::AST::NodeOperation Class Reference . . . . . . . . . . . . . . . . . . . . 431 6.54 MiniCompiler::AST::NodePrint Class Reference . . . . . . . . . . . . . . . . . . . . . . 437 6.55 MiniCompiler::AST::NodeProgram Class Reference . . . . . . . . . . . . . . . . . . . . 442 6.56 MiniCompiler::AST::NodeRead Class Reference . . . . . . . . . . . . . . . . . . . . . . 448 6.57 MiniCompiler::AST::NodeReturn Class Reference . . . . . . . . . . . . . . . . . . . . . 452 6.58 MiniCompiler::AST::NodeStringExpr Class Reference . . . . . . . . . . . . . . . . . . . 457 6.59 MiniCompiler::AST::NodeType Class Reference . . . . . . . . . . . . . . . . . . . . . . 461 6.60 MiniCompiler::AST::NodeWhile Class Reference . . . . . . . . . . . . . . . . . . . . . . 466 6.61 MiniCompiler::Parser Class Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . 472 6.62 MiniCompiler::PrettyPrinterVisitor Class Reference . . . . . . . . . . . . . . . . . . . . . 477 6.63 MiniCompiler::Scope< Key, Data > Class Template Reference . . . . . . . . . . . . . . . 496 6.64 Singleton< T > Class Template Reference . . . . . . . . . . . . . . . . . . . . . . . . . . 502 6.65 MiniCompiler::Symbol Class Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . 506 6.66 MiniCompiler::TypeChecker Class Reference . . . . . . . . . . . . . . . . . . . . . . . . 513 6.67 MiniCompiler::TypeCheckerVisitor Class Reference . . . . . . . . . . . . . . . . . . . . 517 6.68 MiniCompiler::TypeCheckingPrinterVisitor Class Reference . . . . . . . . . . . . . . . . 534 6.69 MiniCompiler::AST::TypedNode Class Reference . . . . . . . . . . . . . . . . . . . . . . 551 6.70 MiniCompiler::Utils Class Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 554 6.71 MiniCompiler::Variable Class Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . 561 7

File Documentation

575

7.1

src/ASMGeneratorVisitor.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . 575

7.2

src/ASMGeneratorVisitor.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . 577

7.3

src/ASMGeneratorVisitor.hxx File Reference . . . . . . . . . . . . . . . . . . . . . . . . 578

7.4

src/BaseVisitor.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 579

7.5

src/BaseVisitor.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 580

7.6

src/BaseVisitor.hxx File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 581

Generated on Sat Feb 21 16:40:31 2009 for Cubs by Doxygen

iv

CONTENTS 7.7

src/Binder.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 583

7.8

src/Binder.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 584

7.9

src/BinderVisitor.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 585

7.10 src/BinderVisitor.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 587 7.11 src/BindingPrinterVisitor.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . 588 7.12 src/BindingPrinterVisitor.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . 590 7.13 src/Compiler.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 591 7.14 src/Compiler.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 592 7.15 src/Compiler.hxx File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 594 7.16 src/Configuration.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 595 7.17 src/Configuration.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 596 7.18 src/Configuration.hxx File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 597 7.19 src/ConvertToCppVisitor.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . 598 7.20 src/ConvertToCppVisitor.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . 600 7.21 src/CreateAST.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 601 7.22 src/CreateAST.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 602 7.23 src/CreateAST.hxx File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 604 7.24 src/Error.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 605 7.25 src/Error.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 606 7.26 src/ErrorHandler.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 607 7.27 src/ErrorHandler.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 608 7.28 src/Execution.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 609 7.29 src/Execution.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 610 7.30 src/ExecutionVisitor.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . 611 7.31 src/ExecutionVisitor.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613 7.32 src/GenerateAST.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 615 7.33 src/GenerateAST.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 616 7.34 src/GenerateAST.hxx File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 618 7.35 src/GenerateDotASTVisitor.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . 619 7.36 src/GenerateDotASTVisitor.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . 621 7.37 src/GenerateDotASTVisitor.hxx File Reference . . . . . . . . . . . . . . . . . . . . . . . 623 7.38 src/IVisitable.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 624 7.39 src/IVisitor.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 625 7.40 src/Lexer.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 626 7.41 src/Lexer.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 627 7.42 src/main.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 628 Generated on Sat Feb 21 16:40:31 2009 for Cubs by Doxygen

CONTENTS

v

7.43 src/main.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 633 7.44 src/Node.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 634 7.45 src/Node.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 635 7.46 src/NodeAffect.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 636 7.47 src/NodeAffect.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 637 7.48 src/NodeArgument.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 638 7.49 src/NodeArgument.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . 639 7.50 src/NodeArguments.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . 641 7.51 src/NodeArguments.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . 642 7.52 src/NodeBoolean.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 644 7.53 src/NodeBoolean.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 645 7.54 src/NodeCallFunc.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 646 7.55 src/NodeCallFunc.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 647 7.56 src/NodeCompoundInstr.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . 648 7.57 src/NodeCompoundInstr.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . 649 7.58 src/NodeDeclaration.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . 651 7.59 src/NodeDeclaration.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . 652 7.60 src/NodeDeclarationBody.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . 654 7.61 src/NodeDeclarationBody.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . 655 7.62 src/NodeDeclarations.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . 656 7.63 src/NodeDeclarations.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . 657 7.64 src/NodeExit.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 659 7.65 src/NodeExit.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 660 7.66 src/NodeExpression.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . 661 7.67 src/NodeExpression.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . 662 7.68 src/NodeExpressions.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663 7.69 src/NodeExpressions.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . 664 7.70 src/NodeFactor.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 665 7.71 src/NodeFactor.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 666 7.72 src/NodeFunction.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 667 7.73 src/NodeFunction.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 668 7.74 src/NodeFunctions.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 669 7.75 src/NodeFunctions.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 670 7.76 src/NodeHeaderFunc.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . 671 7.77 src/NodeHeaderFunc.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . 672 7.78 src/NodeId.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 673 Generated on Sat Feb 21 16:40:31 2009 for Cubs by Doxygen

vi

CONTENTS 7.79 src/NodeId.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 674 7.80 src/NodeIdFunc.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 675 7.81 src/NodeIdFunc.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 676 7.82 src/NodeIds.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 677 7.83 src/NodeIds.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 678 7.84 src/NodeIf.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 679 7.85 src/NodeIf.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 680 7.86 src/NodeInstr.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 682 7.87 src/NodeInstr.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 683 7.88 src/NodeInstrs.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 685 7.89 src/NodeInstrs.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 686 7.90 src/NodeNumber.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 687 7.91 src/NodeNumber.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 688 7.92 src/NodeOperation.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 689 7.93 src/NodeOperation.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . 690 7.94 src/NodePrint.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 691 7.95 src/NodePrint.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 692 7.96 src/NodeProgram.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 693 7.97 src/NodeProgram.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 694 7.98 src/NodeRead.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 696 7.99 src/NodeRead.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 697 7.100src/NodeReturn.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 698 7.101src/NodeReturn.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 699 7.102src/NodeStringExpr.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . 700 7.103src/NodeStringExpr.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . 701 7.104src/NodeType.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 702 7.105src/NodeType.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703 7.106src/NodeWhile.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 704 7.107src/NodeWhile.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 705 7.108src/Parser.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 707 7.109src/Parser.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 708 7.110src/PrettyPrinterVisitor.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . 709 7.111src/PrettyPrinterVisitor.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . 711 7.112src/Scope.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 712 7.113src/Scope.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 713 7.114src/Scope.hxx File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 714 Generated on Sat Feb 21 16:40:31 2009 for Cubs by Doxygen

CONTENTS

vii

7.115src/Singleton.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 715 7.116src/Singleton.hxx File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 716 7.117src/Symbol.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 717 7.118src/Symbol.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 718 7.119src/Traits.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 719 7.120src/TypeChecker.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 720 7.121src/TypeChecker.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 721 7.122src/TypeCheckerVisitor.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . 722 7.123src/TypeCheckerVisitor.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . 724 7.124src/TypeCheckingPrinterVisitor.cc File Reference . . . . . . . . . . . . . . . . . . . . . . 725 7.125src/TypeCheckingPrinterVisitor.hh File Reference . . . . . . . . . . . . . . . . . . . . . . 727 7.126src/TypedNode.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 728 7.127src/TypedNode.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 729 7.128src/TypedNode.hxx File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 730 7.129src/Utils.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 731 7.130src/Utils.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 732 7.131src/Utils.hxx File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 734 7.132src/Variable.cc File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 735 7.133src/Variable.hh File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 736

Generated on Sat Feb 21 16:40:31 2009 for Cubs by Doxygen

Chapter 1

Namespace Index 1.1

Namespace List

Here is a list of all namespaces with brief descriptions: MiniCompiler . . . . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::anonymous_namespace{ASMGeneratorVisitor.cc} MiniCompiler::AST . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::AST::Operator . . . . . . . . . . . . . . . . . . . MiniCompiler::AST::Type . . . . . . . . . . . . . . . . . . . . . MiniCompiler::Exec . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::NodeName . . . . . . . . . . . . . . . . . . . . . MiniCompiler::NodeName::Option . . . . . . . . . . . . . . . . Traits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

11 20 21 22 23 24 25 28 29

2

Namespace Index

Generated on Sat Feb 21 16:40:31 2009 for Cubs by Doxygen

Chapter 2

Class Index 2.1

Class Hierarchy

This inheritance list is sorted roughly, but not completely, alphabetically: MiniCompiler::Binder . . . . . . . . . . . . . . . MiniCompiler::Compiler . . . . . . . . . . . . . . Traits::Const< T > . . . . . . . . . . . . . . . . . Traits::Constify< T > . . . . . . . . . . . . . . . . Traits::Traits::Constify< const T & > . . . . . . . Traits::Traits::Constify< const T > . . . . . . . . . Traits::Traits::Constify< T & > . . . . . . . . . . MiniCompiler::CreateAST . . . . . . . . . . . . . MiniCompiler::Error . . . . . . . . . . . . . . . . MiniCompiler::ErrorHandler . . . . . . . . . . . . MiniCompiler::Execution . . . . . . . . . . . . . . MiniCompiler::GenerateAST . . . . . . . . . . . . Traits::Identity< T > . . . . . . . . . . . . . . . . Traits::isPointer< T > . . . . . . . . . . . . . . . Traits::Traits::isPointer< T ∗ > . . . . . . . . . . . Traits::isReference< T > . . . . . . . . . . . . . . Traits::Traits::isReference< T & > . . . . . . . . . MiniCompiler::IVisitable . . . . . . . . . . . . . . MiniCompiler::AST::Node . . . . . . . . . . . MiniCompiler::AST::NodeAffect . . . . . . MiniCompiler::AST::NodeArgument . . . . MiniCompiler::AST::NodeArguments . . . MiniCompiler::AST::NodeCompoundInstr . MiniCompiler::AST::NodeDeclaration . . . MiniCompiler::AST::NodeDeclarationBody MiniCompiler::AST::NodeDeclarations . . MiniCompiler::AST::NodeExpressions . . . MiniCompiler::AST::NodeFunctions . . . . MiniCompiler::AST::NodeIds . . . . . . . MiniCompiler::AST::NodeIf . . . . . . . . MiniCompiler::AST::NodeInstr . . . . . . . MiniCompiler::AST::NodeInstrs . . . . . . MiniCompiler::AST::NodePrint . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

64 100 123 124 125 126 127 145 198 201 204 231 265 266 267 268 269 270 291 294 300 306 323 328 333 339 353 375 400 405 411 422 437

4

Class Index MiniCompiler::AST::NodeProgram . . . . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::AST::NodeRead . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::AST::NodeWhile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::AST::TypedNode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::AST::NodeBoolean . . . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::AST::NodeCallFunc . . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::AST::NodeExit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::AST::NodeExpression . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::AST::NodeFactor . . . . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::AST::NodeFunction . . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::AST::NodeHeaderFunc . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::AST::NodeId . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::AST::NodeIdFunc . . . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::AST::NodeNumber . . . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::AST::NodeOperation . . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::AST::NodeReturn . . . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::AST::NodeStringExpr . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::AST::NodeType . . . . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::IVisitor< ConstifyTrait > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::BaseVisitor< ConstifyTrait > . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::BinderVisitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::ExecutionVisitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::GenerateDotASTVisitor . . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::PrettyPrinterVisitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::ASMGeneratorVisitor . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::BindingPrinterVisitor . . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::ConvertToCppVisitor . . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::TypeCheckingPrinterVisitor . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::TypeCheckerVisitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::Lexer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::Parser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::Scope< Key, Data > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Singleton< T > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Singleton< MiniCompiler::Configuration > . . . . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::Symbol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::TypeChecker . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::Utils . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MiniCompiler::Variable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

442 448 466 551 312 316 344 349 359 367 381 388 394 427 431 452 457 461 272 52 68 209 245 477 31 83 128 534 517 281 472 496 502 121 502 506 513 554 561

Generated on Sat Feb 21 16:40:31 2009 for Cubs by Doxygen

Chapter 3

Class Index 3.1

Class List

Here are the classes, structs, unions and interfaces with brief descriptions: MiniCompiler::ASMGeneratorVisitor . . . . MiniCompiler::BaseVisitor< ConstifyTrait > MiniCompiler::Binder . . . . . . . . . . . . MiniCompiler::BinderVisitor . . . . . . . . . MiniCompiler::BindingPrinterVisitor . . . . MiniCompiler::Compiler . . . . . . . . . . . MiniCompiler::Configuration . . . . . . . . Traits::Const< T > . . . . . . . . . . . . . . Traits::Constify< T > . . . . . . . . . . . . Traits::Traits::Constify< const T & > . . . . Traits::Traits::Constify< const T > . . . . . Traits::Traits::Constify< T & > . . . . . . . MiniCompiler::ConvertToCppVisitor . . . . MiniCompiler::CreateAST . . . . . . . . . . MiniCompiler::Error . . . . . . . . . . . . . MiniCompiler::ErrorHandler . . . . . . . . . MiniCompiler::Execution . . . . . . . . . . MiniCompiler::ExecutionVisitor . . . . . . . MiniCompiler::GenerateAST . . . . . . . . MiniCompiler::GenerateDotASTVisitor . . . Traits::Identity< T > . . . . . . . . . . . . . Traits::isPointer< T > . . . . . . . . . . . . Traits::Traits::isPointer< T ∗ > . . . . . . . Traits::isReference< T > . . . . . . . . . . . Traits::Traits::isReference< T & > . . . . . MiniCompiler::IVisitable . . . . . . . . . . . MiniCompiler::IVisitor< ConstifyTrait > . . MiniCompiler::Lexer . . . . . . . . . . . . . MiniCompiler::AST::Node . . . . . . . . . . MiniCompiler::AST::NodeAffect . . . . . . MiniCompiler::AST::NodeArgument . . . . MiniCompiler::AST::NodeArguments . . . . MiniCompiler::AST::NodeBoolean . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

31 52 64 68 83 100 121 123 124 125 126 127 128 145 198 201 204 209 231 245 265 266 267 268 269 270 272 281 291 294 300 306 312

6

Class Index MiniCompiler::AST::NodeCallFunc . . . . MiniCompiler::AST::NodeCompoundInstr MiniCompiler::AST::NodeDeclaration . . MiniCompiler::AST::NodeDeclarationBody MiniCompiler::AST::NodeDeclarations . . MiniCompiler::AST::NodeExit . . . . . . MiniCompiler::AST::NodeExpression . . . MiniCompiler::AST::NodeExpressions . . MiniCompiler::AST::NodeFactor . . . . . MiniCompiler::AST::NodeFunction . . . . MiniCompiler::AST::NodeFunctions . . . MiniCompiler::AST::NodeHeaderFunc . . MiniCompiler::AST::NodeId . . . . . . . . MiniCompiler::AST::NodeIdFunc . . . . . MiniCompiler::AST::NodeIds . . . . . . . MiniCompiler::AST::NodeIf . . . . . . . . MiniCompiler::AST::NodeInstr . . . . . . MiniCompiler::AST::NodeInstrs . . . . . . MiniCompiler::AST::NodeNumber . . . . MiniCompiler::AST::NodeOperation . . . MiniCompiler::AST::NodePrint . . . . . . MiniCompiler::AST::NodeProgram . . . . MiniCompiler::AST::NodeRead . . . . . . MiniCompiler::AST::NodeReturn . . . . . MiniCompiler::AST::NodeStringExpr . . . MiniCompiler::AST::NodeType . . . . . . MiniCompiler::AST::NodeWhile . . . . . MiniCompiler::Parser . . . . . . . . . . . MiniCompiler::PrettyPrinterVisitor . . . . MiniCompiler::Scope< Key, Data > . . . . Singleton< T > . . . . . . . . . . . . . . MiniCompiler::Symbol . . . . . . . . . . . MiniCompiler::TypeChecker . . . . . . . . MiniCompiler::TypeCheckerVisitor . . . . MiniCompiler::TypeCheckingPrinterVisitor MiniCompiler::AST::TypedNode . . . . . MiniCompiler::Utils . . . . . . . . . . . . MiniCompiler::Variable . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

316 323 328 333 339 344 349 353 359 367 375 381 388 394 400 405 411 422 427 431 437 442 448 452 457 461 466 472 477 496 502 506 513 517 534 551 554 561

Generated on Sat Feb 21 16:40:31 2009 for Cubs by Doxygen

Chapter 4

File Index 4.1

File List

Here is a list of all files with brief descriptions: src/ASMGeneratorVisitor.cc . src/ASMGeneratorVisitor.hh . src/ASMGeneratorVisitor.hxx src/BaseVisitor.cc . . . . . . . src/BaseVisitor.hh . . . . . . src/BaseVisitor.hxx . . . . . . src/Binder.cc . . . . . . . . . src/Binder.hh . . . . . . . . . src/BinderVisitor.cc . . . . . . src/BinderVisitor.hh . . . . . src/BindingPrinterVisitor.cc . src/BindingPrinterVisitor.hh . src/Compiler.cc . . . . . . . . src/Compiler.hh . . . . . . . . src/Compiler.hxx . . . . . . . src/Configuration.cc . . . . . src/Configuration.hh . . . . . src/Configuration.hxx . . . . src/ConvertToCppVisitor.cc . src/ConvertToCppVisitor.hh . src/CreateAST.cc . . . . . . . src/CreateAST.hh . . . . . . . src/CreateAST.hxx . . . . . . src/Error.cc . . . . . . . . . . src/Error.hh . . . . . . . . . . src/ErrorHandler.cc . . . . . . src/ErrorHandler.hh . . . . . . src/Execution.cc . . . . . . . src/Execution.hh . . . . . . . src/ExecutionVisitor.cc . . . . src/ExecutionVisitor.hh . . . . src/GenerateAST.cc . . . . . src/GenerateAST.hh . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

575 577 578 579 580 581 583 584 585 587 588 590 591 592 594 595 596 597 598 600 601 602 604 605 606 607 608 609 610 611 613 615 616

8

File Index src/GenerateAST.hxx . . . . . . src/GenerateDotASTVisitor.cc . src/GenerateDotASTVisitor.hh . src/GenerateDotASTVisitor.hxx src/IVisitable.hh . . . . . . . . src/IVisitor.hh . . . . . . . . . . src/Lexer.cc . . . . . . . . . . . src/Lexer.hh . . . . . . . . . . . src/main.cc . . . . . . . . . . . src/main.hh . . . . . . . . . . . src/Node.cc . . . . . . . . . . . src/Node.hh . . . . . . . . . . . src/NodeAffect.cc . . . . . . . src/NodeAffect.hh . . . . . . . src/NodeArgument.cc . . . . . src/NodeArgument.hh . . . . . src/NodeArguments.cc . . . . . src/NodeArguments.hh . . . . . src/NodeBoolean.cc . . . . . . src/NodeBoolean.hh . . . . . . src/NodeCallFunc.cc . . . . . . src/NodeCallFunc.hh . . . . . . src/NodeCompoundInstr.cc . . . src/NodeCompoundInstr.hh . . src/NodeDeclaration.cc . . . . . src/NodeDeclaration.hh . . . . src/NodeDeclarationBody.cc . . src/NodeDeclarationBody.hh . . src/NodeDeclarations.cc . . . . src/NodeDeclarations.hh . . . . src/NodeExit.cc . . . . . . . . . src/NodeExit.hh . . . . . . . . src/NodeExpression.cc . . . . . src/NodeExpression.hh . . . . . src/NodeExpressions.cc . . . . src/NodeExpressions.hh . . . . src/NodeFactor.cc . . . . . . . . src/NodeFactor.hh . . . . . . . src/NodeFunction.cc . . . . . . src/NodeFunction.hh . . . . . . src/NodeFunctions.cc . . . . . . src/NodeFunctions.hh . . . . . src/NodeHeaderFunc.cc . . . . src/NodeHeaderFunc.hh . . . . src/NodeId.cc . . . . . . . . . . src/NodeId.hh . . . . . . . . . . src/NodeIdFunc.cc . . . . . . . src/NodeIdFunc.hh . . . . . . . src/NodeIds.cc . . . . . . . . . src/NodeIds.hh . . . . . . . . . src/NodeIf.cc . . . . . . . . . . src/NodeIf.hh . . . . . . . . . . src/NodeInstr.cc . . . . . . . . src/NodeInstr.hh . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

618 619 621 623 624 625 626 627 628 633 634 635 636 637 638 639 641 642 644 645 646 647 648 649 651 652 654 655 656 657 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 682 683

Generated on Sat Feb 21 16:40:31 2009 for Cubs by Doxygen

4.1 File List src/NodeInstrs.cc . . . . . . . . . src/NodeInstrs.hh . . . . . . . . . src/NodeNumber.cc . . . . . . . . src/NodeNumber.hh . . . . . . . src/NodeOperation.cc . . . . . . . src/NodeOperation.hh . . . . . . src/NodePrint.cc . . . . . . . . . src/NodePrint.hh . . . . . . . . . src/NodeProgram.cc . . . . . . . src/NodeProgram.hh . . . . . . . src/NodeRead.cc . . . . . . . . . src/NodeRead.hh . . . . . . . . . src/NodeReturn.cc . . . . . . . . src/NodeReturn.hh . . . . . . . . src/NodeStringExpr.cc . . . . . . src/NodeStringExpr.hh . . . . . . src/NodeType.cc . . . . . . . . . src/NodeType.hh . . . . . . . . . src/NodeWhile.cc . . . . . . . . . src/NodeWhile.hh . . . . . . . . src/Parser.cc . . . . . . . . . . . src/Parser.hh . . . . . . . . . . . src/PrettyPrinterVisitor.cc . . . . src/PrettyPrinterVisitor.hh . . . . src/Scope.cc . . . . . . . . . . . src/Scope.hh . . . . . . . . . . . src/Scope.hxx . . . . . . . . . . . src/Singleton.hh . . . . . . . . . src/Singleton.hxx . . . . . . . . . src/Symbol.cc . . . . . . . . . . . src/Symbol.hh . . . . . . . . . . src/Traits.hh . . . . . . . . . . . . src/TypeChecker.cc . . . . . . . . src/TypeChecker.hh . . . . . . . . src/TypeCheckerVisitor.cc . . . . src/TypeCheckerVisitor.hh . . . . src/TypeCheckingPrinterVisitor.cc src/TypeCheckingPrinterVisitor.hh src/TypedNode.cc . . . . . . . . . src/TypedNode.hh . . . . . . . . src/TypedNode.hxx . . . . . . . . src/Utils.cc . . . . . . . . . . . . src/Utils.hh . . . . . . . . . . . . src/Utils.hxx . . . . . . . . . . . src/Variable.cc . . . . . . . . . . src/Variable.hh . . . . . . . . . .

9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Generated on Sat Feb 21 16:40:31 2009 for Cubs by Doxygen

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

685 686 687 688 689 690 691 692 693 694 696 697 698 699 700 701 702 703 704 705 707 708 709 711 712 713 714 715 716 717 718 719 720 721 722 724 725 727 728 729 730 731 732 734 735 736

10

File Index

Generated on Sat Feb 21 16:40:31 2009 for Cubs by Doxygen

Chapter 5

Namespace Documentation 5.1

MiniCompiler Namespace Reference

Classes • • • • • • • • • • • • • • • • • • • • • • • • • • •

class ASMGeneratorVisitor class BaseVisitor class Binder class BinderVisitor class BindingPrinterVisitor class Compiler class Configuration class ConvertToCppVisitor class CreateAST class Error class ErrorHandler class Execution class ExecutionVisitor class GenerateAST class GenerateDotASTVisitor class IVisitable class IVisitor class Lexer class Parser class PrettyPrinterVisitor class Scope class Symbol class TypeChecker class TypeCheckerVisitor class TypeCheckingPrinterVisitor class Utils class Variable

12

Namespace Documentation

Namespaces • • • •

namespace anonymous_namespace{ASMGeneratorVisitor.cc} namespace AST namespace Exec namespace NodeName

Typedefs • • • •

typedef BaseVisitor< Traits::Identity > NonConstBaseVisitor typedef BaseVisitor< Traits::Const > ConstBaseVisitor typedef IVisitor< Traits::Identity > Visitor typedef IVisitor< Traits::Const > ConstVisitor

Functions • • • • • • • • •

std::ostream & operator