#[derive(Clone, Copy, Eq, PartialEq, Debug)]
pub enum ExtensionType {
CurrentValue = 1,
InterestChange = 2,
PrincipalChange = 3,
StatisticValue = 4,
}
#[derive(Clone, Copy, Eq, PartialEq, Debug)]
pub enum PrincipalType {
Increase = 1,
Decrease = 2,
Positive = 3,
Negative = 4,
}
#[derive(Clone, Copy, Eq, PartialEq, Debug)]
pub enum MethodType {
Actuarial = 0,
SimpleInterest = 1,
}
#[derive(Clone, Copy, Eq, PartialEq, Debug)]
pub enum RoundType {
None = 0,
Bankers = 1,
BiasUp = 2,
BiasDown = 3,
Up = 4,
Truncate = 5,
}
#[derive(Clone, Copy, Eq, PartialEq, Debug)]
pub enum DayCountType {
Periodic = 1,
RuleOf78 = 2,
Actual = 3,
ActualActualISMA = 4,
ActualActualAFB = 5,
Actual365L = 6,
Dc30 = 7,
Dc30E = 8,
Dc30EP = 9,
}
#[derive(Clone, Copy, Eq, PartialEq, Debug)]
pub enum FrequencyType {
None = 0,
OneYear = 1,
SixMonths = 2,
FourMonths = 3,
ThreeMonths = 4,
TwoMonths = 5,
OneMonth = 6,
HalfMonth = 7,
StartFixed = 100,
FourWeeks = 101,
TwoWeeks = 102,
OneWeek = 103,
OneDay = 104,
Continuous = 105,
}
#[derive(Clone, Copy, Eq, PartialEq, Debug)]
pub enum MergeType {
IntNone = 0,
Int1 = 1,
Int2 = 2,
IntAll = 3,
}
#[derive(Clone, Copy, Eq, PartialEq, Debug)]
pub enum TokenType {
Unknown = 0,
Integer = 1, Decimal = 2, String = 3, Alpha = 21,
Punctuation = 22,
Operator = 23,
LeftParen = 24,
}
#[derive(Clone, Copy, Eq, PartialEq, Debug)]
pub enum FormatType {
String = 0,
Date = 1,
Integer = 2,
Decimal = 3,
Currency = 4,
}
#[derive(Clone, Copy, Eq, PartialEq, Debug)]
pub enum OperatorType {
None = 0,
And = 1,
Or = 2,
Greater = 3,
Less = 4,
GreaterEqual = 5,
LessEqual = 6,
Equal = 7,
NotEqual = 8,
Plus = 9,
Minus = 10,
Times = 11,
Divide = 12,
Modulus = 13,
Exponent = 14,
UnaryMinus = 15,
UnaryNot = 16,
}
#[derive(Clone, Copy, Eq, PartialEq, Debug)]
pub enum FunctionType {
None = 0,
Abs = 1,
Am = 2,
Cashflow = 3,
DateDiff = 4,
DateFiscal = 5,
DateNew = 6,
DateNow = 7,
Default = 8,
Descriptor = 9,
Decimal = 10,
Format = 11,
FormatCurrency = 12,
FormatDate = 13,
FormatNumber = 14,
If = 15,
Integer = 16,
Len = 17,
Lowercase = 18,
Max = 19,
Mid = 20,
Min = 21,
Parse = 22,
Pr = 23,
Replace = 24,
Round = 25,
RoundFraction = 26,
Set = 27,
Trim = 28,
Type = 29,
Uppercase = 30,
}
#[derive(Clone, Copy, Eq, PartialEq, Debug)]
pub enum ErrorType {
None = 0,
LeftParen = 1,
RightParen = 2,
Operator = 3,
Operand = 4,
InvalidOperator = 5,
InvalidOperand = 6,
InvalidToken = 7,
MissingOperand = 8,
RightBracket = 9,
InvalidSymbol = 10,
DivideByZero = 11,
Integer = 12,
Decimal = 13,
String = 14,
Date = 15,
Alpha = 16,
Function = 17,
Index = 18,
Incomplete = 19,
CalcInterest = 20,
CalcPeriods = 21,
CalcPrincipal = 22,
Cashflow = 23,
CfName = 24,
Element = 25,
Json = 26,
}
#[derive(Clone, Copy, Eq, PartialEq, Debug)]
pub enum TableType {
Event = 1,
Amortization = 2,
}
#[derive(Clone, Copy, Eq, PartialEq, Debug)]
pub enum ColumnType {
None = 0,
Sequence = 1,
EventType = 2,
Date = 3,
DateExpr = 4,
Sort = 5,
Value = 6,
ValueExpr = 7,
Decrease = 8,
Increase = 9,
Periods = 10,
PeriodsExpr = 11,
SkipPeriods = 12,
Intervals = 13,
Frequency = 14,
EndDate = 15,
DescriptorList = 16,
ParameterList = 17,
Interest = 18,
SlInterest = 19,
IntOnInterest = 20,
ValueToInterest = 21,
ValueToPrincipal = 22,
AccruedBalance = 23,
Balance = 24,
EventName = 25,
NextName = 26,
StrBal = 1000,
Ear = 1001,
Pr = 1002,
Dr = 1003,
}