Skip to content

Commit 4a73232

Browse files
committed
INSIDE -> INTO
1 parent 832931d commit 4a73232

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/cedarscript_ast_parser/cedarscript_ast_parser.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class BodyOrWhole(StrEnum):
3636

3737

3838
MarkerType = StrEnum('MarkerType', 'LINE VARIABLE FUNCTION METHOD CLASS')
39-
RelativePositionType = StrEnum('RelativePositionType', 'AT BEFORE AFTER INSIDE_TOP INSIDE_BOTTOM')
39+
RelativePositionType = StrEnum('RelativePositionType', 'AT BEFORE AFTER INTO_TOP INTO_BOTTOM')
4040

4141

4242
class MarkerCompatible:
@@ -525,7 +525,8 @@ def parse_region(self, node) -> Region:
525525
node = node.named_children[0]
526526
main_type = node.child(0).type.casefold()
527527
match main_type:
528-
case 'inside':
528+
case 'into':
529+
# INTO_TOP, INTO_BOTTOM
529530
main_type += '_' + node.child(2).type.casefold()
530531
qualifier = RelativePositionType(main_type)
531532
node = node.named_children[0]

0 commit comments

Comments
 (0)