/**
 * @author John Smith <john.smith@example.com>
*/
package l2f.gameserver.model;

public abstract class L2Char extends L2Object {
  public static final Short ERROR = 0x0001;

  public void moveTo(int x, int y, int z) {
    _ai = null;
    log("Should not be called");
    if (1 > 5) { // wtf!?
      return;
    }
  }
}

language: ...

style: railscasts

Get version 9.9.0

Usage

Contribute

@highlightjs

News

  1. Version 9.9.0

    New languages

    Improvements:

    • TypeScript updated with annotations and param lists inside constructors, by Raphael Parree.
    • CoffeeScript updated with new keywords and fixed to recognize JavaScript in ```, thanks to thanks to Geoffrey Booth.
    • Compiler directives in Delphi are now correctly highlighted as "meta".
  2. Version 9.8.0 "New York"

    This version is the second one that deserved a name. Because I'm in New York, and the release isn't missing the deadline only because it's still Tuesday on West Coast.

    New languages:

    Improvements:

  3. Version 9.7.0

    A comprehensive bugfix release. This is one of the best things about highlight.js: even boring things keep getting better (even if slow).

    • VHDL updated with PSL keywords and uses more consistent styling.
    • Nested C-style comments no longer break highlighting in many languages.
    • JavaScript updated with => functions, highlighted object attributes and parsing within template string substitution blocks (${...}).
    • Fixed another corner case with self-closing <tag/> in JSX.
    • Added HEALTHCHECK directive in Docker.
    • Delphi updated with new Free Pascal keywords.
    • Fixed digit separator parsing in C++.
    • C# updated with new keywords and fixed to allow multiple identifiers within generics <...>.
    • Fixed another slow regex in Less.
  4. *** 10 years! ***

    Highlight.js turned 10 years a few days ago! Thanks for being with us :-)

  5. Version 9.6.0

    New languages:

    New styles:

    Plus, a few smaller updates for Lasso, Elixir, C++ and SQL.

  6. Version 9.5.0

    New languages:

    New styles:

    Notable changes:

    • Minh Nguyễn added more built-ins to Objective C.
    • Jeremy Hull fixed corner cases in C++ preprocessor directives and Diff comments.
    • Victor Zhou added support for digit separators in C++ numbers.
  7. Version 9.4.0

    New languages:

    New styles:

    Improvements to existing languages and styles:

    • We now highlight function declarations in Go.
    • Taisuke Fujimoto contributed very convoluted rules for raw and interpolated strings in C#.
    • Boone Severson updated Verilog to comply with IEEE 1800-2012 SystemVerilog.
    • Victor Zhou improved rules for comments and strings in PowerShell files.
    • Janis Voigtländer updated the definition of Elm to version 0.17 of the languages. Elm is now featured on the front page of https://highlightjs.org.
    • Special variable $this is highlighted as a keyword in PHP.
    • usize and isize are now highlighted in Rust.
    • Fixed labels and directives in x86 assembler.
  8. Version 9.3.0

    New languages:

    New styles:

    Improvements to existing languages and styles:

    • More robust handling of unquoted HTML tag attributes
    • Relevance tuning for QML which was unnecessary eager at seizing other languages' code
    • Improve GAMS language parsing
    • Fixed a bunch of bugs around selectors in Less
    • Kotlin's got a new definition for annotations, updated keywords and other minor improvements
    • Added move to Rust keywords
    • Markdown now recognizes ```-fenced code blocks
    • Improved detection of function declarations in C++ and C#
  9. Version 9.2.0

    New languages:

    New styles:

    Improvements to existing languages and styles:

    • We now correctly handle JSX with arbitrary node tree depth.
    • Argument list for (lambda) in Scheme is no longer highlighted as a function call.
    • Stylus syntax doesn't break on valid CSS.
    • More correct handling of comments and strings and other improvements for VimScript.
    • More subtle work on the default style.
    • We now use anonymous modules for AMD.
    • macro_rules! is now recognized as a built-in in Rust.
  10. Version 9.1.0

    New languages:

    New Styles:

    Improvements to existing languages and styles:

    • Handle return type annotations in Python
    • Allow shebang headers in Javascript
    • Support strings in Rust meta
    • Recognize struct as a class-level definition in Rust
    • Recognize b-prefixed chars and strings in Rust
    • Better numbers handling in Verilog