/* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(org.eclipse.jdt.core.dom.CharacterLiteral) */ public boolean visit(CharacterLiteral node) { PTCharacterLiteral cl = InstantiationFactory.eINSTANCE.createPTCharacterLiteral(); cl.setEscapedValue(node.getEscapedValue()); cl.setCharValue(node.charValue()); expression = cl; return false; }
/* * @see ASTVisitor#visit(CharacterLiteral) */ public boolean visit(CharacterLiteral node) { this.fBuffer.append(node.getEscapedValue()); return false; }
@Override public void endVisit(CharacterLiteral node) { expressions.push(new VMStringLiteral(node, node.getEscapedValue())); }