Changeset 28859 in webkit for trunk/JavaScriptCore/kjs
- Timestamp:
- Dec 19, 2007, 1:10:16 AM (17 years ago)
- Location:
- trunk/JavaScriptCore/kjs
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/grammar.y
r28857 r28859 33 33 #include "internal.h" 34 34 #include "CommonIdentifiers.h" 35 #include "NodeInfo.h" 35 36 #include "Parser.h" 36 37 #include <wtf/MathExtras.h> … … 85 86 #endif 86 87 87 template <typename T> struct NodeInfo {88 T m_node;89 ParserRefCountedData<DeclarationStacks::VarStack>* m_varDeclarations;90 ParserRefCountedData<DeclarationStacks::FunctionStack>* m_funcDeclarations;91 };92 93 88 template <typename T> NodeInfo<T> createNodeInfo(T node, ParserRefCountedData<DeclarationStacks::VarStack>* varDecls, 94 89 ParserRefCountedData<DeclarationStacks::FunctionStack>* funcDecls) … … 124 119 } 125 120 126 typedef NodeInfo<StatementNode*> StatementNodeInfo;127 typedef NodeInfo<CaseBlockNode*> CaseBlockNodeInfo;128 typedef NodeInfo<CaseClauseNode*> CaseClauseNodeInfo;129 typedef NodeInfo<SourceElementsStub*> SourceElementsInfo;130 typedef NodeInfo<ClauseList> ClauseListInfo;131 typedef NodeInfo<VarDeclList> VarDeclListInfo;132 121 %} 133 122 -
trunk/JavaScriptCore/kjs/lexer.cpp
r28771 r28859 28 28 #include "function.h" 29 29 #include "nodes.h" 30 #include "NodeInfo.h" 30 31 #include <ctype.h> 31 32 #include <limits.h>
Note:
See TracChangeset
for help on using the changeset viewer.