org.das2.util.IDLParser

This was created originally to evaluate expressions found in das2server dsdf files that would describe column locations, which would be expressions like "10^(findgen(3)/3.3)"

IDLParser( )

Creates a new instance of idlParser


EXPR


EXPR_LIST


FACTOR


TERM


NUMBER


NOPARSER


IDLTokenizer

IDLTokenizer( String s ) → String

Parameters

s - a String

Returns:

java.lang.String[]

[search for examples] [view on GitHub] [view on old javadoc] [view source]


parseIDLArray

parseIDLArray( String s ) → double

Parameters

s - a String

Returns:

double[]

[search for examples] [view on GitHub] [view on old javadoc] [view source]


parseIDLArrayTokens

parseIDLArrayTokens( java.lang.String[] tokens, int type ) → IDLValue

Parameters

tokens - a java.lang.String[]
type - an int

Returns:

org.das2.util.IDLValue

[search for examples] [view on GitHub] [view on old javadoc] [view source]


parseIDLScalar

parseIDLScalar( String s ) → double

Parameters

s - a String

Returns:

double

[search for examples] [view on GitHub] [view on old javadoc] [view source]