github.com/apache/skywalking-eyes@v0.6.0/assets/styles.yaml (about)

     1  # Licensed to the Apache Software Foundation (ASF) under one
     2  # or more contributor license agreements.  See the NOTICE file
     3  # distributed with this work for additional information
     4  # regarding copyright ownership.  The ASF licenses this file
     5  # to you under the Apache License, Version 2.0 (the
     6  # "License"); you may not use this file except in compliance
     7  # with the License.  You may obtain a copy of the License at
     8  #
     9  #     http://www.apache.org/licenses/LICENSE-2.0
    10  #
    11  # Unless required by applicable law or agreed to in writing,
    12  # software distributed under the License is distributed on an
    13  # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    14  # KIND, either express or implied.  See the License for the
    15  # specific language governing permissions and limitations
    16  # under the License.
    17  
    18  - id: DoubleSlash
    19    start: '//'
    20    middle: '//'
    21    end: '//'
    22  
    23  - id: Hashtag
    24    after: '(?m)^*#!.+$'
    25    start: '#'
    26    middle: '#'
    27    end: '#'
    28  
    29  - id: AngleBracket
    30    after: '(?ms)^<\?.+?\?>$'
    31    start: '<!--'
    32    middle: '  ~'
    33    end: '-->'
    34  
    35  # tag::SlashAsterisk[]
    36  - id: SlashAsterisk
    37    start: '/*'           # <1>
    38    middle: ' *'          # <2>
    39    end: ' */'            # <3>
    40  # end::SlashAsterisk[]
    41  
    42  - id: RoundBracketAsterisk
    43    start: '(*'
    44    middle: '(*'
    45    end: '(*'
    46  
    47  - id: CurlyBracketDash
    48    start: '{-'
    49    middle: ~
    50    end: '-}'
    51  
    52  - id: DoubleDash
    53    start: '--'
    54    middle: '--'
    55    end: '--'
    56  
    57  - id: Quotes
    58    start: '"'
    59    middle: '"'
    60    end: '"'
    61  
    62  - id: Semicolon
    63    start: ';'
    64    middle: ';'
    65    end: ';'
    66  
    67  - id: DoubleDot
    68    start: '..'
    69    middle: '..'
    70    end: '..'
    71  
    72  - id: Remark
    73    start: 'rem'
    74    middle: 'rem'
    75    end: 'rem'
    76  
    77  - id: Percent
    78    start: '%'
    79    middle: '%'
    80    end: '%'
    81  
    82  - id: CurlyBracketHashtag
    83    start: '{#'
    84    middle: ~
    85    end: '#}'
    86  
    87  - id: CurlyBracketAsterisk
    88    start: '{*'
    89    middle: ~
    90    end: '*}'
    91  
    92  - id: PhpTag
    93    after: '(?mi)^<\?(php)?(\s+declare\s*\(\s*strict_types\s*=\s*[01]{1}\s*\)\s*;)?$'
    94    start: '/*'
    95    middle: ' *'
    96    end: ' */'
    97    ensure_after: '<?php'
    98    ensure_before: '?>'
    99  
   100  - id: Apostrophe
   101    start: "'"
   102    middle: "'"
   103    end: "'"
   104  
   105  - id: PythonStyle
   106    # (interpreter binary and encoding comment) | (only interpreter binary) | (only encoding comment)
   107    after: '(?m)(^*#!.+$\n^[ \t\f]*#.*?coding[:=][ \t]*([-_.a-zA-Z0-9]+).*$)|(^*#!.+$)|(^[ \t\f]*#.*?coding[:=][ \t]*([-_.a-zA-Z0-9]+).*$)'
   108    start: '#'
   109    middle: '#'
   110    end: '#'
   111  
   112  - id: PythonDocStringStyle
   113    # (interpreter binary and encoding comment) | (only interpreter binary) | (only encoding comment)
   114    after: '(?m)(^*#!.+$\n^[ \t\f]*#.*?coding[:=][ \t]*([-_.a-zA-Z0-9]+).*$)|(^*#!.+$)|(^[ \t\f]*#.*?coding[:=][ \t]*([-_.a-zA-Z0-9]+).*$)'
   115    start: '"""'
   116    middle: ~
   117    end: '"""'