StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
StackGenVis/frontend/node_modules/glsl-token-properties
Angelos Chatzimparmpas e069030893 fix the frontend 3 years ago
..
.npmignore fix the frontend 3 years ago
LICENSE.md fix the frontend 3 years ago
README.md fix the frontend 3 years ago
index.js fix the frontend 3 years ago
package.json fix the frontend 3 years ago

README.md

glsl-token-properties

experimental

Takes an array of GLSL tokens and determines whether or not they're a property of another identifier.

Usage

NPM

properties(tokens)

Takes an array of GLSL tokens from glsl-tokenizer and sets a property boolean for whether or not the token is a property.

var tokenizer  = require('glsl-tokenizer/string')
var properties = require('glsl-token-properties')

var src = 'some.value[2];'
var tokens = tokenizer(src)

// determine which tokens are properties
properties(tokens)

tokens[0].data     // "some"
tokens[0].property // false
tokens[2].data     // "value"
tokens[2].property // true
tokens[4].data     // "2"
tokens[4].property // false

See Also

License

MIT. See LICENSE.md for details.