Package org.mozilla.javascript
Class IRFactory.AstNodePosition
java.lang.Object
org.mozilla.javascript.IRFactory.AstNodePosition
- All Implemented Interfaces:
Parser.CurrentPositionReporter
- Enclosing class:
IRFactory
public static class IRFactory.AstNodePosition
extends Object
implements Parser.CurrentPositionReporter
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
AstNodePosition
-
-
Method Details
-
push
-
pop
public void pop() -
getPosition
public int getPosition()- Specified by:
getPosition
in interfaceParser.CurrentPositionReporter
-
getLength
public int getLength()- Specified by:
getLength
in interfaceParser.CurrentPositionReporter
-
getLineno
public int getLineno()- Specified by:
getLineno
in interfaceParser.CurrentPositionReporter
-
getLine
- Specified by:
getLine
in interfaceParser.CurrentPositionReporter
-
getOffset
public int getOffset()- Specified by:
getOffset
in interfaceParser.CurrentPositionReporter
-