diff options
author | Adrian Thurston <thurston@complang.org> | 2011-07-07 01:41:42 +0000 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2011-07-07 01:41:42 +0000 |
commit | 587232ded3f23b10b87d744d9fd4d5605b1fd2b8 (patch) | |
tree | f4964f5748144aad17924de23a45c4b5f913da56 /colm/parsetree.h | |
parent | 99462cb6687354fd12ae0859848c482ae5358f8a (diff) | |
download | colm-587232ded3f23b10b87d744d9fd4d5605b1fd2b8.tar.gz |
Some class renaming and minor cleanup.
Diffstat (limited to 'colm/parsetree.h')
-rw-r--r-- | colm/parsetree.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/colm/parsetree.h b/colm/parsetree.h index 9ebafc5b..4324fe46 100644 --- a/colm/parsetree.h +++ b/colm/parsetree.h @@ -1076,7 +1076,7 @@ struct InlineItem * ptreetypes, which should be just typedef forwards. */ struct InlineList : public DList<InlineItem> { }; -struct PdaFactor; +struct ProdEl; struct LangVarRef; struct ObjField; @@ -1091,12 +1091,12 @@ struct PatternItem loc(loc), factor(0), data(data), type(type), region(0), varRef(0), bindId(0) {} - PatternItem( const InputLoc &loc, PdaFactor *factor, Type type ) : + PatternItem( const InputLoc &loc, ProdEl *factor, Type type ) : loc(loc), factor(factor), type(type), region(0), varRef(0), bindId(0) {} InputLoc loc; - PdaFactor *factor; + ProdEl *factor; String data; Type type; TokenRegion *region; @@ -1123,7 +1123,7 @@ struct ReplItem ReplItem( const InputLoc &loc, Type type, LangExpr *expr ) : loc(loc), type(type), expr(expr), bindId(0) {} - ReplItem( const InputLoc &loc, Type type, PdaFactor *factor ) : + ReplItem( const InputLoc &loc, Type type, ProdEl *factor ) : loc(loc), type(type), expr(expr), factor(factor), bindId(0) {} InputLoc loc; @@ -1131,7 +1131,7 @@ struct ReplItem String data; LangExpr *expr; KlangEl *langEl; - PdaFactor *factor; + ProdEl *factor; long bindId; ReplItem *prev, *next; @@ -1358,7 +1358,7 @@ struct TypeRef /* A factor in a pattern. In the case of matches we need a type ref at * parse time, but factors have not been resolved yet, so this allows us * to do it on demand. */ - TypeRef( const InputLoc &loc, NamespaceQual *nspaceQual, PdaFactor *factor ) : + TypeRef( const InputLoc &loc, NamespaceQual *nspaceQual, ProdEl *factor ) : loc(loc), nspaceQual(nspaceQual), iterDef(0), factor(factor), isPtr(false), isRef(false), repeatType(RepeatNone), uniqueType(0), searchUniqueType(0) {} @@ -1372,7 +1372,7 @@ struct TypeRef NamespaceQual *nspaceQual; String typeName; IterDef *iterDef; - PdaFactor *factor; + ProdEl *factor; bool isPtr; bool isRef; RepeatType repeatType; |