/plugins/PHPParser/tags/v1_2_2/src/net/sourceforge/phpdt/internal/compiler/ast/Literal.java

#
Java | 39 lines | 13 code | 7 blank | 19 comment | 0 complexity | c20894368ce231de6acb63666a49ed0d MD5 | raw file

✨ Summary
  1. package net.sourceforge.phpdt.internal.compiler.ast;
  2. import java.util.List;
  3. /**
  4. * Here is the Superclass of the Literal expressions.
  5. * @author Matthieu Casanova
  6. */
  7. public abstract class Literal extends Expression {
  8. protected Literal(Type type, int sourceStart, int sourceEnd, int beginLine, int endLine, int beginColumn, int endColumn) {
  9. super(type, sourceStart, sourceEnd, beginLine, endLine, beginColumn, endColumn);
  10. }
  11. /**
  12. * Get the variables from outside (parameters, globals ...)
  13. *
  14. * @param list the list where we will put variables
  15. */
  16. public final void getOutsideVariable(List list) {}
  17. /**
  18. * get the modified variables.
  19. *
  20. * @param list the list where we will put variables
  21. */
  22. public final void getModifiedVariable(List list) {}
  23. /**
  24. * Get the variables used.
  25. *
  26. * @param list the list where we will put variables
  27. */
  28. public void getUsedVariable(List list) {}
  29. public Expression expressionAt(int line, int column) {
  30. return isAt(line, column) ? this : null;
  31. }
  32. }