Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Side by Side Diff: src/regexp-codegen.h

Issue 9457: Fix lint issues.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/regexp2000/
Patch Set: Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2008 the V8 project authors. All rights reserved. 1 // Copyright 2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 // kAdvanceCurrentPosition or kNoAction. 86 // kAdvanceCurrentPosition or kNoAction.
87 virtual void CheckCharacterClass( 87 virtual void CheckCharacterClass(
88 RegExpCharacterClass* cclass, 88 RegExpCharacterClass* cclass,
89 int success_action, 89 int success_action,
90 int fail_action, 90 int fail_action,
91 int offset, // Offset from current subject position. 91 int offset, // Offset from current subject position.
92 Label* fail_state = NULL) = 0; // Used by kGotoLabel on failure. 92 Label* fail_state = NULL) = 0; // Used by kGotoLabel on failure.
93 // Check the current character for a match with a character class. Take 93 // Check the current character for a match with a character class. Take
94 // one of the actions depending on whether there is a match. 94 // one of the actions depending on whether there is a match.
95 virtual void CheckCharacters( 95 virtual void CheckCharacters(
96 Vector<uc16> string, 96 Vector<uc16> str,
97 int fail_action, 97 int fail_action,
98 int offset, 98 int offset,
99 Label* state = NULL) = 0; // Used by kGotoLabel on failure. 99 Label* state = NULL) = 0; // Used by kGotoLabel on failure.
100 // Perform an action unconditionally. 100 // Perform an action unconditionally.
101 virtual void Action( 101 virtual void Action(
102 int action, 102 int action,
103 Label* state = NULL) = 0; 103 Label* state = NULL) = 0;
104 // Peek at the next character and find out which of the disjunct character 104 // Peek at the next character and find out which of the disjunct character
105 // classes it is in. Perform the corresponding actions on the corresponding 105 // classes it is in. Perform the corresponding actions on the corresponding
106 // label. 106 // label.
107 virtual void DisjunctCharacterPeekDispatch( 107 virtual void DisjunctCharacterPeekDispatch(
108 Vector<DisjunctDecisionRow> outcomes) = 0; 108 Vector<DisjunctDecisionRow> outcomes) = 0;
109 private: 109 private:
110 }; 110 };
111 111
112 112
113 } } // namespace v8::internal 113 } } // namespace v8::internal
114 114
115 #endif // V8_REGEXP_CODEGEN_H_ 115 #endif // V8_REGEXP_CODEGEN_H_
OLDNEW
« src/assembler-re2k.h ('K') | « src/interpreter-re2k.cc ('k') | test/cctest/test-regexp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698