Package kawa.standard

Class Include

  • All Implemented Interfaces:
    gnu.kawa.format.Printable, Named

    public class Include
    extends Syntax
    Syntax class for source-file inclusion.
    • Field Detail

      • include

        public static final Include include
      • includeRelative

        public static final Include includeRelative
      • includeCi

        public static final Include includeCi
      • searchPath

        public static final java.lang.ThreadLocal<java.util.List<java.lang.CharSequence>> searchPath
    • Constructor Detail

      • Include

        public Include​(java.lang.String name,
                       boolean relative,
                       boolean ignoreCase)
    • Method Detail

      • rewrite

        public Expression rewrite​(java.lang.Object obj,
                                  Translator tr)
        Description copied from class: Syntax
        Re-write an expression that is an "application" of this Syntax object.
        Overrides:
        rewrite in class Syntax
        Parameters:
        obj - the arguments to this "application" (i.e. the cdr of the macro/builtin invocation)
        tr - the Translator that provides context
        Returns:
        the re-written expression
      • getIncludeSearchPath

        public static java.util.List<java.lang.CharSequence> getIncludeSearchPath()
      • getSearchPath

        public static java.util.List<java.lang.CharSequence> getSearchPath​(java.lang.ThreadLocal<java.util.List<java.lang.CharSequence>> var,
                                                                           java.lang.String propertyName,
                                                                           java.lang.String defaultPath)