Project

General

Profile

Scol standard library package  0.3.1
Common and usefull functions for all Scol applications
fun.pkg File Reference

Scol Standard Library - Functions in package API. More...

Functions

 pkgs_funcheckword (pkg, name, pos, isWhole)
 pkgs_funconvertflags (flag)
 pkgs_funGetFlag (iFlag)
 Get a flag value string.
 pkgs_funGetSource (fPkg, pos)
 Returns the source of a function (or other Scol definition objects). These arguments can be found by the following functions :
 pkgs_funsearchfromname (lPkgs, lFlags, name, isSensitive, isWhole)
 pkgs_funSearchFromName (szFunName, lFlags, isSensitive, isWhole)
 Search the definition of a function (or a variable, a type, a Comm ...) in the current application packages.
 pkgs_funsearchfromname2 (list, name, isSensitive, isWhole)
 pkgs_funSearchFromNameChn (chn, szFunName, lFlags, isSensitive, isWhole)
 Search the definition of a function (or a variable, a type, a Comm ...) in a given channel.
 pkgs_funSearchFromNameScol (fScol, szFunName, lFlags, isSensitive, isWhole)
 Search the definition of a function (or a variable, a type, a Comm ...) in a given script launcher (typically a *.scol).
 pkgs_funsearchinpackage (szPkg, name, isSensitive, isWhole)
 pkgs_funSetFlag (iFlag, szFlag)
 Set a flag value string. This is helpfull when the source code has been written by a different way. Like "fun\nnameOfFunction\n(args)=".
 pkgs_funsetszflags (flag, szFlag)
 pkgs_pkgfunlist (list)
 pkgs_pkgFunList (chn)
 Similar to the Scol function "_funlist" but its prototype is easier.

Variables

var PKGS_FUN_COMM = 32
var PKGS_FUN_COMMVAR = 64
var PKGS_FUN_FUN = 0
var PKGS_FUN_INSENSITIVE = 1
var PKGS_FUN_PARITALNAME = 1
var PKGS_FUN_PROTO = 1
var PKGS_FUN_SCOMM = "defcom "
var PKGS_FUN_SCOMMVAR = "defcomvar "
var PKGS_FUN_SENSITIVE = 0
var PKGS_FUN_SFUN = "fun "
var PKGS_FUN_SPROTO = "proto "
var PKGS_FUN_SSTRUCT = "struct "
var PKGS_FUN_STRUCT = 16
var PKGS_FUN_STYPEDEF = "typedef "
var PKGS_FUN_STYPEOF = "typeof "
var PKGS_FUN_SVAR = "var "
var PKGS_FUN_TYPEDEF = 8
var PKGS_FUN_TYPEOF = 4
var PKGS_FUN_VAR = 2
var PKGS_FUN_WHOLENAME = 0

Detailed Description

Scol Standard Library - Functions in package API.

Author
Scol team
Version
0.1
Remarks
The standard packages are required :