public class TokenRegisters extends Object
DataRegister
objects.Modifier and Type | Method and Description |
---|---|
static DataRegister |
getRegister(TokenType type)
Creates a
DataRegister appropriate for the given type. |
static ScalarRegister[] |
getRegisters(ScalarTokenType[] types)
Creates an array of
ScalarRegister 's for the given types. |
public static DataRegister getRegister(TokenType type)
DataRegister
appropriate for the given type.type
- the token type for which to create a registerpublic static ScalarRegister[] getRegisters(ScalarTokenType[] types)
ScalarRegister
's for the given types.types
- The types of the registersScalarRegister
's for the given types.Copyright © 2020 Actian Corporation. All rights reserved.