/plugins/PHPParser/trunk/src/net/sourceforge/phpdt/internal/compiler/ast/NullLiteral.java
# · Java · 32 lines · 19 code · 5 blank · 8 comment · 0 complexity · f5f0163fbc4ffa7ef58ffbcf4d6d9b61 MD5 · raw file
- package net.sourceforge.phpdt.internal.compiler.ast;
- import gatchan.phpparser.parser.Token;
- import gatchan.phpparser.parser.PHPParser;
- /**
- * @author Matthieu Casanova
- */
- public class NullLiteral extends MagicLiteral
- {
- public NullLiteral(Token token)
- {
- super(Type.NULL, token.sourceStart, token.sourceEnd, token.beginLine, token.endLine, token.beginColumn, token.endColumn);
- }
- /**
- * Return the expression as String.
- *
- * @return the expression
- */
- @Override
- public String toStringExpression()
- {
- return "null";
- }
- @Override
- public void analyzeCode(PHPParser parser)
- {
- }
- }