/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
- package net.sourceforge.phpdt.internal.compiler.ast;
- import java.util.List;
- /**
- * Here is the Superclass of the Literal expressions.
- * @author Matthieu Casanova
- */
- public abstract class Literal extends Expression {
- protected Literal(Type type, int sourceStart, int sourceEnd, int beginLine, int endLine, int beginColumn, int endColumn) {
- super(type, sourceStart, sourceEnd, beginLine, endLine, beginColumn, endColumn);
- }
- /**
- * Get the variables from outside (parameters, globals ...)
- *
- * @param list the list where we will put variables
- */
- public final void getOutsideVariable(List list) {}
- /**
- * get the modified variables.
- *
- * @param list the list where we will put variables
- */
- public final void getModifiedVariable(List list) {}
- /**
- * Get the variables used.
- *
- * @param list the list where we will put variables
- */
- public void getUsedVariable(List list) {}
- public Expression expressionAt(int line, int column) {
- return isAt(line, column) ? this : null;
- }
- }