CodeSnippet Struct Reference

#include <texttools.h>

Detailed Description

Represents a code snippet.

Public Member Functions

 CodeSnippet ()
 
 CodeSnippet (const CodeSnippet &src)
 

Public Attributes

String _id
 
Url _file
 
BaseArray< String_snippet
 
Int _start
 

Constructor & Destructor Documentation

◆ CodeSnippet() [1/2]

◆ CodeSnippet() [2/2]

CodeSnippet ( const CodeSnippet src)

Member Data Documentation

◆ _id

String _id

Id of the snippet.

◆ _file

Url _file

source file of the snippet

◆ _snippet

BaseArray<String> _snippet

source code of the snippet

◆ _start

Int _start

line number in the source file where the snippet starts