Class CodeAndSourceLocation


  • public final class CodeAndSourceLocation
    extends Object
    Encapsulates compiled code with the location in the original source equation.

    Module: equations-api

    To use this in your app, include the following dependency in your POM:

    <dependency>
        <groupId>org.cytoscape</groupId>
        <artifactId>equations-api</artifactId>
    </dependency>

    Cytoscape Backwards Compatibility (Final Class): This class is final and therefore can't be extended by users. This means that we may add methods for minor version updates. Methods will only be removed for major version updates.
    • Constructor Detail

      • CodeAndSourceLocation

        public CodeAndSourceLocation​(Object code,
                                     int sourceLocation)
    • Method Detail

      • getCode

        public Object getCode()
      • getSourceLocation

        public int getSourceLocation()