主要功能: - 修改RequirementModal支持12个订单班选择 - 添加OrderClassIconMap图标映射组件 - Store中添加selectedOrderClass状态管理 - WorkflowPage支持传递orderClass参数 - web_result添加URL参数切换功能 - 创建order-class-handler.js动态处理页面主题 技术改进: - 创建软链接关联订单班数据目录 - 生成wenlu.json和food.json数据结构 - 删除重复的web_result目录 - 添加测试页面test-order-class.html 影响范围: - 展会策划系统现支持12个订单班 - 结果展示页面自动适配不同订单班主题 - 用户可选择不同行业生成对应方案 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
43 lines
2.0 KiB
JavaScript
43 lines
2.0 KiB
JavaScript
Prism.languages.unrealscript = {
|
|
'comment': /\/\/.*|\/\*[\s\S]*?\*\//,
|
|
'string': {
|
|
pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,
|
|
greedy: true
|
|
},
|
|
'category': {
|
|
pattern: /(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,
|
|
lookbehind: true,
|
|
greedy: true,
|
|
alias: 'property'
|
|
},
|
|
'metadata': {
|
|
pattern: /(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,
|
|
lookbehind: true,
|
|
greedy: true,
|
|
inside: {
|
|
'property': /\b\w+(?=\s*=)/,
|
|
'operator': /=/,
|
|
'punctuation': /[<>|]/
|
|
}
|
|
},
|
|
'macro': {
|
|
pattern: /`\w+/,
|
|
alias: 'property'
|
|
},
|
|
'class-name': {
|
|
pattern: /(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,
|
|
lookbehind: true
|
|
},
|
|
|
|
'keyword': /\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,
|
|
'function': /\b[a-z_]\w*(?=\s*\()/i,
|
|
|
|
'boolean': /\b(?:false|true)\b/,
|
|
'number': /\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,
|
|
// https://docs.unrealengine.com/udk/Three/UnrealScriptExpressions.html
|
|
'operator': />>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,
|
|
'punctuation': /[()[\]{};,.]/
|
|
};
|
|
|
|
Prism.languages.uc = Prism.languages.uscript = Prism.languages.unrealscript;
|