Class PreprocessorLexer.DefaultIncluder

java.lang.Object
com.blackrook.rookscript.struct.PreprocessorLexer.DefaultIncluder
All Implemented Interfaces:
PreprocessorLexer.Includer
Enclosing class:
PreprocessorLexer

public static class PreprocessorLexer.DefaultIncluder extends Object implements PreprocessorLexer.Includer
Default includer to use when none specified. This includer can either pull from the classpath, URIs, or files.
  • Paths that start with classpath: are parsed as resource paths in the current classpath.
  • Else, the path is interpreted as a file path, with the following search order:
    • Relative to parent of source stream.
    • As is.
  • Method Details