All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.joern.pysrc2cpg.NodeToCode.scala Maven / Gradle / Ivy

There is a newer version: 1.2.44
Show newest version
package io.joern.pysrc2cpg

import io.joern.pythonparser.ast

class NodeToCode(content: String) {
  def getCode(node: ast.iattributes): String = {
    content.substring(node.input_offset, node.end_input_offset)
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy