devicemap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Devicemap Wiki] Trivial Update of "Patterns2" by rezan
Date Sat, 10 Jan 2015 18:15:32 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Devicemap Wiki" for change notification.

The "Patterns2" page has been changed by rezan:
https://wiki.apache.org/devicemap/Patterns2?action=diff&rev1=15&rev2=16

Comment:
files

   candidate::
   :: this is a pattern which has successfully matched a pattern type in the token stream
  
+  file::
+  :: a file is some kind of representation of the settings described in this document
+ 
  
  === Format ===
  
- The pattern and attribute objects are JSON objects (TODO: better define this). These objects
will contain:
+ The pattern and attribute files are JSON objects (TODO: better define this). These files
will contain:
  
   * Format version
   * Name
@@ -53, +56 @@

   * Description
   * Publish date
  
- The objects will also contain the attributes defined below in this specification.
+ The files will also contain the attributes defined below in this specification.
  
  
  
@@ -61, +64 @@

  
  This step parses the input string and creates the token stream.
  
- Each pattern object defines the input parsing rules:
+ Each pattern file defines the input parsing rules:
  
   InputTransformers::
   :: Type: list of transformation steps
@@ -116, +119 @@

  This step processes the token stream and returns the highest ranking pattern which
  matches on the stream (highest ranking candidate).
  
- The pattern object defines a set of patterns. Each pattern has 2 main attributes,
+ The pattern file defines a set of patterns. Each pattern has 2 main attributes,
  its pattern type and its pattern rank. The pattern
  type defines how the pattern is supposed to be matched against the token stream.
  The pattern rank defines how the pattern ranks against other patterns.
@@ -263, +266 @@

  
  
  
- = Patch Objects =
+ = Patch Files =
  
- The pattern and attribute objects can be patched with a user created pattern and
+ The pattern and attribute files can be patched with a user created pattern and
- attribute objects. In this case, parsing configurations override, pattern
+ attribute files. In this case, parsing configurations override, pattern
  definitions get appended (you can override using pattern ranking), and attributes
  override using the Pattern``Id.
  

Mime
View raw message