congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
Lexer.getBufferEnd
Code IndexAdd Tabnine to your IDE (free)

How to use
getBufferEnd
method
in
com.intellij.lexer.Lexer

Best Java code snippets using com.intellij.lexer.Lexer.getBufferEnd (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew ArrayList()
  • Codota Iconnew LinkedList()
  • Smart code suggestions by Tabnine
}
origin: KronicDeth/intellij-elixir

public int getBufferEnd() {
  // since {@link #getBufferSequence} uses `eexLexer`, so does this.
  return eexLexer.getBufferEnd();
}
origin: Camelcade/Perl5-IDEA

@Override
public int getBufferEnd() {
 return myMainLexer.getBufferEnd();
}
origin: BashSupport/BashSupport

@Override
public int getBufferEnd() {
  //fixme check with specific lexing range
  return myDelegate.getBufferEnd() + prefix.length() + suffix.length();
}
origin: BashSupport/BashSupport

@Override
public void restore(@NotNull final LexerPosition position) {
  final int prefixLength = prefix.length();
  final int newOffset = position.getOffset() - prefixLength;
  if (newOffset == 0) {
    this.afterPrefix = false;
  }
  if (newOffset < myDelegate.getBufferEnd()) {
    this.delegateEOF = false;
    this.afterEOF = false;
  }
  myDelegate.restore(new LexerPosition() {
    @Override
    public int getOffset() {
      return newOffset;
    }
    @Override
    public int getState() {
      return position.getState();
    }
  });
}
com.intellij.lexerLexergetBufferEnd

Popular methods of Lexer

  • getTokenStart
  • start
  • advance
  • getTokenEnd
  • getTokenType
  • getBufferSequence
  • getState
  • restore
  • getCurrentPosition
  • getTokenSequence
  • getTokenText
  • getTokenText

Popular in Java

  • Reading from database using SQL prepared statement
  • getExternalFilesDir (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • runOnUiThread (Activity)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • JButton (javax.swing)
  • Runner (org.openjdk.jmh.runner)
  • Top 12 Jupyter Notebook Extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now