File: operators.in.styl

package info (click to toggle)
node-stylus 0.54.5-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 5,392 kB
  • ctags: 913
  • sloc: makefile: 38
file content (55 lines) | stat: -rw-r--r-- 721 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55


body
  nums = 1 2 3
  foo 1 in nums
  foo 3 in nums
  foo 5 in nums

body
  nums = 1
  foo 1 in nums == true

body
  words = foo bar baz
  foo bar in words
  foo baz in words
  foo HEY in words

body
  tuples = (test 'one') (test 'two') 2
  foo test in tuples
  foo 2 in tuples
  foo (test 'one') in tuples
  foo (test 'two') in tuples
  foo (test 'something') in tuples

fn(args...)
  2 in args

body
  foo fn()
  foo fn(1)
  foo fn(2)
  foo fn(3 2)
  foo fn(1,2,3)

fn(args...)
  (3 2) in args

body
  foo fn(3 2)
  foo fn(3,2)

fn()
  test in arguments

body
  foo fn(test)
  foo fn(a, b, c)
  foo fn(a, test, c)
  foo fn(a test c)

body
  foo 10px if red in (blue green white)
  bar 10px if red in (blue red green)