compiler/PPCAbstractLiteralNode.st
changeset 515 b5316ef15274
parent 452 9f4558b3be66
equal deleted inserted replaced
502:1e45d3c96ec5 515:b5316ef15274
     9 	category:'PetitCompiler-Nodes'
     9 	category:'PetitCompiler-Nodes'
    10 !
    10 !
    11 
    11 
    12 !PPCAbstractLiteralNode methodsFor:'accessing'!
    12 !PPCAbstractLiteralNode methodsFor:'accessing'!
    13 
    13 
       
    14 defaultName
       
    15     ^ #lit
       
    16 !
       
    17 
    14 literal
    18 literal
    15     
    19     
    16     ^ literal
    20     ^ literal
    17 !
    21 !
    18 
    22 
    19 literal: anObject
    23 literal: anObject
    20     
    24     
    21     literal := anObject
    25     literal := anObject
    22 !
       
    23 
       
    24 prefix
       
    25     ^ #lit
       
    26 ! !
    26 ! !
    27 
    27 
    28 !PPCAbstractLiteralNode methodsFor:'analysis'!
    28 !PPCAbstractLiteralNode methodsFor:'analysis'!
    29 
    29 
    30 acceptsEpsilon
    30 acceptsEpsilon