juzu.plugin.less.impl.lesser

## Class JSContext

- java.lang.Object
- - juzu.plugin.less.impl.lesser.JSContext

- Direct Known Subclasses:
    JSR223Context, Rhino1_7R3Context

      public abstract class JSContext
      extends Object

  Author:
    Julien Viet

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JSContext()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static JSContext` | `create()`
    `abstract Object` | `eval(String script)`
    `abstract Object` | `invokeFunction(String name, Object... args)`
    `abstract void` | `put(String name, Object value)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### JSContext

          public JSContext()

  - ### Method Detail

    - #### create

          public static JSContext create()

    - #### put

          public abstract void put(String name,
                 Object value)

    - #### eval

          public abstract Object eval(String script)
                               throws Exception

      Throws:
        `Exception`

    - #### invokeFunction

          public abstract Object invokeFunction(String name,
                              Object... args)
                                         throws Exception

      Throws:
        `Exception`

Copyright © 2015 eXo Platform SAS. All rights reserved.