public

Inheritance Graph

graph BT
	CodeFragment
	click CodeFragment "classEScript_1_1CodeFragment"

Description

Simple container used to store the code of a UserFunction .

Public Functions

   
   
  CodeFragment()
   
  CodeFragment(const StringId & _filename, const StringData & fullCode)
   
  CodeFragment(const StringId & _filename, const StringData & _data, const size_t _start, const size_t _length)
   
  CodeFragment(const CodeFragment & other, const size_t _start, const size_t _length)
   
bool empty() const
   
std::string getCodeString() const
   
std::string getFilename() const
   
const std::string & getFullCode() const
   
size_t getLength() const
   
size_t getStartPos() const

Documentation

function
EScript::CodeFragment::CodeFragment

public inline
   
   
CodeFragment( )

Defined in EScript/EScript/Utils/CodeFragment.h:25


function
EScript::CodeFragment::CodeFragment

public inline
     
     
CodeFragment( const StringId & _filename,
  const StringData & fullCode
)    

Defined in EScript/EScript/Utils/CodeFragment.h:26


function
EScript::CodeFragment::CodeFragment

public inline
     
     
CodeFragment( const StringId & _filename,
  const StringData & _data,
  const size_t _start,
  const size_t _length
)    

Defined in EScript/EScript/Utils/CodeFragment.h:28


function
EScript::CodeFragment::CodeFragment

public inline
     
     
CodeFragment( const CodeFragment & other,
  const size_t _start,
  const size_t _length
)    

Defined in EScript/EScript/Utils/CodeFragment.h:30


function
EScript::CodeFragment::empty

public const inline
   
   
bool empty( ) const

Defined in EScript/EScript/Utils/CodeFragment.h:33


function
EScript::CodeFragment::getCodeString

public const inline
   
   
std::string getCodeString( ) const

Defined in EScript/EScript/Utils/CodeFragment.h:34


function
EScript::CodeFragment::getFilename

public const inline
   
   
std::string getFilename( ) const

Defined in EScript/EScript/Utils/CodeFragment.h:35


function
EScript::CodeFragment::getFullCode

public const inline
   
   
const std::string & getFullCode( ) const

Defined in EScript/EScript/Utils/CodeFragment.h:36


function
EScript::CodeFragment::getLength

public const inline
   
   
size_t getLength( ) const

Defined in EScript/EScript/Utils/CodeFragment.h:37


function
EScript::CodeFragment::getStartPos

public const inline
   
   
size_t getStartPos( ) const

Defined in EScript/EScript/Utils/CodeFragment.h:38