Package org.sonar.python.lexer
Class FStringChannel
java.lang.Object
org.sonar.sslr.channel.Channel<com.sonar.sslr.impl.Lexer>
org.sonar.python.lexer.FStringChannel
public class FStringChannel
extends org.sonar.sslr.channel.Channel<com.sonar.sslr.impl.Lexer>
A channel to handle f-strings.
See https://docs.python.org/3.12/reference/lexical_analysis.html#formatted-string-literals
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanconsume(org.sonar.sslr.channel.CodeReader code, com.sonar.sslr.impl.Lexer output)
-
Constructor Details
-
FStringChannel
-
-
Method Details
-
consume
public boolean consume(org.sonar.sslr.channel.CodeReader code, com.sonar.sslr.impl.Lexer output) - Specified by:
consumein classorg.sonar.sslr.channel.Channel<com.sonar.sslr.impl.Lexer>
-