/plugins/PHPParser/tags/PHPParser-1.4.2/src/net/sourceforge/phpdt/internal/compiler/ast/FalseLiteral.java

# · Java · 37 lines · 23 code · 6 blank · 8 comment · 0 complexity · cf08da095c58d5b07e4ea1f413791256 MD5 · raw file

  1. package net.sourceforge.phpdt.internal.compiler.ast;
  2. import gatchan.phpparser.parser.Token;
  3. import gatchan.phpparser.parser.PHPParser;
  4. /**
  5. * @author Matthieu Casanova
  6. */
  7. public class FalseLiteral extends MagicLiteral
  8. {
  9. public FalseLiteral(Token token)
  10. {
  11. super(Type.BOOLEAN, token.sourceStart, token.sourceEnd, token.beginLine, token.endLine, token.beginColumn, token.endColumn);
  12. }
  13. /**
  14. * Return the expression as String.
  15. *
  16. * @return the expression
  17. */
  18. @Override
  19. public String toStringExpression()
  20. {
  21. return "false";//$NON-NLS-1$
  22. }
  23. public String toString()
  24. {
  25. return "false";//$NON-NLS-1$
  26. }
  27. @Override
  28. public void analyzeCode(PHPParser parser)
  29. {
  30. }
  31. }