mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 11:50:54 +07:00
regexp: separate token for atomic group
This commit is contained in:
@@ -22,7 +22,7 @@ REGEXP_FILE
|
||||
PsiElement(COMMA)(',')
|
||||
PsiElement(RBRACE)('}')
|
||||
RegExpGroupImpl: <(?>\s)>
|
||||
PsiElement(NON_CAPT_GROUP)('(?>')
|
||||
PsiElement(ATOMIC_GROUP)('(?>')
|
||||
RegExpPatternImpl: <\s>
|
||||
RegExpBranchImpl: <\s>
|
||||
RegExpSimpleClassImpl: <\s>
|
||||
|
||||
20
RegExpSupport/testData/psi/Groups41.txt
Normal file
20
RegExpSupport/testData/psi/Groups41.txt
Normal file
@@ -0,0 +1,20 @@
|
||||
REGEXP_FILE
|
||||
RegExpPatternImpl: <(?>atomic)>
|
||||
RegExpBranchImpl: <(?>atomic)>
|
||||
RegExpGroupImpl: <(?>atomic)>
|
||||
PsiElement(ATOMIC_GROUP)('(?>')
|
||||
RegExpPatternImpl: <atomic>
|
||||
RegExpBranchImpl: <atomic>
|
||||
RegExpCharImpl: <a>
|
||||
PsiElement(CHARACTER)('a')
|
||||
RegExpCharImpl: <t>
|
||||
PsiElement(CHARACTER)('t')
|
||||
RegExpCharImpl: <o>
|
||||
PsiElement(CHARACTER)('o')
|
||||
RegExpCharImpl: <m>
|
||||
PsiElement(CHARACTER)('m')
|
||||
RegExpCharImpl: <i>
|
||||
PsiElement(CHARACTER)('i')
|
||||
RegExpCharImpl: <c>
|
||||
PsiElement(CHARACTER)('c')
|
||||
PsiElement(GROUP_END)(')')
|
||||
34
RegExpSupport/testData/psi/Groups42.txt
Normal file
34
RegExpSupport/testData/psi/Groups42.txt
Normal file
@@ -0,0 +1,34 @@
|
||||
REGEXP_FILE
|
||||
RegExpPatternImpl: <(?:non-capturing)>
|
||||
RegExpBranchImpl: <(?:non-capturing)>
|
||||
RegExpGroupImpl: <(?:non-capturing)>
|
||||
PsiElement(NON_CAPT_GROUP)('(?:')
|
||||
RegExpPatternImpl: <non-capturing>
|
||||
RegExpBranchImpl: <non-capturing>
|
||||
RegExpCharImpl: <n>
|
||||
PsiElement(CHARACTER)('n')
|
||||
RegExpCharImpl: <o>
|
||||
PsiElement(CHARACTER)('o')
|
||||
RegExpCharImpl: <n>
|
||||
PsiElement(CHARACTER)('n')
|
||||
RegExpCharImpl: <->
|
||||
PsiElement(CHARACTER)('-')
|
||||
RegExpCharImpl: <c>
|
||||
PsiElement(CHARACTER)('c')
|
||||
RegExpCharImpl: <a>
|
||||
PsiElement(CHARACTER)('a')
|
||||
RegExpCharImpl: <p>
|
||||
PsiElement(CHARACTER)('p')
|
||||
RegExpCharImpl: <t>
|
||||
PsiElement(CHARACTER)('t')
|
||||
RegExpCharImpl: <u>
|
||||
PsiElement(CHARACTER)('u')
|
||||
RegExpCharImpl: <r>
|
||||
PsiElement(CHARACTER)('r')
|
||||
RegExpCharImpl: <i>
|
||||
PsiElement(CHARACTER)('i')
|
||||
RegExpCharImpl: <n>
|
||||
PsiElement(CHARACTER)('n')
|
||||
RegExpCharImpl: <g>
|
||||
PsiElement(CHARACTER)('g')
|
||||
PsiElement(GROUP_END)(')')
|
||||
Reference in New Issue
Block a user