com.google.streamhtmlparser
Interface JavascriptParser
- All Superinterfaces:
- Parser
- All Known Implementing Classes:
- JavascriptParserImpl
public interface JavascriptParser
- extends Parser
Methods exposed for Javascript parsing of text to facilitate implementation
of Automatic context-aware escaping. This interface does not add
additional methods on top of Parser
for the time being,
it simply exposes the states in which the Javascript parser may be in.
Note: These are the exact states exposed in the original C++ Parser.
STATE_TEXT
static final ExternalState STATE_TEXT
STATE_Q
static final ExternalState STATE_Q
STATE_DQ
static final ExternalState STATE_DQ
STATE_REGEXP
static final ExternalState STATE_REGEXP
STATE_COMMENT
static final ExternalState STATE_COMMENT
Copyright © 2010-2012 Google. All Rights Reserved.