cbc/net/loveruby/cflat/ast
Minero Aoki 043859df0b * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting.
* net/loveruby/cflat/ast/*Node.java (#accept): ditto.
* net/loveruby/cflat/compiler/Visitor.java: ditto.
* net/loveruby/cflat/compiler/*.java: ditto.
* net/loveruby/cflat/compiler/TypeChecker.java: make non-destructive.
* net/loveruby/cflat/parser/Parser.jj: use StmtNode/ExprNode instead of Node.


git-svn-id: file:///Users/aamine/c/gitwork/public/cbc/trunk@4130 1b9489fe-b721-0410-924e-b54b9192deb8
2009-04-04 14:47:11 +00:00
..
AST.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
ASTLHSVisitor.java * net/loveruby/cflat/compiler/CodeGenerator.java: split compileLHS by using visitor pattern. 2008-09-06 23:06:41 +00:00
ASTVisitor.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
AbstractAssignNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
AddressNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
ArefNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
AssignNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
BinaryOpNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
BlockNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
BreakNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
BreakableStmt.java import cbc from stdcompiler repository (rev185) 2007-12-24 08:19:51 +00:00
CaseNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
CastNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
CflatToken.java * convert all source codes to Java 5 using generics and foreach stmt. 2008-09-28 18:46:56 +00:00
CompositeTypeDefinition.java * convert all source codes to Java 5 using generics and foreach stmt. 2008-09-28 18:46:56 +00:00
CondExprNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
ConstantEntry.java * name code symbols lazily. 2008-10-24 18:40:21 +00:00
ConstantTable.java * name code symbols lazily. 2008-10-24 18:40:21 +00:00
ContinueNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
ContinueableStmt.java import cbc from stdcompiler repository (rev185) 2007-12-24 08:19:51 +00:00
Declarations.java * convert all source codes to Java 5 using generics and foreach stmt. 2008-09-28 18:46:56 +00:00
DefinedFunction.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
DefinedVariable.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
DereferenceNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
DoWhileNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
Dumper.java * convert all source codes to Java 5 using generics and foreach stmt. 2008-09-28 18:46:56 +00:00
Entity.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
ExprNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
ExprStmtNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
ForNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
FuncallNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
Function.java * net/loveruby/cflat/compiler/CodeGenerator.java: should access file-local gvar directly (with @GOTOFF) in PIE. 2008-11-16 11:01:10 +00:00
GotoNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
IfNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
IntegerLiteralNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
LabelNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
LiteralNode.java * net/loveruby/cflat/ast/*.java: minimize references to asm/*. 2008-10-24 14:03:31 +00:00
LocalScope.java * convert all source codes to Java 5 using generics and foreach stmt. 2008-09-28 18:46:56 +00:00
Location.java * net/loveruby/cflat/compiler/Compiler.java: use CflatToken to dump token list. 2008-09-14 11:08:26 +00:00
LogicalAndNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
LogicalOrNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
LoopNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
MemberNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
Node.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
OpAssignNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
ParamSlots.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
Parameter.java * net/loveruby/cflat/ast/Parameter.java: simplify dump output. 2008-01-20 15:42:54 +00:00
Params.java * convert all source codes to Java 5 using generics and foreach stmt. 2008-09-28 18:46:56 +00:00
PrefixOpNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
PtrMemberNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
ReturnNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
Scope.java * convert all source codes to Java 5 using generics and foreach stmt. 2008-09-28 18:46:56 +00:00
SizeofExprNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
SizeofTypeNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
Slot.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
StmtNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
StringLiteralNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
StructNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
SuffixOpNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
SwitchNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
ToplevelScope.java * net/loveruby/cflat/ast/ToplevelScope.java: use SemanticException instead of SemanticError for duplicated declarations/definitions. 2008-12-07 08:09:20 +00:00
TypeDefinition.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
TypeNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
TypedefNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
UnaryArithmeticOpNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
UnaryOpNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
UndefinedFunction.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
UndefinedVariable.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
UnionNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
Variable.java * net/loveruby/cflat/compiler/TypeResolver.java: an array on the parameter list is a pointer really. 2008-11-16 14:57:11 +00:00
VariableNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
WhileNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00