/[svn]/linuxsampler/trunk/src/scriptvm/common.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/scriptvm/common.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3728 by schoenebeck, Fri Jan 3 10:18:21 2020 UTC revision 3729 by schoenebeck, Fri Jan 31 10:57:53 2020 UTC
# Line 1734  namespace LinuxSampler { Line 1734  namespace LinuxSampler {
1734          int lastLine; ///< The last line number of this code block within the script.          int lastLine; ///< The last line number of this code block within the script.
1735          int firstColumn; ///< The first column of this code block within the script (indexed with 1 being the very first column).          int firstColumn; ///< The first column of this code block within the script (indexed with 1 being the very first column).
1736          int lastColumn; ///< The last column of this code block within the script.          int lastColumn; ///< The last column of this code block within the script.
1737            int firstByte; ///< The first byte of this code block within the script.
1738            int lengthBytes; ///< Length of this code block within the script (in bytes).
1739      };      };
1740    
1741      /**      /**
# Line 1911  namespace LinuxSampler { Line 1913  namespace LinuxSampler {
1913          // position of token in script          // position of token in script
1914          int firstLine() const; ///< First line this source token is located at in script source code (indexed with 0 being the very first line). Most source code tokens are not spanning over multiple lines, the only current exception are comments, in the latter case you need to process text() to get the last line and last column for the comment.          int firstLine() const; ///< First line this source token is located at in script source code (indexed with 0 being the very first line). Most source code tokens are not spanning over multiple lines, the only current exception are comments, in the latter case you need to process text() to get the last line and last column for the comment.
1915          int firstColumn() const; ///< First column on the first line this source token is located at in script source code (indexed with 0 being the very first column). To get the length of this token use text().length().          int firstColumn() const; ///< First column on the first line this source token is located at in script source code (indexed with 0 being the very first column). To get the length of this token use text().length().
1916            int firstByte() const; ///< First raw byte position of this source token in script source code.
1917            int lengthBytes() const; ///< Raw byte length of this source token (in bytes).
1918    
1919          // base types          // base types
1920          bool isEOF() const; ///< Returns true in case this source token represents the end of the source code file.          bool isEOF() const; ///< Returns true in case this source token represents the end of the source code file.

Legend:
Removed from v.3728  
changed lines
  Added in v.3729

  ViewVC Help
Powered by ViewVC