/* (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;
 }
Example #3
0
 @Override
 public void endVisit(CharacterLiteral node) {
   expressions.push(new VMStringLiteral(node, node.getEscapedValue()));
 }