mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-03 23:55:04 +08:00
PinTypeEntity -> TerminalTypeEntity
This commit is contained in:
104
dist/ueblueprint.js
vendored
104
dist/ueblueprint.js
vendored
@@ -1819,45 +1819,6 @@ class PinReferenceEntity extends IEntity {
|
||||
}
|
||||
}
|
||||
|
||||
class PinTypeEntity extends IEntity {
|
||||
|
||||
static attributes = {
|
||||
TerminalCategory: {
|
||||
default: "",
|
||||
showDefault: false,
|
||||
},
|
||||
TerminalSubCategory: {
|
||||
default: "",
|
||||
showDefault: false,
|
||||
},
|
||||
bTerminalIsConst: {
|
||||
default: false,
|
||||
showDefault: false,
|
||||
},
|
||||
bTerminalIsWeakPointer: {
|
||||
default: false,
|
||||
showDefault: false,
|
||||
},
|
||||
bTerminalIsUObjectWrapper: {
|
||||
default: false,
|
||||
showDefault: false,
|
||||
},
|
||||
}
|
||||
|
||||
static {
|
||||
this.cleanupAttributes(this.attributes);
|
||||
}
|
||||
|
||||
constructor(values) {
|
||||
super(values);
|
||||
/** @type {String} */ this.TerminalCategory;
|
||||
/** @type {String} */ this.TerminalSubCategory;
|
||||
/** @type {Boolean} */ this.bTerminalIsConst;
|
||||
/** @type {Boolean} */ this.bTerminalIsWeakPointer;
|
||||
/** @type {Boolean} */ this.bTerminalIsUObjectWrapper;
|
||||
}
|
||||
}
|
||||
|
||||
class RotatorEntity extends IEntity {
|
||||
|
||||
static attributes = {
|
||||
@@ -1958,6 +1919,45 @@ class VectorEntity extends IEntity {
|
||||
class SimpleSerializationVectorEntity extends VectorEntity {
|
||||
}
|
||||
|
||||
class TerminalTypeEntity extends IEntity {
|
||||
|
||||
static attributes = {
|
||||
TerminalCategory: {
|
||||
default: "",
|
||||
showDefault: false,
|
||||
},
|
||||
TerminalSubCategory: {
|
||||
default: "",
|
||||
showDefault: false,
|
||||
},
|
||||
bTerminalIsConst: {
|
||||
default: false,
|
||||
showDefault: false,
|
||||
},
|
||||
bTerminalIsWeakPointer: {
|
||||
default: false,
|
||||
showDefault: false,
|
||||
},
|
||||
bTerminalIsUObjectWrapper: {
|
||||
default: false,
|
||||
showDefault: false,
|
||||
},
|
||||
}
|
||||
|
||||
static {
|
||||
this.cleanupAttributes(this.attributes);
|
||||
}
|
||||
|
||||
constructor(values) {
|
||||
super(values);
|
||||
/** @type {String} */ this.TerminalCategory;
|
||||
/** @type {String} */ this.TerminalSubCategory;
|
||||
/** @type {Boolean} */ this.bTerminalIsConst;
|
||||
/** @type {Boolean} */ this.bTerminalIsWeakPointer;
|
||||
/** @type {Boolean} */ this.bTerminalIsUObjectWrapper;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @typedef {import("./IEntity").AnyValue} AnyValue
|
||||
* @typedef {import("lit").CSSResult} CSSResult
|
||||
@@ -2020,7 +2020,7 @@ class PinEntity extends IEntity {
|
||||
default: null,
|
||||
},
|
||||
PinType$PinValueType: {
|
||||
type: PinTypeEntity,
|
||||
type: TerminalTypeEntity,
|
||||
default: null,
|
||||
},
|
||||
PinType$ContainerType: {
|
||||
@@ -2106,7 +2106,7 @@ class PinEntity extends IEntity {
|
||||
/** @type {String} */ this.PinType$PinSubCategory;
|
||||
/** @type {ObjectReferenceEntity} */ this.PinType$PinSubCategoryObject;
|
||||
/** @type {FunctionReferenceEntity} */ this.PinType$PinSubCategoryMemberReference;
|
||||
/** @type {PinTypeEntity} */ this.PinType$PinValueType;
|
||||
/** @type {TerminalTypeEntity} */ this.PinType$PinValueType;
|
||||
/** @type {PathSymbolEntity} */ this.PinType$ContainerType;
|
||||
/** @type {Boolean} */ this.PinType$bIsReference;
|
||||
/** @type {Boolean} */ this.PinType$bIsConst;
|
||||
@@ -2578,6 +2578,13 @@ class SVGIcon {
|
||||
`
|
||||
}
|
||||
|
||||
/** @typedef {import("./IEntity.js").AnyValue} AnyValue */
|
||||
|
||||
class UserDefinedPinEntity extends IEntity {
|
||||
|
||||
static lookbehind = "UserDefinedPin"
|
||||
}
|
||||
|
||||
class VariableReferenceEntity extends IEntity {
|
||||
|
||||
static attributes = {
|
||||
@@ -2609,13 +2616,6 @@ class VariableReferenceEntity extends IEntity {
|
||||
}
|
||||
}
|
||||
|
||||
/** @typedef {import("./IEntity.js").AnyValue} AnyValue */
|
||||
|
||||
class UserDefinedPinEntity extends IEntity {
|
||||
|
||||
static lookbehind = "UserDefinedPin"
|
||||
}
|
||||
|
||||
class ObjectEntity extends IEntity {
|
||||
|
||||
static attributes = {
|
||||
@@ -3442,7 +3442,7 @@ class Grammar {
|
||||
case PinReferenceEntity:
|
||||
result = this.pinReferenceEntity;
|
||||
break
|
||||
case PinTypeEntity:
|
||||
case TerminalTypeEntity:
|
||||
result = this.pinTypeEntity;
|
||||
break
|
||||
case RealUnitEntity:
|
||||
@@ -3665,7 +3665,7 @@ class Grammar {
|
||||
)
|
||||
)
|
||||
|
||||
static pinTypeEntity = P.lazy(() => this.createEntityGrammar(PinTypeEntity))
|
||||
static pinTypeEntity = P.lazy(() => this.createEntityGrammar(TerminalTypeEntity))
|
||||
|
||||
static realUnitEntity = P.lazy(() => this.realUnit.map(value => new RealUnitEntity(value)))
|
||||
|
||||
@@ -10248,8 +10248,8 @@ function initializeSerializerFactory() {
|
||||
);
|
||||
|
||||
SerializerFactory.registerSerializer(
|
||||
PinTypeEntity,
|
||||
new GeneralSerializer(bracketsWrapped, PinTypeEntity)
|
||||
TerminalTypeEntity,
|
||||
new GeneralSerializer(bracketsWrapped, TerminalTypeEntity)
|
||||
);
|
||||
|
||||
SerializerFactory.registerSerializer(
|
||||
|
||||
4
dist/ueblueprint.min.js
vendored
4
dist/ueblueprint.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -13,11 +13,11 @@ import LocalizedTextEntity from "./LocalizedTextEntity.js"
|
||||
import ObjectReferenceEntity from "./ObjectReferenceEntity.js"
|
||||
import PathSymbolEntity from "./PathSymbolEntity.js"
|
||||
import PinReferenceEntity from "./PinReferenceEntity.js"
|
||||
import PinTypeEntity from "./PinTypeEntity.js"
|
||||
import RotatorEntity from "./RotatorEntity.js"
|
||||
import SimpleSerializationRotatorEntity from "./SimpleSerializationRotatorEntity.js"
|
||||
import SimpleSerializationVector2DEntity from "./SimpleSerializationVector2DEntity.js"
|
||||
import SimpleSerializationVectorEntity from "./SimpleSerializationVectorEntity.js"
|
||||
import TerminalTypeEntity from "./TerminalTypeEntity.js"
|
||||
import UnionType from "./UnionType.js"
|
||||
import Utility from "../Utility.js"
|
||||
import Vector2DEntity from "./Vector2DEntity.js"
|
||||
@@ -85,7 +85,7 @@ export default class PinEntity extends IEntity {
|
||||
default: null,
|
||||
},
|
||||
PinType$PinValueType: {
|
||||
type: PinTypeEntity,
|
||||
type: TerminalTypeEntity,
|
||||
default: null,
|
||||
},
|
||||
PinType$ContainerType: {
|
||||
@@ -171,7 +171,7 @@ export default class PinEntity extends IEntity {
|
||||
/** @type {String} */ this.PinType$PinSubCategory
|
||||
/** @type {ObjectReferenceEntity} */ this.PinType$PinSubCategoryObject
|
||||
/** @type {FunctionReferenceEntity} */ this.PinType$PinSubCategoryMemberReference
|
||||
/** @type {PinTypeEntity} */ this.PinType$PinValueType
|
||||
/** @type {TerminalTypeEntity} */ this.PinType$PinValueType
|
||||
/** @type {PathSymbolEntity} */ this.PinType$ContainerType
|
||||
/** @type {Boolean} */ this.PinType$bIsReference
|
||||
/** @type {Boolean} */ this.PinType$bIsConst
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import IEntity from "./IEntity.js"
|
||||
|
||||
export default class PinTypeEntity extends IEntity {
|
||||
export default class TerminalTypeEntity extends IEntity {
|
||||
|
||||
static attributes = {
|
||||
TerminalCategory: {
|
||||
@@ -19,13 +19,13 @@ import Parsimmon from "parsimmon"
|
||||
import PathSymbolEntity from "../entity/PathSymbolEntity.js"
|
||||
import PinEntity from "../entity/PinEntity.js"
|
||||
import PinReferenceEntity from "../entity/PinReferenceEntity.js"
|
||||
import PinTypeEntity from "../entity/PinTypeEntity.js"
|
||||
import RealUnitEntity from "../entity/UnitRealEntity.js"
|
||||
import RotatorEntity from "../entity/RotatorEntity.js"
|
||||
import SimpleSerializationRotatorEntity from "../entity/SimpleSerializationRotatorEntity.js"
|
||||
import SimpleSerializationVector2DEntity from "../entity/SimpleSerializationVector2DEntity.js"
|
||||
import SimpleSerializationVectorEntity from "../entity/SimpleSerializationVectorEntity.js"
|
||||
import SymbolEntity from "../entity/SymbolEntity.js"
|
||||
import TerminalTypeEntity from "../entity/TerminalTypeEntity.js"
|
||||
import UnionType from "../entity/UnionType.js"
|
||||
import UnknownKeysEntity from "../entity/UnknownKeysEntity.js"
|
||||
import UserDefinedPinEntity from "../entity/UserDefinedPinEntity.js"
|
||||
@@ -220,7 +220,7 @@ export default class Grammar {
|
||||
case PinReferenceEntity:
|
||||
result = this.pinReferenceEntity
|
||||
break
|
||||
case PinTypeEntity:
|
||||
case TerminalTypeEntity:
|
||||
result = this.pinTypeEntity
|
||||
break
|
||||
case RealUnitEntity:
|
||||
@@ -443,7 +443,7 @@ export default class Grammar {
|
||||
)
|
||||
)
|
||||
|
||||
static pinTypeEntity = P.lazy(() => this.createEntityGrammar(PinTypeEntity))
|
||||
static pinTypeEntity = P.lazy(() => this.createEntityGrammar(TerminalTypeEntity))
|
||||
|
||||
static realUnitEntity = P.lazy(() => this.realUnit.map(value => new RealUnitEntity(value)))
|
||||
|
||||
|
||||
@@ -18,7 +18,6 @@ import ObjectSerializer from "./ObjectSerializer.js"
|
||||
import PathSymbolEntity from "../entity/PathSymbolEntity.js"
|
||||
import PinEntity from "../entity/PinEntity.js"
|
||||
import PinReferenceEntity from "../entity/PinReferenceEntity.js"
|
||||
import PinTypeEntity from "../entity/PinTypeEntity.js"
|
||||
import RealUnitEntity from "../entity/UnitRealEntity.js"
|
||||
import RotatorEntity from "../entity/RotatorEntity.js"
|
||||
import SerializerFactory from "./SerializerFactory.js"
|
||||
@@ -26,6 +25,7 @@ import SimpleSerializationRotatorEntity from "../entity/SimpleSerializationRotat
|
||||
import SimpleSerializationVector2DEntity from "../entity/SimpleSerializationVector2DEntity.js"
|
||||
import SimpleSerializationVectorEntity from "../entity/SimpleSerializationVectorEntity.js"
|
||||
import SymbolEntity from "../entity/SymbolEntity.js"
|
||||
import TerminalTypeEntity from "../entity/TerminalTypeEntity.js"
|
||||
import ToStringSerializer from "./ToStringSerializer.js"
|
||||
import UnknownKeysEntity from "../entity/UnknownKeysEntity.js"
|
||||
import Utility from "../Utility.js"
|
||||
@@ -184,8 +184,8 @@ export default function initializeSerializerFactory() {
|
||||
)
|
||||
|
||||
SerializerFactory.registerSerializer(
|
||||
PinTypeEntity,
|
||||
new GeneralSerializer(bracketsWrapped, PinTypeEntity)
|
||||
TerminalTypeEntity,
|
||||
new GeneralSerializer(bracketsWrapped, TerminalTypeEntity)
|
||||
)
|
||||
|
||||
SerializerFactory.registerSerializer(
|
||||
|
||||
Reference in New Issue
Block a user