|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
BuildService
.TokenConsumer
that adds the tokens, possibly with changes to
intervening whitespace or normalization of tokens to a simpler TokenConsumer
such as a Concatenator
that dumps tokens to an output buffer.ParseTreeNode.acceptPreOrder(com.google.caja.parser.Visitor, com.google.caja.parser.AncestorChain>)
, but post-order.
ParseTreeNode.acceptPreOrder(com.google.caja.parser.Visitor, com.google.caja.parser.AncestorChain>)
, but post-order.
Visitor.visit(com.google.caja.parser.AncestorChain>)
of the root node returns
false.
Visitor.visit(com.google.caja.parser.AncestorChain>)
of the root node returns
false.
MessageQueue
.
'use strict'; 'use cajita';
directive prologue
to the top of a Block.
file:///
URLs using a whitelist of
files.<!--…-->
that escape even things that might
be an end tag for the corresponding open tag.
AnnotationHandlers.TextAnnotationHandler
s.stream
and writes it to response
.
CssTokenType.SUBSTITUTION
a[i]
→ a[+i]
.Arrays
are of the same length and corresponding
objects are equal
clone()
on it and
checking sanity of the result.
ParseTreeNode
trees are deeply equal in the
topology and types of nodes in each tree, and in the getValue()
and
getFilePosition()
of each respective node.
Object.equals
.
Object.equals
.
PipelineStageTestCase.runPipeline(com.google.caja.plugin.Jobs)
runs to completion on the given inputJob
and produces the given outputJobs.
JobCache.Keys
instance whose iterator produces only this
.
break
statements for the given label.
break
statements for the given label.
throw
statements.
prefix:localName
including ones in the
special xmlns:namespaceName
namespace to valid XML local names
f:fixupName
.DomTree.Attrib
s.Iterable
over the attributes of the given element.
Comment
.(<name>)
where <name>
is the attribute name and that are #IMPLIED.
Arrays.binarySearch(long[], long)
but doesn't assume the entire
array is full.
PluginCompiler
and Minify
.___
method call to add an extra parameter which is an
index into DebuggingSymbols
.CajolingService
.uri
and ensure it has
the correct contentType
.
Reader
, captures the characters that are read and makes
them available for later use.CapturingReader
.
CapturingReader
with a default size for the cache.
TryStmt
.spec
mime-type
is consistent with candidate
mime-type.
spec
matches candidate
exactly
<ihtml:*>
elements have the appropriate attributes.
<ihtml:eph/>
.
MessageLevel.FATAL_ERROR
to the given message
queue if the skeleton is invalid.
ParseTreeNode
.Iterable
over the children of the given node.
ParseTreeNode
.
return,throw,break,continue
.
RenderContext
renderer that concatenates
tokens.<depend>
is seen.
<input>
is seen.
<output>
is seen.
CSS property part
.
CssTree.Attrib
.foo
.#AABBCC
.div
or a keyword in a property
value like auto
.#foo
.5cm
, 100%
, or 0
.'foo'
.url('foo/bar.css')
.TranslatedCode
section.
NameContext.getParentContext()
context.
buf[offset:limit]
, and sets
the DecodingCharProducer.Decoder.codePoint
and DecodingCharProducer.Decoder.end
fields.
buf[offset:limit]
, and sets
the DecodingCharProducer.Decoder.codePoint
and DecodingCharProducer.Decoder.end
fields.
buf[offset:limit]
, and sets
the DecodingCharProducer.Decoder.codePoint
and DecodingCharProducer.Decoder.end
fields.
ParseTreeNode
s.
PluginCompiler
pipeline.
PluginCompiler
pipeline.
buf[i]
where offset <= i < limit,
the number of extra characters in HTML entities preceding it.
DirectivePrologue
.DirectivePrologue
that contains all the subset names as the quasi node.<ihtml:message>
s are contained in another
message, warning about and marking as broken any that are.
htmlElement.style
.
Node
from a stream of XML or HTML tokens.DomParser
.getValue().doubleValue()
HTML schema
.Rewriter.expand(ParseTreeNode)
.
TokenQueue.expectToken(String)
but reports a message in
tolerant
mode.
sources
and
packages
added prior.
<body>
element and use the HTML
emitter to attach the classes to the virtual document body.
v
such that !!v === false
.
uri
as a string
src
of a script
tag or a stylesheet.
charset="..."
inside angle brackets to
match <meta value="text/html;charset=...">
and after <?
sequences like encoding="..."
to match XML prologs.
{ a; { b; c; } ; ; d }
-> { a; b; c; d; }
"Hello " + "World"
, to a List
containing the individual string literals.
skeleton
, adds static attributes, and
auto-generated IDs to the skeleton, and generates Javascript that adds
dynamic attributes to the static HTML and that executes inline scripts.
foldable
element into that element's parent.
for (key in container) body
Job
, generates a cache key for that job.
CssRewriter.removeForbiddenIdents(com.google.caja.parser.AncestorChain extends com.google.caja.parser.css.CssTree>)
, but
which can be used as a suffix for identifiers and class literals that need
to be dynamically generated at ___.loadModule
time.
ruleSet
into the header
of the document being written to in output
ruleSet
into the header
of the document being written to in output
rule
to output
consumed
characters in indices
[offset(), limit() - 1].
Node.getOwnerDocument()
is the given document.
Reader
and return the captured contents.
getBuffer()[offset]
in the input.
parsing
.
Nodes.setFilePositionFor(org.w3c.dom.Node, com.google.caja.lexer.FilePosition)
or related methods.
buffer
.
Task.log(String)
in a PrintWriter so BuildService doesn't have
to know about ANT.
ihtml:message
element.
char buffer
.
output
element as
expected by AbstractCajaAntTask.run(com.google.caja.tools.BuildService, java.io.PrintWriter, java.util.List, java.util.List, java.io.File, java.util.Map)
.
MessageTypeInt.format(com.google.caja.reporting.MessagePart[], com.google.caja.reporting.MessageContext, java.lang.Appendable)
.
ihtml:ph
and ihtml:eph
elements under container,
inclusive, in a depth-first traversal.
RuleDescription
annotation on the Rule.fire(com.google.caja.parser.ParseTreeNode, com.google.caja.parser.quasiliteral.Scope)
method.
criterion
.
<ihtml:ph name="..."/>
.
getBuffer()[offset]
.
PropertyAssignment : get PropertyName ( ) { FunctionBody }
Job.getRoot()
.
Appendable
and an exception handler, implements
the Appendable
interface in a manner that does not throw.TokenStream.next()
is safe to call.
LookaheadLexer.next()
is safe to call.
Token<HtmlTokenType>
s into SAX style events which are fed to the
TreeBuilder.<A>
HTML tag.
ReservedNames.IMPORTS
that resolves to an instance of HtmlEmitter
as defined in html-emitter.js.
synthetic
identifiers in the
reserved namespace.JSONObject
to a Map<String, Object>
where
values are JSONObjects, JSONArrays, or JSON primitives.
JSONArray
to a List<Object>
where
values are JSONObjects, JSONArrays, or JSON primitives.
TemplateCompiler.scriptsPerNode
.
ExitModes
that are true for any of the predicates above that are
true both for this and for m.
LiveSet
with any symbols that occur in both this and
other.
ContentHandler
does not receive
arguments it needs as part of its
ContentHandlerArgs
.<a foo= bar=baz>
which a naive reader might interpret as <a foo="" bar="baz">
.
[\1-\x7f]
.
var
declarations that appear inside this scope take
effect in this scope instead of being hoisted to a containing scope.
with
statement, use of eval
or other construct that complicates static reasoning about the use of names
in this scope and containing scopes.
script
element without further escaping?
offset
is at the end of the input.
catch
block's
exception is bound to.
k
in
for(var k in obj)
.
s.equals(String.toLowerCase(s))
.
continue
?
For example, switch
statements can be broken from, but since they
are not loops, they cannot be continued to.
v
s.t.
iterators
.job
that includes info about how it should be
processed, cached, and recombined with other jobs{ foo(); bar() }
-> { foo(), bar(); }
JsLexer
.label: for (...) { ...- LabeledStatement(FilePosition, String, Class<? extends ParseTreeNode>) -
Constructor for class com.google.caja.parser.js.LabeledStatement
-
- LabeledStmtWrapper - Class in com.google.caja.parser.js
- A labeled statement implementation that can apply to any statement.
- LabeledStmtWrapper(FilePosition, String, List<? extends ParseTreeNode>) -
Constructor for class com.google.caja.parser.js.LabeledStmtWrapper
-
- LabeledStmtWrapper(FilePosition, String, Statement) -
Constructor for class com.google.caja.parser.js.LabeledStmtWrapper
-
- labelGenerator -
Variable in class com.google.caja.ancillary.opt.StatementSimplifier
-
- labels -
Variable in class com.google.caja.ancillary.opt.StatementSimplifier
-
- Lang - Enum in com.google.caja.demos.playground.client.ui
-
- Lang() -
Constructor for enum com.google.caja.demos.playground.client.ui.Lang
-
- language -
Variable in class com.google.caja.tools.TransformAntTask.TranslateTaskOutput
-
- lastClass -
Variable in class com.google.caja.render.JsTokenAdjacencyChecker
- The classification of the last non-space/comment token.
- lastClass -
Variable in class com.google.caja.render.Spacer
- The classification of the last non-space/comment token.
- lastForPrefix -
Variable in class com.google.caja.parser.html.Namespaces
-
- lastForUri -
Variable in class com.google.caja.parser.html.Namespaces
-
- lastLine -
Variable in class com.google.caja.render.Spacer
- The end line number of the last token seen.
- lastLineNo(InputSource) -
Method in class com.google.caja.render.SideBySideRenderer
-
- lastNonCommentToken -
Variable in class com.google.caja.lexer.InputElementSplitter
- The last token that was not a comment token.
- lastNonIgnorable -
Variable in class com.google.caja.lexer.HtmlInputSplitter
-
- lastPos -
Variable in class com.google.caja.render.SideBySideRenderer
-
- lastPosition() -
Method in class com.google.caja.lexer.TokenQueue
-
- lastRealJavascriptChild(List<? extends ParseTreeNode>) -
Static method in class com.google.caja.parser.quasiliteral.CajitaRewriter
- Index of the last node that wasn't translated from another language.
- lastRealJavascriptChild(List<? extends ParseTreeNode>) -
Static method in class com.google.caja.parser.quasiliteral.ES53Rewriter
- Index of the last node that wasn't translated from another language.
- lastToken -
Variable in class com.google.caja.render.CssMinimalPrinter
-
- lastToken -
Variable in class com.google.caja.render.JsMinimalPrinter
- The last non-space/comment token.
- lastToken -
Variable in class com.google.caja.render.JsTokenAdjacencyChecker
- The last non-space/comment token.
- lastToken -
Variable in class com.google.caja.render.Spacer
- The last non-space/comment token.
- layoutRows(List<TabularSideBySideRenderer.TableRow>) -
Static method in class com.google.caja.render.TabularSideBySideRenderer
- Calculates width of columns.
- LayoutTest - Class in com.google.caja.demos.calendar
-
- LayoutTest() -
Constructor for class com.google.caja.demos.calendar.LayoutTest
-
- LCASE_CHARS -
Static variable in class com.google.caja.util.Strings
-
- LegacyNamespaceFixupStage - Class in com.google.caja.plugin.stages
- Adds namespaces to DOM nodes that lack them so that we can deal with input
from legacy systems that use
document.createElement
or
document.setAttribute
instead of the namespace-aware variants. - LegacyNamespaceFixupStage() -
Constructor for class com.google.caja.plugin.stages.LegacyNamespaceFixupStage
-
- LegacyNamespaceFixupStage.Fixer - Class in com.google.caja.plugin.stages
-
- LegacyNamespaceFixupStage.Fixer(MessageQueue) -
Constructor for class com.google.caja.plugin.stages.LegacyNamespaceFixupStage.Fixer
-
- LegacyNamespaceFixupStageTest - Class in com.google.caja.plugin.stages
-
- LegacyNamespaceFixupStageTest() -
Constructor for class com.google.caja.plugin.stages.LegacyNamespaceFixupStageTest
-
- LegacyNamespaceFixupStageTest.NamespaceUnawareBuilder - Class in com.google.caja.plugin.stages
-
- LegacyNamespaceFixupStageTest.NamespaceUnawareBuilder() -
Constructor for class com.google.caja.plugin.stages.LegacyNamespaceFixupStageTest.NamespaceUnawareBuilder
-
- length -
Variable in class com.google.caja.ancillary.linter.FileContent
-
- length() -
Method in class com.google.caja.ancillary.linter.FileContent
-
- length() -
Method in class com.google.caja.lexer.BufferBackedSequence
-
- length() -
Method in class com.google.caja.lexer.CharProducer
-
- length -
Variable in class com.google.caja.lexer.FilePosition
-
- length() -
Method in class com.google.caja.lexer.FilePosition
-
- LENGTH_RE -
Static variable in class com.google.caja.plugin.SignatureResolver
- According to http://www.w3.org/TR/CSS21/syndata.html#length-units.
- LENGTH_SUFFIX_RE -
Static variable in class com.google.caja.plugin.SignatureResolver
-
- level -
Variable in enum com.google.caja.ancillary.jsdoc.JsdocMessageType
-
- level -
Variable in enum com.google.caja.ancillary.linter.LinterMessageType
-
- level -
Variable in enum com.google.caja.ancillary.servlet.CajaWebToolsMessageType
-
- level -
Variable in enum com.google.caja.config.ConfigMessageType
-
- level -
Variable in enum com.google.caja.parser.html.DomParserMessageType
-
- level -
Variable in enum com.google.caja.parser.quasiliteral.RewriterMessageType
-
- level -
Variable in enum com.google.caja.plugin.PluginMessageType
-
- level -
Variable in enum com.google.caja.plugin.templates.IhtmlMessageType
-
- level -
Variable in class com.google.caja.reporting.AbstractMessageQueueTest.TestMessageType
-
- level -
Variable in class com.google.caja.reporting.Message
-
- level -
Variable in enum com.google.caja.reporting.MessageType
-
- level -
Variable in enum com.google.caja.reporting.SnippetProducerTest.TestMessageType
-
- level -
Variable in enum com.google.caja.service.ServiceMessageType
-
- LEVELS -
Static variable in class com.google.caja.ancillary.servlet.LintPage
-
- lex(HtmlLexer, Appendable) -
Method in class com.google.caja.lexer.HtmlLexerTest
-
- lexer -
Variable in class com.google.caja.parser.html.LookaheadLexer
-
- LexicalScope - Class in com.google.caja.ancillary.linter
- A set of adjacent AST nodes that share a common ancestor which is in the set.
- LexicalScope(AncestorChain<?>, LexicalScope) -
Constructor for class com.google.caja.ancillary.linter.LexicalScope
-
- limit -
Variable in class com.google.caja.lexer.CharProducer
-
- LINE_NUMBER_FORMAT -
Static variable in class com.google.caja.ancillary.jsdoc.HtmlRenderer
-
- lineAt(int) -
Method in class com.google.caja.lexer.SourceBreaks
-
- lineContinuingCharProducer(CharProducer) -
Method in class com.google.caja.lexer.InputElementSplitter
-
- lineLengthLimit -
Variable in class com.google.caja.render.JsMinimalPrinter
- Line length below which the printer will not wrap lines.
- lineLengthLimit -
Variable in class com.google.caja.render.JsPrettyPrinter
-
- lineNo -
Variable in class com.google.caja.render.SourceSnippetRenderer.OriginalSourceLine
-
- lineNumber -
Variable in class com.google.caja.render.JsLinePreservingPrinter
-
- lineNumberZero -
Variable in class com.google.caja.lexer.SourceBreaks
- The line-number on which character zero falls.
- lineNums -
Variable in class com.google.caja.lexer.SourceBreaks
- The first
SourceBreaks.nLines
elements are a sorted array of code-unit indices
corresponding to the position at which a line ends.
- lines -
Variable in class com.google.caja.render.SourceSnippetRenderer.RenderedSourceLine
-
- lineStartsAt(int) -
Method in class com.google.caja.lexer.SourceBreaks
- Add a line break.
- LINK -
Static variable in class com.google.caja.plugin.stages.HtmlEmbeddedContentFinder
-
- LINK -
Static variable in class com.google.caja.plugin.stages.RewriteHtmlStage
-
- LINK_HREF -
Static variable in class com.google.caja.plugin.stages.HtmlEmbeddedContentFinder
-
- LINK_PSEUDO_CLASSES -
Static variable in class com.google.caja.plugin.CssRewriter
- A set of pseudo classes that are allowed in restricted context because they
can leak user history information.
- LINK_REL -
Static variable in class com.google.caja.plugin.stages.HtmlEmbeddedContentFinder
-
- lint(List<Linter.LintJob>, Linter.Environment, MessageQueue) -
Static method in class com.google.caja.ancillary.linter.Linter
-
- lint(AncestorChain<?>, Linter.Environment, Set<String>, Set<String>, Set<String>, MessageQueue) -
Static method in class com.google.caja.ancillary.linter.Linter
-
- lint(List<Job>) -
Method in class com.google.caja.ancillary.servlet.Processor
- Find problems in code.
- lint -
Variable in class com.google.caja.ancillary.servlet.Request
- True if we should run the linter over inputs before other processing steps.
- LINT_PAGE_TEMPLATE -
Static variable in class com.google.caja.ancillary.servlet.LintPage
-
- lintCss(CssTree) -
Method in class com.google.caja.ancillary.servlet.Processor
-
- Linter - Class in com.google.caja.ancillary.linter
- A build task that performs sanity checks on JavaScript inputs, and if there
are no warnings or errors, outputs a time-stamp file to record the time at
which the linter passed.
- Linter() -
Constructor for class com.google.caja.ancillary.linter.Linter
-
- Linter(Linter.Environment, Set<String>) -
Constructor for class com.google.caja.ancillary.linter.Linter
-
- Linter.Environment - Class in com.google.caja.ancillary.linter
-
- Linter.Environment(Set<String>) -
Constructor for class com.google.caja.ancillary.linter.Linter.Environment
-
- Linter.LintJob - Class in com.google.caja.ancillary.linter
- Encapsulates information about a single input to the linter.
- Linter.LintJob(InputSource, Set<String>, Set<String>, Set<String>, Block) -
Constructor for class com.google.caja.ancillary.linter.Linter.LintJob
-
- LinterMessageType - Enum in com.google.caja.ancillary.linter
-
- LinterMessageType(String, MessageLevel) -
Constructor for enum com.google.caja.ancillary.linter.LinterMessageType
-
- LinterTest - Class in com.google.caja.ancillary.linter
-
- LinterTest() -
Constructor for class com.google.caja.ancillary.linter.LinterTest
-
- LinterTest.LintJobMaker - Class in com.google.caja.ancillary.linter
-
- LinterTest.LintJobMaker(Block) -
Constructor for class com.google.caja.ancillary.linter.LinterTest.LintJobMaker
-
- lintJs(List<Block>) -
Method in class com.google.caja.ancillary.servlet.Processor
-
- lintMarkup(Node) -
Method in class com.google.caja.ancillary.servlet.Processor
-
- LintPage - Class in com.google.caja.ancillary.servlet
- A page that shows the output along with messages from the message queue.
- LintPage() -
Constructor for class com.google.caja.ancillary.servlet.LintPage
-
- list(AnnotationHandler...) -
Method in class com.google.caja.ancillary.jsdoc.AnnotationHandlers
- Given n annotation handlers, breaks the annotation's initial text part
into (n-1) tokens which are either whitespace delimited, or a block of
non-nesting text inside
{...}
.
- list -
Variable in class com.google.caja.reporting.DevNullMessageQueue
-
- listener -
Variable in class com.google.caja.parser.js.scope.ScopeAnalyzer
-
- listener -
Variable in class com.google.caja.parser.js.scope.ScopeAnalyzerTest
-
- Lists - Class in com.google.caja.util
- Shortcuts for creating lists.
- Lists() -
Constructor for class com.google.caja.util.Lists
-
- lit(String) -
Static method in class com.google.caja.lang.css.JSRE
-
- lit(String) -
Static method in class com.google.caja.service.AbstractCajolingHandler
-
- lit(int) -
Static method in class com.google.caja.service.AbstractCajolingHandler
-
- Literal - Class in com.google.caja.parser.js
- A literal expression whose value does not depend on the environment, and
whose evaluation has no side-effect.
- Literal(FilePosition) -
Constructor for class com.google.caja.parser.js.Literal
-
- literals -
Variable in class com.google.caja.plugin.stages.Splitter
- The string literals being processed.
- litToPattern(boolean, CssPropertySignature.LiteralSignature) -
Static method in class com.google.caja.lang.css.CssPropertyPatterns
-
- liveExits() -
Method in class com.google.caja.ancillary.linter.ExitModes
-
- LIVENESS -
Static variable in class com.google.caja.ancillary.linter.VariableLiveness
- Visible for testing.
- liveness(ParseTreeNode, LiveSet) -
Static method in class com.google.caja.ancillary.linter.VariableLiveness
- Attaches liveness info to node and recurses to children.
- livenessFor(ParseTreeNode) -
Static method in class com.google.caja.ancillary.linter.VariableLiveness
- Returns the set of symbols that must be live when control enters the
given node.
- LiveSet - Class in com.google.caja.ancillary.linter
- The set of symbols that are definitely live at a point in a program.
- LiveSet(ParseTreeNode) -
Constructor for class com.google.caja.ancillary.linter.LiveSet
- Creates a new scope for a DOM root or function constructor.
- LiveSet(Set<Pair<String, LexicalScope>>) -
Constructor for class com.google.caja.ancillary.linter.LiveSet
-
- load(String...) -
Static method in class com.google.caja.ancillary.servlet.DefaultSchemas
-
- loadEnumClasses(Iterable<? extends File>, PrintStream) -
Method in class com.google.caja.tools.EnumsToJs
-
- loadEnvJsonFile(File, JsOptimizer, MessageQueue) -
Static method in class com.google.caja.plugin.BuildServiceImplementation
-
- LoaderType - Enum in com.google.caja.plugin
- Explains what kind of entity is loading the URI.
- LoaderType() -
Constructor for enum com.google.caja.plugin.LoaderType
-
- loaderType_ -
Variable in class com.google.caja.lang.html.HTML.Attribute
- For URI attributes.
- loadFrom(Reader) -
Method in class com.google.caja.config.JSONWhiteListLoader
-
- loadFrom(JSONObject) -
Method in class com.google.caja.config.JSONWhiteListLoader
-
- loading() -
Method in interface com.google.caja.demos.playground.client.PlaygroundResource
-
- loadingLabel -
Variable in class com.google.caja.demos.playground.client.ui.PlaygroundView
-
- loadPolicy(String) -
Method in class com.google.caja.demos.playground.client.Playground
-
- loadResource(InputSource) -
Static method in class com.google.caja.util.RhinoTestBed
-
- loadSkeleton(Reader) -
Method in class com.google.caja.config.JSONWhiteListLoader
-
- loadSkeleton(JSONObject) -
Method in class com.google.caja.config.JSONWhiteListLoader
- Split a JSON object into bits that can be turned into a skeleton,
and issue warnings for bits we don't understand.
- loadSource(String) -
Method in class com.google.caja.demos.playground.client.Playground
-
- loadWhiteListFromJson(Reader, FilePosition, ImportResolver, MessageQueue) -
Static method in class com.google.caja.config.ConfigUtil
- Produce a whitelist from the given JSONObject.
- loadWhiteListFromJson(URI, ImportResolver, MessageQueue) -
Static method in class com.google.caja.config.ConfigUtil
- Produce a whitelist from the given JSONObject.
- loadWhiteListFromJson(JSONObject, FilePosition, ImportResolver, MessageQueue) -
Static method in class com.google.caja.config.ConfigUtil
- Produce a whitelist from the given JSONObject.
- LOCAL_ARGUMENTS -
Static variable in class com.google.caja.parser.quasiliteral.ReservedNames
-
- LOCAL_THIS -
Static variable in class com.google.caja.parser.quasiliteral.ReservedNames
-
- locale -
Variable in class com.google.caja.plugin.templates.IhtmlL10NContext
-
- localize(Element, IhtmlL10NContext) -
Method in class com.google.caja.plugin.templates.Localizer
- Replace
ihtml:message
elements with the messages in cx.
- LocalizedHtml - Class in com.google.caja.plugin.templates
- A snippet of Localized HTML containing human language text with placeholders.
- LocalizedHtml(String, String) -
Constructor for class com.google.caja.plugin.templates.LocalizedHtml
-
- LocalizedHtml(String, String, FilePosition) -
Constructor for class com.google.caja.plugin.templates.LocalizedHtml
-
- LocalizedHtml.PlaceholderHandler - Interface in com.google.caja.plugin.templates
-
- LocalizedHtmlTest - Class in com.google.caja.plugin.templates
-
- LocalizedHtmlTest() -
Constructor for class com.google.caja.plugin.templates.LocalizedHtmlTest
-
- Localizer - Class in com.google.caja.plugin.templates
- Replaces message strings in IHTML with ones from a message bundle.
- Localizer(MessageQueue) -
Constructor for class com.google.caja.plugin.templates.Localizer
-
- Localizer.Placeholder - Class in com.google.caja.plugin.templates
-
- Localizer.Placeholder(Element) -
Constructor for class com.google.caja.plugin.templates.Localizer.Placeholder
-
- LocalizerTest - Class in com.google.caja.plugin.templates
-
- LocalizerTest() -
Constructor for class com.google.caja.plugin.templates.LocalizerTest
-
- localName -
Variable in class com.google.caja.parser.html.AttribKey
- The normalized local name of the attribute.
- localName -
Variable in class com.google.caja.parser.html.ElKey
- The namespace in which elements described by this key appear.
- localName(String, String) -
Static method in class com.google.caja.parser.html.Namespaces
-
- locals -
Variable in class com.google.caja.parser.js.scope.ScopeAnalyzerTest.TestScope
-
- locals -
Variable in class com.google.caja.parser.quasiliteral.Scope
-
- LocalVarRenamer - Class in com.google.caja.ancillary.opt
- Renames all local variables in scopes not visible to calls to
eval
to shorten names. - LocalVarRenamer(MessageQueue) -
Constructor for class com.google.caja.ancillary.opt.LocalVarRenamer
-
- LocalVarRenamerTest - Class in com.google.caja.ancillary.opt
-
- LocalVarRenamerTest() -
Constructor for class com.google.caja.ancillary.opt.LocalVarRenamerTest
-
- log(String, String) -
Method in class com.google.caja.parser.js.ParserTest
-
- logger -
Static variable in class com.google.caja.parser.html.DomParser
-
- logger -
Static variable in class com.google.caja.parser.html.Html5ElementStack
-
- logging -
Variable in class com.google.caja.parser.quasiliteral.Rewriter
-
- logo() -
Method in interface com.google.caja.demos.playground.client.PlaygroundResource
-
- logQueue() -
Static method in class com.google.caja.ancillary.servlet.UserAgentDb
-
- logResults(Rule, ParseTreeNode, ParseTreeNode, Exception) -
Method in class com.google.caja.parser.quasiliteral.Rewriter
-
- longestKeyLength -
Variable in class com.google.caja.ancillary.opt.ParseTreeKB
-
- lookahead -
Variable in class com.google.caja.ancillary.jsdoc.CommentParser.Joiner
-
- lookahead -
Variable in class com.google.caja.lexer.HtmlLexer
-
- LookaheadLexer - Class in com.google.caja.parser.html
- A TokenStream that wraps another TokenStream to provide an arbitrary
amount of token lookahead.
- LookaheadLexer(TokenStream<HtmlTokenType>) -
Constructor for class com.google.caja.parser.html.LookaheadLexer
-
- lookaheadSymbol(String) -
Method in class com.google.caja.parser.css.CssParser
-
- lookaheadToken(Punctuation) -
Method in class com.google.caja.lexer.JsTokenQueue
-
- lookaheadToken(Keyword) -
Method in class com.google.caja.lexer.JsTokenQueue
-
- lookaheadToken(String) -
Method in class com.google.caja.lexer.TokenQueue
- Returns true iff the current token matches the given text.
- lookup(char) -
Method in class com.google.caja.lexer.PunctuationTrie
- The child corresponding to the given character.
- lookup(CharSequence) -
Method in class com.google.caja.lexer.PunctuationTrie
- The descendant of this trie corresponding to the string for this trie
appended with s.
- lookup(NAME) -
Method in class com.google.caja.parser.quasiliteral.NameContext
- Find a declaration with the given original name, looking in ancestor
contexts if
declare(originalName, ...)
was never called on this
context.
- lookupAttribute(AttribKey) -
Method in class com.google.caja.lang.html.HtmlSchema
-
- lookupAttribute(String, String) -
Method in class com.google.caja.lang.html.HtmlSchemaTest
-
- lookupElement(ElKey) -
Method in class com.google.caja.lang.html.HtmlSchema
-
- lookupEnvJson(String) -
Static method in class com.google.caja.ancillary.servlet.UserAgentDb
-
- lookupLocally(SortedSet<String>) -
Static method in class com.google.caja.ancillary.servlet.UserAgentDb
-
- lookupNamespaceURI(String) -
Method in class com.google.caja.parser.html.NodeWrapper
-
- lookupOperation(String, OperatorType) -
Static method in enum com.google.caja.parser.js.Operator
-
- lookupPrefix(String) -
Method in class com.google.caja.parser.html.NodeWrapper
-
- Loop - Class in com.google.caja.parser.js
- A compound statement that may execute its body zero or more times.
- Loop(FilePosition, String, Class<? extends ParseTreeNode>) -
Constructor for class com.google.caja.parser.js.Loop
-
- LooseContentTypeCheck - Class in com.google.caja.service
- Tests if two content-types denoted the same type of content.
- LooseContentTypeCheck() -
Constructor for class com.google.caja.service.LooseContentTypeCheck
-
- LOUD_MQ -
Static variable in class com.google.caja.ancillary.opt.EnvironmentData
-
- lowerBounds -
Static variable in class com.google.caja.parser.quasiliteral.RuleChain
- Caches quasi text to a conservative lower bound for ParseTreeNode types
that it might match.
- lUris -
Variable in class com.google.caja.plugin.Config
-
consumed
before the next call as falling in
this range of file positions.
RuleDescription.matches()
and
returns the bindings if the match succeeded, or null otherwise.
message part
.Message
.message
s.message
.message
that knows how to display messages of its
type.ModuleManager.modules
.
import static com.google.caja.util.MoreAsserts.*;
.<body>
onload handler to a script tag so that it can be
processed correctly in the normal flow of HTML.
var a, b, c;
or
for (var a, b, c; ;)
Collection
s of values.key
to the multimap m maintaining the invariant:
m.containsKey(key)
is true iff at least one value has been
added for the key key
.
Multimap
s.List
s.
List
s, and
whose keys are compared using object identity.
List
s, and
whose key order is insertion order.
ParseTreeNode
via reflection assuming the existence
of a constructor having the following signature:
Set
s.
Set
s, and
whose keys are compared using object identity.
Set
s, and
whose keys order is insertion order.
Iterable
over the elements of the given node list.
Iterable.iterator()
is empty.
";"
used to prevent
necessary semicolons from being folded out.
java.text.Normalizer
, but will
compile and run on JDK1.5 in a stricter mode.null
keyword.DomParser
to build a DomTree.eval(Template("html…"))
.eval(Template(...))
.Operator
to a number of operands.JsOptimizer.addInput(com.google.caja.parser.js.Statement)
.
eval(Template(...))
where eval
and
Template
are bound to the global scope.
Request
based on a single CGI parameter.QuasiNode
representing the pattern.
ParseTreeNode
is to
be used for reflectively constructing a new node or cloning an existing
node.ParseTreeNode
which acts as a container
for an arbitrary list of ParseTreeNode
s.ParseTreeNode
s.PlaygroundService
.PluginCompiler
.StaticFiles
or the special upload handler.
break
.
PunctuationTrie
.LookaheadLexer.peek()
or LookaheadLexer.next()
.
QuasiNode
tree given a JavaScript
ParseTreeNode
tree.ParseTreeNode
objects, as parsed by the
Caja JavaScript Parser
.Readable
, wraps it in a Reader
interface./foo/i
.Processor.extractJobs(com.google.caja.ancillary.servlet.Job)
.
p { }
.
r.getOut()
.
CajoledModule
with debugging information.
web tools servlet
.BlockAnnotation
.
InlineAnnotation
.
content:
URIs.
return
statement.
moduleMap___
definition that
introduces all the bindings needed by the load(...)
rule
expansion in CajitaRewriter
.
UriPolicy.rewriteUri(com.google.caja.lexer.ExternalReference, com.google.caja.plugin.UriEffect, com.google.caja.plugin.LoaderType, java.util.Map)
at runtime.
Rule.fire(com.google.caja.parser.ParseTreeNode, com.google.caja.parser.quasiliteral.Scope)
method's RuleDescription
.
Rule
.
rules
in subclasses of Rewriter
are
are collated and documented by RulesDoclet
PluginCompiler.addInput(com.google.caja.parser.ParseTreeNode, java.net.URI)
.
synthesizable
nodes created during source->javascript translation as
synthetic
.
*__
namespace.
TemplateCompiler
.ParseTreeNode
.listener
about declarations in the code, their uses,
and possibly noteworthy conditions such as masking relationships, duplicate
declarations, etc.ScopeAnalyzer
describing the relationships
between declarations and uses in a JavaScript parse tree.Scope
s in
a JavaScript program.Node
s to JS parse trees.
<job>
attributes
are seen.
Parser.getRecoverFromFailure()
.
eval
.
Rule
uses.
RuleDoclet
documents
PropertyAssignment : set PropertyName ( ) { FunctionBody }
parsing
.
parsing
.
parsing
.
ParseTreeNode
.ObjectCtorQuasiNode
.<!--
and -->
which can only be ignored in some
contexts.
PositionInferer.setPosForNode(java.lang.Object, com.google.caja.lexer.FilePosition)
for each node descriptor for which it could conclude
a position.
InputSource
and the positions of newlines in that
source file.TokenConsumer
that prints its output by writing out the
original source in comments, followed by the translated source.TokenConsumer
that prints its output, and gives the original
FilePosition
source of each character of the output.${...}
and
$name
into expressions, by looking for that pattern in the
string literals and parsing the content of substitutions as javascript." "
) and newline tokens ('\n'
followed by
any number of spaces).
"@foo"
where matching against a string literal
whose content is a valid identifier, will bind the name "foo"
to a
valid Identifier
whose value is the content of the string literal.RuleDescription.substitutes()
.
SyntheticAttributes
which asserts the type of the
corresponding value.SimpleQuasiNode
that marks its output
synthetic
.SideBySideRenderer
that caches its results so that it can print
out a two column table containing the original source code in comments to
the left of the translated code.<textarea>
without cols= was triggering an NPE due to buggy
handling of mandatory attributes.
BuildInfo
that provides deterministic information
for testing.CommonJsRewriterTestCase.testErrorTaming()
}.
prototype
, name
, and length
properties of function instances are set properly.
FailureIsAnOption
.tolerant
mode.
tolerant
mode
or throws a ParseException
otherwise.
JsConcatenator.append(com.google.caja.lexer.FilePosition, java.lang.String)
.
___.useDebugSymbols
from cajita-debugmode.js.
this.lookup(s).isTerminal()
to the
given list in lexical order.
v
such that !!v === true
.
null
or the result of applying the typeof
operator to
the result of this expression.
Multimaps.MultimapImpl.collectionMaker
.
ExitModes
that are true for any of the predicates above that are
true for this or for m.
LiveSet
with all symbols that occur in this or other.
this
and all the
keys in other.
Updoc
and returns a function that will execute
the tests contained therein/
Updoc
.hints
parameter to
UriPolicy.rewriteUri(com.google.caja.lexer.ExternalReference, com.google.caja.plugin.UriEffect, com.google.caja.plugin.LoaderType, java.util.Map)
.var
declarations in a function body or program into
one var statement at the top and folds assignment statements into
initializers.RhinoAsserts.JsObjVisitor
.
returnsAbruptly()
.
breaksToLabel(label)
.
continuesToLabel(label)
.
CssValidator.INVALID
.
CssValidator.INVALID
.
returnsNormally()
.
!returnsAbruptly()
.
!breaksToLabel(label)
.
!continuesToLabel(label)
.
@media <mediaTypes> { <nodes> }
.
AttribKey
describing the HTML attribute in whose value the
URI appears.
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |