Rename StringInterpolationSegments to StringLiteralSegments

This commit is contained in:
kitasuke
2019-05-06 09:37:37 +08:00
parent 6069814d66
commit 5debb929da
3 changed files with 4 additions and 4 deletions

View File

@@ -28,7 +28,7 @@ EXPR_NODES = [
Node('DictionaryElementList', kind='SyntaxCollection',
element='DictionaryElement'),
Node('StringInterpolationSegments', kind='SyntaxCollection',
Node('StringLiteralSegments', kind='SyntaxCollection',
element='Syntax', element_name='Segment',
element_choices=['StringSegment', 'ExpressionSegment']),
@@ -483,7 +483,7 @@ EXPR_NODES = [
'StringQuoteToken',
'MultilineStringQuoteToken',
]),
Child('Segments', kind='StringInterpolationSegments',
Child('Segments', kind='StringLiteralSegments',
collection_element_name='Segment'),
Child('CloseQuote', kind='Token',
token_choices=[