Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
d7577d52
V
vscode
项目概览
xxadev
/
vscode
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vscode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
d7577d52
编写于
6月 19, 2017
作者:
A
Alex Dima
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Move monarch code to vs/editor/common/standalone
上级
f125e3d2
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
13 addition
and
13 deletion
+13
-13
build/monaco/monaco.d.ts.recipe
build/monaco/monaco.d.ts.recipe
+1
-1
src/vs/editor/browser/standalone/standaloneLanguages.ts
src/vs/editor/browser/standalone/standaloneLanguages.ts
+3
-3
src/vs/editor/common/standalone/monarch/monarchCommon.ts
src/vs/editor/common/standalone/monarch/monarchCommon.ts
+0
-0
src/vs/editor/common/standalone/monarch/monarchCompile.ts
src/vs/editor/common/standalone/monarch/monarchCompile.ts
+2
-2
src/vs/editor/common/standalone/monarch/monarchLexer.ts
src/vs/editor/common/standalone/monarch/monarchLexer.ts
+7
-7
src/vs/editor/common/standalone/monarch/monarchTypes.ts
src/vs/editor/common/standalone/monarch/monarchTypes.ts
+0
-0
未找到文件。
build/monaco/monaco.d.ts.recipe
浏览文件 @
d7577d52
...
...
@@ -85,7 +85,7 @@ declare module monaco.languages {
#includeAll(vs/editor/common/modes/languageConfiguration):
#includeAll(vs/editor/common/modes;editorCommon.IRange=>IRange;editorCommon.IPosition=>IPosition;editorCommon.=>editor.):
#include(vs/editor/common/services/modeService): ILanguageExtensionPoint
#includeAll(vs/editor/common/
modes
/monarch/monarchTypes):
#includeAll(vs/editor/common/
standalone
/monarch/monarchTypes):
}
...
...
src/vs/editor/browser/standalone/standaloneLanguages.ts
浏览文件 @
d7577d52
...
...
@@ -8,7 +8,7 @@
import
{
TPromise
}
from
'
vs/base/common/winjs.base
'
;
import
{
IDisposable
}
from
'
vs/base/common/lifecycle
'
;
import
{
ModesRegistry
}
from
'
vs/editor/common/modes/modesRegistry
'
;
import
{
IMonarchLanguage
}
from
'
vs/editor/common/
modes
/monarch/monarchTypes
'
;
import
{
IMonarchLanguage
}
from
'
vs/editor/common/
standalone
/monarch/monarchTypes
'
;
import
{
ILanguageExtensionPoint
}
from
'
vs/editor/common/services/modeService
'
;
import
{
StaticServices
}
from
'
vs/editor/browser/standalone/standaloneServices
'
;
import
*
as
modes
from
'
vs/editor/common/modes
'
;
...
...
@@ -18,8 +18,8 @@ import { Position } from 'vs/editor/common/core/position';
import
{
Range
}
from
'
vs/editor/common/core/range
'
;
import
{
CancellationToken
}
from
'
vs/base/common/cancellation
'
;
import
{
toThenable
}
from
'
vs/base/common/async
'
;
import
{
compile
}
from
'
vs/editor/common/
modes
/monarch/monarchCompile
'
;
import
{
createTokenizationSupport
}
from
'
vs/editor/common/
modes
/monarch/monarchLexer
'
;
import
{
compile
}
from
'
vs/editor/common/
standalone
/monarch/monarchCompile
'
;
import
{
createTokenizationSupport
}
from
'
vs/editor/common/
standalone
/monarch/monarchLexer
'
;
import
{
LanguageConfigurationRegistry
}
from
'
vs/editor/common/modes/languageConfigurationRegistry
'
;
import
{
IMarkerData
}
from
'
vs/platform/markers/common/markers
'
;
import
{
Token
,
TokenizationResult
,
TokenizationResult2
}
from
'
vs/editor/common/core/token
'
;
...
...
src/vs/editor/common/
modes
/monarch/monarchCommon.ts
→
src/vs/editor/common/
standalone
/monarch/monarchCommon.ts
浏览文件 @
d7577d52
文件已移动
src/vs/editor/common/
modes
/monarch/monarchCompile.ts
→
src/vs/editor/common/
standalone
/monarch/monarchCompile.ts
浏览文件 @
d7577d52
...
...
@@ -10,8 +10,8 @@
*/
import
*
as
objects
from
'
vs/base/common/objects
'
;
import
*
as
monarchCommon
from
'
vs/editor/common/
modes
/monarch/monarchCommon
'
;
import
{
IMonarchLanguage
,
IMonarchLanguageBracket
}
from
'
vs/editor/common/
modes
/monarch/monarchTypes
'
;
import
*
as
monarchCommon
from
'
vs/editor/common/
standalone
/monarch/monarchCommon
'
;
import
{
IMonarchLanguage
,
IMonarchLanguageBracket
}
from
'
vs/editor/common/
standalone
/monarch/monarchTypes
'
;
/*
* Type helpers
...
...
src/vs/editor/common/
modes
/monarch/monarchLexer.ts
→
src/vs/editor/common/
standalone
/monarch/monarchLexer.ts
浏览文件 @
d7577d52
...
...
@@ -11,7 +11,7 @@
import
{
IDisposable
}
from
'
vs/base/common/lifecycle
'
;
import
*
as
modes
from
'
vs/editor/common/modes
'
;
import
*
as
monarchCommon
from
'
vs/editor/common/
modes
/monarch/monarchCommon
'
;
import
*
as
monarchCommon
from
'
vs/editor/common/
standalone
/monarch/monarchCommon
'
;
import
{
IModeService
}
from
'
vs/editor/common/services/modeService
'
;
import
{
Token
,
TokenizationResult
,
TokenizationResult2
}
from
'
vs/editor/common/core/token
'
;
import
{
NULL_STATE
,
NULL_MODE_ID
}
from
'
vs/editor/common/modes/nullMode
'
;
...
...
@@ -23,7 +23,7 @@ const CACHE_STACK_DEPTH = 5;
/**
* Reuse the same stack elements up to a certain depth.
*/
export
class
MonarchStackElementFactory
{
class
MonarchStackElementFactory
{
private
static
_INSTANCE
=
new
MonarchStackElementFactory
(
CACHE_STACK_DEPTH
);
public
static
create
(
parent
:
MonarchStackElement
,
state
:
string
):
MonarchStackElement
{
...
...
@@ -59,7 +59,7 @@ export class MonarchStackElementFactory {
}
}
export
class
MonarchStackElement
{
class
MonarchStackElement
{
public
readonly
parent
:
MonarchStackElement
;
public
readonly
state
:
string
;
...
...
@@ -125,7 +125,7 @@ export class MonarchStackElement {
}
}
export
class
EmbeddedModeData
{
class
EmbeddedModeData
{
public
readonly
modeId
:
string
;
public
readonly
state
:
modes
.
IState
;
...
...
@@ -154,7 +154,7 @@ export class EmbeddedModeData {
/**
* Reuse the same line states up to a certain depth.
*/
export
class
MonarchLineStateFactory
{
class
MonarchLineStateFactory
{
private
static
_INSTANCE
=
new
MonarchLineStateFactory
(
CACHE_STACK_DEPTH
);
public
static
create
(
stack
:
MonarchStackElement
,
embeddedModeData
:
EmbeddedModeData
):
MonarchLineState
{
...
...
@@ -190,7 +190,7 @@ export class MonarchLineStateFactory {
}
}
export
class
MonarchLineState
implements
modes
.
IState
{
class
MonarchLineState
implements
modes
.
IState
{
public
readonly
stack
:
MonarchStackElement
;
public
readonly
embeddedModeData
:
EmbeddedModeData
;
...
...
@@ -375,7 +375,7 @@ class MonarchModernTokensCollector implements IMonarchTokensCollector {
}
}
export
class
MonarchTokenizer
implements
modes
.
ITokenizationSupport
{
class
MonarchTokenizer
implements
modes
.
ITokenizationSupport
{
private
readonly
_modeService
:
IModeService
;
private
readonly
_standaloneThemeService
:
IStandaloneThemeService
;
...
...
src/vs/editor/common/
modes
/monarch/monarchTypes.ts
→
src/vs/editor/common/
standalone
/monarch/monarchTypes.ts
浏览文件 @
d7577d52
文件已移动
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录