網站首頁 練習題 成語大全 造句 名詞解釋 經典語錄 名人語錄
當前位置:國文精選館 > 造句 > 

“parser”簡單造句,parser造句子

欄目: 造句 / 發佈於: / 人氣:1.01W

If you're using a parser to interpret code in a new language, you will need to return something to the parser to tell it what tokens you've found.

The parser reads the tree and describes it, through events, to your application.

Although it has additional lines, the package is far more efficient than an XML parser for the Original Infoset.

In other words, if the parser finds an element with the name "title", the parser knows that it is not a child of an element, and all other element names in this example are ignored.

While it was never difficult, and while the parser is a standard part of the platform, the extra work was a bit of an annoyance.

Wrapping the sample markup in a CDATA section lets you write it as-is, without having the XML parser attempt to interpret it as a element containing an element.

The probability that you may have to write your own parser, because you are likely to need a variety of different data structures (booleans, scalars, arrays, and hashes, for example).

It creates a parser object around a grammar.

That allows you to specify which whitespace the parser can ignore and which is significant.

An XML parser might have a high megabytes-per-second rate, but if it is expensive to set up and tear down that parser, it will still have a low throughput in requests per second.

The node is considered ignorable or insignificant whitespace, and the parser might report it in a special way.

For those applications controlling the parser, a loop helps because the application can easily stop the reading after sniffing the first few lines.

Using this approach, the application advances a cursor over a stream of XML tokens, examining the parser state at every step to get more information about what was parsed.

It causes the parser to parse an NP.

Attempting to read the file directly into an XML parser results in an error.

The parser doesn't keep anything in memory for very long, so it can be used for extremely large files.

However, several Denial of Service (DoS) attacks can be executed by getting the parser to read a single document without requiring any additional connections.

parser造句

Now fill in the actions taken by the parser.

This is the routine used by the parser production methods to determine which path to take.

Suppose you want to specify where the parser looks to find schema documents with particular target namespaces.

This paper introduces how to use the concept of Role Inverse Algorithm in order to build syntactic parser in the various information resources based multi-lingual question answering system.

Given a set of features and properties, the parser pool should either return a parser from an internal pool or create and store a new parser instance if one does not exist.

Also note that the user doesn't need to define grammar for such trivial stuff: Spirit already has the predefined parser real_p to parse real Numbers.

We will also show you how to reuse parser instances.

Listing 1 is convenient for a SAX parser because the information is stored as attributes of price elements.

The knowledge of the format is not in the parser but in the model, which is either accessed directly by the parser at run time, or generated into code that the parser invokes.

Right now the unmarshalling context is coded to use a parser that implements the XMLPull interface, an informal standard defined by some of the leading developers in the area of pull parsing.

The above process is much simpler than generating an XML structure using the DOM parser, or by using text manipulation (which is open to abuse and mistakes).

Rather than being told what the parser sees when the parser sees it, you tell the parser when to go fetch the next piece of the document.

Listing 9 contains some noteworthy items. The first thing to consider is that the SAX parser is an event-based parser, which means that you build the actual document as it is parsed.

The parser also recognizes other basic types. Doubles can be created with a decimal point.

Tags:造句 parser