Skip to content

Commit

Permalink
refactor: rename stdlib to builtin
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudroques committed Nov 22, 2024
1 parent a2fe071 commit e629614
Show file tree
Hide file tree
Showing 26 changed files with 26 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

import net.sourceforge.plantuml.tim.EaterException;
import net.sourceforge.plantuml.tim.TFunction;
import net.sourceforge.plantuml.tim.builtin.AlwaysFalse;

/**
* Tests the builtin function.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

import net.sourceforge.plantuml.tim.EaterException;
import net.sourceforge.plantuml.tim.TFunction;
import net.sourceforge.plantuml.tim.builtin.AlwaysTrue;

/**
* Tests the builtin function.
Expand Down
1 change: 1 addition & 0 deletions test/net/sourceforge/plantuml/tim/stdlib/BoolValTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

import net.sourceforge.plantuml.text.StringLocated;
import net.sourceforge.plantuml.tim.EaterException;
import net.sourceforge.plantuml.tim.builtin.BoolVal;
import net.sourceforge.plantuml.tim.expression.TValue;

class BoolValTest {
Expand Down
1 change: 1 addition & 0 deletions test/net/sourceforge/plantuml/tim/stdlib/ChrTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

import net.sourceforge.plantuml.tim.EaterException;
import net.sourceforge.plantuml.tim.TFunction;
import net.sourceforge.plantuml.tim.builtin.Chr;

/**
* Tests the builtin function %chr.
Expand Down
1 change: 1 addition & 0 deletions test/net/sourceforge/plantuml/tim/stdlib/Dec2hexTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

import net.sourceforge.plantuml.tim.EaterException;
import net.sourceforge.plantuml.tim.TFunction;
import net.sourceforge.plantuml.tim.builtin.Dec2hex;

/**
* Tests the builtin function.
Expand Down
1 change: 1 addition & 0 deletions test/net/sourceforge/plantuml/tim/stdlib/FeatureTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import net.sourceforge.plantuml.json.JsonValue;
import net.sourceforge.plantuml.tim.EaterException;
import net.sourceforge.plantuml.tim.TFunction;
import net.sourceforge.plantuml.tim.builtin.Feature;
import test.utils.JunitUtils.StringJsonConverter;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

import net.sourceforge.plantuml.tim.EaterException;
import net.sourceforge.plantuml.tim.TFunction;
import net.sourceforge.plantuml.tim.builtin.GetAllStdlib;
import net.sourceforge.plantuml.tim.expression.TValue;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

import net.sourceforge.plantuml.tim.EaterException;
import net.sourceforge.plantuml.tim.TFunction;
import net.sourceforge.plantuml.tim.builtin.GetAllTheme;
import net.sourceforge.plantuml.tim.expression.TValue;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import net.sourceforge.plantuml.json.JsonValue;
import net.sourceforge.plantuml.tim.EaterException;
import net.sourceforge.plantuml.tim.TFunction;
import net.sourceforge.plantuml.tim.builtin.GetJsonKey;
import test.utils.JunitUtils.StringJsonConverter;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import net.sourceforge.plantuml.json.JsonValue;
import net.sourceforge.plantuml.tim.EaterException;
import net.sourceforge.plantuml.tim.TFunction;
import net.sourceforge.plantuml.tim.builtin.GetJsonType;
import test.utils.JunitUtils.StringJsonConverter;

/**
Expand Down
1 change: 1 addition & 0 deletions test/net/sourceforge/plantuml/tim/stdlib/GetenvTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import org.junit.jupiter.params.provider.ValueSource;

import net.sourceforge.plantuml.tim.EaterException;
import net.sourceforge.plantuml.tim.builtin.Getenv;
import net.sourceforge.plantuml.tim.expression.TValue;

/**
Expand Down
1 change: 1 addition & 0 deletions test/net/sourceforge/plantuml/tim/stdlib/Hex2decTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

import net.sourceforge.plantuml.tim.EaterException;
import net.sourceforge.plantuml.tim.TFunction;
import net.sourceforge.plantuml.tim.builtin.Hex2dec;

/**
* Tests the builtin function.
Expand Down
1 change: 1 addition & 0 deletions test/net/sourceforge/plantuml/tim/stdlib/JsonAddTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import net.sourceforge.plantuml.json.JsonValue;
import net.sourceforge.plantuml.tim.EaterException;
import net.sourceforge.plantuml.tim.TFunction;
import net.sourceforge.plantuml.tim.builtin.JsonAdd;
import test.utils.JunitUtils.StringJsonConverter;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import net.sourceforge.plantuml.json.JsonValue;
import net.sourceforge.plantuml.tim.EaterException;
import net.sourceforge.plantuml.tim.TFunction;

import net.sourceforge.plantuml.tim.builtin.JsonKeyExists;
import test.utils.JunitUtils.StringJsonConverter;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import net.sourceforge.plantuml.json.JsonValue;
import net.sourceforge.plantuml.tim.EaterException;
import net.sourceforge.plantuml.tim.TFunction;
import net.sourceforge.plantuml.tim.builtin.JsonMerge;
import test.utils.JunitUtils.StringJsonConverter;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import net.sourceforge.plantuml.json.JsonValue;
import net.sourceforge.plantuml.tim.EaterException;
import net.sourceforge.plantuml.tim.TFunction;
import net.sourceforge.plantuml.tim.builtin.JsonRemove;
import test.utils.JunitUtils.StringJsonConverter;

/**
Expand Down
1 change: 1 addition & 0 deletions test/net/sourceforge/plantuml/tim/stdlib/JsonSetTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import net.sourceforge.plantuml.json.JsonValue;
import net.sourceforge.plantuml.tim.EaterException;
import net.sourceforge.plantuml.tim.TFunction;
import net.sourceforge.plantuml.tim.builtin.JsonSet;
import test.utils.JunitUtils.StringJsonConverter;

/**
Expand Down
1 change: 1 addition & 0 deletions test/net/sourceforge/plantuml/tim/stdlib/LowerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import net.sourceforge.plantuml.json.JsonValue;
import net.sourceforge.plantuml.tim.EaterException;
import net.sourceforge.plantuml.tim.TFunction;
import net.sourceforge.plantuml.tim.builtin.Lower;
import test.utils.JunitUtils.StringJsonConverter;

/**
Expand Down
1 change: 1 addition & 0 deletions test/net/sourceforge/plantuml/tim/stdlib/ModuloTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

import net.sourceforge.plantuml.text.StringLocated;
import net.sourceforge.plantuml.tim.EaterException;
import net.sourceforge.plantuml.tim.builtin.Modulo;
import net.sourceforge.plantuml.tim.expression.TValue;

public class ModuloTest {
Expand Down
1 change: 1 addition & 0 deletions test/net/sourceforge/plantuml/tim/stdlib/OrdTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

import net.sourceforge.plantuml.tim.EaterException;
import net.sourceforge.plantuml.tim.TFunction;
import net.sourceforge.plantuml.tim.builtin.Ord;

/**
* Tests the builtin function %ord.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

import net.sourceforge.plantuml.tim.EaterException;
import net.sourceforge.plantuml.tim.TFunction;
import net.sourceforge.plantuml.tim.builtin.RandomFunction;
import net.sourceforge.plantuml.tim.expression.TValue;

/**
Expand Down
1 change: 1 addition & 0 deletions test/net/sourceforge/plantuml/tim/stdlib/SizeTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import net.sourceforge.plantuml.json.JsonValue;
import net.sourceforge.plantuml.tim.EaterException;
import net.sourceforge.plantuml.tim.TFunction;
import net.sourceforge.plantuml.tim.builtin.Size;
import test.utils.JunitUtils.StringJsonConverter;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import net.sourceforge.plantuml.json.JsonValue;
import net.sourceforge.plantuml.tim.EaterException;
import net.sourceforge.plantuml.tim.TFunction;
import net.sourceforge.plantuml.tim.builtin.SplitStrRegex;

/**
* Tests the builtin function.
Expand Down
1 change: 1 addition & 0 deletions test/net/sourceforge/plantuml/tim/stdlib/SplitStrTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import net.sourceforge.plantuml.json.JsonValue;
import net.sourceforge.plantuml.tim.EaterException;
import net.sourceforge.plantuml.tim.TFunction;
import net.sourceforge.plantuml.tim.builtin.SplitStr;

/**
* Tests the builtin function.
Expand Down
2 changes: 1 addition & 1 deletion test/net/sourceforge/plantuml/tim/stdlib/Str2JsonTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import net.sourceforge.plantuml.json.JsonValue;
import net.sourceforge.plantuml.tim.EaterException;
import net.sourceforge.plantuml.tim.TFunction;

import net.sourceforge.plantuml.tim.builtin.Str2Json;
import test.utils.JunitUtils.StringJsonConverter;

/**
Expand Down
1 change: 1 addition & 0 deletions test/net/sourceforge/plantuml/tim/stdlib/UpperTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import net.sourceforge.plantuml.json.JsonValue;
import net.sourceforge.plantuml.tim.EaterException;
import net.sourceforge.plantuml.tim.TFunction;
import net.sourceforge.plantuml.tim.builtin.Upper;
import test.utils.JunitUtils.StringJsonConverter;

/**
Expand Down

0 comments on commit e629614

Please sign in to comment.