Package org.asciidoctor.jruby.ast.impl
Class CursorImpl
- java.lang.Object
-
- org.asciidoctor.jruby.internal.RubyObjectWrapper
-
- org.asciidoctor.jruby.ast.impl.CursorImpl
-
- All Implemented Interfaces:
Cursor
public class CursorImpl extends RubyObjectWrapper implements Cursor
-
-
Field Summary
-
Fields inherited from class org.asciidoctor.jruby.internal.RubyObjectWrapper
rubyNode, runtime
-
-
Constructor Summary
Constructors Constructor Description CursorImpl(org.jruby.runtime.builtin.IRubyObject rubyNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDir()
java.lang.String
getFile()
int
getLineNumber()
java.lang.String
getPath()
java.lang.String
toString()
-
Methods inherited from class org.asciidoctor.jruby.internal.RubyObjectWrapper
getBoolean, getInt, getList, getProperty, getRubyObject, getRubyProperty, getRuntime, getString, getSymbol, setBoolean, setInt, setRubyProperty, setString, setSymbol, toJava, toJava
-
-
-
-
Method Detail
-
getLineNumber
public int getLineNumber()
- Specified by:
getLineNumber
in interfaceCursor
- Returns:
- The line number where the owning block begins.
-
getPath
public java.lang.String getPath()
-
getDir
public java.lang.String getDir()
-
getFile
public java.lang.String getFile()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-