~didrocks/+junk/face-detection-15.04

« back to all changes in this revision

Viewing changes to facedetection/www/bower_components/prism/tests/languages/smarty/attr-name_feature.test

  • Committer: Didier Roche
  • Date: 2016-05-10 23:09:11 UTC
  • Revision ID: didier.roche@canonical.com-20160510230911-c7xr490zrj3yrzxd
New version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{assign var=foo value="bar"}
 
2
{foo bar = 40}
 
3
 
 
4
----------------------------------------------------
 
5
 
 
6
[
 
7
        ["smarty", [
 
8
                ["delimiter", "{"],
 
9
                ["function", "assign"],
 
10
                ["attr-name", [
 
11
                        "var",
 
12
                        ["operator", "="],
 
13
                        ["variable", "foo"]
 
14
                ]],
 
15
                ["attr-name", [
 
16
                        "value",
 
17
                        ["operator", "="]
 
18
                ]],
 
19
                ["string", "\"bar\""],
 
20
                ["delimiter", "}"]
 
21
        ]],
 
22
        ["smarty", [
 
23
                ["delimiter", "{"],
 
24
                ["function", "foo"],
 
25
                ["attr-name", [
 
26
                        "bar ",
 
27
                        ["operator", "="]
 
28
                ]],
 
29
                ["number", "40"],
 
30
                ["delimiter", "}"]
 
31
        ]]
 
32
]
 
33
 
 
34
----------------------------------------------------
 
35
 
 
36
Checks for attributes.
 
 
b'\\ No newline at end of file'