Fixes for Smalltalk/X
* Do not use Character class>>#cr /#lf as semantics of this method differ in Smalltalk/X and Squeak.
Use Character class>>#codePoint: instead
* Do not use Squeakism Dictionary >> #keysSortedSafely - there is no need for this as
all keys are strings.
"{ Package: 'stx:goodies/petitparser/parsers/java' }"
"{ NameSpace: Smalltalk }"
PJStatementNode subclass:#PJExpressionStatementNode
instanceVariableNames:'expression'
classVariableNames:''
poolDictionaries:''
category:'PetitJava-AST'
!
PJExpressionStatementNode comment:'A statement which has nothing but expression in it.
Examples:
5;
a = 5;
a.foo();
a = for(5);'
!
!PJExpressionStatementNode methodsFor:'accessing'!
expression
^ expression
!
expression: anExpression
expression := anExpression
! !
!PJExpressionStatementNode methodsFor:'visiting'!
acceptVisitor: aVisitor
^ aVisitor visitExpressionStatementNode: self
! !
!PJExpressionStatementNode class methodsFor:'documentation'!
version_HG
^ '$Changeset: <not expanded> $'
! !