nsHtml5TokenizerALU.cpp (1754B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 #include "nsHtml5Tokenizer.h" 6 #include "nsHtml5TokenizerLoopPoliciesALU.h" 7 8 int32_t nsHtml5Tokenizer::StateLoopFastestALU(int32_t state, char16_t c, 9 int32_t pos, char16_t* buf, 10 bool reconsume, 11 int32_t returnState, 12 int32_t endPos) { 13 return stateLoop<nsHtml5FastestPolicyALU>(state, c, pos, buf, reconsume, 14 returnState, endPos); 15 } 16 17 int32_t nsHtml5Tokenizer::StateLoopLineColALU(int32_t state, char16_t c, 18 int32_t pos, char16_t* buf, 19 bool reconsume, 20 int32_t returnState, 21 int32_t endPos) { 22 return stateLoop<nsHtml5LineColPolicyALU>(state, c, pos, buf, reconsume, 23 returnState, endPos); 24 } 25 26 int32_t nsHtml5Tokenizer::StateLoopViewSourceALU(int32_t state, char16_t c, 27 int32_t pos, char16_t* buf, 28 bool reconsume, 29 int32_t returnState, 30 int32_t endPos) { 31 return stateLoop<nsHtml5ViewSourcePolicyALU>(state, c, pos, buf, reconsume, 32 returnState, endPos); 33 }