@@ -207,8 +207,9 @@ class Expression(SyntaxNode):
207207
208208
209209class StringLiteral (Expression ):
210- def __init__ (self , value , ** kwargs ):
210+ def __init__ (self , raw , value , ** kwargs ):
211211 super (StringLiteral , self ).__init__ (** kwargs )
212+ self .raw = raw
212213 self .value = value
213214
214215
@@ -236,6 +237,12 @@ def __init__(self, id, **kwargs):
236237 self .id = id
237238
238239
240+ class FunctionReference (Expression ):
241+ def __init__ (self , id , ** kwargs ):
242+ super (FunctionReference , self ).__init__ (** kwargs )
243+ self .id = id
244+
245+
239246class SelectExpression (Expression ):
240247 def __init__ (self , selector , variants , ** kwargs ):
241248 super (SelectExpression , self ).__init__ (** kwargs )
@@ -324,11 +331,6 @@ def __init__(self, content=None, **kwargs):
324331 super (ResourceComment , self ).__init__ (content , ** kwargs )
325332
326333
327- class Function (Identifier ):
328- def __init__ (self , name , ** kwargs ):
329- super (Function , self ).__init__ (name , ** kwargs )
330-
331-
332334class Junk (SyntaxNode ):
333335 def __init__ (self , content = None , annotations = None , ** kwargs ):
334336 super (Junk , self ).__init__ (** kwargs )
0 commit comments